@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');   /* 🎮 letra de jogo (ver "LETRA DE JOGO" no fim do arquivo) */
:root {
  --bg: #0a0620;
  --glass: rgba(22, 14, 54, 0.72);
  --line: rgba(160, 140, 255, 0.28);
  --txt: #f2efff;
  --mut: #b7aee0;
  --pink: #ff4fa3;
  --cyan: #33d6ff;
  --violet: #7b5cff;
  --gold: #ffd23f;
  --green: #7cff6b;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--txt); font-family: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif; user-select: none; -webkit-user-select: none; }
canvas#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }
button { font-family: inherit; }

.screen { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 14px; padding: 16px; z-index: 10; overflow-y: auto; }
#loading { background: radial-gradient(ellipse at center, #2a1460 0%, #0a0620 70%); z-index: 50; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid rgba(255,255,255,0.15); border-top-color: var(--pink); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.logo { font-size: clamp(40px, min(8vw, 11vh), 100px); font-weight: 700; letter-spacing: 2px; line-height: 0.95; text-align: center;
  background: linear-gradient(180deg, #fff 0%, #ffd6f0 45%, #ff4fa3 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 #5a1f8f) drop-shadow(0 0 30px rgba(255, 79, 163, 0.55)); animation: float 4s ease-in-out infinite; }
.logo span { display: block; font-size: 0.62em; background: linear-gradient(180deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 20px rgba(51,214,255,0.6)); }
@keyframes float { 50% { transform: translateY(-8px) rotate(-1deg); } }
.sub { color: var(--mut); text-align: center; font-size: 16px; }
/* ◎ "Rede Solana" na tela de login, abaixo da frase do jogo: cores da Solana, piscando de leve (04/11/2026, igual à página do lançamento) */
.net-sol { margin-top: 4px; text-align: center; font-size: clamp(16px, 2.2vw, 21px); font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(90deg, #9945ff, #14f195); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(20,241,149,.35)); animation: netSol 2.6s ease-in-out infinite; }
@keyframes netSol { 0%, 100% { opacity: 1; filter: drop-shadow(0 0 7px rgba(20,241,149,.45)); } 50% { opacity: .55; filter: drop-shadow(0 0 2px rgba(153,69,255,.25)); } }
@media (prefers-reduced-motion: reduce) { .net-sol { animation: none; } }

.card { background: var(--glass); border: 1px solid var(--line); border-radius: 22px; padding: 20px; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08); }
.menu-card { width: min(400px, 100%); display: flex; flex-direction: column; gap: 10px; }
.lbl { font-size: 13px; color: var(--mut); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
input { font-family: inherit; font-size: 17px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.35); color: var(--txt); outline: none; width: 100%; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(51,214,255,0.2); }
#m-code { text-transform: uppercase; letter-spacing: 4px; text-align: center; width: 130px; flex: none; }
.row { display: flex; gap: 10px; align-items: center; }
.row > .btn { flex: 1; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.btn { font-size: 17px; font-weight: 600; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.07); color: var(--txt); cursor: pointer; transition: transform .12s, background .2s, box-shadow .2s; }
.btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn.primary { background: linear-gradient(135deg, var(--pink), var(--violet)); border-color: transparent; box-shadow: 0 6px 0 #4a1a7a, 0 10px 30px rgba(255,79,163,0.35); }
.btn.primary:hover { box-shadow: 0 8px 0 #4a1a7a, 0 14px 40px rgba(255,79,163,0.5); }
.btn.big { font-size: 20px; padding: 15px; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.status { min-height: 20px; color: var(--mut); text-align: center; font-size: 14px; }
.status.err { color: #ff8a8a; }

.colors { display: flex; gap: 8px; flex-wrap: wrap; }
.colors button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; box-shadow: inset 0 -4px 0 rgba(0,0,0,0.25); transition: transform .1s; }
.colors button:hover { transform: scale(1.12); }
.colors button.on { border-color: #fff; transform: scale(1.15); box-shadow: 0 0 14px currentColor; }

.maps-strip { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 900px; }
.maps-strip span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); color: var(--mut); }

/* lobby */
.lobby-card { width: min(720px, 100%); display: flex; flex-direction: column; gap: 10px; }
.lobby-head { display: flex; justify-content: space-between; align-items: flex-end; }
.code { font-size: 42px; font-weight: 700; letter-spacing: 8px; color: var(--gold); text-shadow: 0 0 20px rgba(255,210,63,0.5); cursor: pointer; }
.auto { color: var(--cyan); font-weight: 600; }
.players { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 560px) { .players { grid-template-columns: repeat(2, 1fr); } }
.pl { background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 14px; padding: 10px 6px; text-align: center; font-size: 14px; min-height: 92px; display: flex; flex-direction: column; align-items: center; gap: 6px; justify-content: center; }
.pl .bean { width: 30px; height: 42px; border-radius: 15px 15px 13px 13px; position: relative; box-shadow: inset -5px -5px 0 rgba(0,0,0,0.2); }
.pl .bean::after { content: ''; position: absolute; left: 5px; right: 5px; top: 7px; height: 11px; border-radius: 8px; background: #111; box-shadow: inset 0 0 0 2px rgba(80,220,255,0.6); }
.pl.empty { opacity: 0.4; border-style: dashed; }
.pl .host { font-size: 11px; color: var(--gold); }
.seg { display: flex; gap: 6px; background: rgba(0,0,0,0.3); border-radius: 14px; padding: 4px; }
.seg button { flex: 1; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: var(--mut); font-size: 15px; font-weight: 600; cursor: pointer; }
.seg button.on { background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff; }
.seg.small button { padding: 7px; font-size: 13px; }
.map-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
@media (max-width: 640px) { .map-cards { grid-template-columns: repeat(2, 1fr); } }
.mapc { border-radius: 14px; padding: 10px; cursor: pointer; border: 2px solid transparent; min-height: 86px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 13px; position: relative; overflow: hidden; transition: transform .12s; }
.mapc:hover { transform: translateY(-2px); }
.mapc b { font-size: 15px; display: block; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
.mapc small { color: rgba(255,255,255,0.8); text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
.mapc.on { border-color: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.35); }
.mapc.dim { opacity: 0.45; pointer-events: none; }
input[type=range] { padding: 0; height: 30px; accent-color: var(--pink); background: transparent; border: 0; }

/* HUD */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.hud-top { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.pill { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: 14px; backdrop-filter: blur(8px); white-space: nowrap; }
.pill.title { color: var(--gold); }
.hud-tags { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); color: var(--mut); font-size: 12px; text-shadow: 0 1px 3px #000; white-space: nowrap; }
.rank { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 5px; }
.rank .r { display: flex; align-items: center; gap: 8px; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 5px 12px 5px 6px; font-size: 15px; min-width: 170px; transition: transform .3s; }
.rank .r.me { border-color: var(--gold); box-shadow: 0 0 12px rgba(255,210,63,0.35); }
.rank .r .n { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #111; }
.rank .r .ok { margin-left: auto; color: var(--green); }
.progress { position: absolute; right: 18px; top: 18%; bottom: 18%; width: 12px; }
.progress .track { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(0deg, rgba(255,255,255,0.08), rgba(255,210,63,0.4)); border: 1px solid var(--line); }
.progress .dot { position: absolute; left: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, 50%); border: 2px solid #fff; transition: bottom .15s linear; }
.progress .dot.me { width: 24px; height: 24px; z-index: 2; box-shadow: 0 0 12px #fff; }
.center-msg { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(48px, 10vw, 130px); font-weight: 700; text-align: center; white-space: nowrap;
  color: #fff; text-shadow: 0 6px 0 #5a1f8f, 0 0 40px rgba(255,79,163,0.8); }
.center-msg.pop { animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
.center-msg small { display: block; font-size: 0.3em; color: var(--gold); text-shadow: 0 3px 0 #000; }
@keyframes pop { from { transform: translate(-50%, -50%) scale(2.2); opacity: 0; } }
.toasts { position: absolute; top: 90px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.toast { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 600; animation: toast 2.6s forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(-10px) scale(.9); } 10%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.keys { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.55); font-size: 13px; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.fps { position: fixed; bottom: 10px; right: 12px; z-index: 9600; pointer-events: none; padding: 3px 8px; border-radius: 8px; background: rgba(0,0,0,.55); font-size: 13px; font-weight: 700; color: var(--green); font-family: monospace; }   /* fora do HUD: aparece no menu, na praça e na corrida */
.spec { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); background: var(--glass); border-radius: 999px; padding: 8px 18px; border: 1px solid var(--line); }

/* resultados */
#results { background: rgba(5, 3, 20, 0.55); }
.res-card { width: min(620px, 100%); position: relative; }
.res-min { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.3); color: #fff; font-size: 15px; cursor: pointer; }
.res-min:hover { background: rgba(255,255,255,.12); }
#results.mini { background: none; pointer-events: none; justify-content: flex-start; align-items: flex-end; }
#results.mini .res-card { display: none; }
.res-pill { pointer-events: auto; margin-top: 60px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); color: #fff; font: inherit; font-size: 15px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.res-pill:hover { border-color: var(--gold); }
.res-pill b { color: var(--gold); margin-left: 4px; }
.res-title { font-size: 34px; font-weight: 700; text-align: center; background: linear-gradient(90deg, var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.res-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; margin: 12px 0; }
.res-table th { color: var(--mut); font-weight: 400; font-size: 13px; text-align: left; padding: 0 10px; }
.res-table td { background: rgba(0,0,0,0.3); padding: 10px; font-size: 17px; }
.res-table td:first-child { border-radius: 12px 0 0 12px; font-weight: 700; width: 44px; text-align: center; }
.res-table td:last-child { border-radius: 0 12px 12px 0; font-weight: 700; color: var(--gold); }
.res-table tr.me td { background: rgba(255,210,63,0.15); }
.res-table .sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.res-table .gain { color: var(--green); }

/* modais */
.modal { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(3, 2, 12, 0.55); }
.cfg-card { width: min(640px, 100%); max-height: 92vh; display: flex; flex-direction: column; gap: 12px; }
.cfg-head { display: flex; justify-content: space-between; align-items: center; }
.x { background: none; border: 0; color: var(--mut); font-size: 22px; cursor: pointer; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--mut); cursor: pointer; font-size: 15px; }
.tabs button.on { background: rgba(123,92,255,0.35); color: #fff; }
.cfg-body { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding-right: 4px; }
.opt { display: grid; grid-template-columns: 1fr 210px; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.opt .d { font-size: 12px; color: var(--mut); }
.opt select, .opt input[type=text] { font-family: inherit; font-size: 15px; padding: 7px 10px; border-radius: 10px; background: rgba(0,0,0,0.4); color: var(--txt); border: 1px solid var(--line); width: 100%; }
.opt .rv { display: flex; gap: 8px; align-items: center; }
.opt .rv span { width: 44px; text-align: right; font-size: 14px; color: var(--cyan); }
.switch { width: 52px; height: 28px; border-radius: 99px; background: rgba(255,255,255,0.15); position: relative; cursor: pointer; border: 0; justify-self: end; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .2s; }
.switch.on { background: var(--pink); }
.switch.on::after { left: 27px; }
/* chavinha liga/desliga num checkbox de verdade (mesmo visual do .switch; o onchange continua igual) */
input.tgl { -webkit-appearance: none; appearance: none; flex: none; width: 38px !important; height: 21px !important; margin: 0; padding: 0 !important; border: 0; box-shadow: none; border-radius: 99px; background: rgba(255,255,255,0.15); position: relative; cursor: pointer; transition: background .2s; }
input.tgl::after { content: ''; position: absolute; top: 2.5px; left: 2.5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
input.tgl:checked { background: var(--pink); }
input.tgl:checked::after { left: 19.5px; }
input.tgl:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 520px) { .opt { grid-template-columns: 1fr; } }
.help { overflow-y: auto; line-height: 1.5; color: #e6e1ff; }
.help-grid { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; }
kbd { background: rgba(255,255,255,0.12); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 7px; padding: 2px 8px; font-family: inherit; font-size: 14px; }
.help ul { padding-left: 18px; }
.help h4 { margin: 14px 0 4px; color: var(--gold); }

/* toque */
#touch { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.stick { position: absolute; left: 26px; bottom: 26px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.2); pointer-events: auto; touch-action: none; }
.stick .knob { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.tbtn { position: absolute; right: 30px; bottom: 40px; width: 92px; height: 92px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); background: rgba(255,79,163,0.4); color: #fff; font-size: 38px; pointer-events: auto; touch-action: none; }
.tbtn.small { right: 140px; bottom: 26px; width: 70px; height: 70px; font-size: 28px; background: rgba(51,214,255,0.35); }
.tbtn.mini { right: 18px; top: 18px; bottom: auto; width: 46px; height: 46px; font-size: 20px; background: rgba(0,0,0,0.4); }

/* carteira, salas e diamantes */
.menu-wrap { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; justify-content: center; width: min(1000px, 100%); }
.menu-wrap .menu-card { flex: 0 1 400px; }
.rooms-card { flex: 1 1 380px; max-width: 560px; display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.rooms-head { display: flex; justify-content: space-between; align-items: center; }
.res-title.small { font-size: 24px; text-align: left; }
.rooms-col { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rooms-title { font-weight: 700; font-size: 16px; }
.rooms-title small { display: block; font-weight: 400; font-size: 12px; color: var(--mut); }
.rooms-title.test { color: var(--cyan); }
.rooms-title.dia { color: var(--gold); }
.rooms-list { display: flex; flex-direction: column; gap: 6px; max-height: 150px; overflow-y: auto; }
.create-bar { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.create-bar .btn { width: 100%; padding: 11px 10px; font-size: 15px; }
.create-bar.four { grid-template-columns: 1.3fr 1.2fr 0.9fr; }
.btn.coin { background: linear-gradient(135deg, #ffb300, #ff6a00); color: #1b0d00; border-color: transparent; font-weight: 800; }
.a-bal.coin { color: #ffc24a; }
.rp.coin { color: #ffc24a; }
@media (max-width: 560px) { .create-bar { grid-template-columns: 1fr 1fr; } .create-bar .entry-pick { grid-column: 1 / -1; order: -1; } }
.room { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.room.dia { border-color: rgba(255,210,63,0.4); }
.room .rc { font-weight: 700; letter-spacing: 2px; color: var(--gold); width: 52px; }
.room .ri { flex: 1; min-width: 0; }
.room .ri b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room .ri small { color: var(--mut); }
.room .rp { font-weight: 700; color: var(--gold); white-space: nowrap; }
.room button { padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.room.busy { opacity: 0.6; }
.bonus-list { max-height: none; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(20,241,149,0.08); border: 1px dashed rgba(20,241,149,0.6); }
.bonus-title { color: #14f195; font-weight: 900; text-shadow: 0 0 10px #14f19588; animation: bpulse 1.2s infinite; }
.room.bonus { padding: 14px 12px; font-size: 16px; border-width: 2px; animation: roomblink 1.1s infinite; }
.room.bonus .rc { font-size: 18px; color: #14f195; }
.room.bonus button { padding: 10px 16px; font-size: 16px; font-weight: 800; }
@keyframes roomblink { 0%, 100% { box-shadow: 0 0 0 1px #14f19566, 0 0 16px #14f19544; } 50% { box-shadow: 0 0 0 2px #14f195, 0 0 34px #14f195aa; background: rgba(20,241,149,0.22); } }
.room.bonus { border-color: #14f195; box-shadow: 0 0 0 1px #14f19555, 0 0 18px #14f19533; background: linear-gradient(90deg, rgba(20,241,149,0.12), rgba(0,0,0,0.3)); }
.bonus-tag { display: inline-block; background: linear-gradient(135deg, #9945ff, #14f195); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; margin-left: 6px; letter-spacing: .5px; animation: bpulse 1.6s infinite; }
@keyframes bpulse { 50% { filter: brightness(1.35); } }
/* barra do token no menu */
.tk-bar { width: min(1100px, 100%); min-width: 0; margin: 0 auto 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px 16px; align-items: center; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(40,16,80,0.9), rgba(8,40,36,0.88)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(20,241,149,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.tk-bar .tk-mc { font-weight: 800; font-size: 18px; white-space: nowrap; } .tk-bar .tk-mc small { display: block; font-size: 11px; font-weight: 500; color: var(--mut); }
.tk-bar .tk-prog { min-width: 0; } .tk-bar .tk-line { font-size: 13px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tk-bar .tk-track { height: 12px; border-radius: 999px; background: rgba(0,0,0,0.55); overflow: hidden; margin: 6px 0 5px; border: 1px solid rgba(20,241,149,0.45); box-shadow: inset 0 2px 6px rgba(0,0,0,0.6), 0 0 14px rgba(20,241,149,0.25); }
.tk-bar .tk-track i { position: relative; display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #9945ff, #19fb9b, #b8ffe0); box-shadow: 0 0 12px #14f195, 0 0 26px #14f19599; transition: width .8s cubic-bezier(.2,.8,.2,1); overflow: hidden; }
.tk-bar .tk-track i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.65) 50%, transparent 80%); transform: translateX(-100%); animation: tkshine 1.8s infinite; }
@keyframes tkshine { to { transform: translateX(100%); } }
.tk-bar .tk-pct { font-weight: 900; font-size: 16px; color: #14f195; text-shadow: 0 0 10px #14f195; }
.tk-bar.hot { animation: tkhot 1s infinite; } @keyframes tkhot { 50% { box-shadow: 0 0 30px rgba(20,241,149,0.6); border-color: #14f195; } }
.tk-bar .tk-btns { display: flex; flex-direction: column; gap: 6px; }
.tk-bar .tk-btns .tk-buy { padding: 8px 14px; }
.tk-bar .tk-buy { text-align: center; }
.tk-bar .tk-buy.axiom { background: linear-gradient(135deg, #f4f4f8, #b9bccb); color: #101018; }
.tk-bar .tk-buy.pump { background: linear-gradient(135deg, #1d9e5c, #5cf08a); color: #052b16; }
.tk-bar .tk-vol { font-size: 13px; font-weight: 600; margin-top: 4px; color: #d7d0ff; } .tk-bar .tk-vol b { color: #fff; }
.tk-bar .up { color: #5cf08a; font-weight: 800; } .tk-bar .down { color: #ff7b7b; font-weight: 800; }
.tk-bar .tk-acc { color: #14f195; font-size: 16px; text-shadow: 0 0 8px #14f19599; }
.tk-bar .tk-stat { display: inline-block; font-weight: 800; color: #14f195; background: rgba(20,241,149,0.12); border: 1px solid rgba(20,241,149,0.4); border-radius: 999px; padding: 1px 9px; }
.tk-bar .tk-stat.down { color: #ff9b9b; background: rgba(255,90,95,0.12); border-color: rgba(255,90,95,0.45); }
.tk-bar .tk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.tk-bar .tk-chip { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 8px; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.15); color: #a99fd6; letter-spacing: .3px; }
.tk-bar .tk-chip.next { border-color: #ffd23f; color: #ffd23f; box-shadow: 0 0 10px rgba(255,210,63,0.35); }
.tk-bar .tk-chip.hit { color: #052b16; background: linear-gradient(135deg, #5cf08a, #14f195); border-color: #b8ffe0; animation: chipblink 1s infinite; }
@keyframes chipblink { 0%, 100% { box-shadow: 0 0 6px #14f195; filter: brightness(1); } 50% { box-shadow: 0 0 18px #14f195, 0 0 30px #14f19588; filter: brightness(1.35); } }
.tk-bar .tk-mc small { font-size: 12px; font-weight: 700; color: #b9b0e8; }
.tk-bar .tk-live { color: #ff5a5f; font-size: 10.5px; margin-left: 4px; animation: bpulse 1.4s infinite; }
.tk-bar .tk-big { font-size: clamp(30px, 4.2vw, 44px); font-weight: 900; line-height: 1.05; background: linear-gradient(135deg, #ffffff, #b8ffe0 45%, #14f195); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgba(20,241,149,0.45)); }
/* barra do fee: uma coluna — token + market cap, fee recolhido (grande, piscando), barra, status e botões lado a lado */
.tk-bar { grid-template-columns: 1fr !important; gap: 8px; text-align: center; }
.tk-bar .tk-head { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; }
.tk-bar .tk-name { font-size: clamp(20px, 3vw, 26px); font-weight: 900; color: #fff; }
.tk-bar .tk-head .tk-big { font-size: clamp(26px, 4vw, 38px); }
.tk-bar .tk-head small { font-size: 12px; font-weight: 700; color: #b9b0e8; }
.tk-bar .tk-fee { font-size: clamp(18px, 2.6vw, 24px); font-weight: 800; color: #d7d0ff; }
.tk-bar .tk-feev { font-size: clamp(28px, 4.5vw, 42px); color: #14f195; margin-left: 6px; animation: feeblink 1.1s infinite; }
@keyframes feeblink { 0%, 100% { text-shadow: 0 0 8px #14f19566; filter: brightness(1); } 50% { text-shadow: 0 0 22px #14f195, 0 0 40px #14f19599; filter: brightness(1.35); } }
.tk-bar .tk-line { justify-content: center; gap: 14px; }
.tk-bar .tk-btns { display: flex !important; flex-direction: row !important; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tk-bar .tk-btns .tk-buy { flex: 1 1 160px; max-width: 240px; grid-column: auto !important; }
/* últimos ganhadores: canto superior direito do menu (só os nomes) */
.winners { position: absolute; top: 18px; right: 18px; width: 270px; padding: 10px 12px; border-radius: 14px; z-index: 2;
  background: rgba(20,10,45,0.72); border: 1px solid rgba(255,210,63,0.4); backdrop-filter: blur(8px); }
.winners .wn-title { font-weight: 900; font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.winners .wn { display: flex; align-items: center; gap: 7px; padding: 3px 0; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.winners .wn .ic { font-size: 14px; }
.winners .wn .nm { overflow: hidden; text-overflow: ellipsis; }
.winners .wn .am { margin-left: auto; padding-left: 8px; font-size: 12px; font-weight: 700; color: #14f195; opacity: 0.7; } .winners .wn .am.coin { color: #ffc24a; }
.winners .wn.new { animation: wnnew 2.5s ease-out; border-radius: 6px; } @keyframes wnnew { 0% { background: rgba(20,241,149,0.35); } 100% { background: transparent; } }
@media (max-width: 760px) { .winners { position: static; width: min(1100px, 100%); } .winners #wn-list { display: flex; flex-wrap: wrap; gap: 0 14px; } }
/* loja */
.shop-btn { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 12px 20px; font-size: 18px; font-weight: 900; border-radius: 14px; border: 0; cursor: pointer; color: #1b0d00;
  background: linear-gradient(135deg, #ffd23f, #ff8a00); box-shadow: 0 6px 0 #9a4a00, 0 10px 30px rgba(255,170,0,0.45); animation: shopglow 2.4s infinite; }
.shop-btn:hover { filter: brightness(1.1); } @keyframes shopglow { 50% { box-shadow: 0 6px 0 #9a4a00, 0 10px 40px rgba(255,200,0,0.8); } }
.shop-card { width: min(860px, 96vw); max-height: 92vh; overflow-y: auto; }
.shop-top { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.shop-me { width: 110px; height: 110px; border-radius: 16px; background: radial-gradient(circle, rgba(123,92,255,0.35), rgba(0,0,0,0.3)); flex: none; }
.shop-bal { font-size: 15px; font-weight: 900; color: #ffc24a; margin-bottom: 2px; }
.shop-bal.o { color: #c9a2ff; }
.shop-tabs { margin: 6px 0 10px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.shop-item { background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 14px; padding: 8px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.shop-item.own { border-color: rgba(20,241,149,0.6); } .shop-item.on { box-shadow: 0 0 0 2px #14f195, 0 0 18px rgba(20,241,149,0.4); }
.shop-item img { width: 100%; aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle, rgba(123,92,255,0.3), rgba(0,0,0,0.25)); }
.shop-item .nm { font-weight: 800; font-size: 15px; } .shop-item .pr { font-weight: 800; color: #ffc24a; font-size: 14px; } .shop-item .pr small { display: block; color: var(--mut); font-weight: 600; font-size: 11px; }
.shop-item .slot { font-size: 11px; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; }
.shop-item .btn { padding: 8px; font-size: 14px; }
@media (max-width: 760px) { .shop-btn { position: static; } .shop-grid { grid-template-columns: repeat(2, 1fr); } }
/* escolha do boneco base */
.bases { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 6px; }
.base-c { position: relative; border-radius: 12px; background: rgba(0,0,0,0.3); border: 2px solid transparent; padding: 3px; cursor: pointer; text-align: center; font-size: 11px; font-weight: 700; color: var(--mut); }
.base-c img { width: 100%; aspect-ratio: 1; border-radius: 9px; display: block; }
.base-c.on { border-color: #14f195; color: #fff; box-shadow: 0 0 12px rgba(20,241,149,0.4); }
.base-c.lock { cursor: default; } .base-c.lock img { filter: grayscale(1) brightness(0.45); }
.base-c .lk { position: absolute; top: 30%; left: 0; right: 0; font-size: 20px; }
.bases-tip { grid-column: 1 / -1; font-size: 12px; color: var(--gold); text-align: center; }
/* seu boneco (só o atual) + inventário */
.me-row { display: flex; gap: 10px; align-items: center; }
.me-card { width: 92px; flex: none; text-align: center; font-size: 11px; font-weight: 800; color: #fff; }
.me-card img { width: 92px; height: 92px; border-radius: 12px; background: radial-gradient(circle, rgba(123,92,255,0.35), rgba(0,0,0,0.3)); border: 2px solid #14f195; display: block; }
.me-row .me-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.inv-card { width: min(980px, 96vw); max-height: 94vh; overflow-y: auto; }
.inv-wrap { display: grid; grid-template-columns: minmax(260px, 1fr) 1.2fr; gap: 14px; }
.inv-stage { position: relative; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(123,92,255,0.35), rgba(5,3,20,0.9)); min-height: 380px; }
.inv-stage canvas { width: 100%; height: 100%; min-height: 380px; display: block; cursor: grab; touch-action: none; } .inv-stage canvas:active { cursor: grabbing; }
.inv-hint { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--mut); pointer-events: none; }
.inv-anim { position: absolute; bottom: 8px; left: 8px; right: 8px; }
.inv-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; max-height: 52vh; overflow-y: auto; padding-right: 4px; }
.inv-it { border-radius: 12px; background: rgba(0,0,0,0.3); border: 2px solid transparent; padding: 4px; text-align: center; font-size: 12px; font-weight: 700; cursor: pointer; }
.inv-it img { width: 100%; aspect-ratio: 1; border-radius: 9px; display: block; }
.inv-it.on { border-color: #14f195; box-shadow: 0 0 12px rgba(20,241,149,0.4); } .inv-it small { display: block; color: var(--mut); font-weight: 600; font-size: 10px; }
.inv-empty { grid-column: 1 / -1; color: var(--mut); text-align: center; padding: 20px 0; font-size: 13px; }
@media (max-width: 760px) { .inv-wrap { grid-template-columns: 1fr; } .inv-stage, .inv-stage canvas { min-height: 300px; } }
/* pop-up de compra da loja */
.buy-pop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(5,3,18,0.72); backdrop-filter: blur(6px); animation: bpfade .2s ease-out; }
@keyframes bpfade { from { opacity: 0; } }
.bp-box { position: relative; width: min(400px, 100%); padding: 22px 22px 18px; border-radius: 24px; text-align: center; overflow: hidden;
  background: linear-gradient(170deg, #241650 0%, #120a2e 60%, #0b1a2a 100%); border: 1px solid rgba(255,194,74,0.55);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset, 0 0 60px rgba(255,170,0,0.18); animation: bppop .28s cubic-bezier(.2,1.4,.4,1); }
@keyframes bppop { from { transform: scale(.85) translateY(20px); opacity: 0; } }
.bp-glow { position: absolute; inset: -40% -20% auto; height: 70%; background: radial-gradient(circle, rgba(255,194,74,0.35), transparent 60%); pointer-events: none; animation: bpglow 3s ease-in-out infinite; }
@keyframes bpglow { 50% { opacity: .55; transform: scale(1.08); } }
.bp-tag { position: relative; display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: 1.5px; color: #1b0d00; background: linear-gradient(135deg, #ffd23f, #ff8a00); padding: 3px 12px; border-radius: 999px; }
.bp-img { position: relative; width: 180px; height: 180px; margin: 6px auto 0; }
.bp-img img { position: relative; z-index: 1; width: 100%; height: 100%; animation: bpfloat 2.6s ease-in-out infinite; }
@keyframes bpfloat { 50% { transform: translateY(-8px); } }
.bp-ring { position: absolute; left: 15%; right: 15%; bottom: 8px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(20,241,149,0.55), transparent 70%); filter: blur(2px); }
.bp-name { position: relative; font-size: 24px; font-weight: 900; color: #fff; margin-top: 2px; }
.bp-desc { position: relative; color: var(--mut); font-size: 13px; margin-top: 2px; }
.bp-price { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-top: 12px; }
.bp-price b { font-size: 36px; font-weight: 900; background: linear-gradient(180deg, #ffe48a, #ffb300); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(255,180,0,0.45)); }
.bp-price small { font-weight: 800; color: #ffc24a; }
.bp-usd { position: relative; color: var(--mut); font-size: 13px; min-height: 16px; }
.bp-bal { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 4px; padding: 10px; border-radius: 14px; background: rgba(0,0,0,0.3); }
.bp-bal small { display: block; font-size: 10px; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; } .bp-bal b { font-size: 15px; } .bp-bal span { color: var(--mut); }
.bp-btns { position: relative; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 14px; }
.bp-go { font-size: 17px; font-weight: 900; box-shadow: 0 6px 0 #9a4a00, 0 10px 30px rgba(255,150,0,0.45); }
.bp-done { position: relative; } .bp-check { width: 70px; height: 70px; margin: 10px auto 4px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; font-weight: 900; color: #052b16;
  background: linear-gradient(135deg, #5cf08a, #14f195); box-shadow: 0 0 30px rgba(20,241,149,0.7); animation: bppop .35s cubic-bezier(.2,1.6,.4,1); }
.bp-ok { font-size: 26px; font-weight: 900; color: #14f195; }
.buy-pop.done .bp-price, .buy-pop.done .bp-usd, .buy-pop.done .bp-bal, .buy-pop.done #bp-main-btns { display: none; }
.inv-sell { display: block; width: 100%; margin-top: 4px; padding: 4px 6px; font-size: 11px; font-weight: 800; border-radius: 8px; border: 1px solid rgba(255,194,74,0.5); background: rgba(255,170,0,0.12); color: #ffc24a; cursor: pointer; }
.inv-sell:hover { background: rgba(255,170,0,0.25); }
.buy-pop.sell .bp-box { border-color: rgba(20,241,149,0.55); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(20,241,149,0.18); }
.buy-pop.sell .bp-tag { background: linear-gradient(135deg, #5cf08a, #14f195); }
.tk-bar .tk-info { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.45; color: #d7d0ff; background: rgba(0,0,0,0.28); border-radius: 10px; padding: 8px 10px; }
.tk-bar .tk-timers { font-size: 12px; color: var(--mut); } .tk-bar .tk-timers b { color: var(--txt); font-variant-numeric: tabular-nums; }
.tk-bar .tk-buy { background: linear-gradient(135deg, #9945ff, #14f195); color: #fff; font-weight: 800; text-decoration: none; padding: 10px 14px; border-radius: 12px; white-space: nowrap; }
@media (max-width: 700px) { .tk-bar { grid-template-columns: minmax(0,1fr); } .tk-bar > * { min-width: 0; } .tk-bar .tk-btns { display: grid; grid-template-columns: 1fr 1fr; } .tk-bar .tk-btns a { padding: 10px 6px; font-size: 13px; } .tk-bar .tk-btns a:nth-child(3) { grid-column: 1 / -1; } }
/* contagem 10 -> 0 da sala bônus */
.bonus-cd { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(circle, rgba(20,241,149,0.12), rgba(5,3,15,0.45)); pointer-events: none; }
.bonus-cd .bcd-box { text-align: center; padding: 16px 24px; border-radius: 20px; background: rgba(12,8,30,0.88); border: 2px solid #14f195; box-shadow: 0 0 40px #14f19555; max-width: min(380px, 90vw); }
.bonus-cd .bcd-t { font-size: clamp(16px, 3vw, 20px); font-weight: 900; letter-spacing: 1px; }
.bonus-cd .bcd-n { font-size: clamp(56px, 10vw, 84px); font-weight: 900; line-height: 1; margin: 4px 0; background: linear-gradient(135deg, #b98bff, #14f195); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bonus-cd .bcd-n.tick { animation: bcd .9s ease-out; } @keyframes bcd { from { transform: scale(1.5); opacity: .3; } to { transform: scale(1); opacity: 1; } }
.bonus-cd .bcd-s { font-size: 13px; color: var(--mut); }
.bclose { font-weight: 800; color: #ffb3b3; } .bclose.ok { color: #14f195; }
.bonus-cd.small { place-items: start center; background: none; padding-top: 70px; } .bonus-cd.small .bcd-box { padding: 10px 18px; } .bonus-cd.small .bcd-n { font-size: 54px; } .bonus-cd.small .bcd-t { font-size: 16px; }
.empty-rooms { color: var(--mut); font-size: 13px; padding: 8px 4px; }
.wallet-row { display: flex; justify-content: space-between; align-items: center; }
.wallet { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, rgba(255,210,63,0.25), rgba(255,79,163,0.2)); border: 1px solid rgba(255,210,63,0.5); font-size: 17px; }
.wallet b { color: var(--gold); font-size: 19px; }
.wallet.bump { animation: bump .6s; }
@keyframes bump { 40% { transform: scale(1.25); } }
.wins { color: var(--mut); font-size: 13px; }
.btn.gold { background: linear-gradient(135deg, #ffd23f, #ff9f1c); color: #2a1600; border-color: transparent; box-shadow: 0 5px 0 #8a4a00; }
.btn.gold:hover { background: linear-gradient(135deg, #ffe066, #ffb13c); }
.kind { margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; letter-spacing: 0; text-transform: none; }
.kind.teste { background: rgba(51,214,255,0.2); color: var(--cyan); }
.kind.diamante { background: rgba(255,210,63,0.2); color: var(--gold); }
.lobby-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pot { text-align: center; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(255,210,63,0.18), rgba(255,79,163,0.15)); border: 1px solid rgba(255,210,63,0.45); font-size: 16px; }
.pot b { color: var(--gold); font-size: 26px; }
.pot .lp-head { font-size: 15px; font-weight: 800; margin-bottom: 8px; } .pot .lp-head b { font-size: 20px; }
.pot .lp-head.bonus { color: #14f195; } .pot .lp-head.bonus b { color: #14f195; text-shadow: 0 0 10px #14f19588; }
.pot .lp-grid { display: grid; gap: 6px; margin-bottom: 8px; } .pot .lp-grid.five { grid-template-columns: repeat(5, 1fr); } .pot .lp-grid.three { grid-template-columns: repeat(3, 1fr); }
.pot .lp-grid > div { background: rgba(0,0,0,0.3); border-radius: 10px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; }
.pot .lp-grid small { font-size: 11px; color: var(--mut); white-space: nowrap; }
.pot .lp-grid b { font-size: 16px; line-height: 1.2; } .pot .lp-grid i { font-style: normal; font-size: 11px; color: var(--mut); }
.pot .lp-chips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pot .lp-chips span { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,0.08); color: #d7d0ff; white-space: nowrap; }
@media (max-width: 520px) { .pot .lp-grid.five { grid-template-columns: repeat(3, 1fr); } .pot .lp-grid b { font-size: 14px; } }
.hud-pot { position: absolute; top: 84px; left: 50%; transform: translateX(-50%); color: var(--gold); font-weight: 700; text-shadow: 0 2px 4px #000; font-size: 15px; white-space: nowrap; }
.prize { margin-top: 8px; text-align: center; font-size: 22px; font-weight: 700; color: var(--gold); text-shadow: 0 0 18px rgba(255,210,63,0.6); }

/* volume na tela do jogo */
.vol { position: absolute; top: 12px; right: 14px; display: flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); pointer-events: auto; backdrop-filter: blur(8px); }
.vol button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.vol button:hover { background: rgba(255,255,255,0.22); }
.vol button.off { opacity: 0.4; }
.vbar { width: 70px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.15); overflow: hidden; }
.vbar div { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); transition: width .15s; }
@media (max-width: 700px) { .vbar { width: 40px; } .vol { top: auto; bottom: 150px; } }
.progress { top: 22%; }

/* tela de entrada: wallet ou free */
.entry-wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; width: min(820px, 100%); }
.entry-card { flex: 1 1 300px; max-width: 390px; text-align: left; color: var(--txt); cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .2s; display: flex; flex-direction: column; gap: 8px; }
.entry-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px rgba(123,92,255,0.35); }
.entry-card ul { margin: 4px 0; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.e-icon { font-size: 44px; line-height: 1; }
.e-title { font-size: 26px; font-weight: 700; }
.e-wallets { color: var(--mut); font-size: 13px; margin-top: auto; }
.wallet-card { background: linear-gradient(145deg, rgba(153,69,255,0.45), rgba(20,241,149,0.25)); border-color: rgba(20,241,149,0.5); }
.wallet-card .e-icon { background: linear-gradient(135deg, #9945ff, #14f195); -webkit-background-clip: text; background-clip: text; color: transparent; }
.entry-card:disabled { opacity: .6; cursor: wait; }
.acct { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); }
.acct .a-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.acct .a-addr { font-weight: 700; background: linear-gradient(90deg, #c08bff, #14f195); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acct .a-free { font-weight: 700; color: var(--cyan); }
.acct .a-small { font-size: 12px; color: var(--mut); }
.acct button { padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.acct .tickets { color: var(--gold); font-weight: 700; }
.acct .payouts { font-size: 12px; color: var(--mut); display: flex; flex-direction: column; gap: 2px; }
.acct .payouts .ok { color: var(--green); }
.acct .payouts .pend { color: var(--gold); }
.btn.sol { background: linear-gradient(135deg, #9945ff, #14f195); color: #fff; border-color: transparent; }
.pl .paid { font-size: 11px; color: var(--green); }
.pl .unpaid { font-size: 11px; color: var(--gold); }
.pl .shiny { font-size: 11px; color: #d6a8ff; }
.btn.locked { opacity: .55; }

/* escolha da wallet */
.w-pick { width: min(560px, 100%); display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.w-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .w-opts { grid-template-columns: 1fr; } }
.w-opt { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; border: 2px solid transparent; color: #fff; cursor: pointer; font-family: inherit; text-align: left; transition: transform .12s, border-color .2s; }
.w-opt:hover { transform: translateY(-3px); border-color: #fff; }
.w-opt:disabled { opacity: .6; cursor: wait; }
.w-opt.phantom { background: linear-gradient(135deg, #ab9ff2, #534bb1); }
.w-opt.solflare { background: linear-gradient(135deg, #fc7d1a, #ffd23f); color: #2a1300; }
.w-logo { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,0.25); display: grid; place-items: center; font-size: 30px; flex: none; }
.w-opt b { display: block; font-size: 20px; }
.w-opt small { display: block; font-size: 13px; opacity: .85; }

/* login, saldo, depósito, saque */
.login-card { width: min(400px, 100%); display: flex; flex-direction: column; gap: 10px; }
.a-small { font-size: 12px; color: var(--mut); }
.hud-bal { position: absolute; top: 12px; right: 290px; pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: linear-gradient(135deg, rgba(153,69,255,0.55), rgba(20,241,149,0.35)); border: 1px solid rgba(20,241,149,0.6); color: #fff; font-family: inherit; font-size: 12px; cursor: pointer; padding: 5px 10px; gap: 4px; }
.hud-bal b { font-size: 12.5px; }
.hud-bal .hb-o { font-style: normal; margin-left: 4px; padding-left: 7px; border-left: 1px solid rgba(255,255,255,0.3); }
.hud-bal span { background: rgba(255,255,255,0.25); border-radius: 50%; width: 22px; height: 22px; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 700px) { .hud-bal { right: auto; left: 14px; top: auto; bottom: 150px; } }
.dep-card { width: min(620px, 100%); }
.dep-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.dep-qr { width: 190px; height: 190px; background: #fff; border-radius: 14px; padding: 8px; flex: none; }
.dep-qr svg { width: 100%; height: 100%; display: block; }
.dep-info { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dep-addr { font-family: ui-monospace, monospace; font-size: 15px; word-break: break-all; padding: 10px; border-radius: 10px; background: rgba(0,0,0,0.4); border: 1px solid var(--line); user-select: all; }
.dep-status { text-align: center; padding: 10px; border-radius: 12px; background: rgba(0,0,0,0.3); }
.dep-status.ok { background: rgba(20,241,149,0.2); color: #8dffcc; font-weight: 700; }
.big-bal b { font-size: 22px; }
.acct .a-bal { font-size: 22px; font-weight: 700; color: #8dffcc; }

/* valor da entrada */
.entry-pick { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.entry-pick .btn { width: 100%; }
.entry-in { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mut); justify-content: center; }
.entry-in input { width: 86px; padding: 5px 8px; font-size: 14px; text-align: center; }
.entry-edit { justify-content: center; }
.entry-edit input { width: 110px; text-align: center; }

/* valor aproximado em dólar */
.usd { color: #8dffcc; font-size: 0.8em; font-weight: 600; opacity: 0.9; white-space: nowrap; }
.usd:empty { display: none; }
.acct .a-bal .usd { display: block; font-size: 13px; margin-top: 2px; }
.hud-bal .usd { font-size: 10px; margin-left: 2px; }
.entry-pick .entry-in { flex-wrap: wrap; }

.linkbtn { background: none; border: 0; color: var(--cyan); cursor: pointer; font-family: inherit; font-size: 14px; padding: 4px; text-decoration: underline; }
.mono { font-family: ui-monospace, monospace; }
#payout-req { z-index: 40; }

/* depósito abaixo do mínimo, aguardando completar 0.02 */
.dep-pending { padding: 10px 12px; border-radius: 12px; background: rgba(255,210,63,0.12); border: 1px solid rgba(255,210,63,0.45); font-size: 14px; }
.dep-pending b { color: var(--gold); }
.dep-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); overflow: hidden; margin-top: 6px; }
.dep-bar div { height: 100%; background: linear-gradient(90deg, #ffd23f, #14f195); transition: width .3s; }
.acct .pend-dep { color: var(--gold); }
/* "Criar sala Solana" em destaque (igual ao antigo destaque da partida rápida, nas cores da Solana) */
.create-bar .btn.sol.hl { font-weight: 800; box-shadow: 0 6px 0 #0b5e3c, 0 10px 30px rgba(20,241,149,0.4); }
.create-bar .btn.sol.hl:hover { box-shadow: 0 8px 0 #0b5e3c, 0 14px 40px rgba(20,241,149,0.55); }
.create-bar .btn.sol.hl { padding: 15px 12px; font-size: 17px; animation: solblink 1.2s infinite; }
@keyframes solblink { 0%, 100% { box-shadow: 0 6px 0 #0b5e3c, 0 0 12px rgba(20,241,149,0.35); filter: brightness(1); } 50% { box-shadow: 0 6px 0 #0b5e3c, 0 0 30px rgba(20,241,149,0.9), 0 0 50px rgba(153,69,255,0.5); filter: brightness(1.2); } }

/* menu compacto: cabe na tela sem rolar (o main.js ainda reduz o zoom se faltar espaço) */
#menu { gap: 8px; padding: 10px 16px; }
#menu > * { zoom: var(--mz, 1); }
#menu .logo { font-size: clamp(32px, min(6vw, 8vh), 72px); }
#menu .sub { font-size: 14px; margin-top: -4px; }
#menu .tk-bar { margin-bottom: 4px; padding: 8px 14px; }
#menu .card { padding: 14px 16px; }
#menu .menu-card { gap: 8px; }
#menu .rooms-card { gap: 8px; min-height: 0; }
#menu .create-bar { padding-bottom: 8px; }
#menu .res-title.small { font-size: 20px; }
#menu .rooms-list { max-height: 120px; }
#menu .btn { padding: 9px 14px; font-size: 16px; }
#menu input { padding: 9px 12px; font-size: 16px; }
#menu .bases { grid-template-columns: repeat(auto-fit, minmax(60px, 80px)); justify-content: center; }
#menu .maps-strip span { padding: 4px 10px; font-size: 12px; }

/* fim da sala bônus: lista de prêmios */
.bonus-pays { margin: 10px auto 0; max-width: 420px; padding: 10px 12px; border-radius: 14px; background: rgba(20,241,149,0.08); border: 1px solid rgba(20,241,149,0.5); text-align: left; }
.bonus-pays .bp-h { font-weight: 900; color: #14f195; text-align: center; margin-bottom: 6px; }
.bonus-pays .bp-r { display: flex; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 8px; font-size: 15px; }
.bonus-pays .bp-r span { width: 28px; font-weight: 900; color: var(--gold); }
.bonus-pays .bp-r b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.bonus-pays .bp-r em { font-style: normal; font-weight: 800; color: #14f195; white-space: nowrap; }
.bonus-pays .bp-r em small { font-weight: 500; color: var(--mut); }
.bonus-pays .bp-r.me { background: rgba(255,210,63,0.18); }

/* últimos ganhadores: quadro compacto no canto para não cobrir o menu */
@media (min-width: 761px) { .winners { top: 10px; right: 10px; width: 210px; } }
.winners { padding: 6px 9px; border-radius: 11px; }
.winners .wn-title { font-size: 11px; margin-bottom: 2px; }
.winners .wn { font-size: 12px; padding: 1px 0; gap: 5px; }
.winners .wn .ic { font-size: 11px; }
.winners .wn .am { font-size: 10.5px; }

/* ===== menu inicial alinhado: barra do token, cartões e mapas com a mesma largura ===== */
#menu { --mw: min(1080px, 100%); }
#menu .tk-bar, #menu .menu-wrap, #menu .maps-strip { width: var(--mw); max-width: var(--mw); margin-left: auto; margin-right: auto; }
#menu .menu-wrap { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 14px; align-items: stretch; }
#menu .menu-wrap .menu-card, #menu .rooms-card { width: auto; max-width: none; flex: none; }
@media (max-width: 900px) { #menu .menu-wrap { grid-template-columns: 1fr; } }
/* conta: botões numa linha só */
#menu .acct .btn { white-space: nowrap; padding: 8px 14px; font-size: 14px; }
#menu .acct .a-row { flex-wrap: nowrap; }
/* criar sala: colunas iguais, botões da mesma altura, entrada embaixo */
#menu .create-bar, #menu .create-bar.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
#menu .create-bar.four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#menu .create-bar .entry-pick { gap: 6px; }
#menu .create-bar .btn, #menu .create-bar .btn.sol.hl { min-height: 54px; padding: 8px 10px; font-size: 15px; line-height: 1.2; display: flex; align-items: center; justify-content: center; text-align: center; }
#menu .create-bar .entry-in { flex-wrap: nowrap; gap: 5px; font-size: 12px; white-space: nowrap; }
#menu .create-bar .entry-in input { width: 70px; padding: 5px 6px; font-size: 14px; }
#menu .create-bar .entry-in .usd { display: none; }
/* loja (2x maior) e últimos ganhadores alinhados no topo */
.shop-btn { top: 14px; left: 14px; padding: 22px 42px; font-size: 34px; border-radius: 22px; box-shadow: 0 8px 0 #9a4a00, 0 14px 40px rgba(255,170,0,0.5); }
@media (min-width: 761px) { .winners { top: 14px; right: 14px; } }
@media (max-width: 760px) { .shop-btn { padding: 14px 28px; font-size: 24px; } }
#menu .create-bar .btn { gap: 6px; }
#menu .create-bar > .btn { align-self: start; }

/* ===== cartão da conta: saldo | Carregar | Sacar em colunas fixas, tudo alinhado ===== */
#menu .acct { gap: 8px; }
#menu .acct .a-wallet { display: grid; grid-template-columns: minmax(0, 1fr) 118px 78px; gap: 8px; align-items: center; }
#menu .acct .a-wallet .btn { width: 100%; height: 40px; padding: 0 8px; font-size: 14px; white-space: nowrap; display: flex; align-items: center; justify-content: center; }
#menu .acct .a-bal { min-width: 0; font-size: 19px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#menu .acct .a-bal small { font-size: 12px; opacity: .85; }
#menu .acct .a-bal .usd { display: block; font-size: 11.5px; margin-top: 2px; }
/* boneco em uso + inventário */
#menu .bases { display: block; }
#menu .me-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: center; }
#menu .me-card { width: 84px; } #menu .me-card img { width: 84px; height: 84px; }
#menu .me-row .me-info .btn { width: 100%; height: 44px; padding: 0 10px; font-size: 15px; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 6px; }
/* código + entrar e configurações + como jogar: mesmas duas colunas */
#menu .menu-card > .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#menu .menu-card > .row > * { width: 100%; height: 42px; padding-top: 0; padding-bottom: 0; }
#menu #m-code { width: 100%; }
#menu .acct .a-wallet { grid-template-columns: minmax(0, 1fr) 106px 70px; }
#menu .acct .a-bal { font-size: 17px; }

/* salas bônus: mostra todas (sem barra de rolagem); se não couber, o menu reduz o zoom */
#menu .rooms-list.bonus-list { max-height: none; overflow: visible; }

/* fila de espera */
.queue { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; background: rgba(5,3,18,0.82); backdrop-filter: blur(8px); }
.q-box { width: min(420px, 100%); text-align: center; padding: 26px 22px 20px; border-radius: 22px; background: linear-gradient(170deg, #241650, #120a2e); border: 1px solid rgba(51,214,255,0.5); box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 50px rgba(51,214,255,0.18); }
.q-spin { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; border: 5px solid rgba(255,255,255,0.12); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
.q-t { font-size: 26px; font-weight: 900; }
.q-pos { font-size: 18px; margin: 10px 0 6px; } .q-pos b { font-size: 34px; color: var(--cyan); text-shadow: 0 0 14px rgba(51,214,255,0.6); } .q-pos small { color: var(--mut); font-size: 13px; }
.q-d { color: var(--mut); font-size: 14px; line-height: 1.45; margin-bottom: 14px; }

/* ===== criar sala igual ao Cosmo Karts: botões um embaixo do outro, entrada na frente ===== */
#menu .sec-title { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--mut); margin: 2px 0 -2px; }
#menu .rooms-card { gap: 10px; }
#menu .create-bar, #menu .create-bar.four { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
#menu .create-bar .btn, #menu .create-bar .btn.sol.hl { width: 100%; min-height: 0; height: 44px; padding: 0 10px; font-size: 15px; align-self: center; }
#menu .create-bar .entry-in { height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 12px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); font-size: 13px; color: var(--mut); flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
#menu .create-bar .entry-in input { width: 74px; height: 32px; padding: 0 6px; font-size: 14px; text-align: center; border-radius: 8px; }
#menu .create-bar .entry-in .usd { display: inline; font-size: 11px; }
#menu .create-bar .entry-in.note { font-size: 12px; }
#menu .create-bar .hidden { display: none !important; }
#menu .rooms-head { margin-top: 2px; }

/* slider de valor (entrada das salas e saques) */
.val-slider { position: fixed; z-index: 9500; width: 200px; padding: 7px 9px; border-radius: 12px; background: linear-gradient(170deg, #241650, #140c32); border: 1px solid rgba(20,241,149,0.5); box-shadow: 0 14px 40px rgba(0,0,0,0.55); }
.val-slider .vs-top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 10px; color: var(--mut); }
.val-slider .vs-val { font-size: 13px; text-align: center; color: #14f195; white-space: nowrap; }
.val-slider input[type=range] { width: 100%; height: 16px; margin: 2px 0; accent-color: #14f195; padding: 0; border: 0; background: transparent; }
.val-slider .vs-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.val-slider .vs-btns button { padding: 3px 0; font-size: 10.5px; font-weight: 800; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.07); color: var(--txt); cursor: pointer; }
.val-slider .vs-btns button:hover { background: rgba(20,241,149,0.2); }

/* compartilhar no X (tela de resultado) */
.share-row { display: flex; justify-content: center; margin: 4px 0 8px; }
.btn.share-x { background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.35); font-weight: 800; padding: 10px 22px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.45); }
.btn.share-x b { font-size: 20px; line-height: 1; }
.btn.share-x:hover { background: #111; border-color: #fff; }

/* imagem de compartilhamento no resultado */
.share-row { flex-direction: column; align-items: center; gap: 8px; }
.share-thumb { width: min(360px, 100%); aspect-ratio: 1200 / 630; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,0.45); object-fit: cover; }
.share-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* login: abas Entrar / Criar conta */
.lg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(0,0,0,0.3); margin-bottom: 4px; }
.lg-tabs button { padding: 10px; border: 0; border-radius: 10px; background: transparent; color: var(--mut); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.lg-tabs button.on { background: linear-gradient(135deg, var(--pink), var(--violet)); color: #fff; }
.val-slider .vs-note { font-size: 10px; color: var(--mut); text-align: center; margin: -1px 0 4px; }
.val-slider .vs-note.err { color: #ff8a8a; }
.val-slider button:disabled, .val-slider input:disabled { opacity: .4; cursor: default; }

/* ===== CHAT (igual ao do CREAK) ===== */
.chat { position: fixed; left: 12px; bottom: 12px; width: 290px; z-index: 25; background: rgba(14,9,38,0.9); border: 1px solid var(--line); border-radius: 14px; font-size: 12.5px; backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.chatGrip { position: absolute; left: 0; right: 0; top: -5px; height: 10px; cursor: ns-resize; z-index: 2; touch-action: none; }
.chatGrip::after { content: ''; position: absolute; left: 50%; top: 3px; width: 34px; height: 4px; margin-left: -17px; border-radius: 3px; background: rgba(160,140,255,0.4); }
.chatGrip:hover::after, .chatGrip.on::after { background: var(--cyan); }
.chat.closed .chatGrip { display: none; }
.chatHead { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 5px 8px; background: rgba(123,92,255,0.18); border-radius: 14px 14px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.chat.closed .chatHead { border-radius: 14px; }
.chatTabs { display: flex; gap: 2px; align-items: center; flex: 1; min-width: 0; overflow: hidden; }
.chatTab { padding: 3px 7px; border-radius: 8px; opacity: .55; white-space: nowrap; cursor: pointer; }
.chatTab.on { opacity: 1; background: rgba(51,214,255,0.15); }
.chatTab small { font-size: 10px; font-weight: 600; color: var(--mut); }
.chatX { flex: none; background: none; border: 0; color: var(--mut); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chatBadge { display: inline-block; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: #ff4f6d; color: #fff; font-size: 9.5px; font-weight: 900; line-height: 15px; text-align: center; margin-left: 2px; box-shadow: 0 0 10px #ff4f6d; }
.chatMsgs { height: 130px; overflow-y: auto; padding: 6px 8px; display: flex; flex-direction: column; gap: 3px; }
.chatPeek { display: none; padding: 0 8px; }
.chat.closed #chatBody { display: none; }
.chat.closed .chatPeek { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px; }
.chat.annTab .chatForm { display: none; }
.cm { line-height: 1.3; word-break: break-word; transition: opacity .4s; }
.cm i { font-style: normal; margin-right: 3px; }
.cm b { color: var(--gold); margin-right: 3px; }
.cm.me b { color: var(--cyan); }
.cm .cmName { cursor: pointer; } .cm .cmName:hover { text-decoration: underline; }
.cm .cmT { font-size: 9.5px; color: rgba(200,190,255,0.45); margin-right: 4px; font-variant-numeric: tabular-nums; }
.cm.err { color: #ff8a8a; } .cm.empty { color: rgba(220,215,255,0.4); } .cm.out { opacity: 0; }
.cm.mention { background: rgba(255,210,74,0.16); border-left: 3px solid #ffd24a; padding: 2px 6px; border-radius: 6px; }
.cm .depChat { filter: drop-shadow(0 0 4px #14f195); }
.cm.annc { --k: #ffd24a; color: #ffe9a8; background: color-mix(in srgb, var(--k) 12%, transparent); border-left: 3px solid var(--k); padding: 3px 6px; border-radius: 6px; margin: 2px 0; }
.cm.annc b { color: var(--k); } .cm.annc .cmT { color: inherit; opacity: .6; }
.chatForm { display: flex; gap: 4px; padding: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.chatForm input { padding: 6px 8px; font-size: 12.5px; border-radius: 9px; }
.chatForm .btn { padding: 5px 11px; font-size: 14px; border-radius: 9px; }
@media (max-width: 760px) { .chat { width: calc(100vw - 24px); } .chatMsgs { height: 100px; } }
/* avisos do admin: canto de cima à direita por 15 s */
.annBox { position: fixed; top: 140px; right: 14px; z-index: 9999; display: flex; flex-direction: column; gap: 6px; width: min(300px, calc(100vw - 32px)); pointer-events: none; }
.ann { --k: #ffd24a; pointer-events: auto; display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.3;
  background: linear-gradient(135deg, color-mix(in srgb, var(--k) 16%, #120c02f5), #0f0b03f5); border: 1px solid color-mix(in srgb, var(--k) 65%, transparent);
  box-shadow: 0 10px 34px rgba(0,0,0,.55), 0 0 24px color-mix(in srgb, var(--k) 25%, transparent); color: #fff4d6; animation: annIn .35s ease-out; transition: opacity .5s, transform .5s; position: relative; overflow: hidden; }
.ann .ic { font-size: 17px; line-height: 1; }
.ann b { display: block; color: var(--k); font-size: 10.5px; letter-spacing: .06em; margin-bottom: 1px; }
.ann .bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--k); animation: annBar linear forwards; }
.ann.out { opacity: 0; transform: translateX(30px); }
@keyframes annIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes annBar { from { width: 100%; } to { width: 0; } }
/* botão de idioma ao lado da loja */
/* ✦ CosmoPoint + PT/EN lado a lado (o contador fica à esquerda do idioma) */
.lang-row { position: absolute; top: 14px; left: 240px; z-index: 2; display: flex; gap: 8px; align-items: stretch; }
.lang-row .lang-btn, .lang-row .socials { position: static; }
.lang-row .socials { align-items: center; }
.cpoint { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 10px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, rgba(60,24,120,0.9), rgba(22,14,54,0.9)); border: 1px solid rgba(255,200,58,0.55); box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 14px rgba(255,200,58,0.18) inset; backdrop-filter: blur(8px); }
.cpoint .cp-ic { font-size: 22px; color: var(--gold); text-shadow: 0 0 10px rgba(255,200,58,0.8); animation: cp-spin 6s linear infinite; display: inline-block; }
.cpoint small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #cfc6ff; line-height: 1.1; }
.cpoint b { display: block; font-size: 18px; font-weight: 900; color: var(--gold); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cpoint.up b { animation: cp-pop 0.6s ease-out; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@keyframes cp-pop { 0% { transform: scale(1); } 35% { transform: scale(1.25); color: #fff; } 100% { transform: scale(1); } }
@media (max-width: 760px) { .lang-row { position: static; justify-content: center; } }
.lang-btn { position: absolute; top: 14px; left: 240px; z-index: 2; padding: 10px 16px; font: inherit; font-size: 18px; font-weight: 900; border-radius: 16px; cursor: pointer; color: #fff;
  background: rgba(22,14,54,0.85); border: 1px solid rgba(160,140,255,0.5); box-shadow: 0 6px 20px rgba(0,0,0,0.4); backdrop-filter: blur(8px); }
.lang-btn:hover { border-color: var(--cyan); transform: translateY(-1px); }
@media (max-width: 760px) { .lang-btn { position: static; } }

/* ===== PERFIL ===== */
.prof-card { width: min(560px, 100%); max-height: 92vh; overflow-y: auto; gap: 10px; }
.pf-top { display: flex; align-items: center; gap: 14px; }
.pf-av { width: 72px; height: 72px; flex: none; border-radius: 16px; border: 2px solid #14f195; background: radial-gradient(circle, rgba(123,92,255,0.35), rgba(0,0,0,0.3)); display: grid; place-items: center; font-size: 34px; overflow: hidden; }
.pf-av img { width: 100%; height: 100%; }
.pf-name { font-size: 24px; font-weight: 800; color: #fff; }
.pf-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.pf-stats div { background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.pf-stats small { display: block; font-size: 11px; color: var(--mut); }
.pf-stats b { font-size: 15px; }
.pf-sec { background: rgba(0,0,0,0.22); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.pf-h { font-weight: 800; font-size: 14px; color: var(--gold); }
.pf-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pf-row .btn { padding: 8px 12px; font-size: 14px; }
.pf-wallet { flex: 1 1 200px; min-width: 0; font-size: 12.5px; word-break: break-all; color: #cfc8ff; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-grid input:first-child { grid-column: 1 / -1; }
.pf-grid .btn { grid-column: 1 / -1; padding: 10px; font-size: 15px; }
.pf-grid input { padding: 9px 12px; font-size: 15px; }
.pf-out { color: #ff8a8a; border-color: rgba(255,90,95,0.45); }
/* 📬 correio */
/* tem mensagem não lida: o botão do correio balança e brilha até abrir */
#menu .acct .a-ic.has-mail { animation: mail-wiggle 2.4s ease-in-out infinite; border-color: var(--gold); box-shadow: 0 0 0 0 rgba(255,200,58,0.6); position: relative; }
#menu .acct .a-ic.has-mail::after { content: ''; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--gold); animation: mail-ring 2.4s ease-out infinite; pointer-events: none; }
@keyframes mail-wiggle { 0%, 55%, 100% { transform: rotate(0) scale(1); } 60% { transform: rotate(-14deg) scale(1.12); } 66% { transform: rotate(12deg) scale(1.12); } 72% { transform: rotate(-9deg) scale(1.08); } 78% { transform: rotate(6deg) scale(1.04); } 84% { transform: rotate(0) scale(1); } }
@keyframes mail-ring { 0% { opacity: 0.9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@media (prefers-reduced-motion: reduce) { #menu .acct .a-ic.has-mail, #menu .acct .a-ic.has-mail::after { animation: none; } }
.mail-card { width: min(620px, 100%); }
.mail-tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mail-tabs .sp { flex: 1; }
.mail-tabs [data-mf] { background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: #cfd3ff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.mail-tabs [data-mf].on { background: var(--gold); color: #1a1030; border-color: var(--gold); font-weight: 800; }
.mail-tabs #mb-readall { padding: 5px 10px; font-size: 12px; }
.mail-list { display: flex; flex-direction: column; gap: 8px; }
.mail-it { background: rgba(0,0,0,0.22); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; }
.mail-it.new { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(255,200,58,0.25) inset; }
.mail-it .mh { display: flex; gap: 8px; align-items: center; }
.mail-it .mh b { flex: 1; font-size: 14px; }
.mail-it .mh .new-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4f6d; flex: none; }
.mail-it .mh small { color: var(--mut, #9aa0c8); font-size: 11px; white-space: nowrap; }
.mail-it .mb { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #e4e6ff; white-space: pre-wrap; word-break: break-word; display: none; }
.mail-it.open .mb { display: block; }
.mail-it .mf { margin-top: 8px; display: none; justify-content: space-between; align-items: center; font-size: 11px; color: var(--mut, #9aa0c8); }
.mail-it.open .mf { display: flex; }
.mail-it .mf button { background: none; border: 1px solid rgba(255,90,110,0.5); color: #ff8a98; border-radius: 8px; padding: 3px 8px; font: inherit; font-size: 11px; cursor: pointer; }
.mail-empty { text-align: center; color: var(--mut, #9aa0c8); padding: 26px 0; }
.pf-dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #ff4f6d; color: #fff; font-size: 11px; margin-left: 4px; }
#profile .payouts { font-size: 12.5px; }

/* aviso de prazo do saque */
.wd-24h { padding: 8px 12px; border-radius: 10px; background: rgba(255,210,63,0.1); border: 1px solid rgba(255,210,63,0.45); color: #ffe39a; font-size: 13.5px; text-align: center; }
.wd-24h b { color: var(--gold); }

/* ===== PRAÇA COSMO ===== */
.hub-btn { width: 100%; height: 46px; font-size: 16px; font-weight: 800; color: #fff; border: 0; background: linear-gradient(135deg, #7b5cff, #ff4fa3, #33d6ff); background-size: 200% 200%; animation: hubgrad 4s ease infinite; box-shadow: 0 6px 0 #3b2490, 0 10px 26px rgba(123,92,255,0.45); }
.hub-btn small { font-weight: 600; opacity: .85; font-size: 12px; }
@keyframes hubgrad { 50% { background-position: 100% 50%; } }
.hubui { background: none !important; pointer-events: none; justify-content: flex-start; align-items: stretch; padding: 0; }
.hubui > * { pointer-events: auto; }
.hub-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; pointer-events: none; }
.hub-top > * { pointer-events: auto; }
.hub-top .btn { padding: 9px 16px; font-size: 15px; background: rgba(14,9,38,0.75); backdrop-filter: blur(8px); }
.hub-title { font-weight: 900; font-size: 20px; text-shadow: 0 2px 10px #000; padding: 8px 16px; border-radius: 14px; background: rgba(14,9,38,0.6); backdrop-filter: blur(8px); }
.hub-title small { font-size: 13px; font-weight: 600; color: #14f195; }
/* praça: aviso de reconexão (a pessoa continua na praça enquanto reconecta) */
.hub-net { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 60; padding: 9px 18px; border-radius: 999px; background: rgba(217,20,43,.92); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.5); animation: bpulse 1.4s infinite; pointer-events: none; }
/* redes sociais na praça, ao lado do botão Dançar */
.hub-top .hub-socials { position: static; display: flex; gap: 6px; margin: 0; z-index: auto; }
.hub-top .hub-socials .soc { width: 40px; height: 40px; border-radius: 12px; background: rgba(14,9,38,0.75); backdrop-filter: blur(8px); }
@media (max-width: 760px) { .hub-top .hub-socials .soc { width: 34px; height: 34px; } }
.hub-prompt { position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%); padding: 14px 26px; border-radius: 16px; border: 2px solid #ffc83a; background: rgba(20,10,48,0.88); color: #fff; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 0 30px rgba(255,200,58,0.45); animation: hubpulse 1.2s ease-in-out infinite; }
.hub-prompt kbd { display: inline-block; padding: 1px 9px; margin-right: 6px; border-radius: 7px; background: #ffc83a; color: #1b0d00; font-weight: 900; }
@keyframes hubpulse { 50% { box-shadow: 0 0 46px rgba(255,200,58,0.75); } }
.hub-keys { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 13px; text-shadow: 0 1px 3px #000; white-space: nowrap; pointer-events: none; }
.hub-board { position: fixed; left: 16px; top: 76px; width: 260px; padding: 12px 14px; border-radius: 14px; background: rgba(20,10,45,0.85); border: 1px solid rgba(255,210,63,0.5); backdrop-filter: blur(8px); }
.hub-board .hb-h { font-weight: 900; color: var(--gold); margin-bottom: 6px; }
@media (max-width: 760px) { .hub-keys { display: none; } .hub-prompt { bottom: 190px; } }

/* danças da praça */
.hub-top kbd, .hub-dance kbd { display: inline-block; padding: 0 7px; margin-left: 4px; border-radius: 6px; background: #ffc83a; color: #1b0d00; font-weight: 900; font-size: 12px; }
.hub-dance { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 16px; background: rgba(20,10,48,0.9); border: 1px solid rgba(123,92,255,0.6); backdrop-filter: blur(8px); min-width: 200px; }
.hub-dance .hd-h { font-weight: 900; margin-bottom: 2px; } .hub-dance .hd-h small { font-weight: 500; color: var(--mut); font-size: 11px; }
.hub-dance button { text-align: left; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.hub-dance button kbd { margin: 0 8px 0 0; }
.hub-dance button:hover, .hub-dance button.on { background: rgba(123,92,255,0.35); border-color: #a78bff; }

/* tela de carregamento até a praça */
.boot { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 16px;
  background: radial-gradient(ellipse at 50% 40%, #3a1c71 0%, #160b3d 45%, #07041a 100%); transition: opacity .45s ease; }
.boot.off { opacity: 0; pointer-events: none; }
.boot.gone { display: none; }
.boot .logo { font-size: clamp(38px, min(7vw, 10vh), 84px); }
.boot-orbit { position: relative; width: 120px; height: 120px; }
.boot-orbit b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; filter: drop-shadow(0 0 18px rgba(123,92,255,.8)); animation: bootFloat 2.4s ease-in-out infinite; }
.boot-orbit i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--cyan); animation: spin 1.4s linear infinite; }
.boot-orbit i:nth-child(2) { inset: 12px; border-top-color: var(--pink); animation-duration: 1.1s; animation-direction: reverse; }
.boot-orbit i:nth-child(3) { inset: 24px; border-top-color: #ffc83a; animation-duration: 0.8s; }
@keyframes bootFloat { 50% { transform: translateY(-6px) rotate(-6deg); } }
.boot-bar { width: min(420px, 80vw); height: 12px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.boot-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #7b5cff, #33d6ff, #7cff6b); box-shadow: 0 0 14px #33d6ff; transition: width .35s ease; }
#boot-msg { margin: 0; font-weight: 800; font-size: 18px; color: #fff; }
#boot-tip { color: #bfb4ff; font-size: 14px; text-align: center; max-width: 460px; min-height: 1.3em; }

/* emojis do chat */
.chatEmoBtn { flex: none; width: 32px; padding: 0; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,0.06); font-size: 17px; cursor: pointer; line-height: 1; }
.chatEmoBtn:hover, .chatEmoBtn.on { background: rgba(123,92,255,0.35); border-color: #a78bff; }
.chatEmo { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 6px; max-height: 150px; overflow-y: auto; border-top: 1px solid rgba(255,255,255,0.08); }
.chatEmo button { border: 0; background: none; font-size: 19px; padding: 3px 0; border-radius: 7px; cursor: pointer; line-height: 1.15; }
.chatEmo button:hover { background: rgba(255,255,255,0.12); transform: scale(1.15); }

/* loja com prévia 3D do boneco (provar antes de comprar) */
.shop-card { width: min(1120px, 96vw); }
.shop-wrap { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; gap: 14px; align-items: start; }
.shop-stage { position: sticky; top: 0; }
.shop-wrap .shop-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.shop-item { cursor: pointer; transition: transform .12s, box-shadow .12s; }
.shop-item:hover { transform: translateY(-2px); border-color: #a78bff; }
.shop-item.trying { box-shadow: 0 0 0 2px #ffc83a, 0 0 18px rgba(255,200,58,0.45); }
.shop-try { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: center; }
.shop-try span { font-weight: 800; font-size: 13px; color: #ffd84a; text-shadow: 0 1px 6px #000; }
.shop-try .btn { padding: 7px 10px; font-size: 13px; }
@media (max-width: 760px) { .shop-wrap { grid-template-columns: 1fr; } .shop-stage { position: relative; } .shop-stage, .shop-stage canvas { min-height: 280px; } }

/* botão grande da praça, logo abaixo da barra do fee */
.hub-btn.hub-big { display: block; width: min(1100px, 100%); height: 60px; margin: 0 auto 12px; font-size: 21px; letter-spacing: .3px; border-radius: 16px; }
.hub-btn.hub-big small { margin-left: 6px; }
@media (max-width: 760px) { .hub-btn.hub-big { height: 52px; font-size: 18px; } }
.shop-stage, .shop-stage canvas { min-height: 440px; }
@media (max-width: 760px) { .shop-stage, .shop-stage canvas { min-height: 280px; } }

/* redes sociais no topo do menu (ao lado do idioma) */
.socials { position: absolute; top: 14px; left: 346px; z-index: 2; display: flex; gap: 8px; }
.soc { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; text-decoration: none;
  background: rgba(22,14,54,0.85); border: 1px solid rgba(160,140,255,0.5); box-shadow: 0 6px 20px rgba(0,0,0,0.4); backdrop-filter: blur(8px); transition: transform .12s, background .15s, border-color .15s; }
.soc svg { width: 22px; height: 22px; }
.soc:hover { transform: translateY(-2px); }
.soc-x:hover { background: #000; border-color: #fff; }
.soc-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: #fd5949; }
.soc-dc:hover { background: #5865F2; border-color: #8f98ff; }
@media (max-width: 760px) { .socials { position: static; justify-content: center; margin: 6px 0; } .soc { width: 40px; height: 40px; } }

/* ======= raridades e caixas ======= */
:root { --r-comum: #b8bfd0; --r-raro: #33d6ff; --r-epico: #b45cff; --r-lendario: #ffc83a; }
.rar { display: inline-block; align-self: center; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .4px; text-transform: uppercase; border: 1px solid currentColor; background: rgba(0,0,0,0.35); }
.rar.r-comum { color: var(--r-comum); } .rar.r-raro { color: var(--r-raro); } .rar.r-epico { color: var(--r-epico); }
.rar.r-lendario { color: var(--r-lendario); text-shadow: 0 0 8px rgba(255,200,58,.7); }
.rar.r-supremo { background: linear-gradient(90deg, #ff4fa3, #ffd23f, #7cff6b, #33d6ff, #7b5cff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; filter: drop-shadow(0 0 6px rgba(255,122,217,.6)); }
:root { --r-supremo: #ff7ad9; }
.fcard.supremo, .fslot.supremo, .bcard.supremo { border-color: var(--r-supremo); box-shadow: 0 0 22px rgba(255,122,217,.55); }
.shop-item.ri-raro { border-color: rgba(51,214,255,.55); } .shop-item.ri-epico { border-color: rgba(180,92,255,.65); }
.shop-item.ri-lendario { border-color: rgba(255,200,58,.8); background: linear-gradient(180deg, rgba(255,200,58,.12), rgba(0,0,0,.3)); }
.box-tab { grid-column: 1 / -1; display: grid; gap: 12px; }
.box-hero { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: 16px; background: radial-gradient(circle at 15% 50%, rgba(255,200,58,.22), rgba(20,10,50,.6) 60%); border: 1px solid rgba(255,200,58,.45); }
/* caixa 3D (CSS): corpo roxo com fita rosa e tampa dourada */
.cbox-wrap { --s: 90px; position: relative; width: var(--s); height: var(--s); flex: none; perspective: 700px; isolation: isolate; }
.cbox-wrap::before { content: ''; position: absolute; inset: -45%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(255,200,58,.55)), transparent 65%); transition: background .4s; }
.cbox-wrap.hero { --s: 84px; margin: 22px 20px 12px; animation: boxFloat 2.6s ease-in-out infinite; }
.cbox-wrap.big { --s: 120px; }
@keyframes boxFloat { 50% { transform: translateY(-8px); } }
.cbox { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-38deg); }
.cbox-wrap.hero .cbox { animation: cbSpin 9s linear infinite; }
@keyframes cbSpin { to { transform: rotateX(-24deg) rotateY(322deg); } }
.cb-body, .cb-lid { position: absolute; inset: 0; transform-style: preserve-3d; }
.cbox .f { position: absolute; inset: 0; border-radius: 5px; }
.cb-body .f { background: linear-gradient(90deg, transparent 42%, #ff4fa3 42% 58%, transparent 58%), linear-gradient(160deg, #9168ff, #4a2aae); border: 3px solid #ffc83a; box-shadow: inset 0 0 18px rgba(0,0,0,.35); }
.cb-body .bt { background: #26145f; }
.cbox .f.fr { transform: translateZ(calc(var(--s) / 2)); }
.cbox .f.bk { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cbox .f.lf { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cbox .f.rt { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cbox .f.bt { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cb-lid { transition: transform .8s cubic-bezier(.2,.9,.3,1); }
.cb-lid .f { background: linear-gradient(90deg, transparent 42%, #ff4fa3 42% 58%, transparent 58%), linear-gradient(160deg, #ffe27a, #ffad14); border: 2px solid #fff0b8; }
.cb-lid .f.tp { inset: -5%; background: linear-gradient(90deg, transparent 42%, #ff4fa3 42% 58%, transparent 58%), linear-gradient(0deg, transparent 42%, #ff4fa3 42% 58%, transparent 58%), linear-gradient(160deg, #ffe27a, #ffad14); transform: rotateX(90deg) translateZ(calc(var(--s) / 2 + 1px)); }
.cb-lid .f.s { inset: auto; left: -5%; width: 110%; top: -1px; height: 24%; }
.cb-lid .f.s.fr { transform: translateZ(calc(var(--s) * .55)); }
.cb-lid .f.s.bk { transform: rotateY(180deg) translateZ(calc(var(--s) * .55)); }
.cb-lid .f.s.lf { transform: rotateY(-90deg) translateZ(calc(var(--s) * .55)); }
.cb-lid .f.s.rt { transform: rotateY(90deg) translateZ(calc(var(--s) * .55)); }
.box-open-row { display: flex; gap: 10px; flex-wrap: wrap; }
/* fusão */
.fuse-cta .btn { margin-top: 8px; }
.fuse-rar { margin-top: 10px; flex-wrap: wrap; } .fuse-rar button small { opacity: .7; }
.fuse-slots { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 12px; border-radius: 16px; background: radial-gradient(circle at 50% 50%, rgba(123,92,255,.25), rgba(0,0,0,.3) 70%); border: 1px solid var(--line); }
.fslot { width: 92px; height: 112px; border-radius: 14px; border: 2px dashed rgba(255,255,255,.22); display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; font-size: 26px; color: var(--mut); text-align: center; }
.fslot.full { border-style: solid; border-color: var(--r-comum); background: rgba(255,255,255,.05); } .fslot.full img { width: 70px; height: 70px; } .fslot small { font-size: 10px; font-weight: 800; line-height: 1.1; padding: 0 4px; }
.fslot.raro { border-color: var(--r-raro); } .fslot.epico { border-color: var(--r-epico); } .fslot.lendario { border-color: var(--r-lendario); }
.fslot.out { border-style: solid; cursor: default; box-shadow: 0 0 22px rgba(255,200,58,.25); animation: boxFloat 2.6s ease-in-out infinite; }
.fuse-arrow { font-size: 30px; color: #ffc83a; }
.fuse-qty { margin-top: 8px; flex-wrap: wrap; }
/* expedição */
.exp-off { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,200,58,.12); border: 1px solid rgba(255,200,58,.4); color: #ffd84a; font-weight: 800; }
.exp-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.exp-slot { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 14px 10px; border-radius: 18px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(123,92,255,.22), rgba(0,0,0,.3) 70%); border: 2px solid var(--line); min-height: 210px; }
.exp-slot img { width: 92px; height: 92px; } .exp-slot .nm { font-weight: 900; } .exp-slot > span { font-size: 40px; margin-top: 18px; } .exp-slot small { color: var(--mut); font-size: 11.5px; }
.exp-slot.going img { animation: boxFloat 2.4s ease-in-out infinite; }
.exp-slot.done { border-color: #7cff6b; box-shadow: 0 0 22px rgba(124,255,107,.35); }
.exp-slot.locked { opacity: .55; } .exp-slot.free { border-style: dashed; }
.exp-slot.raro { border-color: var(--r-raro); } .exp-slot.epico { border-color: var(--r-epico); } .exp-slot.lendario { border-color: var(--r-lendario); } .exp-slot.supremo { border-color: var(--r-supremo); }
.exp-slot.done.raro, .exp-slot.done.epico, .exp-slot.done.lendario, .exp-slot.done.supremo, .exp-slot.done.comum { border-color: #7cff6b; }
.exp-bar { width: 100%; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .exp-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7b5cff, #33d6ff, #7cff6b); }
.exp-left { font-weight: 800; font-variant-numeric: tabular-nums; }
.exp-rew { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; } .exp-r { display: grid; gap: 3px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.05); } .exp-r b { color: #ffc24a; }
.fuse-slots.q10 .fslot:not(.out), .fuse-slots.q20 .fslot:not(.out) { width: 64px; height: 80px; font-size: 18px; } .fuse-slots.q10 .fslot img, .fuse-slots.q20 .fslot img { width: 46px; height: 46px; }
.fuse-slots.q20 .fslot:not(.out) small, .fuse-slots.q10 .fslot:not(.out) small { display: none; }
.gd-fuse.many .gd-card:not(.out) { width: 52px; padding: 4px 2px; } .gd-fuse.many .gd-card:not(.out) img { width: 40px; height: 40px; } .gd-fuse.many .gd-card:not(.out) small { display: none; }
.fuse-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fuse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.fcard { position: relative; display: grid; justify-items: center; gap: 3px; padding: 8px 6px; border-radius: 14px; border: 2px solid var(--r-comum); background: rgba(255,255,255,.04); cursor: pointer; text-align: center; transition: transform .1s; }
.fcard:hover { transform: translateY(-2px); } .fcard img { width: 76px; height: 76px; } .fcard .nm { font-size: 12px; font-weight: 800; } .fcard small { font-size: 10.5px; color: var(--mut); }
.fcard.raro { border-color: var(--r-raro); } .fcard.epico { border-color: var(--r-epico); } .fcard.lendario { border-color: var(--r-lendario); }
.fcard.sel { box-shadow: 0 0 0 2px #7cff6b, 0 0 16px rgba(124,255,107,.4); } .fcard.off:not(.sel) { opacity: .5; cursor: default; }
.fcard .fsel { position: absolute; top: 6px; left: 8px; padding: 1px 7px; border-radius: 999px; background: #7cff6b; color: #06260f; font-size: 12px; font-weight: 900; }
.fcard .fminus { position: absolute; bottom: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #ff4f6d; color: #fff; font-weight: 900; cursor: pointer; }
.box-fast { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; cursor: pointer; user-select: none; } .box-fast input { width: 16px; height: 16px; accent-color: #ffc83a; }
.box-open-row .btn small { display: block; margin-top: 2px; font-size: 12px; color: inherit; opacity: .85; }
.box-info h3 { margin: 0 0 4px; font-size: 22px; }
.box-price { font-size: 18px; font-weight: 800; color: #ffc24a; margin-bottom: 8px; } .box-price s { color: var(--mut); font-weight: 600; font-size: 14px; margin-left: 6px; }
.box-price .disc { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(124,255,107,.18); color: #7cff6b; font-size: 12px; }
.box-info .btn.big { font-size: 18px; padding: 12px 26px; }
.box-info small { display: block; margin-top: 6px; color: var(--mut); }
.box-sec { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.box-sec h4 { margin: 0 0 8px; font-size: 15px; }
.odd-row { display: grid; grid-template-columns: 96px 1fr 58px; gap: 10px; align-items: center; margin: 5px 0; font-weight: 800; font-size: 13px; }
.odd-bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .odd-bar i { display: block; height: 100%; border-radius: 99px; }
.odd-row .pc { text-align: right; font-variant-numeric: tabular-nums; }
.craft-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.craft-row .btn { padding: 8px 6px; font-size: 12.5px; }
.bonus-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.bonus-tbl th, .bonus-tbl td { padding: 6px 6px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: center; }
.bonus-tbl td:first-child, .bonus-tbl th:first-child { text-align: left; color: var(--mut); font-weight: 700; }
.bonus-tbl th.me, .bonus-tbl td.me { background: rgba(255,200,58,.12); }
.bonus-tbl .has-tip { cursor: help; } .bonus-tbl .has-tip:hover { color: #fff; } .tip-i { font-size: 11px; opacity: .6; }
/* descrição detalhada do bônus: fica sempre embaixo e à direita do mouse */
.tip { position: fixed; z-index: 9500; max-width: 300px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(170deg, #241650, #140c32); border: 1px solid rgba(255,200,58,.55); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.45; pointer-events: none; box-shadow: 0 12px 30px rgba(0,0,0,.55); }
.my-rar { font-weight: 800; margin-bottom: 6px; }
.inv-boxonly { color: #ffc24a; }
.inv-it { position: relative; }
.inv-qty { position: absolute; top: 6px; right: 8px; padding: 1px 7px; border-radius: 999px; background: #ffc83a; color: #2a1600; font-size: 12px; font-weight: 900; }
/* abrir caixa: a caixa treme, brilha na cor da melhor raridade, a tampa voa e os bonecos aparecem */
/* pop-up "como funciona" da sala valendo SOL / token */
.paidinfo { position: fixed; inset: 0; z-index: 7000; display: grid; place-items: center; padding: 16px; background: rgba(5,2,20,.78); backdrop-filter: blur(6px); }
.pi-box { width: min(560px, 100%); max-height: 92vh; overflow: auto; padding: 20px; border-radius: 22px; background: linear-gradient(170deg, #241650, #120a2e); border: 1px solid rgba(255,200,58,.5); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: bppop .28s cubic-bezier(.2,1.4,.4,1); }
.pi-title { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.pi-tabs { margin-bottom: 12px; }
.pi-body ol, .pi-body ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14px; line-height: 1.4; }
.pi-body b { color: #ffd84a; }
.pi-body .pi-note { margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 13px; color: var(--mut); }
.pi-body table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.pi-body th, .pi-body td { padding: 6px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: center; } .pi-body td:first-child, .pi-body th:first-child { text-align: left; color: var(--mut); }
.pi-body td.me, .pi-body th.me { background: rgba(255,200,58,.12); }
.pi-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .pi-btns .btn { flex: 1 1 150px; }
/* janela de confirmação do jogo (fusão e outras) */
.gdlg { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 16px; background: rgba(5,2,20,.78); backdrop-filter: blur(6px); animation: gdIn .18s ease-out; }
.gdlg.out { opacity: 0; transition: opacity .15s; }
@keyframes gdIn { from { opacity: 0; } }
.gd-box { --k: #7b5cff; position: relative; width: min(560px, 100%); padding: 22px 20px 18px; border-radius: 24px; text-align: center; background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--k) 28%, transparent), transparent 60%), linear-gradient(170deg, #241650, #120a2e);
  border: 1px solid color-mix(in srgb, var(--k) 70%, transparent); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 50px color-mix(in srgb, var(--k) 30%, transparent); animation: bppop .3s cubic-bezier(.2,1.4,.4,1); }
.gd-box.raro { --k: var(--r-raro); } .gd-box.epico { --k: var(--r-epico); } .gd-box.lendario { --k: var(--r-lendario); } .gd-box.supremo { --k: var(--r-supremo); }
.gd-ic { width: 64px; height: 64px; margin: -54px auto 6px; display: grid; place-items: center; font-size: 34px; border-radius: 50%; background: linear-gradient(160deg, #2c1a66, #160c38); border: 2px solid var(--k); box-shadow: 0 0 24px color-mix(in srgb, var(--k) 60%, transparent); }
.gd-t { font-size: 21px; font-weight: 900; margin-bottom: 12px; }
.gd-msg { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--mut); } .gd-msg b { color: #fff; }
.gd-fuse { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.gd-card .gd-dup { font-style: normal; font-size: 10px; font-weight: 800; color: #ffb86b; background: rgba(255,184,107,.14); border-radius: 6px; padding: 1px 5px; }
.gd-card .gd-new { font-style: normal; font-size: 10px; font-weight: 800; color: #7cff6b; background: rgba(124,255,107,.12); border-radius: 6px; padding: 1px 5px; }
.gd-card { width: 76px; padding: 6px 4px; border-radius: 12px; border: 2px solid var(--r-comum); background: rgba(255,255,255,.05); display: grid; justify-items: center; gap: 2px; }
.gd-card img { width: 58px; height: 58px; } .gd-card small { font-size: 9.5px; font-weight: 800; line-height: 1.15; }
.gd-card.raro { border-color: var(--r-raro); } .gd-card.epico { border-color: var(--r-epico); } .gd-card.lendario { border-color: var(--r-lendario); } .gd-card.supremo { border-color: var(--r-supremo); }
.gd-card.out { width: 92px; padding: 10px 4px; box-shadow: 0 0 22px color-mix(in srgb, var(--k, #ffc83a) 50%, transparent); animation: boxFloat 2.4s ease-in-out infinite; } .gd-card.out span { font-size: 34px; }
.gd-arrow { font-size: 26px; color: #ffc83a; padding: 0 2px; }
.gd-btns { display: flex; gap: 10px; margin-top: 18px; } .gd-btns .btn { flex: 1; }
@media (max-width: 520px) { .gd-card { width: 64px; } .gd-card img { width: 48px; height: 48px; } }
#r-menu { display: block; margin: 12px auto 0; min-width: 220px; }
.boxov { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; background: rgba(5,2,20,.82); backdrop-filter: blur(6px); padding: 16px; }
.boxov-card { max-height: calc(100vh - 32px); overflow-y: auto; width: min(720px, 96vw); padding: 20px; border-radius: 22px; background: linear-gradient(180deg, #1f1150, #120a33); border: 1px solid rgba(255,200,58,.5); box-shadow: 0 20px 60px rgba(0,0,0,.6); text-align: center; }
.boxov-title { font-size: 22px; font-weight: 900; margin-bottom: 14px; }
.cbox-stage { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: radial-gradient(circle at 50% 60%, rgba(123,92,255,.28), rgba(0,0,0,.4) 70%); border: 1px solid var(--line); transition: height .5s; }
.cbox-stage .cbox-wrap { margin-top: 30px; }
.cbox-stage.shake .cbox-wrap { --a: 4deg; --x: 3px; animation: cbShake .45s ease-in-out infinite; }
.cbox-stage.shake2 .cbox-wrap { --a: 9deg; --x: 7px; animation-duration: .13s; }
@keyframes cbShake { 25% { transform: translateX(calc(var(--x) * -1)) rotate(calc(var(--a) * -1)); } 75% { transform: translateX(var(--x)) rotate(var(--a)); } }
.cb-rays { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; opacity: 0; transition: opacity .5s; pointer-events: none;
  background: repeating-conic-gradient(var(--glow, #ffc83a) 0deg 7deg, transparent 7deg 24deg); -webkit-mask: radial-gradient(circle, #000 0 12%, transparent 62%); mask: radial-gradient(circle, #000 0 12%, transparent 62%); animation: raySpin 9s linear infinite; }
@keyframes raySpin { to { transform: rotate(360deg); } }
.cbox-stage.shake2 .cb-rays { opacity: .25; }
.cbox-stage.open .cb-rays { opacity: .75; }
.cbox-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 55%, #fff, transparent 60%); }
.cbox-stage.open::after { animation: boxFlash .7s ease-out; }
@keyframes boxFlash { 15% { opacity: .95; } 100% { opacity: 0; } }
.cbox-stage.open .cbox-wrap { animation: cbPop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes cbPop { 40% { transform: scale(1.15); } }
.cbox-stage.open .cb-lid { transform: translate3d(70px, calc(var(--s) * -2.4), 0) rotateZ(35deg) rotateX(-30deg); }
.box-res { margin-top: 6px; display: grid; justify-items: center; gap: 6px; animation: resPop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes resPop { from { transform: scale(.6); opacity: 0; } }
.box-res img { width: 170px; height: 170px; border-radius: 22px; background: radial-gradient(circle, var(--glow, rgba(123,92,255,.5)), transparent 70%); }
.box-res .nm { font-size: 24px; font-weight: 900; }
.box-res .tag-new { font-weight: 900; color: #7cff6b; font-size: 16px; } .box-res .tag-dup { font-weight: 800; color: #ffc24a; }
.boxov-btns { justify-content: center; margin-top: 14px; }
.box-res.multi { grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: stretch; }
.ser-n { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .3px; color: #ffe38a; background: rgba(0,0,0,.45); border: 1px solid rgba(255,227,138,.45); border-radius: 999px; padding: 1px 7px; line-height: 1.4; vertical-align: middle; }
.bcard > .ser-n, .gd-card > .ser-n, .inv-it > .ser-n, .mkt-pick .pk > .ser-n { position: absolute; top: 4px; left: 4px; z-index: 2; }
.bcard, .gd-card, .inv-it { position: relative; }
#box-res > .ser-n { font-size: 14px; }
.bcard { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--r-comum); background: rgba(255,255,255,.04); animation: cardIn .55s cubic-bezier(.2,1.5,.4,1) both; animation-delay: var(--d, 0s); }
.bcard.raro { border-color: var(--r-raro); } .bcard.epico { border-color: var(--r-epico); box-shadow: 0 0 16px rgba(180,92,255,.4); } .bcard.lendario { border-color: var(--r-lendario); box-shadow: 0 0 22px rgba(255,200,58,.55); }
.box-res .bcard img { width: 96px; height: 96px; border-radius: 14px; background: radial-gradient(circle, var(--glow), transparent 70%); }
.box-res .bcard .nm { font-size: 13px; }
.box-res .bcard .tag-new, .box-res .bcard .tag-dup { font-size: 12px; }
.box-res .tag-sum { grid-column: 1 / -1; font-weight: 800; color: #ffc24a; }
/* 15 caixas: cartões menores para caber tudo */
.box-res.many { gap: 6px; }
.box-res.many .bcard { padding: 6px 4px; gap: 2px; border-radius: 10px; }
.box-res.many .bcard img { width: 60px; height: 60px; border-radius: 10px; }
.box-res.many .bcard .nm { font-size: 11.5px; }
.box-res.many .bcard .tag-new, .box-res.many .bcard .tag-dup { font-size: 10.5px; }
@keyframes cardIn { from { transform: perspective(600px) rotateY(90deg) scale(.7); opacity: 0; } }
.hub-dance button.locked { opacity: .55; } .dz-lock { margin-left: 6px; font-size: 11px; color: var(--mut); }
@media (max-width: 760px) { .box-hero { flex-direction: column; text-align: center; } .box-open-row { justify-content: center; } .craft-row { grid-template-columns: repeat(2, 1fr); } .bonus-tbl { font-size: 11px; } .box-res.multi { grid-template-columns: repeat(3, 1fr); } .cbox-stage { height: 190px; } }

/* ======= market entre jogadores ======= */
.mkt-tab { grid-column: 1 / -1; display: grid; gap: 10px; }
.mkt-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mkt-bar .seg button { padding: 6px 12px; font-size: 13px; }
.mkt-bar select { padding: 7px 10px; border-radius: 10px; font: inherit; font-size: 13px; background: rgba(0,0,0,.35); color: #fff; border: 1px solid var(--line); }
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mkt-grid .seller { font-size: 11.5px; color: var(--mut); }
.mkt-grid .btn.confirm { background: linear-gradient(135deg, #ffc83a, #ff8a00); color: #1b0d00; }
.mkt-empty { grid-column: 1 / -1; padding: 22px; text-align: center; color: var(--mut); border: 1px dashed var(--line); border-radius: 14px; }
.mkt-sell { display: grid; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.mkt-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; }
.mkt-pick .pk { padding: 6px; border-radius: 12px; border: 2px solid transparent; background: rgba(255,255,255,.05); text-align: center; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.mkt-pick .pk img { width: 100%; aspect-ratio: 1; } .mkt-pick .pk.on { border-color: #14f195; background: rgba(20,241,149,.12); }
.mkt-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .mkt-form input { width: 150px; }
.mkt-form .rcv { color: #7cff6b; font-weight: 800; font-size: 13px; }
.mkt-mine { display: grid; gap: 6px; } .mkt-mine .row { justify-content: space-between; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13px; }
.coll-where { font-size: 11.5px; font-weight: 800; color: var(--mut); } .coll-where.mk { color: #14f195; } .coll-where.bx { color: #ffc24a; }
.inv-listed { color: #14f195; font-weight: 800; }

/* ======= barras de rolagem (jogo e painel): finas, roxo/ciano neon, arredondadas ======= */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 99px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7b5cff, #33d6ff); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; box-shadow: inset 0 0 6px rgba(255,255,255,.25); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #9b7bff, #5ee3ff); background-clip: padding-box; border-width: 1px; }
::-webkit-scrollbar-thumb:active { background: linear-gradient(180deg, #ff4fa3, #7b5cff); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) { * { scrollbar-width: thin; scrollbar-color: #7b5cff rgba(255,255,255,0.04); } }

/* meta do fee batida: a barra do menu brilha e mostra a faixa */
.tk-bar.hot { position: relative; animation: tkgoal 1.1s ease-in-out infinite; border-color: #7cff6b; }
@keyframes tkgoal { 0%, 100% { box-shadow: 0 0 14px rgba(124,255,107,.35), inset 0 0 12px rgba(124,255,107,.08); } 50% { box-shadow: 0 0 44px rgba(124,255,107,.85), 0 0 90px rgba(20,241,149,.35), inset 0 0 26px rgba(124,255,107,.22); } }
.tk-bar.hot::before { content: attr(data-goal); position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 900; letter-spacing: .5px; color: #062a12; background: linear-gradient(90deg, #7cff6b, #14f195); box-shadow: 0 0 18px rgba(124,255,107,.8); white-space: nowrap; animation: goaltag 1.1s ease-in-out infinite; }
@keyframes goaltag { 50% { transform: translateX(-50%) scale(1.08); } }

/* market compacto: cards menores para caber mais anúncios */
.mkt-tab { gap: 8px; }
.mkt-tab > .seg button, .mkt-bar .seg button { padding: 5px 10px; font-size: 12.5px; }
.mkt-bar select { padding: 5px 8px; font-size: 12.5px; }
.mkt-grid { grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 8px; }
.mkt-grid .shop-item { padding: 6px; gap: 2px; border-radius: 12px; }
.mkt-grid .shop-item img { width: 78%; margin: 0 auto; }
.mkt-grid .shop-item .nm { font-size: 12.5px; line-height: 1.15; }
.mkt-grid .shop-item .rar { font-size: 9.5px; padding: 1px 7px; }
.mkt-grid .shop-item .pr { font-size: 12.5px; } .mkt-grid .shop-item .pr small { font-size: 10px; }
.mkt-grid .seller { font-size: 10.5px; }
.mkt-grid .shop-item .btn { padding: 6px 4px; font-size: 12px; }
.mkt-sell { padding: 10px 12px; gap: 8px; font-size: 13px; }
.mkt-pick { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; max-height: 220px; }
.mkt-pick .pk { padding: 4px; font-size: 10.5px; } .mkt-pick .pk .rar { font-size: 9px; padding: 0 6px; }
.mkt-form input { width: 120px; padding: 6px 8px; }
.mkt-range { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--mut); }
.mkt-range input[type=range] { flex: 1; accent-color: #ffc83a; height: 6px; cursor: grab; }
.mkt-mine .row { padding: 5px 8px; font-size: 12px; } .mkt-mine .btn { padding: 4px 8px; font-size: 11.5px; }

/* ======= loja: janela de tamanho fixo e abas todas iguais (não muda de tamanho ao trocar de aba) ======= */
.shop-card { width: min(1120px, 96vw); height: min(860px, 94vh); max-height: none; display: flex; flex-direction: column; overflow: hidden; }
.shop-card > .cfg-head, .shop-card > .shop-top { flex: none; }
.shop-card .shop-wrap { flex: 1; min-height: 0; align-items: stretch; }
.shop-card .inv-side { min-height: 0; overflow: hidden; }
.shop-card #shop-grid { flex: 1; min-height: 0; overflow-y: auto; align-content: start; scrollbar-gutter: stable; padding-right: 4px; }
.shop-card .shop-tabs { flex: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.shop-card .shop-tabs button { flex: none; min-width: 0; height: 44px; padding: 0 4px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1000px) { .shop-card .shop-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .shop-card { height: 94vh; }
  .shop-card .shop-wrap { overflow-y: auto; }
  .shop-card .inv-side { overflow: visible; } .shop-card #shop-grid { overflow: visible; }
}
.shop-card #shop-status { flex: none; min-height: 22px; margin: 0; }

/* ======= loja mais compacta (Coleção, Itens, Fusão, Expedição) e janela um pouco maior, conteúdo centralizado ======= */
.shop-card { width: min(1240px, 96vw); height: min(880px, 94vh); }
.shop-card .shop-wrap { grid-template-columns: minmax(250px, 310px) 1fr; }
.shop-card .shop-grid, .shop-card .fuse-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 8px; }
.shop-card .shop-item { padding: 6px; gap: 3px; border-radius: 12px; }
.shop-card .shop-item img { width: 80%; margin: 0 auto; }
.shop-card .shop-item .nm { font-size: 12.5px; line-height: 1.15; }
.shop-card .shop-item .pr { font-size: 12px; } .shop-card .shop-item .pr small { font-size: 10px; }
.shop-card .shop-item .slot { font-size: 9.5px; }
.shop-card .shop-item .btn { padding: 6px 4px; font-size: 12px; }
.shop-card .coll-where { font-size: 10.5px; }
.shop-card .rar { max-width: 100%; font-size: 9.5px; padding: 1px 6px; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* seções e textos centralizados */
.shop-card .box-sec { text-align: center; }
.shop-card .box-sec h4 { font-size: 14px; }
.shop-card .box-sec .seg { justify-content: center; }
.shop-card .bonus-tbl td:first-child, .shop-card .bonus-tbl th:first-child { text-align: left; }
.shop-card .odd-row { text-align: left; }
/* fusão */
.shop-card .fuse-rar button, .shop-card .fuse-qty button { font-size: 12px; padding: 7px 6px; white-space: nowrap; }
.shop-card .fslot { width: 76px; height: 94px; font-size: 22px; } .shop-card .fslot.full img { width: 56px; height: 56px; } .shop-card .fslot small { font-size: 9px; }
.shop-card .fuse-slots.q10 .fslot:not(.out), .shop-card .fuse-slots.q20 .fslot:not(.out) { width: 54px; height: 66px; } .shop-card .fuse-slots.q10 .fslot img, .shop-card .fuse-slots.q20 .fslot img { width: 40px; height: 40px; }
.shop-card .fuse-arrow { font-size: 24px; }
.shop-card .fcard { padding: 6px 4px; } .shop-card .fcard img { width: 62px; height: 62px; } .shop-card .fcard .nm { font-size: 11.5px; } .shop-card .fcard small { font-size: 10px; }
/* expedição */
.shop-card .exp-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shop-card .exp-slot { min-height: 168px; padding: 10px 8px; gap: 4px; border-radius: 14px; }
.shop-card .exp-slot img { width: 66px; height: 66px; } .shop-card .exp-slot .nm { font-size: 12.5px; } .shop-card .exp-slot > span { font-size: 30px; margin-top: 10px; }
.shop-card .exp-slot .btn { padding: 6px 8px; font-size: 12px; } .shop-card .exp-left { font-size: 12.5px; } .shop-card .exp-slot small { font-size: 10.5px; }
.shop-card .exp-rew { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .shop-card .exp-r { padding: 6px; font-size: 11.5px; text-align: center; justify-items: center; }
@media (max-width: 760px) { .shop-card .exp-rew { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shop-card .exp-slots { grid-template-columns: 1fr 1fr; } }

/* ======= inventário no mesmo padrão da loja: janela de tamanho fixo, abas iguais, cards compactos e conteúdo centralizado ======= */
.inv-card { width: min(1240px, 96vw); height: min(880px, 94vh); max-height: none; display: flex; flex-direction: column; overflow: hidden; }
.inv-card > .cfg-head { flex: none; }
.inv-card .inv-wrap { flex: 1; min-height: 0; grid-template-columns: minmax(250px, 310px) 1fr; align-items: stretch; }
.inv-card .inv-stage, .inv-card .inv-stage canvas { min-height: 0; height: 100%; }
.inv-card .inv-side { min-height: 0; overflow: hidden; }
.inv-card #inv-tabs { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.inv-card #inv-tabs button { flex: none; min-width: 0; height: 44px; padding: 0 4px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; justify-content: center; }
.inv-card .inv-grid { flex: 1; min-height: 0; max-height: none; overflow-y: auto; align-content: start; scrollbar-gutter: stable; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 8px; }
.inv-card .inv-it { padding: 6px; font-size: 12px; line-height: 1.15; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.inv-card .inv-it img { width: 80%; margin: 0 auto; }
.inv-card .inv-it small { font-size: 9.5px; }
.inv-card .inv-it .rar { max-width: 100%; font-size: 9.5px; padding: 1px 6px; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-card .inv-qty { font-size: 11px; top: 5px; right: 6px; }
.inv-card .inv-sell { font-size: 10.5px; padding: 3px 4px; }
.inv-card #inv-status { flex: none; min-height: 22px; margin: 0; text-align: center; }
.inv-card #inv-shop { flex: none; align-self: center; min-width: 220px; }
@media (max-width: 760px) {
  .inv-card { height: 94vh; }
  .inv-card .inv-wrap { grid-template-columns: 1fr; overflow-y: auto; }
  .inv-card .inv-stage, .inv-card .inv-stage canvas { min-height: 280px; height: auto; }
  .inv-card .inv-side { overflow: visible; } .inv-card .inv-grid { overflow: visible; }
}

/* menu: Praça e Loja lado a lado, meio a meio (sem a loja, a Praça ocupa a linha toda) */
.hub-row { display: flex; gap: 12px; width: min(1100px, 100%); margin: 0 auto 12px; }
.hub-row .hub-btn.hub-big { flex: 1 1 0; width: auto; min-width: 0; margin: 0; }
.hub-row .shop-btn { position: static; flex: 1 1 0; min-width: 0; height: 60px; padding: 0 12px; font-size: 21px; border-radius: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .hub-row .shop-btn { height: 52px; font-size: 18px; } .hub-row .hub-btn.hub-big { font-size: 16px; } }

/* Market: item comprado no Market fica 24 h sem poder ser anunciado */
.mkt-pick .pk { position: relative; } .mkt-pick .pk.mlock { opacity: .5; cursor: not-allowed; } .mkt-pick .mlock-t { position: absolute; top: 3px; left: 3px; padding: 0 5px; border-radius: 999px; background: #ff4f6d; color: #fff; font-size: 10px; font-weight: 900; }

/* ======= Como jogar: janela de tamanho fixo, abas iguais e conteúdo rolando por dentro ======= */
.help-card { width: min(980px, 96vw); height: min(760px, 92vh); display: flex; flex-direction: column; overflow: hidden; }
.help-card > .cfg-head { flex: none; }
.help-tabs { flex: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; }
.help-tabs button { flex: none; min-width: 0; height: 40px; padding: 0 4px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.help-card #help-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; padding-right: 6px; }
.help-card #help-body ul { display: grid; gap: 8px; padding-left: 20px; line-height: 1.45; font-size: 14px; }
.help-tbl-wrap { overflow-x: auto; margin-top: 10px; }
.help-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.help-tbl th, .help-tbl td { padding: 6px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: center; white-space: nowrap; }
.help-tbl td:first-child { text-align: left; color: var(--mut); font-weight: 700; }
@media (max-width: 760px) { .help-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* nível da conta (menu) */
.lv-box { display: grid; gap: 4px; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,200,58,.35); margin-bottom: 8px; text-align: left; }
.lv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .lv-top b { color: #ffd84a; font-size: 15px; } .lv-top small { color: var(--mut); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.lv-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .lv-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffc83a, #ff4fa3, #7b5cff); transition: width .6s; }
.lv-sub { color: var(--mut); font-size: 11px; }
.exp-vagas { text-align: center; font-size: 13px; color: var(--mut); } .exp-vagas b { color: #fff; }
#menu > .tk-bar { margin: 14px auto 10px; }   /* fee do token: abaixo de tudo, logo acima da faixa dos mapas */

/* menu: salas abertas à esquerda e "Criar sala" à direita (dentro do mesmo card) */
#menu .rooms-card.rooms-split { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
#menu .rooms-split .rooms-left { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#menu .rooms-split .create-col { display: flex; flex-direction: column; gap: 8px; padding-left: 14px; border-left: 1px solid var(--line); }
#menu .rooms-split .create-col .create-bar { grid-template-columns: 1fr; gap: 8px; padding-bottom: 0; border-bottom: 0; }
#menu .rooms-split .create-col .create-bar .entry-in { margin-top: -4px; margin-bottom: 6px; }
@media (max-width: 760px) {
  #menu .rooms-card.rooms-split { grid-template-columns: 1fr; }
  #menu .rooms-split .create-col { order: -1; padding-left: 0; border-left: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
}

/* fim da partida: resumo do jogador (prêmio, cashback, bônus, XP) e tabela mais compacta */
.res-card { width: min(640px, 100%); max-height: 94vh; overflow-y: auto; }
.res-table { border-spacing: 0 4px; margin: 8px 0; } .res-table td { padding: 6px 10px; font-size: 14px; } .res-table th { font-size: 12px; }
.res-sum { margin: 10px auto 2px; padding: 10px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,200,58,.35); }
.rs-h { font-size: 12px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.rs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rs-c { min-width: 92px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; justify-items: center; gap: 2px; }
.rs-c small { font-size: 10.5px; color: var(--mut); } .rs-c b { font-size: 15px; } .rs-c.gold b { color: #ffd84a; } .rs-c.xp b { color: #7cff6b; }
.rs-lv { width: 100%; font-size: 10px; color: var(--mut); text-align: center; } .rs-lv .lv-bar { height: 5px; margin-top: 2px; }

/* roda de danças da praça (segurar T) */
.dwheel { position: fixed; inset: 0; z-index: 60; background: radial-gradient(circle at 50% 50%, rgba(10,6,30,.55), rgba(10,6,30,.15) 45%, transparent 60%); cursor: crosshair; }
.dw-ring { position: absolute; inset: 0; }
.dw-it, .dw-center { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 1px; border-radius: 18px; border: 2px solid rgba(160,140,255,.45); background: rgba(22,14,54,.88); color: #fff; font: inherit; cursor: pointer; transition: transform .1s, background .1s, border-color .1s; }
.dw-it { width: 96px; padding: 8px 4px; } .dw-it span { font-size: 26px; line-height: 1.1; } .dw-it b { font-size: 12px; } .dw-it small { font-size: 10px; }
.dw-it kbd { position: absolute; top: 4px; right: 6px; font-size: 9px; padding: 0 4px; border-radius: 4px; background: #ffc83a; color: #1b0d00; }
.dw-it.locked { opacity: .45; } .dw-it.on { border-color: #7cff6b; }
.dw-it.hover, .dw-center.hover { transform: translate(-50%, -50%) scale(1.14); background: rgba(123,92,255,.6); border-color: #ffc83a; box-shadow: 0 0 22px rgba(255,200,58,.5); }
.dw-center { left: 50%; top: 50%; width: 92px; height: 92px; border-radius: 50%; align-content: center; font-size: 28px; } .dw-center small { font-size: 10px; color: var(--mut); }

.room-lv { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(255,200,58,.18); color: #ffd84a; font-size: 11px; font-weight: 900; }
/* lista de salas do menu mais compacta */
#menu .rooms-list { gap: 4px; max-height: 190px; }
#menu .room { gap: 8px; padding: 5px 8px; font-size: 12.5px; border-radius: 10px; }
#menu .room .rc { width: 44px; font-size: 12px; letter-spacing: 1px; }
#menu .room .ri b { font-size: 12.5px; } #menu .room .ri small { font-size: 11px; }
#menu .room .rp { font-size: 12px; }
#menu .room .btn, #menu .room button { padding: 5px 10px; font-size: 12px; border-radius: 9px; }
#menu .room.bonus { padding: 8px 10px; font-size: 13.5px; } #menu .room.bonus .rc { font-size: 14px; } #menu .room.bonus button { padding: 6px 12px; font-size: 13px; }
#menu .rooms-title { font-size: 13px; } #menu .rooms-title small { font-size: 11px; }
/* expedição: vagas ainda menores (cabem mais por linha) */
.shop-card .exp-slots { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.shop-card .exp-slot { min-height: 0; padding: 7px 6px; gap: 3px; border-radius: 12px; }
.shop-card .exp-slot img { width: 50px; height: 50px; }
.shop-card .exp-slot .nm { font-size: 11.5px; line-height: 1.15; }
.shop-card .exp-slot > span { font-size: 22px; margin-top: 2px; }
.shop-card .exp-slot .rar { font-size: 9px; padding: 0 5px; }
.shop-card .exp-slot .btn { padding: 4px 6px; font-size: 11px; }
.shop-card .exp-slot small, .shop-card .exp-left { font-size: 10.5px; }
.shop-card .exp-bar { height: 5px; }
#r-share-dl { display: none !important; }   /* fim da partida: só o botão do X (sem o "⬇ Imagem") */

.gd-warn { margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,79,109,.14); border: 1px solid rgba(255,79,109,.5); color: #ffb3c0; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: left; }
/* aviso da sala bônus: quadrado no canto superior direito (não cobre mais o meio da tela) */
.bonus-cd, .bonus-cd.small { inset: auto; top: 14px; right: 14px; display: block; padding: 0; background: none; place-items: initial; }
.bonus-cd .bcd-box, .bonus-cd.small .bcd-box { width: 310px; max-width: calc(100vw - 28px); padding: 10px 12px; border-radius: 16px; box-shadow: 0 0 24px #14f19555, 0 10px 30px rgba(0,0,0,.45); }
.bonus-cd .bcd-t, .bonus-cd.small .bcd-t { font-size: 13px; letter-spacing: .5px; }
.bonus-cd .bcd-n, .bonus-cd.small .bcd-n { font-size: 44px; margin: 2px 0; }
.bonus-cd .bcd-s { font-size: 12.5px; line-height: 1.4; }
.annBox { top: 190px; }   /* avisos descem um pouco para não ficar embaixo do quadrado do bônus */

/* chat global: abas PT-BR / EN */
.chatLangs { display: inline-flex; gap: 3px; margin-left: 6px; } .chatLangs.hidden { display: none; }
.chatLangs button { padding: 2px 7px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--mut); font: inherit; font-size: 10.5px; font-weight: 800; cursor: pointer; }
.chatLangs button.on { background: linear-gradient(135deg, var(--violet), var(--cyan)); color: #fff; border-color: transparent; }

/* janelas que rolam por dentro (Como jogar, Loja, Inventário): sem o desfoque do fundo (o cenário 3D atrás muda a cada
   quadro e o navegador refazia o desfoque a cada movimento do scroll → travadinhas). Fundo sólido + rolagem isolada. */
.help-card, .shop-card, .inv-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(170deg, #1d1248, #120a30); }
#help.modal, #shop.modal, #inv.modal { backdrop-filter: none; -webkit-backdrop-filter: none; }
.help-card #help-body, .shop-card #shop-grid, .inv-card .inv-grid { overscroll-behavior: contain; contain: content; will-change: scroll-position; }
.help-tbl-wrap { contain: content; }

/* menu: Praça · Loja · Caixas · Expedição na mesma linha, todos do mesmo tamanho */
.hub-row .box-btn { background: linear-gradient(135deg, #b98bff, #ff4fa3); color: #fff; box-shadow: 0 6px 0 #5a1f8a, 0 10px 30px rgba(180,92,255,.4); animation: none; }
.hub-row .exp-btn { background: linear-gradient(135deg, #33d6ff, #7cff6b); color: #06202a; box-shadow: 0 6px 0 #0b5e3c, 0 10px 30px rgba(51,214,255,.35); animation: none; }
@media (max-width: 760px) { .hub-row { flex-wrap: wrap; } .hub-row .hub-btn.hub-big { flex-basis: 100%; } .hub-row .shop-btn { font-size: 15px; } }

/* configurações: janela de tamanho fixo (não muda ao trocar de aba), abas iguais e conteúdo rolando por dentro */
#settings .cfg-card { width: min(640px, 96vw); height: min(620px, 90vh); max-height: none; overflow: hidden; backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(170deg, #1d1248, #120a30); }
#settings .cfg-card > .cfg-head, #settings .cfg-card > .row { flex: none; }
#settings #cfg-tabs { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
#settings #cfg-tabs button { min-width: 0; height: 40px; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#settings #cfg-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; padding-right: 4px; }
#settings.modal { backdrop-filter: none; -webkit-backdrop-filter: none; }
.room-mode { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--mut); }

/* aba Caixas mais compacta (caixa, preço, botões, chances, fusão e tabela de bônus) */
.shop-card .box-tab { gap: 8px; }
.shop-card .box-hero { gap: 12px; padding: 8px 12px; }
.shop-card .cbox-wrap.hero { --s: 58px; margin: 14px 14px 8px; }
.shop-card .box-info h3 { font-size: 17px; margin-bottom: 2px; }
.shop-card .box-price { font-size: 14px; margin-bottom: 6px; } .shop-card .box-price s { font-size: 12px; }
.shop-card .box-open-row { gap: 6px; } .shop-card .box-info .btn.big { font-size: 14px; padding: 7px 16px; } .shop-card .box-open-row .btn small { font-size: 10.5px; }
.shop-card .box-fast { font-size: 12px; margin-top: 5px; } .shop-card .box-info small { font-size: 11.5px; margin-top: 4px; }
.shop-card .box-sec { padding: 8px 10px; border-radius: 12px; } .shop-card .box-sec h4 { font-size: 13px; margin-bottom: 5px; }
.shop-card .odd-row { grid-template-columns: 86px 1fr 50px; gap: 8px; margin: 3px 0; font-size: 11.5px; } .shop-card .odd-bar { height: 7px; }
.shop-card .fuse-cta .btn { padding: 6px 12px; font-size: 12.5px; margin-top: 5px; } .shop-card .fuse-cta small { font-size: 11.5px; }
.shop-card .bonus-tbl { font-size: 11px; } .shop-card .bonus-tbl th, .shop-card .bonus-tbl td { padding: 4px 4px; }
.shop-card .bonus-tbl .rar { font-size: 9px; } .shop-card .my-rar { font-size: 12px; margin-bottom: 4px; }
/* salas: linha limpa (número · criador · valor em US$ · entrar) */
#menu .room.clean { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
#menu .room.clean .rn { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#menu .room.clean .rv { font-weight: 900; color: #7cff6b; white-space: nowrap; } #menu .room.clean .rv.free { color: var(--mut); font-weight: 700; }
/* salas: + tipo (SOL / Token / Free) e jogadores (x/máx) */
#menu .room.clean { grid-template-columns: 46px minmax(0, 1fr) auto auto auto auto; }
#menu .room.clean .rk { font-size: 10.5px; font-weight: 900; padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
#menu .room.clean .rk.sol { background: rgba(20,241,149,.15); color: #14f195; } #menu .room.clean .rk.coin { background: rgba(255,200,58,.15); color: #ffc83a; } #menu .room.clean .rk.free { background: rgba(255,255,255,.08); color: var(--mut); }
#menu .room.clean .rq { font-size: 11.5px; color: var(--mut); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* menu: coluna "Criar sala" mais estreita e botões menores (mais espaço para a lista de salas) */
#menu .rooms-card.rooms-split { grid-template-columns: minmax(0, 1fr) 215px; }
#menu .rooms-split .create-col { gap: 6px; padding-left: 12px; }
#menu .rooms-split .create-col .sec-title { font-size: 13px; }
#menu .rooms-split .create-col .create-bar { gap: 5px; }
#menu .rooms-split .create-col .create-bar .btn, #menu .rooms-split .create-col .create-bar .btn.sol.hl { height: 36px; min-height: 0; padding: 0 8px; font-size: 12.5px; animation: none; box-shadow: none; }
#menu .rooms-split .create-col .create-bar .btn.sol.hl { box-shadow: 0 3px 0 #0b5e3c; }
#menu .rooms-split .create-col .create-bar .entry-in { height: 32px; font-size: 11px; padding: 0 6px; margin-top: -2px; margin-bottom: 4px; }
#menu .rooms-split .create-col .create-bar .entry-in input { width: 62px; height: 24px; font-size: 12.5px; }
#menu .rooms-split .create-col .create-bar .entry-in .usd { display: none; }
#menu .rooms-split .create-col .create-bar .entry-in.note { font-size: 10.5px; }
.val-slider .vs-usd { display: block; font-size: 10px; font-weight: 700; color: #7cff6b; }

/* menu: card do perfil mais estreito e compacto (mais espaço para as salas) */
#menu .menu-wrap { grid-template-columns: 300px minmax(0, 1fr); }
#menu .menu-card { gap: 6px; padding: 14px; }
#menu .menu-card .lbl { font-size: 11px; }
#menu .menu-card .acct { font-size: 12.5px; }
#menu .menu-card .me-row { gap: 8px; }
#menu .menu-card .me-card { font-size: 11.5px; } #menu .menu-card .me-card img { width: 70px; height: 70px; }
#menu .menu-card .lv-box { padding: 6px 8px; margin-bottom: 6px; } #menu .menu-card .lv-top b { font-size: 13px; } #menu .menu-card .lv-sub { font-size: 10px; }
#menu .menu-card .me-info .btn { padding: 7px 8px; font-size: 13px; }
#menu .menu-card > .row > * { height: 36px; font-size: 13px; }
#menu .menu-card #m-code { font-size: 13px; }
@media (max-width: 900px) { #menu .menu-wrap { grid-template-columns: 1fr; } }
#menu .menu-card .me-card { width: 72px; } #menu .menu-card .acct { padding: 8px 10px; gap: 6px; }

/* ======= perfil do menu: visual mais limpo e compacto ======= */
#menu .menu-card { background: linear-gradient(170deg, rgba(40,24,96,.85), rgba(16,10,40,.9)); }
#menu .acct { padding: 8px; gap: 6px; border-radius: 12px; background: rgba(0,0,0,.25); }
#menu .acct .a-row { flex-wrap: nowrap; }
#menu .acct .a-free { font-size: 14px; font-weight: 900; color: #fff; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#menu .acct .a-btns { display: flex; gap: 4px; flex: none; }
#menu .acct .a-ic { position: relative; width: 30px; height: 30px; padding: 0; font-size: 14px; border-radius: 9px; display: grid; place-items: center; }
#menu .acct .a-ic .pf-dot { position: absolute; top: -4px; right: -4px; }
#menu .acct .a-wallet { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px; align-items: center; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.04); }
#menu .acct .a-bal { font-size: 14px; font-weight: 900; line-height: 1.15; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#menu .acct .a-bal small { font-size: 10px; color: var(--mut); }
#menu .acct .a-bal .usd { display: block; font-size: 10px; font-weight: 700; color: var(--mut); }
#menu .acct .a-wallet .btn { height: 28px; padding: 0 8px; font-size: 11.5px; border-radius: 8px; white-space: nowrap; }
#menu .acct .a-small { font-size: 10.5px; line-height: 1.3; color: var(--mut); }
#menu .menu-card > .lbl { margin: 2px 0 -2px; text-transform: uppercase; letter-spacing: .5px; font-size: 10px; color: var(--mut); }
#menu .menu-card .me-row { padding: 6px; border-radius: 12px; background: rgba(0,0,0,.25); align-items: stretch; }
#menu .menu-card .me-card { width: 66px; font-size: 10.5px; } #menu .menu-card .me-card img { width: 66px; height: 66px; border-width: 1.5px; }
#menu .menu-card .me-info { gap: 5px; justify-content: center; }
#menu .menu-card .lv-box { margin: 0; padding: 5px 7px; } #menu .menu-card .lv-bar { height: 6px; }
#menu .menu-card .me-info .btn { height: 30px; padding: 0 8px; font-size: 12px; }
#menu .menu-card .bases-tip { font-size: 10px; }
#menu .menu-card > .row { gap: 6px; } #menu .menu-card > .row > * { height: 32px; font-size: 12.5px; border-radius: 10px; }
/* perfil: saldo em cima, botões Carregar/Sacar menores embaixo (lado a lado) */
#menu .acct .a-wallet { grid-template-columns: 1fr 1fr; gap: 4px 5px; padding: 6px 7px; }
#menu .acct .a-wallet .a-bal { grid-column: 1 / -1; }
#menu .acct .a-wallet .btn { height: 24px; padding: 0 6px; font-size: 10.5px; border-radius: 7px; }
/* lista de salas: fonte ~2x maior */
#menu .room.clean { gap: 12px; padding: 9px 12px; grid-template-columns: 76px minmax(0, 1fr) auto auto auto auto; }
#menu .room.clean .rc { width: auto; font-size: 22px; letter-spacing: 1.5px; }
#menu .room.clean .rn { font-size: 22px; }
#menu .room.clean .rk { font-size: 17px; padding: 2px 10px; }
#menu .room.clean .rq { font-size: 19px; }
#menu .room.clean .rv { font-size: 22px; }
#menu .room.clean .btn, #menu .room.clean button { font-size: 19px; padding: 8px 16px; border-radius: 11px; }
#menu .rooms-list { max-height: 300px; gap: 6px; }
#menu .rooms-title { font-size: 18px; } #menu .rooms-title small { font-size: 13px; }
#menu .room.clean.lack { opacity: .8; } #menu .room.clean.lack .rv { color: #ff8a9b; }
/* salas criadas: linha menor que o título da seção (para caber e aparecer melhor) */
#menu .room.clean { gap: 10px; padding: 6px 10px; grid-template-columns: 58px minmax(0, 1fr) auto auto auto auto; }
#menu .room.clean .rc { font-size: 16px; letter-spacing: 1px; }
#menu .room.clean .rn { font-size: 16px; }
#menu .room.clean .rk { font-size: 12.5px; padding: 1px 8px; }
#menu .room.clean .rq { font-size: 14px; }
#menu .room.clean .rv { font-size: 16px; }
#menu .room.clean .btn, #menu .room.clean button { font-size: 14px; padding: 6px 12px; border-radius: 10px; }
#menu .rooms-title { font-size: 18px; } #menu .rooms-title small { font-size: 12px; }
#menu .acct .a-bal .usd { font-size: 12.5px; }   /* perfil: ≈ US$ do saldo um pouco maior */
.cwd-fee:empty { display: none; } .cwd-fee { color: #ffc24a; }

/* expedição: sub-abas, planetas e coletador */
.shop-card .exp-subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.shop-card .exp-subs button { font-size: 12.5px; padding: 7px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-bar { height: 8px; margin: 8px 0; } .pl-done { font-weight: 900; color: #ffd84a; margin-bottom: 6px; }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 5px; }
.pl-grid .pl { display: grid; justify-items: center; gap: 1px; padding: 5px 3px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); opacity: .55; text-align: center; }
.pl-grid .pl span { font-size: 16px; } .pl-grid .pl small { font-size: 9.5px; font-weight: 700; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.pl-grid .pl.on { opacity: 1; border-color: rgba(124,255,107,.55); background: rgba(124,255,107,.08); } .pl-grid .pl.on small { color: #b6ffad; }
.col-box { display: grid; justify-items: center; gap: 8px; } .col-state { font-weight: 900; font-size: 15px; color: var(--mut); } .col-state.on { color: #7cff6b; }
.col-box .btn small { display: block; font-size: 11px; opacity: .85; }
.exp-r small { opacity: .75; font-size: 11px; }
.inv-it.gift { cursor: default; } .inv-it.gift .gift-ic { font-size: 40px; line-height: 1.1; animation: giftBob 1.6s ease-in-out infinite; } .inv-it.gift .btn { margin-top: 4px; padding: 5px 10px; font-size: 12px; }
@keyframes giftBob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-4px) rotate(4deg); } }
/* 🔋 energia da expedição */
.en-bar { position: relative; width: 100%; height: 14px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.en-bar i { display: block; height: 100%; border-radius: 99px; transition: width .9s linear; }
.en-bar.hi i { background: linear-gradient(90deg, #3ddc84, #8cff6b); } .en-bar.mid i { background: linear-gradient(90deg, #ffb52e, #ffe14a); } .en-bar.lo i { background: linear-gradient(90deg, #ff4f4f, #ff8a4a); }
.en-bar b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 9.5px; font-weight: 900; color: #fff; text-shadow: 0 1px 2px #000; }
.exp-tok { font-weight: 900; color: #ffc24a; font-variant-numeric: tabular-nums; font-size: 13px; }
.fcard.tired { opacity: .5; filter: grayscale(.6); }
.fcard .en-bar { margin-top: 3px; height: 12px; }
/* 🔮 fusão: acerto e explicação */
.fuse-ok { margin-top: 8px; font-size: 12.5px; color: var(--mut); } .fuse-ok b { color: #7cff6b; }
.tag-fail { margin-top: 4px; padding: 2px 8px; border-radius: 99px; background: rgba(255,79,79,.18); color: #ff8a8a; font-size: 11px; font-weight: 800; }
.gd-tbl { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 13px; } .gd-tbl th, .gd-tbl td { padding: 5px 8px; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; } .gd-tbl td:nth-child(n+2), .gd-tbl th:nth-child(n+2) { text-align: center; }
.gd-never { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--mut); cursor: pointer; } .gd-never input { width: 16px; height: 16px; }
.inv-it .inv-en { width: 88%; margin: 3px auto 0; } .inv-it .inv-en .en-bar { height: 11px; } .inv-it .inv-en .en-bar b { font-size: 8.5px; }
.inv-it .inv-exp { display: block; font-size: 10px; color: var(--mut); }
/* a barra de energia ocupa a largura do card (os cards centralizam os itens e o contêiner da barra encolhia para 0) */
.exp-slot [data-expen], .fcard [data-enlive], .inv-it .inv-en { width: 100%; align-self: stretch; justify-self: stretch; }
.exp-slot [data-expen] { padding: 0 6px; box-sizing: border-box; }

/* 🤝 indicação */
.ref-tabs { margin-bottom: 8px; }
.ref-link { display: flex; gap: 6px; margin-top: 10px; } .ref-link input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.3); color: #fff; font-size: 12.5px; }
.col-perk { margin: 6px 0 8px; padding: 8px 10px; border-radius: 12px; background: linear-gradient(135deg, rgba(120,255,170,.16), rgba(80,170,255,.1)); border: 1px solid rgba(120,255,170,.45); text-align: center; font-size: 14px; } .col-perk b { color: #7dffb0; font-size: 18px; } .col-perk small { display: block; color: var(--mut); font-size: 11px; }
.ref-perk { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,200,60,.16), rgba(120,255,170,.1)); border: 1px solid rgba(255,200,60,.4); font-size: 15px; text-align: center; } .ref-perk b { color: #ffd34d; font-size: 18px; } .ref-perk small { display: block; margin-top: 2px; color: var(--mut); font-size: 11px; }
.ref-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; } .ref-sum > div { display: grid; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.05); text-align: center; } .ref-sum small { color: var(--mut); font-size: 11px; }
.ref-list { display: grid; gap: 4px; max-height: 260px; overflow-y: auto; } .ref-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,.04); font-size: 12.5px; } .ref-row small { color: #ffc24a; }
.ref-ms { display: grid; gap: 6px; } .ref-m { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.04); } .ref-m > span { font-size: 24px; } .ref-m small { display: block; color: var(--mut); font-size: 11.5px; } .ref-m.done { background: rgba(19,192,138,.15); border: 1px solid #13c08a; } .ref-m i { font-style: normal; font-weight: 900; }
.ambChat { margin-right: 2px; }

/* ⚙️ configuração do coletador */
.col-cfg { display: grid; gap: 8px; text-align: left; }
.col-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .col-modes label { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); cursor: pointer; font-size: 13px; }
.col-modes label.on { border-color: #33d6ff; background: rgba(51,214,255,.1); } .col-modes input { display: none; } .col-modes small { color: var(--mut); font-size: 11px; line-height: 1.3; }
.col-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; } .col-row select { padding: 5px 8px; border-radius: 8px; background: rgba(0,0,0,.35); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.col-th { font-size: 13px; font-weight: 800; } .col-th small { display: block; font-weight: 400; color: var(--mut); font-size: 11px; }
.col-team-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; margin-top: 6px; }
.col-tm { position: relative; display: grid; justify-items: center; padding: 6px 4px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); } .col-tm img { width: 44px; height: 44px; } .col-tm small { font-size: 10px; text-align: center; line-height: 1.1; }
.col-tm button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(255,79,79,.85); color: #fff; font-size: 10px; cursor: pointer; line-height: 18px; padding: 0; }
.col-tm.raro { border-color: var(--r-raro); } .col-tm.epico { border-color: var(--r-epico); } .col-tm.lendario { border-color: var(--r-lendario); } .col-tm.supremo { border-color: var(--r-supremo, #ff7ad9); }
@media (max-width: 760px) { .col-modes { grid-template-columns: 1fr; } }

/* 🧭 tour do menu */
.tour { position: fixed; inset: 0; z-index: 9000; pointer-events: auto; }
.tour.center { background: rgba(4,4,16,.72); }
.tour-hole { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(4,4,16,.72), 0 0 0 3px #33d6ff, 0 0 26px #33d6ff; transition: all .28s ease; pointer-events: none; }
.tour-card { position: fixed; max-width: calc(100vw - 24px); padding: 16px 16px 12px; border-radius: 18px; background: linear-gradient(160deg, #1d1745, #110d2b); border: 1px solid rgba(51,214,255,.45); box-shadow: 0 18px 50px rgba(0,0,0,.6); color: #fff; transition: left .28s ease, top .28s ease; box-sizing: border-box; }
.tour.center .tour-card { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); text-align: center; }
.tour-x { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 14px; }
.tour-n { font-size: 11px; color: #33d6ff; font-weight: 800; letter-spacing: .5px; }
.tour-t { margin: 4px 26px 6px 0; font-size: 17px; font-weight: 900; } .tour.center .tour-t { margin-right: 0; }
.tour-d { font-size: 13.5px; line-height: 1.45; color: #d6dbe8; } .tour-d b { color: #fff; }
.tour-btns { display: flex; align-items: center; gap: 6px; margin-top: 12px; } .tour-btns span { flex: 1; } .tour-btns .btn { padding: 7px 12px; font-size: 13px; }
.tour-skip { opacity: .8; }

.bcard.lost { border-color: #ff4f4f; } .lost-ic { font-size: 54px; line-height: 1.1; } .lost-ic.big { font-size: 80px; }

/* miniatura do boneco de cada jogador na sala (com a roupa/itens que ele está usando) */
.pl .pl-thumb { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.pl.r-raro .pl-thumb { filter: drop-shadow(0 0 6px #33d6ff); } .pl.r-epico .pl-thumb { filter: drop-shadow(0 0 7px #b45cff); }
.pl.r-lendario .pl-thumb { filter: drop-shadow(0 0 8px #ffc83a); } .pl.r-supremo .pl-thumb { filter: drop-shadow(0 0 9px #ff7ad9); }

/* filtro de raridade nas telas de bonecos */
.rar-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; } .rar-chips button { flex: none; padding: 5px 10px; font-size: 12px; } .rar-chips small { opacity: .7; margin-left: 2px; }
.rar-chips .rc-raro.on { box-shadow: inset 0 0 0 2px var(--r-raro, #33d6ff); } .rar-chips .rc-epico.on { box-shadow: inset 0 0 0 2px var(--r-epico, #b45cff); }
.rar-chips .rc-lendario.on { box-shadow: inset 0 0 0 2px var(--r-lendario, #ffc83a); } .rar-chips .rc-supremo.on { box-shadow: inset 0 0 0 2px #ff7ad9; }

.mkt-min { margin-left: 6px; font-size: 12px; color: #ffc24a; font-weight: 800; }

/* ⚡ câmaras de energia */
.ch-list { display: grid; gap: 8px; }
.ch-card { padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); } .ch-card.own { border-color: rgba(51,214,255,.45); background: rgba(51,214,255,.06); }
.ch-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; } .ch-head span { color: var(--mut); } .ch-head span b { color: #33d6ff; }
.ch-seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
.ch-seat { display: grid; justify-items: center; gap: 3px; padding: 6px 4px; border-radius: 10px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08); } .ch-seat img { width: 46px; height: 46px; } .ch-seat small { font-size: 10px; text-align: center; line-height: 1.1; }
.ch-seat > div { width: 100%; } .ch-seat .btn { padding: 3px 6px; font-size: 10.5px; }
.ch-seat.free { min-height: 110px; font-size: 28px; color: #33d6ff; cursor: pointer; border-style: dashed; }
.ch-seat.raro { border-color: var(--r-raro); } .ch-seat.epico { border-color: var(--r-epico); } .ch-seat.lendario { border-color: var(--r-lendario); } .ch-seat.supremo { border-color: #ff7ad9; }
.col-chk input { width: 18px; height: 18px; }

/* ⚡ câmaras: desenho + descrição, fontes menores (cabe na janela) */
.ch-list { gap: 6px; } .ch-card { padding: 8px; font-size: 12px; }
.ch-top { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: center; }
.ch-art { width: 74px; height: 74px; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.ch-info { display: grid; gap: 3px; min-width: 0; } .ch-head { margin: 0; font-size: 13px; } .ch-own { font-size: 10.5px; color: #7cff6b; font-weight: 800; }
.ch-stats { display: flex; flex-wrap: wrap; gap: 4px; } .ch-stats span { padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.07); font-size: 10.5px; color: #d6dbe8; }
.ch-desc { font-size: 11px; color: var(--mut); line-height: 1.3; }
.ch-buy { justify-self: start; padding: 5px 10px; font-size: 11.5px; } .ch-buy small { font-size: 10px; opacity: .8; }
.ch-seats { margin-top: 6px; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 5px; }
.ch-seat { padding: 5px 3px; } .ch-seat img { width: 38px; height: 38px; } .ch-seat small { font-size: 9.5px; } .ch-seat .btn { font-size: 9.5px; padding: 2px 5px; }
.ch-seat.free { min-height: 92px; font-size: 22px; } .ch-seat .en-bar { height: 10px; } .ch-seat .en-bar b { font-size: 8px; }
/* sub-abas da expedição: as 4 numa linha só */
.shop-card .exp-subs, .exp-subs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.shop-card .exp-subs button, .exp-subs button { font-size: 11px; padding: 5px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 🔔 avisos pequenos no canto esquerdo */
#notif { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: flex; flex-direction: column; gap: 5px; max-width: min(320px, calc(100vw - 24px)); pointer-events: none; }
.notif { padding: 7px 11px; border-radius: 11px; background: rgba(14,9,38,.92); border: 1px solid rgba(51,214,255,.35); box-shadow: 0 6px 18px rgba(0,0,0,.4); color: #fff; font-size: 12px; line-height: 1.35; animation: notifIn .25s ease-out; transition: opacity .45s, transform .45s; backdrop-filter: blur(6px); }
.notif.out { opacity: 0; transform: translateX(-16px); }
@keyframes notifIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ======= loja: menu VERTICAL à esquerda · conteúdo no meio · boneco 3D à direita (só em Coleção e Itens) ======= */
.shop-card .shop-wrap { display: grid; grid-template-columns: 172px minmax(0, 1fr) minmax(230px, 290px); gap: 12px; }
.shop-card.no-stage .shop-wrap { grid-template-columns: 172px minmax(0, 1fr); }
.shop-card.no-stage .shop-stage { display: none; }
.shop-nav { display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow-y: auto; padding-right: 2px; }
.shop-nav button { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 10px 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.shop-nav button:hover { background: rgba(123,92,255,.16); border-color: rgba(123,92,255,.45); }
.shop-nav button:active { transform: scale(.98); }
.shop-nav button .ic { flex: none; width: 30px; font-size: 22px; text-align: center; }
.shop-nav button b { display: block; font-size: 14px; line-height: 1.15; }
.shop-nav button small { display: block; font-size: 11px; opacity: .62; line-height: 1.2; margin-top: 2px; }
.shop-nav button.on { background: linear-gradient(90deg, rgba(123,92,255,.5), rgba(123,92,255,.14)); border-color: #7b5cff; box-shadow: 0 4px 14px rgba(123,92,255,.25); }
.shop-nav button.on::before { content: ''; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: #33d6ff; }
.shop-nav button[data-tab="caixa"].on { background: linear-gradient(90deg, rgba(255,200,58,.4), rgba(255,200,58,.1)); border-color: #ffc83a; }
.shop-nav button[data-tab="fusao"].on { background: linear-gradient(90deg, rgba(214,120,255,.45), rgba(214,120,255,.12)); border-color: #d678ff; }
.shop-nav button[data-tab="exped"].on { background: linear-gradient(90deg, rgba(51,214,255,.38), rgba(51,214,255,.1)); border-color: #33d6ff; }
.shop-nav button[data-tab="market"].on { background: linear-gradient(90deg, rgba(92,240,138,.35), rgba(92,240,138,.08)); border-color: #5cf08a; }
.shop-card .shop-stage { min-height: 0; height: 100%; }
.shop-card .shop-stage canvas { min-height: 0; height: 100%; }
@media (max-width: 760px) {
  .shop-card .shop-wrap, .shop-card.no-stage .shop-wrap { grid-template-columns: 1fr; }
  .shop-nav { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; }
  .shop-nav button { flex: none; width: auto; padding: 8px 12px; }
  .shop-nav button small { display: none; }
  .shop-nav button.on::before { left: 8px; right: 8px; top: auto; bottom: -1px; width: auto; height: 3px; }
  .shop-card .shop-stage, .shop-card .shop-stage canvas { min-height: 260px; height: 260px; }
}

/* ======= aba Caixas em 2 colunas (cabe sem rolar) ======= */
.shop-card .box-tab.bx2 { grid-template-columns: minmax(250px, .9fr) minmax(0, 1.5fr); gap: 10px; align-items: stretch; }
.shop-card .bx2 .bx-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.shop-card .bx2 .box-hero { flex-direction: column; text-align: center; gap: 4px; padding: 10px 12px 12px; }
.shop-card .bx2 .cbox-wrap.hero { --s: 76px; margin: 18px auto 10px; }
.shop-card .bx2 .box-info h3 { font-size: 19px; }
.shop-card .bx2 .box-price { font-size: 15px; }
.shop-card .bx2 .box-open-row { justify-content: center; }
.shop-card .bx2 .box-info .btn.big { font-size: 15px; padding: 9px 18px; }
.shop-card .bx2 .box-sec { flex: none; }
.shop-card .bx2 .bx-bonus { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.shop-card .bx2 .bonus-tbl { font-size: 12px; } .shop-card .bx2 .bonus-tbl th, .shop-card .bx2 .bonus-tbl td { padding: 6px 5px; }
.shop-card .bx2 .bonus-tbl .rar { font-size: 10px; }
.shop-card .bx2 .odd-row { margin: 6px 0; font-size: 12px; } .shop-card .bx2 .odd-bar { height: 9px; }
.shop-card .bx2 .bx-fuse { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.shop-card .bx2 .bx-fuse h4 { margin-bottom: 2px; } .shop-card .bx2 .bx-fuse .btn { flex: none; margin-top: 0; }
@media (max-width: 900px) { .shop-card .box-tab.bx2 { grid-template-columns: 1fr; } .shop-card .bx2 .bx-fuse { flex-direction: column; text-align: center; } }

/* ======= loja SEM ROLAGEM: listas em páginas (◀ 1/3 ▶) e abas em 2 colunas ======= */
.shop-card #shop-grid.fit { display: flex; flex-direction: column; gap: 8px; }
.shop-card .pg-tab { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.shop-card .pg-bar { flex: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 30px; }
.shop-card .pg-bar > b { font-size: 13.5px; } .shop-card .pg-bar > small { font-size: 11px; }
.shop-card .pg-bar .rar-chips { margin: 0; } .shop-card .pg-bar .seg { margin: 0; }
.shop-card .pg-bar .pager { margin-left: auto; }
.shop-card .pg-bar #exp-cancel, .shop-card .pg-bar #ch-cancel { padding: 4px 10px; font-size: 12px; }
.pager { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.pager button { width: 32px; height: 28px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: inherit; font: inherit; cursor: pointer; }
.pager button:hover:not(:disabled) { background: rgba(123,92,255,.35); border-color: #7b5cff; }
.pager button:disabled { opacity: .3; cursor: default; }
.shop-card .fitgrid { flex: 1; min-height: 0; overflow: hidden; max-height: none; grid-auto-rows: max-content; align-content: start; }
.shop-card .two-col { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(270px, 340px) minmax(0, 1fr); gap: 10px; }
.shop-card .two-col.one { grid-template-columns: minmax(0, 520px); justify-content: center; align-content: start; }
.shop-card .two-col > .col { min-height: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: thin; }
.shop-card .two-col > .col > .box-sec { flex: none; }
/* fusão: coluna da esquerda compacta */
.shop-card .fuse-left .fuse-rar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; }
.shop-card .fuse-left .fuse-rar button { font-size: 11.5px; padding: 6px 4px; }
.shop-card .fuse-left .fuse-qty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; }
.shop-card .fuse-left .fuse-ok { font-size: 11.5px; text-align: center; }
.shop-card .fuse-left .fuse-slots { padding: 8px; gap: 5px; }
.shop-card .fuse-left .fslot { width: 52px; height: 64px; font-size: 18px; } .shop-card .fuse-left .fslot.full img { width: 40px; height: 40px; } .shop-card .fuse-left .fslot small { display: none; }
.shop-card .fuse-left .fslot.out { width: 64px; height: 76px; } .shop-card .fuse-left .fslot.out small { display: block; font-size: 9px; }
.shop-card .fuse-left .fuse-btns { gap: 6px; } .shop-card .fuse-left .fuse-btns .btn { padding: 6px 10px; font-size: 12px; } .shop-card .fuse-left .fuse-btns .btn.big { width: 100%; font-size: 14px; padding: 9px; }
/* expedição: informações à esquerda em lista */
.shop-card .exp-tab .exp-subs { flex: 1; max-width: 640px; }
.shop-card .exp-left .exp-rew { grid-template-columns: 1fr; gap: 4px; }
.shop-card .exp-left .exp-r { display: flex; align-items: center; justify-content: space-between; gap: 6px; text-align: left; padding: 5px 8px; }
.shop-card .exp-left .exp-vagas { text-align: center; } .shop-card .exp-left .exp-vagas .btn { display: block; margin: 6px auto 0; padding: 4px 12px; font-size: 12px; }
.shop-card .exp-tab .exp-off { font-size: 12px; }
/* câmaras: menu das 5 câmaras */
.ch-menu { display: flex; flex-direction: column; gap: 5px; }
.ch-mi { display: grid; gap: 1px; text-align: left; padding: 8px 10px; border-radius: 11px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: inherit; font: inherit; cursor: pointer; }
.ch-mi b { font-size: 13px; } .ch-mi small { font-size: 11px; opacity: .7; }
.ch-mi.own { border-color: rgba(51,214,255,.35); } .ch-mi:hover { background: rgba(51,214,255,.12); }
.ch-mi.on { background: linear-gradient(90deg, rgba(51,214,255,.35), rgba(51,214,255,.08)); border-color: #33d6ff; }
.shop-card .two-col .ch-card { flex: none; }
/* market vender: formulário à esquerda */
.shop-card .mkt-tab .mkt-sell { display: grid; gap: 6px; }
.shop-card .mkt-tab .mkt-form { display: flex; gap: 6px; } .shop-card .mkt-tab .mkt-form input { flex: 1; min-width: 0; }
.shop-card .mkt-tab .mkt-pick.fitgrid { max-height: none; }
@media (max-width: 760px) {
  .shop-card .two-col { grid-template-columns: 1fr; }
  .shop-card .two-col > .col { overflow: visible; }
  .shop-card .fitgrid { overflow: visible; }
  .shop-card #shop-grid.fit { overflow-y: auto; }
}
/* market: botões Comprar/Vender e filtros pequenos na barra */
.shop-card .mkt-tab .pg-bar .seg button { padding: 5px 10px; font-size: 12.5px; white-space: nowrap; }
.shop-card .mkt-tab .pg-bar select { padding: 5px 8px; font-size: 12.5px; }
/* fusão: slots menores quando são 10 ou 20 */
.shop-card .fuse-left .fuse-slots.q10 .fslot:not(.out), .shop-card .fuse-left .fuse-slots.q20 .fslot:not(.out) { width: 38px; height: 46px; font-size: 14px; }
.shop-card .fuse-left .fuse-slots.q10 .fslot img, .shop-card .fuse-left .fuse-slots.q20 .fslot img { width: 30px; height: 30px; }
.shop-card .fuse-left .fuse-slots { padding: 6px; }
.shop-card .fuse-left .box-sec small { font-size: 11px; line-height: 1.3; }
/* fusão: slots no topo da coluna da direita */
.shop-card .fuse-tab .col > .fuse-slots { flex: none; justify-content: center; padding: 8px; gap: 5px; }
.shop-card .fuse-tab .fslot { width: 58px; height: 70px; font-size: 18px; } .shop-card .fuse-tab .fslot.full img { width: 44px; height: 44px; } .shop-card .fuse-tab .fslot:not(.out) small { display: none; }
.shop-card .fuse-tab .fslot.out { width: 70px; height: 80px; } .shop-card .fuse-tab .fslot.out small { display: block; font-size: 9px; }
.shop-card .fuse-tab .fuse-slots.q10 .fslot:not(.out), .shop-card .fuse-tab .fuse-slots.q20 .fslot:not(.out) { width: 40px; height: 48px; font-size: 14px; }
.shop-card .fuse-tab .fuse-slots.q10 .fslot img, .shop-card .fuse-tab .fuse-slots.q20 .fslot img { width: 32px; height: 32px; }
.shop-card .exp-tab .col > .col-cfg { flex: none; }
.shop-card .exp-tab .col-cfg .col-modes label { padding: 8px 10px; } .shop-card .exp-tab .col-cfg .col-modes small { font-size: 11px; }

/* 🧪 MODO TESTE: faixa vermelha fixa no topo, por cima de tudo (não fecha; o admin tira no painel) */
.test-mode { position: fixed; top: 50%; left: 12px; transform: translateY(-50%); z-index: 9999; width: 200px; display: grid; justify-items: center; gap: 2px; padding: 8px 12px; border-radius: 14px;
  background: linear-gradient(135deg, #d9142b, #ff3b4e); border: 2px solid #ffb3bb; color: #fff; text-align: center; box-shadow: 0 8px 28px rgba(217,20,43,.55);
  animation: testPulse 1.6s ease-in-out infinite; max-width: calc(100vw - 24px); }
.test-mode b { font-size: 12.5px; letter-spacing: .6px; } .test-mode span { font-size: 10.5px; opacity: .95; }
.test-btn { margin-top: 5px; padding: 5px 8px; border-radius: 10px; border: 2px solid #fff; background: #ffd23f; color: #3a1a00; font-weight: 800; font-size: 11px; cursor: pointer; animation: testBtn 1s ease-in-out infinite; }
.test-btn:hover { background: #ffe680; }
@keyframes testBtn { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.test-info-card { max-width: 460px; } .test-info-card p { margin: 8px 0; line-height: 1.45; }
.tri-prizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.tri-prizes > div { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.05); text-align: center; font-size: 12px; }
.tri-prizes img { width: 72px; height: 72px; }
@keyframes testPulse { 0%, 100% { box-shadow: 0 8px 28px rgba(217,20,43,.45); } 50% { box-shadow: 0 8px 36px rgba(255,59,78,.9); } }
@media (max-width: 760px) { .test-mode { left: 6px; width: 160px; padding: 6px 8px; } .test-mode b { font-size: 11px; } .test-mode span { font-size: 9.5px; } }

/* 🏅 coluna da direita do menu: últimos ganhadores + ranking geral de nível (um embaixo do outro) */
.menu-side { position: absolute; top: 14px; right: 14px; width: 210px; z-index: 2; display: grid; gap: 8px; }
.menu-side .winners { position: static; width: auto; }
.top-lv .wn .am.lv { color: #9fd0ff; opacity: .9; }
@media (max-width: 760px) { .menu-side { position: static; width: min(1100px, 100%); } }
/* fonte maior nos últimos ganhadores e no ranking geral */
.menu-side { width: 285px; }
#menu > .menu-side { zoom: 1; }   /* fica fora do zoom automático do menu (é absoluto, não ocupa espaço no menu) */
.menu-side .winners .wn-title { font-size: 15px; margin-bottom: 4px; }
.menu-side .winners .wn { font-size: 17px; padding: 2px 0; gap: 6px; }
.menu-side .winners .wn .ic { font-size: 15px; }
.menu-side .winners .wn .am { font-size: 14px; }
@media (max-width: 760px) { .menu-side { width: min(1100px, 100%); } }
.tri-prizes .tp-pos { font-size: 12px; color: var(--gold); }
.menu-stage, .lobby-stage { display: none; }
.hub-row .hb-sub { display: none; }
/* Market: preço em US$ em destaque embaixo da barra de valor */
.mkt-usd { margin: 4px 0 2px; font-size: 15px; color: var(--mut); }
.mkt-usd b { font-size: 20px; color: #7cff6b; text-shadow: 0 0 10px rgba(124,255,107,.35); }
/* botão Caixas brilhando (pedido do David, 22/10/2026): cor pulsando + reflexo passando, tudo por dentro (funciona com cantos cortados) */
#b-box { position: relative; top: auto; left: auto; overflow: hidden; isolation: isolate; animation: boxGlow 1.6s ease-in-out infinite !important; }   /* top/left: o .shop-btn antigo tem 14px, que viraria deslocamento com position: relative */
#b-box::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: boxShine 2.4s ease-in-out infinite; }
#b-box > * { position: relative; z-index: 2; }
@keyframes boxGlow { 0%, 100% { filter: brightness(1); background-color: rgba(201,166,255,.10); } 50% { filter: brightness(1.35) saturate(1.3); background-color: rgba(201,166,255,.32); } }
@keyframes boxShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { #b-box, #b-box::after { animation: none !important; } }
.wd-info { display: grid; gap: 5px; margin-top: 8px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; color: var(--mut); }
.wd-info b { color: var(--txt); }
/* 🧩 modo de arrumar janelas (?editar=1) */
#lay-bar { position: fixed; top: 8px; left: 50%; transform: translateX(-50%); z-index: 100000; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 8px 12px; border-radius: 12px;
  background: #ffe14d; color: #1a1400; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.6); }
#lay-bar button { padding: 5px 10px; border: 0; border-radius: 8px; background: #1a1400; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
#lay-bar form { display: flex; gap: 6px; } #lay-bar form[hidden] { display: none; }
#lay-bar input { padding: 4px 8px; border-radius: 6px; border: 1px solid #0006; font: inherit; width: 150px; }
#lay-bar small { font-weight: 700; }
body.lay-edit [data-lay-name] { outline: 2px dashed #ffe14d !important; outline-offset: 3px; cursor: move !important; clip-path: none !important; }   /* cantos cortados escondiam o contorno */
body.lay-edit [data-lay-name] * { cursor: move !important; }
.lay-rs { display: none; }
body.lay-edit .lay-rs { display: block; position: absolute; right: -9px; bottom: -9px; z-index: 50; width: 18px; height: 18px; border-radius: 4px; background: #ffe14d; border: 2px solid #1a1400; cursor: nwse-resize !important; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
body.lay-edit [data-lay-name] { overflow: visible !important; }   /* subtítulo dos atalhos: só o modelo 8 (cartões de modo) mostra */   /* palcos 3D: só os temas que usam mostram (4 e 7) */
/* aviso de modo teste: botão ✕ para ocultar e a etiqueta pequena que reabre */
.test-x { position: absolute; top: 4px; right: 5px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.28); color: #fff; font-size: 12px; line-height: 22px; cursor: pointer; }
.test-x:hover { background: rgba(0,0,0,.5); }
/* aviso de modo teste um pouco maior (pedido do David, 22/10/2026) */
.test-mode { width: 260px; padding: 12px 16px; gap: 4px; border-radius: 16px; }
.test-mode b { font-size: 15px; } .test-mode span { font-size: 12.5px; line-height: 1.3; }
.test-btn { margin-top: 7px; padding: 8px 10px; font-size: 13px; border-radius: 12px; }
.test-x { width: 26px; height: 26px; line-height: 26px; font-size: 14px; top: 6px; right: 7px; }
.test-mini { padding: 7px 14px; font-size: 13px; }
@media (max-width: 760px) { .test-mode { width: 200px; padding: 8px 10px; } .test-mode b { font-size: 12.5px; } .test-mode span { font-size: 10.5px; } .test-btn { font-size: 11px; padding: 6px 8px; } }
.test-mode b { padding: 0 18px; }
.test-mini { position: fixed; right: 14px; bottom: 14px; z-index: 9999; padding: 5px 11px; border-radius: 999px; border: 1px solid #ffb3bb; background: #d9142b; color: #fff; font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 14px rgba(217,20,43,.45); }
.test-mini:hover { background: #ff3b4e; }
.tk-bar .tk-feeusd { display: block; font-size: 13px; font-weight: 700; color: #d7d0ff; }   /* fee em GUYS em cima, US$ embaixo */   /* palco 3D do boneco: só o temas/modelo_melhor4.css mostra */


/* 🏙️ escolha da skin da praça */
.gd-box.hs-box { width: min(820px, 100%); }
.hs-f { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 10px; }
.hs-f button { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: inherit; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.hs-f button.on { background: var(--k); border-color: var(--k); color: #fff; }
.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; max-height: min(52vh, 460px); overflow-y: auto; padding: 4px; }
.hs-c { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border-radius: 14px; border: 2px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: inherit; font: inherit; cursor: pointer; }
.hs-c[hidden] { display: none; }
.hs-c img { width: 72px; height: 72px; border-radius: 12px; }
.hs-c b { font-size: 12px; line-height: 1.2; }
.hs-c small { font-size: 10.5px; color: var(--mut, #9aa0ad); }
.hs-c.raro { border-color: color-mix(in srgb, var(--r-raro) 45%, transparent); } .hs-c.epico { border-color: color-mix(in srgb, var(--r-epico) 45%, transparent); }
.hs-c.lendario { border-color: color-mix(in srgb, var(--r-lendario) 55%, transparent); } .hs-c.supremo { border-color: color-mix(in srgb, var(--r-supremo) 60%, transparent); }
.hs-c:hover { background: rgba(255,255,255,.09); }
.hs-c.on { border-color: #7cff6b; box-shadow: 0 0 0 2px #7cff6b55, 0 0 18px #7cff6b44; background: rgba(124,255,107,.08); }
.hs-note { margin-top: 10px; font-size: 12.5px; color: var(--mut, #9aa0ad); }

/* 🌌 galáxia animada da expedição (abaixo das vagas) */
.exp-gal { flex: 0 0 clamp(150px, 24vh, 270px); min-height: 150px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(123,92,255,.35); background: #05030f; box-shadow: inset 0 0 40px rgba(123,92,255,.18); }
.exp-gal canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 760px) { .exp-gal { flex-basis: 200px; height: 200px; } }

/* 📖 explicações da Expedição (Vagas, Planetas, Câmaras, Coletador): letra maior, peso normal e mais espaço entre linhas */
.shop-card .exp-tab .box-sec > small.muted { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.55; letter-spacing: .1px; color: #d6d0f2; text-align: left; font-variant-numeric: normal; }
.shop-card .exp-tab .box-sec > small.muted b { font-weight: 700; color: #fff; }
.shop-card .exp-tab .box-sec > h4 { font-size: 15px; margin-bottom: 7px; }
@media (max-height: 820px) { .shop-card .exp-tab .box-sec > small.muted { font-size: 12.5px; line-height: 1.45; } }

/* 🌌 CAIXA GALÁCTICA: caixa roxa/azul, abas na loja e aviso no canto direito */
.cbox-wrap.gal, .cbox-stage.gal .cbox-wrap { filter: hue-rotate(205deg) saturate(1.5) brightness(1.08); }
.cbox-wrap.gal::before { --glow: rgba(123,92,255,.7); }
.bx-kinds { display: flex; gap: 6px; margin-bottom: 8px; }
.bx-kinds button { flex: 1; padding: 7px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); color: inherit; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.bx-kinds button.on { background: linear-gradient(135deg, #ffb32e, #ff7a1a); border-color: transparent; color: #1a0f00; }
.bx-kinds button.gal { position: relative; overflow: hidden; }
.bx-kinds button.gal.on { background: linear-gradient(135deg, #7b5cff, #29e0ff); color: #fff; }
.bx-kinds button.gal:not(.on) { border-color: #7b5cff; animation: b2Glow 1.6s ease-in-out infinite; }
.bx-kinds button small { font-size: 11px; opacity: .9; }
.box-hero.gal { border-radius: 16px; background: radial-gradient(circle at 20% 50%, rgba(123,92,255,.28), transparent 60%), radial-gradient(circle at 80% 30%, rgba(41,224,255,.16), transparent 60%); }
@keyframes b2Glow { 50% { box-shadow: 0 0 16px rgba(123,92,255,.75); } }
.b2-pop { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 7000; font-weight: 700; }
.b2-full { position: relative; width: 236px; padding: 14px 14px 12px; border-radius: 20px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 0%, rgba(123,92,255,.55), transparent 65%), linear-gradient(170deg, #241650, #0d0726); border: 1px solid rgba(160,140,255,.6);
  box-shadow: 0 14px 40px rgba(0,0,0,.55), 0 0 26px rgba(123,92,255,.45); animation: b2In .5s cubic-bezier(.2,1.5,.4,1); }
@keyframes b2In { from { transform: translateX(120%); opacity: 0; } }
.b2-min { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; border-radius: 8px; border: 0; background: rgba(255,255,255,.12); color: #fff; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.b2-min:hover { background: rgba(255,255,255,.22); }
.b2-hero { display: flex; justify-content: center; height: 78px; }
.b2-hero .cbox-wrap { --s: 54px; margin-top: 12px; animation: boxFloat 2.6s ease-in-out infinite; }
.b2-tag { font-size: 10.5px; letter-spacing: 1.5px; color: #7cf3ff; }
.b2-t { display: block; font-size: 17px; margin: 2px 0 2px; background: linear-gradient(90deg, #ffd84a, #ff7ad9, #7cf3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b2-s { font-size: 12px; color: #e3dcff; font-weight: 600; }
.b2-odds { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin: 8px 0; }
.b2-odds .rar { font-size: 11px; }
.b2-cd { font-size: 12.5px; color: #ffd84a; margin-bottom: 8px; } .b2-cd b { font-variant-numeric: tabular-nums; }
.b2-go { width: 100%; font-size: 13px; padding: 8px 10px; }
.b2-pill { display: none; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(160,140,255,.7); background: linear-gradient(135deg, #3a1f8f, #12305c); color: #fff; font: inherit; font-size: 12.5px; cursor: pointer; animation: b2Glow 1.6s ease-in-out infinite; }
.b2-pill span { font-variant-numeric: tabular-nums; color: #ffd84a; }
.b2-pop.min .b2-full { display: none; } .b2-pop.min .b2-pill { display: block; }
@media (max-width: 760px) { .b2-pop { top: auto; bottom: 90px; transform: none; } .b2-full { width: 200px; } }

/* 🏷️ raridade bem visível ao abrir caixa (loja e caixas de presente) */
.box-res .rar { font-size: 15px; padding: 4px 16px; border: 2px solid currentColor; background: rgba(0,0,0,.35); }
.box-res .rar.r-supremo { border-color: #ff7ad9; }
.box-res .bcard .rar { font-size: 11.5px; padding: 2px 9px; border-width: 1.5px; max-width: 100%; }
.box-res.many .bcard .rar { font-size: 10px; padding: 1px 6px; }
.gd-card .rar { font-size: 10.5px; padding: 1px 7px; margin-top: 3px; border: 1.5px solid currentColor; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-card:has(.rar) { width: 94px; }

/* 🚀 LANÇAMENTO: contagem na tela de login e a revelação do contrato */
#entry.ln-locked #login, #entry.ln-locked #recover { display: none !important; }
.ln-card { text-align: center; max-width: 520px; margin: 0 auto 14px; padding: 20px 18px; border: 1px solid rgba(160,140,255,.55);
  background: radial-gradient(circle at 50% 0%, rgba(123,92,255,.45), transparent 65%), linear-gradient(170deg, #22134d, #0d0726); box-shadow: 0 0 30px rgba(123,92,255,.35); }
.ln-rk { font-size: 42px; animation: boxFloat 2.4s ease-in-out infinite; }
.ln-t { font-size: 18px; font-weight: 900; margin: 4px 0 12px; }
.ln-cd { display: flex; gap: 10px; justify-content: center; }
.ln-cd div { min-width: 70px; padding: 10px 6px; border-radius: 14px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); }
.ln-cd b { display: block; font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #ffd84a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ln-cd small { font-size: 11px; color: #cfc6ff; text-transform: uppercase; letter-spacing: 1px; }
.ln-soon .ln-cd b { animation: lnPulse .5s ease-in-out infinite alternate; }
@keyframes lnPulse { to { transform: scale(1.12); filter: drop-shadow(0 0 8px #ffd84a); } }
.ln-sub { margin-top: 10px; font-size: 13px; color: #cfc6ff; }
.ln-ca-l { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #7cf3ff; margin-top: 6px; }
.ln-ca { margin: 6px 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.45); border: 1px dashed rgba(255,216,74,.6); font-family: monospace; font-size: 15px; word-break: break-all; color: #ffd84a; user-select: all; -webkit-user-select: all; }
.ln-rev { position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, #1d1050, #05030f 70%); }
.ln-count b { display: block; font-size: 180px; font-weight: 900; color: #fff; text-shadow: 0 0 40px #7b5cff; animation: lnNum .9s ease-out both; }
@keyframes lnNum { from { transform: scale(2.2); opacity: 0; } 30% { opacity: 1; } to { transform: scale(.8); opacity: 0; } }
.ln-rev.go .ln-count { display: none; }
.ln-rocket { position: absolute; left: 50%; bottom: -120px; font-size: 90px; transform: translateX(-50%) rotate(-45deg); opacity: 0; }
.ln-rev.go .ln-rocket { animation: lnFly 1.1s cubic-bezier(.55,0,.8,.5) forwards; }
@keyframes lnFly { 0% { opacity: 1; bottom: -120px; } 100% { opacity: 1; bottom: 55%; } }
.ln-rev.boom .ln-rocket { opacity: 0; animation: none; }
.ln-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ln-rev.boom .ln-flash { animation: lnFlash .7s ease-out; }
@keyframes lnFlash { 10% { opacity: .9; } 100% { opacity: 0; } }
.ln-rays { position: absolute; left: 50%; top: 45%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(rgba(255,216,74,.22) 0deg 6deg, transparent 6deg 20deg); -webkit-mask: radial-gradient(circle, #000 0 15%, transparent 60%); mask: radial-gradient(circle, #000 0 15%, transparent 60%); }
.ln-rev.boom .ln-rays { opacity: 1; animation: raySpin 14s linear infinite; transition: opacity .6s; }
.ln-conf { position: absolute; left: 50%; top: 45%; pointer-events: none; }
.ln-conf i { position: absolute; width: 9px; height: 14px; border-radius: 2px; background: var(--c); opacity: 0; }
.ln-rev.boom .ln-conf i { animation: lnConf 2.2s cubic-bezier(.15,.8,.3,1) var(--dl) forwards; }
@keyframes lnConf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 160px)) rotate(var(--r)); } }
.ln-box { position: relative; width: min(620px, 92vw); padding: 26px 22px 20px; border-radius: 26px; text-align: center; opacity: 0; transform: scale(.6);
  background: radial-gradient(circle at 50% 0%, rgba(255,216,74,.25), transparent 60%), linear-gradient(170deg, #2a1760, #0e0828); border: 2px solid rgba(255,216,74,.6); box-shadow: 0 0 60px rgba(255,216,74,.35); }
.ln-rev.boom .ln-box { animation: lnBox .6s cubic-bezier(.2,1.6,.4,1) .25s forwards; }
@keyframes lnBox { to { opacity: 1; transform: scale(1); } }
.ln-big { font-size: 30px; font-weight: 900; background: linear-gradient(90deg, #ffd84a, #ff7ad9, #7cf3ff, #ffd84a); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lnShine 2.5s linear infinite; }
@keyframes lnShine { to { background-position: 200% 0; } }
.ln-box .ln-ca { font-size: 18px; }
.ln-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; cursor: pointer; }
.ln-rev.out { opacity: 0; transition: opacity .3s; }
@media (max-width: 560px) { .ln-cd div { min-width: 56px; } .ln-cd b { font-size: 26px; } .ln-big { font-size: 22px; } .ln-count b { font-size: 120px; } }
.ln-count { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ln-rev { z-index: 2147483000; }
.ln-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ln-pump { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #062b12; font-weight: 900; background: linear-gradient(135deg, #86efac, #22c55e); box-shadow: 0 4px 18px rgba(34,197,94,.45); }
.ln-pump:hover { filter: brightness(1.08); }
/* no lugar dos raios girando: o Cosmo comemorando acima do contrato */
.ln-cosmo { position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; margin: -330px 0 0 -105px; opacity: 0; transform: scale(.3); pointer-events: none; }
.ln-cosmo::before { content: ''; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,163,.55), rgba(123,92,255,.25) 45%, transparent 70%); }
.ln-cosmo img { position: relative; width: 100%; height: 100%; }
.ln-rev.boom .ln-cosmo { animation: lnCosmoIn .7s cubic-bezier(.2,1.6,.4,1) .1s forwards, lnCosmoJoy 1.6s ease-in-out .8s infinite; }
@keyframes lnCosmoIn { to { opacity: 1; transform: scale(1); } }
@keyframes lnCosmoJoy { 0%, 100% { opacity: 1; transform: translateY(0) rotate(-5deg); } 50% { opacity: 1; transform: translateY(-14px) rotate(5deg); } }
@media (max-width: 560px), (max-height: 640px) { .ln-cosmo { width: 140px; height: 140px; margin: -250px 0 0 -70px; } }
@media (max-height: 760px) { .ln-cosmo { width: 150px; height: 150px; margin: -275px 0 0 -75px; } }

/* 💬 chat da sala durante a corrida: menor e mais transparente (não atrapalha a visão) */
.chat.in-race { width: 260px; background: rgba(14,9,38,.62); backdrop-filter: none; box-shadow: none; }
.chat.in-race:focus-within { background: rgba(14,9,38,.9); }
.chat.in-race .chatMsgs { max-height: 150px; }
.chat.in-race #chatAnnBtn, .chat.in-race #chatLangs, .chat.in-race .chatGrip { display: none; }
.chat.in-race.touch { top: 64px; bottom: auto; width: 220px; }   /* celular: o direcional fica embaixo à esquerda */
/* 🚪 sala aberta: o botão Entrar pisca para chamar atenção (só opacidade de um brilho por cima = leve) */
.join-blink { position: relative; isolation: isolate; }
.join-blink::after { content: ''; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; background: currentColor; opacity: 0; box-shadow: 0 0 14px 4px #ffd84a; animation: joinBlink 1s ease-in-out infinite; pointer-events: none; }
.join-blink { animation: joinPulse 1s ease-in-out infinite; }
@keyframes joinBlink { 50% { opacity: .35; } }
@keyframes joinPulse { 50% { filter: brightness(1.35); } }

/* 🛒 loja em tela cheia (26/10/2026): ocupa a janela inteira; as listas em páginas mostram mais cartões porque medem a altura disponível */
#shop.modal { padding: 0; place-items: stretch; }
#shop .shop-card { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; border: 0; margin: 0; box-sizing: border-box; padding: 18px 24px; }
#shop .shop-top #shop-load { flex: 0 1 380px; max-width: 380px; }   /* sozinho na linha (o Inventário foi para o menu da esquerda) */
/* 🎒 inventário em tela cheia também (26/10/2026) */
#inv.modal { padding: 0; place-items: stretch; }
#inv .inv-card { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; border: 0; margin: 0; box-sizing: border-box; padding: 18px 24px; }

/* 🎒 inventário como aba da loja (26/10/2026) */
.shop-card .inv-tab .sinv-tabs { max-width: 420px; }
.shop-card .sinv-grid { flex: 1; min-height: 0; max-height: none; overflow-y: auto; align-content: start; scrollbar-gutter: stable; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.shop-card .sinv-grid .inv-it { padding: 6px; font-size: 12px; line-height: 1.15; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.shop-card .sinv-grid .inv-it img { width: 86px; height: 86px; }
.shop-card .sinv-grid .rar-chips { grid-column: 1 / -1; }
.shop-card .sinv-tabs button { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; padding: 8px 18px; white-space: nowrap; }

/* 👥 tamanho da sala na criação (5 ou 10 jogadores) */
.sec-title .cap-pick { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; font-size: 13px; vertical-align: middle; }
.cap-pick button { min-width: 38px; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.cap-pick button.on { background: linear-gradient(135deg, #7b5cff, #29e0ff); border-color: transparent; color: #fff; }

/* 🚩 pega-pega da praça: faixa no topo com o estado (esperando / começa em / quem está com a bandeira / resultado) */
.tag-hud { position: fixed; top: 64px; left: 50%; transform: translateX(-50%); z-index: 30; min-width: 280px; max-width: min(560px, calc(100vw - 32px)); padding: 10px 18px; border-radius: 14px;
  background: rgba(40, 8, 20, 0.88); border: 2px solid #ff4f5e; box-shadow: 0 0 24px rgba(255, 79, 94, 0.35); color: #fff; text-align: center; font-weight: 700; font-size: 16px; pointer-events: none; }
.tag-hud .th-h { font-size: 13px; letter-spacing: 1.5px; color: #ff8a95; text-transform: uppercase; }
.tag-hud .th-big { font-size: 22px; font-weight: 900; margin: 2px 0; }
.tag-hud .th-sub { font-size: 13px; color: #ffd6da; font-weight: 600; }
.tag-hud.me { border-color: #ffd84a; box-shadow: 0 0 30px rgba(255, 216, 74, 0.55); }
.tag-hud .th-res { display: grid; gap: 2px; margin-top: 6px; font-size: 14px; }
.tag-hud .th-res div { display: flex; justify-content: space-between; gap: 16px; } .tag-hud .th-res .me { color: #ffd84a; }

/* 🦘 volta na praça: contador de pula-pulas diferentes (X/49) */
.loop-hud { position: fixed; top: 64px; right: 16px; z-index: 30; padding: 8px 14px; border-radius: 12px; background: rgba(8, 30, 16, 0.88); border: 2px solid #7cff6b; color: #fff; font-weight: 700; font-size: 16px; pointer-events: none; box-shadow: 0 0 18px rgba(124, 255, 107, 0.35); }
.loop-hud b { color: #7cff6b; font-size: 20px; margin-left: 4px; }

/* 🔊 janela de volume da 1ª entrada */
.vf { display: grid; gap: 12px; margin-top: 10px; text-align: left; }
.vf-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 46px; align-items: center; gap: 10px; font-weight: 700; }
.vf-row input[type=range] { width: 100%; accent-color: var(--cyan, #33d6ff); }
.vf-row b { text-align: right; color: var(--gold, #ffc83a); }
@media (max-width: 480px) { .vf-row { grid-template-columns: 1fr 44px; } .vf-row span { grid-column: 1 / -1; } }

/* 🔧 manutenção do coletador (aba Expedição → Coletador) */
.col-maint { display: grid; gap: 2px; margin: 8px 0; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); }
.col-maint span { font-size: 22px; font-weight: 900; font-family: monospace; }
.col-maint small { color: var(--mut); }
.col-maint.ok span { color: #7cff6b; } .col-maint.warn span { color: #ffc83a; } .col-maint.off { border-color: #ff4f5e; } .col-maint.off span { color: #ff4f5e; font-size: 16px; }

/* ⚡ buff da estátua: barra de carga / tempo (praça) e linha na aba Expedição */
.buff-hud { position: fixed; top: 112px; right: 16px; z-index: 30; min-width: 220px; padding: 8px 14px; border-radius: 12px; background: rgba(6, 20, 40, 0.88); border: 2px solid #33d6ff; color: #fff; font-weight: 700; font-size: 15px; pointer-events: none; box-shadow: 0 0 18px rgba(51, 214, 255, 0.35); }
.buff-hud b { color: #ffd84a; } .buff-hud small { display: block; font-size: 12px; color: #bfe6ff; font-weight: 600; }
.buff-hud .bh-bar { height: 8px; margin: 5px 0 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.15); overflow: hidden; } .buff-hud .bh-bar i { display: block; height: 100%; background: linear-gradient(90deg, #33d6ff, #ffd84a); }
.exp-buff { margin: 0 0 8px; padding: 6px 12px; border-radius: 10px; font-size: 13px; color: #bfe6ff; background: rgba(51, 214, 255, 0.08); border: 1px solid rgba(51, 214, 255, 0.25); }
.exp-buff.on { color: #fff; background: rgba(51, 214, 255, 0.18); border-color: #33d6ff; } .exp-buff b { color: #ffd84a; }

/* 📦 caixa a cada 10 planetas (aba Planetas) */
.pl-bar { position: relative; }
.pl-bar s { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.35); text-decoration: none; }
.pl-bar s.got { background: #ffd84a; }
.pl-boxes { display: grid; gap: 6px; }
.pl-box-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.pl-box-row span { display: grid; place-items: center; padding: 4px 0; border-radius: 8px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line); font-size: 16px; opacity: 0.55; }
.pl-box-row span.got { opacity: 1; border-color: #ffd84a; background: rgba(255, 216, 74, 0.12); }
.pl-box-row small { font-size: 10px; color: var(--mut); }

.pl-big { border: 1px solid rgba(255, 200, 58, 0.45); border-radius: 12px; padding: 10px; background: rgba(255, 200, 58, 0.07); }
.pl-big.got { border-color: #7cff6b; background: rgba(124, 255, 107, 0.08); }
.col-maint-info { margin: 8px 0; padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.4; border: 1px solid rgba(255, 154, 46, 0.45); background: rgba(255, 154, 46, 0.08); }

/* 🔄 aviso de atualização do jogo (topo, pequeno) */
#upd-bar { position: fixed; top: 8px; left: 50%; transform: translateX(-50%); z-index: 99999; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 24px);
  padding: 6px 8px 6px 12px; border-radius: 999px; background: rgba(20, 12, 48, 0.94); border: 1px solid #ffc83a; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45); }
#upd-bar kbd { padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.15); font-size: 11px; }
#upd-bar .ub-go { padding: 3px 10px; border-radius: 999px; border: 0; background: #ffc83a; color: #241600; font: inherit; font-size: 12px; cursor: pointer; }
#upd-bar .ub-x { border: 0; background: none; color: #bbb; font-size: 14px; cursor: pointer; padding: 0 4px; }

/* 🔘 BOTÕES DE ESCOLHA (fusão, coleção, raridades, abas da expedição, Market...) com cara de botão: borda, relevo e brilho ao passar o mouse (28/10/2026) */
.seg { gap: 6px; padding: 5px; background: rgba(0,0,0,0.35); box-shadow: inset 0 1px 3px rgba(0,0,0,0.5); }
.seg button {
  color: #d9dcff; background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(160,140,255,0.38); box-shadow: 0 3px 0 rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.10);
  transition: transform .12s, box-shadow .12s, border-color .12s, background .12s, color .12s;
}
.seg button:hover { color: #fff; border-color: var(--cyan); background: linear-gradient(180deg, rgba(51,214,255,0.20), rgba(123,92,255,0.10)); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0,0,0,0.45), 0 0 12px rgba(51,214,255,0.25); }
.seg button:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.45); }
.seg button.on { color: #fff; border-color: rgba(255,255,255,0.55); background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 3px 0 rgba(0,0,0,0.45), 0 0 14px rgba(51,214,255,0.35); }
.seg button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.rar-chips.seg { background: none; box-shadow: none; padding: 0; }
.rar-chips .rc-raro { border-color: rgba(51,214,255,0.6); } .rar-chips .rc-epico { border-color: rgba(180,92,255,0.65); } .rar-chips .rc-lendario { border-color: rgba(255,200,58,0.65); } .rar-chips .rc-supremo { border-color: rgba(255,122,217,0.7); }
.rar-chips .rc-raro.on { box-shadow: 0 3px 0 rgba(0,0,0,0.45), inset 0 0 0 2px var(--r-raro, #33d6ff); } .rar-chips .rc-epico.on { box-shadow: 0 3px 0 rgba(0,0,0,0.45), inset 0 0 0 2px var(--r-epico, #b45cff); }
.rar-chips .rc-lendario.on { box-shadow: 0 3px 0 rgba(0,0,0,0.45), inset 0 0 0 2px var(--r-lendario, #ffc83a); } .rar-chips .rc-supremo.on { box-shadow: 0 3px 0 rgba(0,0,0,0.45), inset 0 0 0 2px #ff7ad9; }
/* menu da esquerda da loja (Caixas, Fusão, Expedição, Market, Coleção...): também com cara de botão */
.shop-nav button { border: 1px solid rgba(160,140,255,0.38); background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)); box-shadow: 0 3px 0 rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08); cursor: pointer; transition: transform .12s, box-shadow .12s, border-color .12s, background .12s; }
.shop-nav button:hover { border-color: var(--cyan); background: linear-gradient(180deg, rgba(51,214,255,0.18), rgba(123,92,255,0.10)); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(0,0,0,0.45), 0 0 12px rgba(51,214,255,0.22); }
.shop-nav button:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.45); }
/* expedição: abas Farm · Planetas · Câmaras · Coletador em cima do aviso do buff e maiores */
.shop-card .exp-subs, .exp-subs { gap: 6px; margin-bottom: 8px; }
.shop-card .exp-subs button, .exp-subs button { font-size: 14px; font-weight: 800; padding: 11px 6px; }
.ch-supply { margin: 6px 0; font-size: 13px; color: #cfd3ff; } .ch-supply b { color: var(--gold); } .ch-supply.out b { color: #ff8a98; }
/* 💬 salas valendo token: número e nome menores + descrição curta embaixo do nome */
#menu .room.clean.dia .rc { font-size: 13px; letter-spacing: 1px; opacity: .85; }
#menu .room.clean.dia .rn { font-size: 14px; display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
#menu .room.clean .rdesc { font-size: 11px; font-weight: 600; color: #cfc6ff; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic; }
.desc-in { display: flex; align-items: center; gap: 6px; font-size: 13px; } .desc-in input { flex: 1; min-width: 0; font-size: 13px; padding: 6px 8px; }
/* criar sala valendo token: entrada e descrição saem do menu (aparecem na janela ao clicar em Criar) */
.create-bar .entry-in, .create-bar .desc-in { display: none !important; }
.cd-form { display: flex; flex-direction: column; gap: 10px; text-align: left; margin-top: 4px; }
.cd-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; } .cd-row.cd-col { flex-direction: column; align-items: stretch; }
.cd-in { display: flex; align-items: center; gap: 6px; } .cd-in input { width: 140px; font-size: 16px; padding: 7px 9px; } .cd-col input { font-size: 14px; padding: 8px 10px; }
.cd-usd { text-align: right; font-size: 12px; opacity: .8; margin-top: -6px; }
.cd-cap { display: flex; gap: 6px; } .cd-cap button { padding: 6px 14px; border-radius: 10px; border: 1px solid rgba(160,140,255,0.4); background: rgba(255,255,255,0.06); color: #fff; font: inherit; font-weight: 800; cursor: pointer; } .cd-cap button.on { background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.ch-use { margin: 8px 0; display: flex; flex-direction: column; gap: 4px; } .ch-use small { opacity: .75; font-size: 11.5px; } .ch-use.on { color: #7cff6b; font-weight: 800; }
/* 🌑 coleção: boneco ainda não pego fica apagado (aparece normal quando o jogador pega) */
.shop-item.missing img { filter: brightness(0) drop-shadow(0 0 1px rgba(160,140,255,0.55)); opacity: 1; }   /* tudo preto: só o formato */
.shop-item.missing .nm { opacity: 0.55; }
.shop-item.missing { cursor: default; }
.exp-top { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.shop-card .exp-tab .exp-top .exp-subs, .exp-top .exp-subs { flex: none; max-width: none; width: 100%; margin-bottom: 0; }
.exp-top .exp-buff { margin: 0; }
.shop-card .exp-tab .pg-bar:has(.exp-top) { flex-wrap: wrap; }
/* 🎯 META BATIDA: o selo fica DENTRO do quadro do fee (em cima do nome do token) — sem meta o quadro fica pequeno, com meta ele cresce sozinho */
.tk-bar.hot::before { position: static !important; transform: none !important; display: block; grid-column: 1 / -1; justify-self: center; max-width: 100%; box-sizing: border-box; margin: 0 0 4px; white-space: normal !important; text-align: center; line-height: 1.25; animation: goaltag2 1.1s ease-in-out infinite; }
@keyframes goaltag2 { 50% { transform: scale(1.06); filter: brightness(1.2); } }
/* barra do topo (Cosmos Active, PT/EN e redes): no canto esquerdo e um pouco menor */
@media (min-width: 761px) {
  .lang-row { left: 14px; top: 12px; gap: 6px; }
  .lang-row .cpoint { padding: 3px 11px 3px 8px; gap: 6px; border-radius: 13px; }
  .lang-row .cpoint .cp-ic { font-size: 17px; }
  .lang-row .cpoint small { font-size: 8.5px; }
  .lang-row .cpoint b { font-size: 15px; }
  .lang-row .lang-btn { padding: 6px 12px; font-size: 14px; border-radius: 13px; }
  .lang-row .socials { gap: 6px; }
  .lang-row .soc { width: 36px; height: 36px; border-radius: 11px; }
  .lang-row .soc svg { width: 17px; height: 17px; }
}
.mkt-pick .pk > .ser-n { left: auto; right: 3px; top: 3px; font-size: 9.5px; padding: 0 5px; }   /* 🔢 Market vender: número pequeno no canto */
.rk-ic { height: 1.5em; width: auto; vertical-align: middle; margin: -0.2em 1px; }   /* 🏅 emblema da patente do nível */
.rk-ic.big { height: 2.4em; }
.room-lv .rk-ic { height: 1.35em; }
.rk-lv { position: relative; display: inline-block; vertical-align: middle; line-height: 1; }   /* 🏅 nível exigido: emblema + número no canto */
.rk-lv .rk-ic { height: 1.7em; margin: 0; }
.rk-lv b { position: absolute; right: -3px; bottom: -3px; font-size: 9.5px; font-weight: 900; color: #fff; background: rgba(10,8,30,.85); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 0 3px; line-height: 1.35; }
.help-tbl .rk-lv .rk-ic { height: 2em; }
/* 🌐 canais PT-BR / EN: embaixo do chat, pequenos, lado a lado */
.chatLangs.bottom { display: flex; gap: 4px; margin: 0; padding: 0 6px 6px; }
.chatLangs.bottom.hidden { display: none; }
.chatLangs.bottom button { flex: 1; padding: 1px 4px; font-size: 9.5px; line-height: 1.5; border-radius: 6px; }
.chat.annTab .chatLangs.bottom { display: none; }
/* ✦ COSMOS ACTIVE: estrela e número em verde */
.cpoint .cp-ic { color: #3dff8a; text-shadow: 0 0 10px rgba(61,255,138,0.8); }
.cpoint b { color: #3dff8a; }
/* 🏁 lobby da sala mais compacto (29/10/2026): menos altura nos jogadores, nos mapas e nos botões */
#lobby .lobby-card { width: min(640px, 100%); gap: 6px; padding: 12px 16px; }
#lobby .code { font-size: 32px; letter-spacing: 6px; }
#lobby .lbl { font-size: 11px; margin: 2px 0 0; }
#lobby .players { gap: 5px; }
#lobby .pl { min-height: 62px; padding: 5px 4px; font-size: 12px; border-radius: 10px; gap: 1px; }
#lobby .pl .pl-thumb { width: 36px; height: 36px; }
#lobby .pl .host, #lobby .pl .paid, #lobby .pl .unpaid, #lobby .pl .shiny { font-size: 10px; }
#lobby .seg button { padding: 5px 8px; font-size: 12px; }
#lobby .map-cards { gap: 5px; margin-top: 5px; }
#lobby .mapc { min-height: 54px; padding: 5px 7px; border-radius: 10px; border-width: 1.5px; }
#lobby .mapc b { font-size: 11.5px; line-height: 1.15; }
#lobby .mapc small { font-size: 9px; line-height: 1.2; }
#lobby .btn.big { padding: 8px 12px; font-size: 15px; }
#lobby .status { font-size: 12px; margin: 2px 0; }

/* ===== 🌌 UNIVERSO DAS CAIXAS (boxverse.js) ===== */
.bxv { position: fixed; inset: 0; z-index: 7500; background: #05031a; overflow: hidden; color: #fff; }
.bxv.hidden { display: none; }
.bxv-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bxv-flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 45%, #fff, rgba(255,255,255,.6) 40%, transparent 75%); opacity: 0; }
.bxv-flash.on { animation: bxvFlash .9s ease-out; }
@keyframes bxvFlash { 0% { opacity: var(--a, 1); } 100% { opacity: 0; } }
.bxv-top { position: absolute; top: 14px; left: 16px; right: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; pointer-events: none; }
.bxv-top > * { pointer-events: auto; }
.bxv-back { justify-self: start; font-weight: 800; font-size: 14px; font-family: inherit; color: #fff; background: rgba(20,12,52,.7); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 9px 16px; cursor: pointer; backdrop-filter: blur(6px); }
.bxv-back:hover { border-color: #29e0ff; }
.bxv-head { text-align: center; line-height: 1.1; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.bxv-head small { display: block; font-size: 11px; letter-spacing: .32em; color: #9fe9ff; font-weight: 800; }
.bxv-head b { font-size: clamp(20px, 3vw, 30px); font-weight: 900; background: linear-gradient(90deg, #9ff3ff, #fff, #c9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bxv.gal .bxv-head b { background-image: linear-gradient(90deg, #ffc83a, #fff, #ff7ad9); }
.bxv-bal { justify-self: end; font-weight: 800; background: rgba(20,12,52,.7); border: 1px solid rgba(255,200,58,.4); border-radius: 999px; padding: 8px 14px; backdrop-filter: blur(6px); }
.bxv-bal:empty { display: none; }
.bxv-kinds { position: absolute; top: 74px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.bxv-kinds button { font-weight: 800; font-size: 13px; font-family: inherit; color: #cfd6ff; background: rgba(20,12,52,.65); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.bxv-kinds button.on { color: #05031a; background: #29e0ff; border-color: #29e0ff; }
.bxv-kinds button.gal.on { background: linear-gradient(90deg, #ffc83a, #ff7ad9); border-color: #ff7ad9; }
.bxv-opts { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 14px; width: calc(100vw - 32px); max-width: 790px; justify-content: center; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.bxv-opt { --c: #29e0ff; position: relative; display: grid; gap: 4px; text-align: left; padding: 14px 16px 12px; color: #fff; cursor: pointer; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, rgba(16,10,44,.88)), rgba(10,6,30,.9) 70%); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(8px); transition: transform .18s, box-shadow .18s; font: inherit; }
.bxv-opt.n5 { --c: #b45cff; } .bxv-opt.n15 { --c: #ff9a3c; }
.bxv-opt:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 26px color-mix(in srgb, var(--c) 45%, transparent); }
.bxv-opt:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.bxv-opt.locked { filter: saturate(.4); opacity: .8; }
.bxv-ic { position: absolute; right: 12px; top: 6px; font-size: 40px; color: var(--c); opacity: .5; text-shadow: 0 0 18px var(--c); }
.bxv-q { font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.bxv-an { font-size: 19px; font-weight: 900; }
.bxv-opt small { font-size: 12px; line-height: 1.35; color: #c4c9e8; min-height: 32px; }
.bxv-price { margin-top: 6px; font-weight: 900; font-size: 15px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.bxv-price em { font-style: normal; font-size: 11.5px; color: #9aa3c9; font-weight: 700; }
.bxv.busy .bxv-opts, .bxv.reveal .bxv-opts { transform: translate(-50%, 130%); opacity: 0; pointer-events: none; }
.bxv.busy .bxv-kinds, .bxv.busy .bxv-back, .bxv.reveal .bxv-kinds { opacity: 0; pointer-events: none; }
.bxv-kinds, .bxv-back { transition: opacity .3s; }
.bxv-msg { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); font-weight: 900; font-size: 18px; letter-spacing: .04em; text-shadow: 0 2px 12px #000; animation: bxvPulse 1.2s ease-in-out infinite; white-space: nowrap; }
.bxv-msg.hidden, .bxv-skip.hidden, .bxv-tip.hidden { display: none; }
@keyframes bxvPulse { 50% { opacity: .55; } }
.bxv-skip { position: absolute; right: 16px; bottom: 18px; font-weight: 800; font-size: 13px; font-family: inherit; color: #fff; background: rgba(20,12,52,.7); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.bxv-tip { position: fixed; z-index: 7600; pointer-events: none; padding: 7px 10px; border-radius: 10px; background: rgba(16,10,44,.92); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 700; display: grid; }
.bxv-tip b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.box-open-row .bxv-go { flex: 1; font-size: 17px; }
@media (max-width: 760px) {
  .bxv-opts { grid-template-columns: 1fr; gap: 8px; bottom: 12px; }
  .bxv-opt { padding: 10px 14px; grid-template-columns: 1fr auto; }
  .bxv-opt small { display: none; }
  .bxv-ic { display: none; }
  .bxv-price { margin-top: 0; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .bxv-head small { letter-spacing: .18em; }
  .bxv-bal { white-space: nowrap; font-size: 12px; padding: 7px 10px; }
  .bxv-back { padding: 8px 12px; }
  .bxv-top { grid-template-columns: auto 1fr auto; }
}
@media (prefers-reduced-motion: reduce) { .bxv-flash.on { animation-duration: .3s; } .bxv-msg { animation: none; } }

.bxv-confirm { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(4,2,16,.55); backdrop-filter: blur(3px); padding: 16px; }
.bxv-confirm.hidden { display: none; }
.bxv-cf-box { width: min(360px, 100%); text-align: center; padding: 22px 22px 18px; border-radius: 20px; background: linear-gradient(170deg, #241650, #120a33); border: 1px solid rgba(41,224,255,.5); box-shadow: 0 20px 60px rgba(0,0,0,.6); display: grid; gap: 8px; animation: bxvPop .18s ease-out; }
.bxv.gal .bxv-cf-box { border-color: rgba(255,122,217,.6); }
@keyframes bxvPop { from { transform: scale(.92); opacity: 0; } }
.bxv-cf-ic { font-size: 40px; line-height: 1; color: #29e0ff; text-shadow: 0 0 18px #29e0ff; }
.bxv-cf-t { font-size: 20px; font-weight: 900; }
.bxv-cf-b { color: #c4c9e8; font-size: 14px; line-height: 1.5; }
.bxv-cf-b em { font-style: normal; color: #9aa3c9; font-size: 12px; }
.bxv-cf-no { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #c4c9e8; cursor: pointer; margin-top: 2px; }
.bxv-cf-btns { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.bxv-cf-btns button { font-weight: 900; font-size: 15px; font-family: inherit; border-radius: 12px; padding: 10px 18px; cursor: pointer; border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.06); }
.bxv-cf-btns .bxv-cf-ok { background: linear-gradient(180deg, #6cecff, #1fb8e0); color: #05031a; border-color: #29e0ff; }
.bxv.gal .bxv-cf-btns .bxv-cf-ok { background: linear-gradient(90deg, #ffc83a, #ff7ad9); border-color: #ff7ad9; }
.bxv-cf-btns button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bxv.pv .bxv-head { opacity: .9; }
.bxv-cf-box label.bxv-cf-no { display: flex; flex-direction: row; width: auto; margin: 2px auto 0; white-space: nowrap; }
.bxv-cf-no input[type=checkbox] { width: 16px; height: 16px; margin: 0; flex: none; accent-color: #29e0ff; }

.bxv-odds { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; gap: 4px; padding: 10px 12px; min-width: 150px; border-radius: 14px; background: rgba(12,8,36,.62); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); font-size: 12.5px; transition: opacity .3s; }
.bxv-odds small { font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: #9fe9ff; margin-bottom: 2px; }
.bxv-odds div { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 8px; }
.bxv-odds i { width: 8px; height: 8px; background: var(--c); transform: rotate(45deg); box-shadow: 0 0 8px var(--c); }
.bxv-odds span { color: #cfd6ff; font-weight: 700; }
.bxv-odds b { color: var(--c); font-weight: 900; font-variant-numeric: tabular-nums; }
.bxv.busy .bxv-odds, .bxv.reveal .bxv-odds { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .bxv-odds { top: 84px; transform: none; right: 12px; min-width: 0; padding: 7px 9px; font-size: 11px; } }

.bxv-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bxv-lb { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 1px; padding: 6px 10px 7px; border-radius: 12px; background: rgba(12,8,36,.84); border: 1px solid var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 35%, transparent); text-align: center; white-space: nowrap; animation: bxvLb .4s var(--d) both cubic-bezier(.2,1.4,.4,1); will-change: transform; }
@keyframes bxvLb { from { opacity: 0; scale: .6; } }
.bxv-lb em { font-style: normal; font-size: 10px; font-weight: 800; color: #9aa3c9; }
.bxv-lb b { font-size: 14px; font-weight: 900; color: var(--c); }
.bxv-lb .rr { font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.bxv-lb .nw { font-size: 11px; font-weight: 900; color: #7cff6b; }
.bxv-lb .dp { font-size: 11px; font-weight: 800; color: #ffd27a; }
.bxv-labels.one .bxv-lb { padding: 9px 16px 10px; } .bxv-labels.one .bxv-lb b { font-size: 19px; } .bxv-labels.one .bxv-lb .nw, .bxv-labels.one .bxv-lb .dp { font-size: 13px; }
.bxv-labels.many .bxv-lb { padding: 3px 7px 4px; border-radius: 9px; } .bxv-labels.many .bxv-lb b { font-size: 11.5px; } .bxv-labels.many .bxv-lb .rr { font-size: 8.5px; letter-spacing: .1em; } .bxv-labels.many .bxv-lb .nw, .bxv-labels.many .bxv-lb .dp { font-size: 10px; } .bxv-labels.many .bxv-lb em { font-size: 9px; }
.bxv-done { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; width: calc(100vw - 32px); max-width: 640px; animation: bxvFade .3s ease-out; }
@keyframes bxvFade { from { opacity: 0; } }
.bxv-done.hidden { display: none; }
.bxv-sum { font-size: 13px; font-weight: 700; color: #cfd6ff; text-shadow: 0 1px 6px #000; text-align: center; }
.bxv-sum:empty { display: none; }
.bxv-done-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bxv-done-btns button { font-weight: 900; font-size: 15px; font-family: inherit; border-radius: 14px; padding: 11px 20px; cursor: pointer; border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(20,12,52,.8); backdrop-filter: blur(6px); }
.bxv-done-btns .bxv-again { background: linear-gradient(180deg, #ffd96a, #ffb400); color: #2a1600; border-color: #ffc83a; }
.bxv-done-btns .bxv-again.locked { filter: saturate(.3); opacity: .75; }
.bxv-done-btns .bxv-wear { background: linear-gradient(180deg, #6cecff, #1fb8e0); color: #05031a; border-color: #29e0ff; }
.bxv-done-btns button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bxv-done-btns .hidden { display: none; }

/* 🚀 expedição: as 15 vagas cabem juntas (5 × 3), compactas */
.shop-card .exp-slots.all15 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.shop-card .exp-slots.all15 .exp-slot { min-height: 0; padding: 6px 5px 6px; gap: 2px; border-radius: 11px; }
.shop-card .exp-slots.all15 .exp-slot img { width: 40px; height: 40px; }
.shop-card .exp-slots.all15 .exp-slot .nm { font-size: 10.5px; line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card .exp-slots.all15 .exp-slot .rar { font-size: 8.5px; padding: 0 4px; }
.shop-card .exp-slots.all15 .exp-slot > span { font-size: 18px; margin-top: 2px; }
.shop-card .exp-slots.all15 .exp-slot small { font-size: 9.5px; line-height: 1.1; }
.shop-card .exp-slots.all15 .exp-slot .btn { padding: 3px 6px; font-size: 10.5px; border-radius: 8px; }
.shop-card .exp-slots.all15 .exp-slot .exp-tok { font-size: 11px; font-weight: 900; }
.shop-card .exp-slots.all15 .exp-slot.going [data-expst] { display: none; }
.shop-card .exp-slots.all15 .exp-slot.locked { opacity: .5; justify-content: center; }
.shop-card .exp-slots.all15 .exp-slot.locked.next { opacity: .85; border-style: dashed; border-color: #ffd84a; }
.shop-card .exp-slots.all15 .exp-slot.locked .rk-ic { width: auto; height: 22px; }
.exp-slot .sn { position: absolute; top: 3px; left: 6px; font-size: 9.5px; font-weight: 900; color: var(--mut); opacity: .8; }
.exp-sum { display: inline-flex; flex-wrap: wrap; gap: 6px; font-size: 11.5px; }
.exp-sum i { font-style: normal; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.exp-sum .g { color: #7cff6b; } .exp-sum .f { color: #33d6ff; } .exp-sum .l { color: var(--mut); }
@media (max-width: 760px) { .shop-card .exp-slots.all15 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* vagas ainda mais baixas: herói à esquerda e infos à direita; bloqueada/livre numa linha */
.shop-card .exp-slots.all15 .exp-slot { padding: 5px 6px; }
.shop-card .exp-slots.all15 .exp-slot.going, .shop-card .exp-slots.all15 .exp-slot.done { grid-template-columns: 36px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; column-gap: 6px; row-gap: 1px; }
.shop-card .exp-slots.all15 .exp-slot.going img, .shop-card .exp-slots.all15 .exp-slot.done img { grid-row: 1 / span 3; width: 36px; height: 36px; }
.shop-card .exp-slots.all15 .exp-slot.going > :not(img):not(.sn), .shop-card .exp-slots.all15 .exp-slot.done > :not(img):not(.sn) { grid-column: 2; }
.shop-card .exp-slots.all15 .exp-slot.going .btn, .shop-card .exp-slots.all15 .exp-slot.done .btn { grid-column: 1 / -1; justify-self: stretch; }
.shop-card .exp-slots.all15 .exp-slot.going [data-expen], .shop-card .exp-slots.all15 .exp-slot.done [data-expen] { padding: 0; }
.shop-card .exp-slots.all15 .exp-slot.going .rar, .shop-card .exp-slots.all15 .exp-slot.done .rar { display: none; }
.shop-card .exp-slots.all15 .exp-slot.done [data-expst] { grid-column: 1 / -1; }
.shop-card .exp-slots.all15 .exp-slot.locked { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; min-height: 36px; }
.shop-card .exp-slots.all15 .exp-slot.locked > span { font-size: 14px; margin: 0; }
.shop-card .exp-slots.all15 .exp-slot.locked small { display: none; }
.shop-card .exp-slots.all15 .exp-slot.free { grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 4px; min-height: 36px; }
.shop-card .exp-slots.all15 .exp-slot.free > span { font-size: 14px; margin: 0; }
.shop-card .exp-slots.all15 .exp-slot.free .btn { grid-column: 1 / -1; }
.shop-card .exp-slots.all15 .exp-slot .sn { top: 2px; left: 5px; font-size: 9px; }

.exp-allbtns { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 4px; }
.exp-allbtns .btn { padding: 5px 10px; font-size: 12px; }

/* 📖 descrições da expedição minimizadas */
.exp-desc { margin-top: 4px; }
.exp-desc > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: var(--mut); padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); user-select: none; }
.exp-desc > summary::-webkit-details-marker { display: none; }
.exp-desc > summary::after { content: '▾'; font-size: 10px; }
.exp-desc[open] > summary::after { content: '▴'; }
.exp-desc > summary:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.exp-desc > small { display: block; margin-top: 6px; }

/* 🛡️ escudo da Estação Cosmo (expedição) */
.exp-shield h4 { display: flex; align-items: center; gap: 8px; } .exp-shield h4 b { color: #7cf3ff; } .exp-shield h4 small { margin-left: auto; color: var(--muted, #a39cc9); font-weight: 600; }
.exp-shield.mid h4 b { color: #ffd84a; } .exp-shield.lo h4 b { color: #ff5a6e; }
.exp-shield { display: grid; gap: 6px; border: 1px solid rgba(51,214,255,.3); }
.exp-shield.mid { border-color: rgba(255,216,74,.45); } .exp-shield.lo { border-color: rgba(255,90,110,.6); box-shadow: 0 0 14px rgba(255,90,110,.25); }
.sh-bar { position: relative; height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.sh-bar i { display: block; height: 100%; background: linear-gradient(90deg, #33d6ff, #9ef0ff); border-radius: 6px; transition: width .4s; }
.exp-shield.mid .sh-bar i { background: linear-gradient(90deg, #ffb13a, #ffd84a); } .exp-shield.lo .sh-bar i { background: #ff5a6e; }
.sh-bar u { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; opacity: .6; }
.sh-storm { color: #ffb05a; font-weight: 700; } .sh-farm { font-weight: 700; }
.sh-btns { display: flex; flex-wrap: wrap; gap: 6px; } .sh-btns .btn { padding: 6px 10px; font-size: 12.5px; } .sh-full { color: #7cff6b; font-weight: 700; font-size: 13px; }
.sh-auto { display: flex; align-items: center; gap: 6px; font-size: 12.5px; cursor: pointer; }

/* 🛰️ UNIVERSO DA EXPEDIÇÃO (3D) */
.exp-gal { position: relative; }
.exp-gal-3d { position: absolute; right: 10px; top: 10px; font: 800 12.5px/1 inherit; font-family: inherit; color: #fff; background: linear-gradient(135deg, #7b5cff, #29e0ff); border: 0; border-radius: 999px; padding: 8px 13px; cursor: pointer; box-shadow: 0 4px 16px rgba(41,224,255,.35); animation: b2Glow 2s ease-in-out infinite; }
.exp-gal-3d small { font-size: 10px; opacity: .85; margin-left: 2px; }
.exp-gal canvas { cursor: zoom-in; }
.xpv { position: fixed; inset: 0; z-index: 7500; background: #05031a; overflow: hidden; color: #fff; user-select: none; }
.xpv.hidden { display: none; }
body.xpv-on #notif { z-index: 7600; top: 66px; bottom: auto !important; }
.xpv-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.xpv-red { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 160px rgba(255,60,60,.0); }
.xpv-red.on { animation: xpvRed .7s ease-out; } @keyframes xpvRed { 0% { box-shadow: inset 0 0 180px rgba(255,60,60,.75); } 100% { box-shadow: inset 0 0 180px rgba(255,60,60,0); } }
.xpv-top { position: absolute; top: 14px; left: 16px; right: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; pointer-events: none; }
.xpv-top > * { pointer-events: auto; }
.xpv-back { justify-self: start; font: 800 14px inherit; font-family: inherit; color: #fff; background: rgba(20,12,52,.7); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 9px 16px; cursor: pointer; backdrop-filter: blur(6px); }
.xpv-back:hover { border-color: #29e0ff; }
.xpv-head { text-align: center; line-height: 1.1; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.xpv-head small { display: block; font-size: 11px; letter-spacing: .32em; color: #9fe9ff; font-weight: 800; }
.xpv-head b { font-size: clamp(20px, 3vw, 30px); font-weight: 900; background: linear-gradient(90deg, #9ff3ff, #fff, #c9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xpv-coin { justify-self: end; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; background: rgba(20,12,52,.7); border: 1px solid rgba(255,216,74,.35); border-radius: 14px; padding: 8px 14px; backdrop-filter: blur(6px); }
.xpv-coin i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3a8, #ffd84a 45%, #a8741a); box-shadow: 0 0 calc(8px + var(--b, 0) * 16px) #ffd84a; transform: scale(calc(1 + var(--b, 0) * .25)); }
.xpv-sum { font-size: 18px; font-weight: 900; color: #ffd84a; } .xpv-sub { font-size: 11px; color: #cfc6ff; font-weight: 700; }
.xpv-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.xpv-labels > div { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; }
.xpv-pl { font-size: 11px; font-weight: 700; color: #cfc6ff; opacity: .7; text-shadow: 0 1px 6px #000; }
.xpv-st { font-size: 13px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: rgba(20,12,52,.72); border: 1px solid rgba(51,214,255,.35); }
.xpv-st span.hi { color: #7cf3ff; } .xpv-st span.mid { color: #ffd84a; } .xpv-st span.lo { color: #ff5a6e; }
.xpv-pop { font-weight: 900; font-size: 12.5px; color: #ffd84a; text-shadow: 0 1px 5px #000, 0 0 8px rgba(255,216,74,.45); background: none; border: 0; padding: 0; }
.xpv-pop.xp-n { font-size: 10px; color: #cfc6ff; font-weight: 700; }
.xpv-shield { position: absolute; right: 16px; top: 82px; width: min(250px, calc(100vw - 32px)); display: grid; gap: 5px; padding: 11px 13px; border-radius: 14px; background: rgba(20,12,52,.75); border: 1px solid rgba(51,214,255,.35); backdrop-filter: blur(6px); font-size: 12px; }
.xpv-shield.mid { border-color: rgba(255,216,74,.5); } .xpv-shield.lo { border-color: rgba(255,90,110,.7); box-shadow: 0 0 18px rgba(255,90,110,.35); }
.xs-h { font-weight: 800; font-size: 14px; } .xs-h b { font-size: 20px; color: #7cf3ff; margin-left: 4px; }
.xpv-shield.mid .xs-h b { color: #ffd84a; } .xpv-shield.lo .xs-h b { color: #ff5a6e; }
.xs-bar { position: relative; height: 8px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.xs-bar i { display: block; height: 100%; background: linear-gradient(90deg, #33d6ff, #9ef0ff); transition: width .4s; }
.xpv-shield.mid .xs-bar i { background: linear-gradient(90deg, #ffb13a, #ffd84a); } .xpv-shield.lo .xs-bar i { background: #ff5a6e; }
.xs-bar u { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; opacity: .6; }
.xs-f { font-weight: 700; } .xs-storm { color: #ffb05a; font-weight: 800; }
.xpv-list { position: absolute; right: 16px; bottom: 76px; width: min(250px, calc(100vw - 32px)); max-height: calc(100vh - 360px); overflow: auto; display: grid; gap: 4px; padding: 6px; border-radius: 14px; background: rgba(20,12,52,.6); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.xl-r { display: grid; grid-template-columns: 30px 1fr auto; gap: 7px; align-items: center; padding: 4px 6px; border-radius: 10px; cursor: pointer; border-left: 3px solid var(--c); background: rgba(255,255,255,.03); }
.xl-r:hover { background: rgba(255,255,255,.09); }
.xl-r img { width: 30px; height: 30px; object-fit: contain; } .xl-r b { font-size: 11.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.xl-en { height: 4px; border-radius: 3px; background: rgba(255,255,255,.1); margin-top: 3px; overflow: hidden; } .xl-en i { display: block; height: 100%; transition: width .5s; }
.xl-tk { font-size: 11px; font-weight: 800; color: #ffd84a; } .xl-empty { font-size: 12px; color: #cfc6ff; padding: 6px; }
.xpv-acts { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.xpv-acts button { font: 800 13.5px inherit; font-family: inherit; color: #fff; border: 1px solid rgba(255,255,255,.18); background: rgba(20,12,52,.8); border-radius: 999px; padding: 10px 16px; cursor: pointer; backdrop-filter: blur(6px); }
.xpv-acts button:hover { border-color: #29e0ff; } .xpv-acts button:disabled { opacity: .5; cursor: wait; }
.xpv-send { background: linear-gradient(135deg, #7b5cff, #29e0ff) !important; border-color: transparent !important; }
.xpv-sh { background: linear-gradient(135deg, #1f8fb8, #33d6ff) !important; border-color: transparent !important; }
.xpv-hint { position: absolute; left: 16px; bottom: 18px; font-size: 11px; color: rgba(207,198,255,.65); max-width: 260px; }
.xpv-tip { position: fixed; z-index: 2; pointer-events: none; display: grid; gap: 2px; padding: 7px 10px; border-radius: 10px; background: rgba(18,10,51,.94); border: 1px solid rgba(255,255,255,.18); font-size: 12px; }
.xpv-tip.hidden { display: none; }
@media (max-width: 760px) { .xpv-hint { display: none; } .xpv-shield { top: 74px; width: 200px; } .xpv-list { bottom: 70px; width: 200px; max-height: 30vh; } .xpv-head b { font-size: 18px; } .xpv-coin { padding: 6px 10px; } .xpv-sum { font-size: 15px; } }

/* 🛰️ miniatura do universo na aba Expedição */
.exp-gal { cursor: pointer; } .exp-gal .xpv-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.exp-gal:hover { border-color: rgba(41,224,255,.7); box-shadow: inset 0 0 40px rgba(123,92,255,.18), 0 0 18px rgba(41,224,255,.25); }

.xpv-tr { justify-self: end; display: flex; align-items: center; gap: 8px; }
.xpv-hide, .xpv-snd { width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; color: #fff; background: rgba(20,12,52,.7); border: 1px solid rgba(255,216,74,.35); backdrop-filter: blur(6px); }
.xpv-hide:hover, .xpv-snd:hover { border-color: #ffd84a; } .xpv-hide.off, .xpv-snd.off { opacity: .6; border-color: rgba(255,255,255,.18); }

.xs-held b { color: #7cf3ff; }
.xl-ser { font-style: normal; font-size: 10.5px; font-weight: 800; color: #ffd84a; margin-left: 3px; }

/* 🔮 UNIVERSO DA FUSÃO (3D) */
.fz-open { display: grid; width: 100%; margin-bottom: 10px; text-align: left; font: 900 16px/1.2 inherit; font-family: inherit; color: #fff; cursor: pointer; border: 0; border-radius: 14px; padding: 12px 16px; background: linear-gradient(120deg, #7b2cff, #ff4fa3 55%, #ffc83a); box-shadow: 0 6px 22px rgba(180,92,255,.4); animation: b2Glow 2s ease-in-out infinite; }
.fz-open small { font-size: 11.5px; font-weight: 700; opacity: .9; }
.fzv { position: fixed; inset: 0; z-index: 7500; background: #070318; overflow: hidden; color: #fff; user-select: none; }
.fzv.hidden { display: none; }
.fzv-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fzv-flash { position: absolute; inset: 0; pointer-events: none; background: #fff; opacity: 0; }
.fzv-flash.on { animation: fzFlash .9s ease-out; } @keyframes fzFlash { 0% { opacity: var(--a, 1); } 100% { opacity: 0; } }
.fzv-dim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 40%, transparent 0, rgba(0,0,0,.85) 40%); opacity: 0; transition: opacity .5s; } .fzv-dim.on { opacity: 1; }
.fzv-top { position: absolute; top: 14px; left: 16px; right: 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; pointer-events: none; }
.fzv-top > * { pointer-events: auto; }
.fzv-back { justify-self: start; font: 800 14px inherit; font-family: inherit; color: #fff; background: rgba(20,12,52,.7); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 9px 16px; cursor: pointer; backdrop-filter: blur(6px); }
.fzv-head { text-align: center; line-height: 1.1; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.fzv-head small { display: block; font-size: 11px; letter-spacing: .32em; color: #ffb3e6; font-weight: 800; }
.fzv-head b { font-size: clamp(20px, 3vw, 30px); font-weight: 900; background: linear-gradient(90deg, #c9a6ff, #fff, #ff9ad5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fzv-bal { justify-self: end; font-weight: 800; font-size: 14px; background: rgba(20,12,52,.7); border: 1px solid rgba(255,216,74,.35); border-radius: 999px; padding: 8px 14px; color: #ffd84a; }
.fzv-bal:empty { display: none; }
.fzv-side { position: absolute; left: 16px; top: 78px; width: min(250px, calc(100vw - 32px)); display: grid; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(20,12,52,.72); border: 1px solid rgba(180,92,255,.35); backdrop-filter: blur(8px); font-size: 12.5px; }
.fzv.busy .fzv-side, .fzv.busy .fzv-strip { opacity: .35; pointer-events: none; }
.fz-sec > b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #cfc6ff; margin-bottom: 5px; }
.fz-seg { display: flex; flex-wrap: wrap; gap: 4px; }
.fz-seg button { flex: 1; font: 800 12.5px inherit; font-family: inherit; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 6px 7px; cursor: pointer; white-space: nowrap; }
.fz-seg button small { opacity: .7; margin-left: 2px; } .fz-seg button.on { background: linear-gradient(135deg, #7b2cff, #ff4fa3); border-color: transparent; }
.fz-info { display: grid; gap: 3px; } .fz-info b { color: #ffd84a; } .fz-fail { color: #ff9aa8; font-size: 11.5px; }
.fz-btns { display: flex; gap: 6px; } .fz-btns button { flex: 1; font: 800 12px inherit; font-family: inherit; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 7px; cursor: pointer; }
.fzv-bottom { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(980px, calc(100vw - 32px)); display: grid; gap: 10px; justify-items: center; }
.fzv-go { font: 900 17px inherit; font-family: inherit; color: #fff; border: 0; border-radius: 999px; padding: 13px 28px; cursor: pointer; background: linear-gradient(135deg, #7b2cff, var(--c, #ff4fa3)); box-shadow: 0 0 26px color-mix(in srgb, var(--c, #ff4fa3) 60%, transparent); }
.fzv-go:disabled { opacity: .45; cursor: default; box-shadow: none; }
.fzv-strip { width: 100%; display: flex; gap: 6px; overflow-x: auto; padding: 8px; border-radius: 16px; background: rgba(20,12,52,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); scrollbar-width: thin; }
.fz-card { position: relative; flex: 0 0 76px; display: grid; justify-items: center; gap: 2px; padding: 5px 3px; border-radius: 12px; cursor: pointer; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.12); font-size: 10px; font-weight: 700; text-align: center; }
.fz-card img { width: 52px; height: 52px; object-fit: contain; } .fz-card span { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-card:hover { border-color: #ff9ad5; } .fz-card.sel { border-color: #ffd84a; background: rgba(255,216,74,.14); } .fz-card.off { opacity: .35; cursor: default; }
.fz-card b { position: absolute; top: 2px; right: 4px; color: #ffd84a; } .fz-card i { position: absolute; top: 2px; right: 4px; font-style: normal; }
.fz-card.raro { border-color: rgba(51,214,255,.45); } .fz-card.epico { border-color: rgba(180,92,255,.5); } .fz-card.lendario { border-color: rgba(255,200,58,.55); }
.fz-empty { padding: 10px; color: #cfc6ff; font-size: 12.5px; }
.fzv-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fzv-lb { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 1px; padding: 5px 10px; border-radius: 12px; background: rgba(14,8,40,.82); border: 1.5px solid rgba(255,255,255,.25); font-size: 12px; white-space: nowrap; }
.fzv-lb b { font-size: 13px; } .fzv-lb b i { font-style: normal; color: #ffd84a; } .fzv-lb em { font-style: normal; font-weight: 800; font-size: 11px; } .fzv-lb em.nw { color: #7cff6b; }
.fzv-lb.raro { border-color: #33d6ff; } .fzv-lb.epico { border-color: #b45cff; } .fzv-lb.lendario { border-color: #ffc83a; box-shadow: 0 0 16px rgba(255,200,58,.5); } .fzv-lb.supremo { border-color: #ff7ad9; box-shadow: 0 0 20px rgba(255,122,217,.6); } .fzv-lb.fail em { color: #ff8a98; }
.fzv-msg { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); padding: 9px 16px; border-radius: 12px; background: rgba(20,12,52,.9); border: 1px solid rgba(255,90,110,.5); font-weight: 700; font-size: 13.5px; } .fzv-msg.hidden { display: none; }
.fzv-skip { position: absolute; right: 16px; bottom: 150px; font: 800 13px inherit; font-family: inherit; color: #fff; background: rgba(20,12,52,.8); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px; cursor: pointer; } .fzv-skip.hidden { display: none; }
.fzv-done { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); display: grid; gap: 10px; justify-items: center; padding: 14px 20px; border-radius: 16px; background: rgba(14,8,40,.88); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); font-size: 16px; }
.fzv-done.hidden { display: none; }
.fzv-done-btns { display: flex; gap: 8px; } .fzv-done-btns button { font: 800 14px inherit; font-family: inherit; color: #fff; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
.fzv-again { background: linear-gradient(135deg, #7b2cff, #ff4fa3) !important; border-color: transparent !important; }
.fzv.busy .fzv-go { display: none; }
@media (max-width: 760px) { .fzv-side { top: 70px; width: 200px; padding: 8px; gap: 6px; } .fz-card { flex-basis: 64px; } .fz-card img { width: 42px; height: 42px; } }
#coin-dep.over-verse { z-index: 8000; }   /* 🌌 depósito por cima dos universos (caixas, expedição, fusão) */
.fzv.done .fzv-bottom, .fzv.done .fzv-side { display: none; }
.fzv-hint { position: absolute; right: 16px; top: 74px; font-size: 11px; color: rgba(207,198,255,.65); max-width: 220px; text-align: right; } @media (max-width: 760px) { .fzv-hint { display: none; } }
.fz-only { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; } .fz-open.big { font-size: 20px; padding: 18px 22px; } .fz-fast { justify-self: center; } .fz-tbl { width: 100%; margin: 10px 0; } .fz-fastc { display: flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }

.xl-tg { display: flex; align-items: center; justify-content: space-between; width: 100%; font: 800 12px inherit; font-family: inherit; color: #cfc6ff; background: none; border: 0; padding: 2px 6px 4px; cursor: pointer; }
.xl-tg i { font-style: normal; font-size: 14px; transition: transform .2s; } .xl-tg:hover { color: #fff; }
.xpv-list.min .xl-r, .xpv-list.min .xl-empty { display: none; } .xpv-list.min .xl-tg i { transform: rotate(180deg); } .xpv-list.min { padding: 4px 6px; }

/* 🦸 janela dos heróis (todos, com ações) */
.xpv-list { max-height: calc(100vh - 300px); }
.xl-r { grid-template-columns: 30px 1fr auto; }
.xl-r .xl-st { display: block; font-size: 10px; color: #cfc6ff; font-weight: 700; white-space: nowrap; }
.xl-r.inv { opacity: .92; } .xl-r.cham { background: rgba(51,214,255,.07); }
.xl-act { display: flex; gap: 3px; } .xl-act button { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; cursor: pointer; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 0; }
.xl-act button:hover { border-color: #29e0ff; background: rgba(41,224,255,.18); } .xl-act button:disabled { opacity: .4; cursor: wait; }

/* 📐 LOJA APROVEITANDO O ESPAÇO (03/11/2026): saldo e "Carregar token" na mesma linha do título (sobra altura para o conteúdo)
   e as abas (Caixas, Expedição, Fusão…) esticam até o fim da janela; na Expedição o universo em miniatura cresce e ocupa o que sobra */
@media (min-width: 761px) {
  .shop-card { position: relative; }
  .shop-card > .cfg-head { min-height: 46px; margin-bottom: 10px; }
  .shop-card > .shop-top { position: absolute; top: 18px; left: 200px; right: 84px; margin: 0; z-index: 2; pointer-events: none; }
  .shop-card > .shop-top > div { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; width: 100%; pointer-events: auto; }
  .shop-card > .shop-top .lbl { display: none; }
  .shop-card > .shop-top .shop-bal { margin: 0; font-size: 16px; white-space: nowrap; }
  .shop-card > .shop-top .row { margin-left: auto; }
  #shop .shop-top #shop-load { flex: none; max-width: none; padding: 9px 24px; }
  .shop-card #shop-grid:has(> .pg-tab), .shop-card #shop-grid:has(> .box-tab) { display: flex; flex-direction: column; }
  .shop-card #shop-grid > .pg-tab, .shop-card #shop-grid > .box-tab { flex: 1 0 auto; }
  .shop-card .box-tab.bx2 { align-content: stretch; }
  .shop-card .bx2 .box-hero { flex: 1; justify-content: center; }
  .shop-card .exp-tab .exp-gal { flex: 1 1 300px; min-height: 260px; }
}
/* 📐 Expedição mais compacta (03/11/2026): vagas menores e o universo em miniatura mais baixo */
@media (min-width: 761px) {
  .shop-card .exp-slots.all15 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .shop-card .exp-slots.all15 .exp-slot { padding: 3px 5px; font-size: 10.5px; }
  .shop-card .exp-slots.all15 .exp-slot.going, .shop-card .exp-slots.all15 .exp-slot.done { grid-template-columns: 28px minmax(0, 1fr); column-gap: 5px; }
  .shop-card .exp-slots.all15 .exp-slot.going img, .shop-card .exp-slots.all15 .exp-slot.done img { width: 28px; height: 28px; }
  .shop-card .exp-slots.all15 .exp-slot .nm { font-size: 10.5px; }
  .shop-card .exp-slots.all15 .exp-slot .btn { padding: 3px 6px; font-size: 11px; }
  .shop-card .exp-slots.all15 .exp-slot.locked, .shop-card .exp-slots.all15 .exp-slot.free { min-height: 30px; }
  .shop-card .exp-slots.all15 .exp-slot.locked .rk-ic { height: 18px; }
  .shop-card .exp-tab .exp-gal { flex: 0 0 clamp(170px, 24vh, 230px); min-height: 170px; }
}
/* 📐 Expedição (03/11/2026): universo em miniatura embaixo das vagas (coluna da direita) e a coluna da esquerda mais compacta */
@media (min-width: 761px) {
  .shop-card .exp-tab .two-col > .col:last-child { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
  .shop-card .exp-tab .exp-gal { flex: 1 1 220px; min-height: 200px; max-height: 340px; }
  .shop-card .exp-tab .exp-left { gap: 6px; }
  .shop-card .exp-tab .exp-left .box-sec { padding: 7px 10px; }
  .shop-card .exp-tab .exp-left .box-sec h4 { font-size: 13px; margin-bottom: 3px; }
  .shop-card .exp-tab .exp-left .exp-vagas { font-size: 12px; }
  .shop-card .exp-tab .exp-left .exp-r { padding: 3px 8px; font-size: 10.5px; }
  .shop-card .exp-tab .exp-left .exp-r .rar { font-size: 9px; }
  .shop-card .exp-shield { gap: 4px; text-align: left; }
  .shop-card .exp-shield h4 { font-size: 13px; } .shop-card .exp-shield h4 b { font-size: 14px; }
  .shop-card .exp-shield small { font-size: 10px; line-height: 1.3; }
  .shop-card .exp-shield .sh-bar { height: 7px; }
  .shop-card .exp-shield .sh-btns .btn { padding: 4px 8px; font-size: 11px; } .shop-card .sh-full { font-size: 12px; }
  .shop-card .exp-shield .sh-auto { display: flex; align-items: center; justify-content: flex-start; gap: 6px; text-align: left; font-size: 11px; }
  .shop-card .exp-shield .sh-auto input { flex: none; margin: 0; }
}
/* 📐 Expedição (03/11/2026): raridades e escudo ainda menores */
@media (min-width: 761px) {
  .shop-card .exp-tab .exp-left .exp-rew { gap: 2px; }
  .shop-card .exp-tab .exp-left .exp-r { padding: 1px 6px; font-size: 9.5px; min-height: 0; line-height: 1.2; }
  .shop-card .exp-tab .exp-left .exp-r small { font-size: 9.5px; }
  .shop-card .exp-tab .exp-left .exp-r .rar { font-size: 8px; padding: 0 5px; }
  .shop-card .exp-shield { gap: 2px; padding: 6px 8px; }
  .shop-card .exp-shield h4 { font-size: 12px; margin: 0; } .shop-card .exp-shield h4 b { font-size: 13px; } .shop-card .exp-shield h4 small { font-size: 10px; }
  .shop-card .exp-shield small { font-size: 9px; line-height: 1.25; }
  .shop-card .exp-shield .sh-bar { height: 5px; }
  .shop-card .exp-shield .sh-btns { gap: 4px; } .shop-card .exp-shield .sh-btns .btn { padding: 3px 6px; font-size: 10px; } .shop-card .sh-full { font-size: 10.5px; }
  .shop-card .exp-shield .sh-auto { font-size: 10px; gap: 4px; } .shop-card .exp-shield .sh-auto input { width: 13px; height: 13px; }
}
/* 📐 Expedição (03/11/2026): mesmo tamanho dos quadros, letras um pouco maiores para ler melhor */
@media (min-width: 761px) {
  .shop-card .exp-tab .exp-left .exp-r, .shop-card .exp-tab .exp-left .exp-r small { font-size: 11px; }
  .shop-card .exp-tab .exp-left .exp-r .rar { font-size: 9.5px; }
  .shop-card .exp-shield h4 { font-size: 13.5px; } .shop-card .exp-shield h4 b { font-size: 14.5px; } .shop-card .exp-shield h4 small { font-size: 11px; }
  .shop-card .exp-shield small { font-size: 10.5px; }
  .shop-card .exp-shield .sh-btns .btn { font-size: 11.5px; } .shop-card .sh-full { font-size: 12px; }
  .shop-card .exp-shield .sh-auto { font-size: 11.5px; }
}
.fz-sec .fz-seg [data-zr] { flex: 1 1 100%; display: flex; align-items: center; gap: 5px; text-align: left; } .fz-seg [data-zr] small { margin-left: auto; } .fz-seg [data-zr].on .fz-rn { color: #fff !important; } .fz-rn { font-weight: 900; }
/* 📐 Extração (03/11/2026): Farm → Retornar todos → Bônus, um embaixo do outro; tudo alinhado com o fim do mini mapa (e o menu da esquerda também) */
@media (min-width: 761px) {
  .shop-card .exp-left .exp-vagas { display: grid; justify-items: center; gap: 5px; }
  .shop-card .exp-left .exp-vagas .ev-l1 { font-size: 13px; } .shop-card .exp-left .exp-vagas .ev-next { font-size: 10.5px; color: var(--muted, #a39cc9); }
  .shop-card .exp-left .exp-vagas .exp-allbtns { display: flex; gap: 6px; justify-content: center; margin: 0; }
  .shop-card .exp-left .exp-vagas .exp-allbtns .btn { display: inline-flex; margin: 0; padding: 4px 12px; font-size: 12px; }
  .shop-card .exp-left .exp-vagas .ev-bonus { font-size: 11px; }
  /* escudo: letras um pouco maiores */
  .shop-card .exp-shield h4 { font-size: 14.5px; } .shop-card .exp-shield h4 b { font-size: 15.5px; } .shop-card .exp-shield h4 small { font-size: 11.5px; }
  .shop-card .exp-shield small { font-size: 11.5px; } .shop-card .exp-shield .sh-btns .btn { font-size: 12px; } .shop-card .exp-shield .sh-auto { font-size: 12px; }
  /* colunas da Extração vão até o fim (esquerda termina junto com o mini mapa) */
  .shop-card .exp-tab > .two-col { flex: 1 1 auto; align-items: stretch; min-height: 0; }
  .shop-card .exp-tab .two-col > .col:first-child { display: flex; flex-direction: column; gap: 6px; }
  .shop-card .exp-tab .two-col > .col:first-child > .box-sec:last-child { flex: 1 1 auto; }
  .shop-card .exp-tab .exp-gal { flex: 1 1 220px; min-height: 200px; max-height: none; }
  /* menu da esquerda (Caixas, Fusão, Extração…) ocupa toda a altura, com os botões do mesmo tamanho */
  .shop-card .shop-wrap { align-items: stretch; }
  .shop-card .shop-nav { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
  .shop-card .shop-nav > button { flex: 1 1 0; min-height: 52px; }
}
/* 📐 LOJA (03/11/2026): menu (Caixas, Fusão, Extração…) na HORIZONTAL em cima do conteúdo; letras maiores em telas grandes (1920×1080) */
@media (min-width: 761px) {
  .shop-card .shop-wrap { grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); grid-template-rows: auto minmax(0, 1fr); align-items: stretch; }
  .shop-card.no-stage .shop-wrap { grid-template-columns: minmax(0, 1fr); }
  .shop-card .shop-nav { grid-column: 1 / -1; flex-direction: row; align-self: start; overflow: visible; padding: 0; gap: 8px; }
  .shop-card .shop-nav > button { flex: 1 1 0; min-width: 0; min-height: 0; height: 56px; padding: 6px 10px; justify-content: center; }
  .shop-card .shop-nav button .ic { width: auto; font-size: 22px; }
  .shop-card .shop-nav button b { font-size: 14.5px; white-space: nowrap; } .shop-card .shop-nav button small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shop-card .shop-nav button.on::before { left: 12px; right: 12px; top: auto; bottom: -1px; width: auto; height: 3px; }
  .shop-card .shop-stage { grid-row: 2; }
}
@media (min-width: 1600px) {
  .shop-card .shop-nav > button { height: 62px; } .shop-card .shop-nav button b { font-size: 16px; } .shop-card .shop-nav button small { font-size: 12px; } .shop-card .shop-nav button .ic { font-size: 26px; }
  .shop-card .box-sec h4 { font-size: 16px; } .shop-card .box-sec small, .shop-card .box-sec .muted { font-size: 12.5px; }
  .shop-card .pg-bar { font-size: 14px; } .shop-card .exp-sum { font-size: 12.5px; }
  .shop-card .shop-item .nm { font-size: 13.5px; } .shop-card .shop-item .pr { font-size: 13px; } .shop-card .rar { font-size: 10.5px; }
  .shop-card .bx2 .bonus-tbl { font-size: 13.5px; } .shop-card .bx2 .odd-row { font-size: 13.5px; } .shop-card .bx2 .box-info h3 { font-size: 22px; } .shop-card .bx2 .box-price { font-size: 17px; }
  .shop-card .exp-slots.all15 .exp-slot, .shop-card .exp-slots.all15 .exp-slot .nm { font-size: 12px; } .shop-card .exp-slots.all15 .exp-slot .btn { font-size: 12px; }
  .shop-card .exp-slots.all15 .exp-slot.going img, .shop-card .exp-slots.all15 .exp-slot.done img { width: 34px; height: 34px; }
  .shop-card .exp-slots.all15 .exp-slot.going, .shop-card .exp-slots.all15 .exp-slot.done { grid-template-columns: 34px minmax(0, 1fr); }
  .shop-card .exp-tab .exp-left .exp-r, .shop-card .exp-tab .exp-left .exp-r small { font-size: 12.5px; } .shop-card .exp-tab .exp-left .exp-r .rar { font-size: 10.5px; }
  .shop-card .exp-left .exp-vagas .ev-l1 { font-size: 15px; } .shop-card .exp-left .exp-vagas .ev-bonus { font-size: 12.5px; } .shop-card .exp-left .exp-vagas .exp-allbtns .btn { font-size: 13px; }
  .shop-card .exp-shield h4 { font-size: 16px; } .shop-card .exp-shield h4 b { font-size: 17px; } .shop-card .exp-shield small, .shop-card .exp-shield .sh-auto { font-size: 12.5px; } .shop-card .exp-shield .sh-btns .btn { font-size: 13px; }
  .shop-card .fz-only .gd-tbl, .shop-card .fz-vm .gd-tbl { font-size: 14px; }
}
/* 📐 03/11/2026: Caixas (bônus das raridades ocupa a altura toda) · Extração ("Cada raridade" desce até o fim)
   · Coleção / Itens / Inventário: prévia do herói no canto (tamanho médio) e mais espaço para os cards */
@media (min-width: 761px) {
  .shop-card .bx2 .bx-bonus { display: flex; flex-direction: column; justify-content: flex-start; }
  .shop-card .bx2 .bx-bonus .bonus-tbl { flex: 1 1 auto; height: 100%; }
  .shop-card .bx2 .bx-bonus .bonus-tbl tr { height: auto; } .shop-card .bx2 .bx-bonus .bonus-tbl td, .shop-card .bx2 .bx-bonus .bonus-tbl th { vertical-align: middle; }
  .shop-card .exp-tab .two-col > .col:first-child > .box-sec:last-child { display: flex; flex-direction: column; }
  .shop-card .exp-tab .two-col > .col:first-child > .box-sec:last-child .exp-rew { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-evenly; gap: 4px; }
  .shop-card .exp-tab .two-col > .col:first-child > .box-sec:last-child .exp-r { flex: 1 1 0; max-height: 46px; }
  .shop-card .shop-wrap { grid-template-columns: minmax(0, 1fr) clamp(190px, 15vw, 250px); }
  .shop-card.no-stage .shop-wrap { grid-template-columns: minmax(0, 1fr); }
  .shop-card .shop-stage { align-self: start; height: clamp(260px, 42vh, 380px); min-height: 0; border-radius: 16px; overflow: hidden; }
  .shop-card .shop-stage canvas { height: 100%; min-height: 0; }
  .shop-card .shop-stage .inv-hint { font-size: 10.5px; }
}
/* 📐 03/11/2026 (correção): Coleção / Itens / Inventário — prévia do herói PEQUENA à ESQUERDA e os cards ocupando todo o resto (lugar fixo de cada um) */
@media (min-width: 761px) {
  .shop-card .shop-wrap { grid-template-columns: clamp(190px, 14vw, 250px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .shop-card .shop-nav { grid-row: 1; grid-column: 1 / -1; }
  .shop-card .shop-stage { grid-row: 2; grid-column: 1; align-self: start; height: clamp(260px, 44vh, 400px); border-radius: 18px; overflow: hidden; border: 1px solid rgba(160,140,255,.28); }
  .shop-card .inv-side { grid-row: 2; grid-column: 2; }
  .shop-card.no-stage .shop-wrap { grid-template-columns: minmax(0, 1fr); }
  .shop-card.no-stage .inv-side { grid-column: 1 / -1; }
  .shop-card .shop-item, .shop-card .inv-it, .shop-card .fcard { border-radius: 16px; }
  .shop-card .shop-item img, .shop-card .inv-it img { border-radius: 12px; }
}
/* 🛡️ quadro do escudo (aba Extração): informações centralizadas */
.shop-card .exp-shield { text-align: center; justify-items: center; }
.shop-card .exp-shield h4 { justify-content: center; } .shop-card .exp-shield h4 small { margin-left: 8px; }
.shop-card .exp-shield .sh-bar { width: 100%; }
.shop-card .exp-shield .sh-btns { justify-content: center; }
.shop-card .exp-shield .sh-auto { justify-content: center; text-align: center; }

/* 🖼️ MINIATURAS 3D nas abas Caixas e Fusão (03/11/2026, igual à da Extração): o universo aparece pequeno; clicou = abre */
.verse-mini { position: relative; flex: 1 1 220px; min-height: 190px; border-radius: 16px; overflow: hidden; cursor: pointer; border: 1px solid rgba(123,92,255,.35); background: #05030f; box-shadow: inset 0 0 40px rgba(123,92,255,.18); }
.verse-mini:hover { border-color: rgba(41,224,255,.7); box-shadow: inset 0 0 40px rgba(123,92,255,.18), 0 0 18px rgba(41,224,255,.25); }
.verse-mini > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: zoom-in; }
.verse-mini > .exp-gal-3d { z-index: 2; }
.verse-mini.flat { display: grid; place-items: center; cursor: pointer; }
/* Caixas: nome, preço e botão EM CIMA da miniatura; chances embaixo; bônus das raridades do lado */
.shop-card .bx2 .box-hero.vm, .box-hero.vm { flex: 1 1 auto; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px 12px; text-align: left; min-height: 0; }
.box-hero.vm .vm-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
.box-hero.vm .vm-info > small { grid-column: 1 / -1; margin-top: 0; }
.box-hero.vm .vm-r { display: grid; justify-items: end; gap: 4px; }
.box-hero.vm .vm-r .box-open-row { justify-content: flex-end; margin: 0; }
.box-hero.vm .vm-r .box-fast { margin-top: 0; }
.box-hero.vm .verse-mini { flex: 1 1 200px; min-height: 180px; }
.box-hero.vm.gal .verse-mini { border-color: rgba(255,122,217,.45); }
/* Fusão: entrada + fusão rápida em cima; regras à esquerda e o reator 3D à direita */
.fz-vm { display: flex; flex-direction: column; gap: 10px; min-height: 0; height: 100%; }
.fz-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fz-head .fz-open { flex: 1 1 320px; width: auto; margin: 0; }
.fz-head .fz-fast { margin: 0; }
.shop-card .fz-vm > .fz-cols { flex: 1 1 auto; align-items: stretch; min-height: 0; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); }
.fz-cols > .col { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.fz-cols .verse-mini { flex: 1 1 260px; min-height: 240px; }
.fz-vm .fz-tbl { width: 100%; margin: 10px 0; }
.fz-cols > .col:first-child > .box-sec { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; text-align: left; }
.fz-cols > .col:first-child > .box-sec > h4 { text-align: left; }
.fz-cols > .col:first-child > .box-sec > small.muted { display: block; line-height: 1.5; text-align: left; }
.fz-cols .fz-tbl th, .fz-cols .fz-tbl td { font-size: 12.5px; } .fz-cols .fz-tbl td:nth-child(3) { white-space: nowrap; }
.fz-cols .fz-fast { margin-top: auto; justify-self: start; }
.fz-cols > .col:first-child > .box-sec .fz-tbl td, .fz-cols > .col:first-child > .box-sec .fz-tbl th { padding-top: 9px; padding-bottom: 9px; }
@media (max-width: 900px) { .shop-card .fz-vm > .fz-cols { grid-template-columns: 1fr; } .box-hero.vm .vm-info { grid-template-columns: 1fr; text-align: center; } .box-hero.vm .vm-r { justify-items: center; } .box-hero.vm .vm-r .box-open-row { justify-content: center; } }
/* Caixas igual à Fusão (03/11/2026): coluna estreita de informações à esquerda e o Universo das Caixas grande à direita */
.shop-card .box-tab.bx-vm, .box-tab.bx-vm { grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); gap: 10px; align-items: stretch; min-height: 0; }
.bx-vm .bx-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.bx-vm .bx-side .box-sec { flex: none; margin: 0; padding: 10px 12px; text-align: left; }
.bx-vm .bx-side .box-sec h4 { text-align: left; margin: 0 0 6px; }
.bx-vm .bx-info { display: grid; gap: 6px; }
.bx-vm .bx-info h3 { margin: 0; font-size: 20px; }
.bx-vm .bx-info .box-price { font-size: 15px; }
.bx-vm .bx-info .bxv-go { width: 100%; display: grid; justify-items: center; font-size: 15px; padding: 10px 14px; margin: 0; }
.bx-vm .bx-info .box-fast { margin: 0; }
.bx-vm .bx-info > small.muted { display: block; line-height: 1.45; font-size: 11.5px; }
.bx-vm .bx-info.gal { border-color: rgba(255,122,217,.45); }
.bx-vm .odd-row { margin: 5px 0; font-size: 12px; } .bx-vm .odd-bar { height: 8px; }
.bx-vm .bx-bonus2 .my-rar { font-size: 12px; margin-bottom: 4px; }
.bx-vm .bt2 th, .bx-vm .bt2 td { padding: 5px 4px; font-size: 12px; }
.bx-vm .bt2 th { white-space: nowrap; font-size: 11px; }
.bx-vm .bt2 .rar { font-size: 10px; }
.bx-vm .bx-big { flex: none; min-height: 320px; height: 100%; }
@media (max-width: 900px) { .shop-card .box-tab.bx-vm, .box-tab.bx-vm { grid-template-columns: 1fr; } .bx-vm .bx-big { height: 260px; } .bx-vm .bx-side { overflow: visible; } }
.shop-card #shop-grid > .box-tab.bx-vm { flex: 1 1 0; min-height: 0; grid-template-rows: minmax(0, 1fr); }
@media (max-height: 820px) {
  .bx-vm .bx-side { gap: 6px; }
  .bx-vm .bx-side .box-sec { padding: 7px 10px; }
  .bx-vm .bx-info { gap: 4px; } .bx-vm .bx-info h3 { font-size: 17px; } .bx-vm .bx-info .box-price { font-size: 13.5px; }
  .bx-vm .bx-info .bxv-go { padding: 7px 12px; font-size: 14px; }
  .bx-vm .bx-info > small.muted { display: none; }
  .bx-vm .odd-row { margin: 3px 0; font-size: 11px; }
  .bx-vm .bx-bonus2 .my-rar { display: none; }
  .bx-vm .bt2 th, .bx-vm .bt2 td { padding: 3px 4px; font-size: 11px; }
  .bx-vm .bx-big { min-height: 0; }
}
/* 🙈 esconder a miniatura 3D (fica salvo no navegador até expandir) */
.mini-hide { position: absolute; left: 10px; top: 10px; z-index: 3; font: 800 12px/1 inherit; font-family: inherit; color: #fff; background: rgba(14,8,40,.75); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 7px 11px; cursor: pointer; backdrop-filter: blur(6px); }
.mini-hide:hover { background: rgba(40,24,90,.9); border-color: rgba(41,224,255,.6); }
.mini-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 14px; background: rgba(20,12,52,.6); border: 1px dashed rgba(123,92,255,.45); font-size: 13px; font-weight: 700; }
.mini-bar > span { flex: 1 1 auto; color: #cfc6ff; }
.mini-bar .btn { margin: 0; padding: 7px 14px; font-size: 13px; }
.shop-card .box-tab.bx-vm.mini-off, .box-tab.bx-vm.mini-off { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
.bx-vm.mini-off .bx-side { width: 100%; max-width: 760px; margin: 0 auto; }
.shop-card .fz-vm.mini-off > .fz-cols { grid-template-columns: minmax(0, 760px); justify-content: center; }
/* 🏃 esteira da praça: quadro do tempo (abaixo do quadro do pega-pega) */
.tag-hud.tread-hud { top: 150px; border-color: rgba(124,255,107,.6); }
.tag-hud.tread-hud .th-h { color: #9dffb0; }
.tag-hud.tread-hud.me { border-color: #7cff6b; box-shadow: 0 0 30px rgba(124,255,107,.45); }


/* ===================== 🎮 LETRA DE JOGO (04/11/2026) =====================
   Pedido do David ("a letra está muito padrão"): botões, abas, títulos, saldos e o logo com fonte grossa de jogo (Lilita One)
   e, nas letras claras, contorno escuro fininho + sombra embaixo (estilo de jogo mobile). As CORES continuam as mesmas.
   Textos corridos (explicações, chat, tabelas, subtítulos pequenos) continuam na Fredoka. Trocar a fonte do jogo = mudar só o --gfont.
   O contorno é feito com text-shadow (funciona em todo navegador) e acompanha o tamanho da letra (em). */
:root {
  --gfont: 'Lilita One', 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --gol: #140a26;
  --gtxt: 0 .085em 0 var(--gol), .085em 0 0 var(--gol), -.085em 0 0 var(--gol), 0 -.085em 0 var(--gol),
    .06em .06em 0 var(--gol), -.06em .06em 0 var(--gol), .06em -.06em 0 var(--gol), -.06em -.06em 0 var(--gol), 0 .15em 0 rgba(0, 0, 0, .5);
}
button, .btn, h1, h2, h3, h4, .gd-t, .res-title, .shop-bal, .a-bal, .logo, .fzv-head, .xpv-head, .bxv-head { font-family: var(--gfont) !important; font-synthesis: none; }
button, .btn, h1, h2, h3, h4, .gd-t, .shop-bal, .a-bal, .fzv-head small, .xpv-head small, .bxv-head small { text-shadow: var(--gtxt); }
.logo, .res-title, .fzv-head b, .xpv-head b, .bxv-head b { font-weight: 400; letter-spacing: .02em; }
/* subtítulos e explicações dentro de botões e saldos: Fredoka, sem contorno (letra pequena lê melhor assim) */
button small, .btn small, button p, .btn p, button .muted, .btn .muted, .linkbtn, .a-bal small, .a-bal .usd, .shop-bal .usd { font-family: 'Fredoka', 'Trebuchet MS', sans-serif !important; text-shadow: none; }
/* letra escura (botões dourados/ciano, selos, teclas): continua escura e sem contorno — contorno escuro em letra escura vira borrão */
.btn.coin, .btn.gold, .shop-btn, .hub-row .exp-btn, .mkt-grid .btn.confirm, .tk-bar .tk-buy, .tk-bar .tk-chip.hit, .w-opt.solflare, .test-btn, #upd-bar .ub-go,
.mail-tabs [data-mf].on, .bx-kinds button.on, .bxv-kinds button.on, .bxv-cf-btns .bxv-cf-ok, .bxv-done-btns .bxv-again, .bxv-done-btns .bxv-wear,
.bp-tag, .bp-check, .fcard .fsel, .inv-qty, .rank .r .n, kbd, #lay-bar { text-shadow: none; }
/* texto pintado com degradê (background-clip: text): sem text-shadow, senão a sombra cobre o degradê */
.logo, .logo span, .res-title, .tk-bar .tk-big, .bp-price b, .bonus-cd .bcd-n, .wallet-card .e-icon, .acct .a-addr, .rar.r-supremo, .b2-t, .ln-cd b, .ln-big,
.bxv-head b, .xpv-head b, .fzv-head b { text-shadow: none !important; }

/* ⛏️ vagas do Farm (pedido do David, 04/11/2026): barra de energia e botão de retornar menores, nome do herói maior */
.shop-card .exp-slots.all15 .exp-slot.going .nm, .shop-card .exp-slots.all15 .exp-slot.done .nm { font-size: 13px; }
.shop-card .exp-slots.all15 .exp-slot.going [data-expen], .shop-card .exp-slots.all15 .exp-slot.done [data-expen] { width: 100%; justify-self: stretch; }
/* barra fina e comprida (pedido do David): o % fica do lado de fora, à direita */
.shop-card .exp-slots.all15 .exp-slot.going .en-bar, .shop-card .exp-slots.all15 .exp-slot.done .en-bar { width: calc(100% - 46px); height: 6px; margin: 5px 0; overflow: visible; }
.shop-card .exp-slots.all15 .exp-slot.going .en-bar b, .shop-card .exp-slots.all15 .exp-slot.done .en-bar b { inset: auto; left: calc(100% + 6px); top: 50%; transform: translateY(-50%); display: block; font-size: 10px; white-space: nowrap; }
.shop-card .exp-slots.all15 .exp-slot.going .btn, .shop-card .exp-slots.all15 .exp-slot.done .btn { justify-self: start; width: auto; padding: 2px 10px; font-size: 10.5px; line-height: 1.25; border-radius: 7px; }
@media (min-width: 1600px) {
  .shop-card .exp-slots.all15 .exp-slot.going .nm, .shop-card .exp-slots.all15 .exp-slot.done .nm { font-size: 14.5px; }
  .shop-card .exp-slots.all15 .exp-slot.going .btn, .shop-card .exp-slots.all15 .exp-slot.done .btn { font-size: 11px; }
}

/* 📖 textos de informação ("Como funciona" e descrições) iguais em TODAS as abas da loja, no estilo do texto da aba Caixas
   ("Vem um herói aleatório… 25% do token…"): Fredoka regular, 11,5px, linha 1,45, cor clara, alinhado à esquerda (pedido do David, 04/11/2026) */
#shop-grid .box-sec > small.muted, #shop-grid .box-sec > details > small.muted {
  display: block; font-family: 'Fredoka', 'Trebuchet MS', sans-serif; font-size: 11.5px; font-weight: 400; line-height: 1.45; letter-spacing: normal;
  color: var(--txt); text-align: left; text-shadow: none; font-variant-numeric: normal; }
#shop-grid .box-sec > small.muted b, #shop-grid .box-sec > details > small.muted b { font-weight: 700; color: #fff; }

/* 🛒 topo da loja (pedido do David, 04/11/2026): sem o título "Loja"; os saldos (GuysCoin e OSPKS) ficam um embaixo do outro no lugar dele */
.shop-card > .cfg-head .res-title { display: none; }
.shop-card > .cfg-head .x { margin-left: auto; }
@media (min-width: 761px) {
  .shop-card > .shop-top { top: 10px; left: 24px; }
  .shop-card > .shop-top > div { display: grid; grid-template-columns: max-content 1fr; column-gap: 18px; row-gap: 1px; align-items: center; }
  .shop-card > .shop-top .shop-bal { grid-column: 1; line-height: 1.25; }
  .shop-card > .shop-top .row { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; margin-left: 0; }
}

/* ⛏️ EXTRAÇÃO › Farm: coluna da esquerda REMASTERIZADA (pedido do David, 04/11/2026) — 3 quadros limpos no mesmo espaço:
   Farm (vagas, nível, botões e bônus) · Escudo (status, barra e recarga numa linha) · Energia por raridade (tabelinha que ocupa o resto da altura) */
.shop-card .exp-tab .exp-left.xl2 { gap: 8px; font-weight: 400; }
.shop-card .exp-tab .xl2 > .box-sec { display: grid; align-content: start; gap: 7px; padding: 10px 12px; text-align: left; }
.xl2 .xf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.xl2 .xf-n { display: grid; line-height: 1; }
.xl2 .xf-n small { font-size: 11px; font-weight: 700; color: var(--mut); }
.xl2 .xf-n b { font-family: var(--gfont); font-weight: 400; font-size: 30px; color: #fff; text-shadow: var(--gtxt); }
.xl2 .xf-n b i { font-style: normal; font-size: .55em; color: var(--mut); }
.xl2 .xf-lv { display: flex; align-items: center; gap: 7px; }
.xl2 .xf-lv > .rk-ic { height: 34px; margin: 0; }
.xl2 .xf-lv > div { display: grid; justify-items: start; line-height: 1.2; }
.xl2 .xf-lv b { font-family: var(--gfont); font-weight: 400; font-size: 14px; text-shadow: var(--gtxt); }
.xl2 .xf-lv small { font-size: 10.5px; font-weight: 600; color: var(--mut); }
.xl2 .xf-btns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.xl2 .xf-btns .btn { margin: 0; padding: 7px 8px; font-size: 13px; border-radius: 10px; }
.xl2 .xf-bonus { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 6px; padding: 6px 9px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 12px; font-weight: 700; }
.xl2 .xf-bonus b { color: #7cff6b; } .xl2 .xf-bonus:not(.on) b { color: var(--mut); }
.xl2 .xf-bonus small { flex-basis: 100%; font-size: 10.5px; font-weight: 500; color: var(--mut); }
/* escudo */
.xl2 .xl-sh { border: 1px solid rgba(51,214,255,.3); }
.xl2 .xl-sh.mid { border-color: rgba(255,216,74,.45); } .xl2 .xl-sh.lo { border-color: rgba(255,90,110,.6); box-shadow: 0 0 14px rgba(255,90,110,.25); }
.xl2 .xs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xl2 .xs-t { font-family: var(--gfont); font-size: 16px; text-shadow: var(--gtxt); }
.xl2 .xs-t b { font-weight: 400; color: #7cf3ff; } .xl2 .xl-sh.mid .xs-t b { color: #ffd84a; } .xl2 .xl-sh.lo .xs-t b { color: #ff5a6e; }
.xl2 .xs-pill { font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; background: rgba(124,255,107,.12); color: #7cff6b; border: 1px solid rgba(124,255,107,.35); }
.xl2 .xs-pill.mid { background: rgba(255,216,74,.12); color: #ffd84a; border-color: rgba(255,216,74,.4); }
.xl2 .xs-pill.lo { background: rgba(255,90,110,.14); color: #ff6b7d; border-color: rgba(255,90,110,.45); }
.xl2 .xs-bar { position: relative; height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.xl2 .xs-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #33d6ff, #9ef0ff); transition: width .4s; }
.xl2 .xl-sh.mid .xs-bar i { background: linear-gradient(90deg, #ffb13a, #ffd84a); } .xl2 .xl-sh.lo .xs-bar i { background: #ff5a6e; }
.xl2 .xs-bar u { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; opacity: .6; }
.xl2 .xs-sub { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; font-weight: 600; color: var(--mut); }
.xl2 .xs-storm { color: #ffb05a; font-weight: 800; }
.xl2 .xs-btns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.xl2 .xs-btns .btn { display: grid; justify-items: center; gap: 1px; margin: 0; padding: 5px 4px; font-size: 13px; line-height: 1.1; border-radius: 10px; }
.xl2 .xs-btns .btn small { font-size: 10px; font-weight: 600; opacity: .9; }
.xl2 .xs-full { text-align: center; color: #7cff6b; font-weight: 800; font-size: 12.5px; }
.xl2 .xs-auto { font-size: 10.5px; line-height: 1.3; color: var(--mut); }
/* energia por raridade: a tabela estica até o fim da coluna */
.shop-card .exp-tab .xl2 > .xl-rar { display: flex; flex-direction: column; gap: 6px; }
.xl2 .xl-rar h4 { margin: 0; }
.xl2 .xr-tbl { flex: 1 1 auto; width: 100%; border-collapse: collapse; font-size: 12px; }
.xl2 .xr-tbl th { padding: 0 4px 4px; font-family: 'Fredoka', sans-serif; font-size: 10.5px; font-weight: 700; color: var(--mut); text-align: right; text-shadow: none; }
.xl2 .xr-tbl td { padding: 3px 4px; border-top: 1px solid rgba(255,255,255,.06); text-align: right; font-weight: 600; white-space: nowrap; }
.xl2 .xr-tbl td:first-child { text-align: left; }
.xl2 .xr-tbl .rar { font-size: 10px; }
/* telas baixas (notebook 768px): a mesma coluna, mais compacta, cabe sem cortar a tabela */
@media (max-height: 820px) {
  .shop-card .exp-tab .exp-left.xl2 { gap: 6px; }
  .shop-card .exp-tab .xl2 > .box-sec { gap: 5px; padding: 7px 10px; }
  .xl2 .xf-n b { font-size: 24px; } .xl2 .xf-lv > .rk-ic { height: 28px; } .xl2 .xf-lv b { font-size: 13px; }
  .xl2 .xf-btns .btn { padding: 5px 8px; font-size: 12px; }
  .xl2 .xf-bonus { padding: 4px 8px; font-size: 11px; } .xl2 .xf-bonus small { font-size: 10px; }
  .xl2 .xs-t { font-size: 14px; } .xl2 .xs-pill { font-size: 10px; padding: 1px 7px; } .xl2 .xs-bar { height: 6px; }
  .xl2 .xs-btns .btn { padding: 3px 4px; font-size: 12px; } .xl2 .xs-btns .btn small { font-size: 9.5px; }
  .xl2 .xs-auto, .xl2 .xs-sub { font-size: 10px; }
  .xl2 .xr-tbl { font-size: 11px; } .xl2 .xr-tbl td { padding: 2px 4px; } .xl2 .xr-tbl th { padding-bottom: 2px; font-size: 10px; }
  .xl2 .exp-desc > summary { padding: 1px 8px; font-size: 10.5px; }
}
.xl2 .xs-t small { font-family: 'Fredoka', sans-serif; font-size: 10.5px; font-weight: 600; color: var(--mut); text-shadow: none; margin-left: 4px; }
@media (max-height: 820px) {
  .xl2 .xf-n b { font-size: 21px; } .xl2 .xf-lv > .rk-ic { height: 24px; }
  .xl2 .xf-bonus:not(.on) small { display: none; }   /* bônus 0%: só o "+0%" (a dica some para caber) */
  .shop-card .exp-tab .xl2 > .box-sec { padding: 6px 9px; }
}
@media (max-height: 820px) { .shop-card .exp-tab .xl2 > .box-sec { gap: 4px; } }
.bx-odds .bx-special { display: block; margin: -2px 0 6px; font-size: 11.5px; font-weight: 700; color: #ffd84a; }   /* 🎯 chance especial da conta (painel) */
