/* conquistas: página (Achievements), detalhe do pet, ranking (VersusLeaderboard), aviso (AchievementManager) — conquistas-tela.js.
   Medidas do canvas do menu (1920x1200, match 0,5): 1 unidade = 0,6325 px; ComicFlat dá contorno de 4 px e cantos de 8. */

/* ---------- TopBar: botões laranja (ComicFlat #FF6A00, 200 x 80 unidades) com rótulo #651F00 ---------- */
.cq-top { position: absolute; left: 136.6px; top: 10.1px; height: 50.6px; display: flex; gap: 10.1px; }
.cq-tb { position: relative; width: 132px; height: 50.6px; background: #ff6a00; border: 4px solid var(--ink); border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; color: #651f00; font-family: var(--display); font-weight: 700; line-height: 1; }
.cq-tb.pack { width: 190px; justify-content: flex-start; }
.cq-tb > img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.cq-tb span { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; }
.cq-tb.pack span { align-items: flex-start; }
.cq-tb small { font-size: 12px; opacity: .8; }
.cq-tb b { font-size: 21px; white-space: nowrap; }
.cq-tb:hover, .cq-tb:focus-visible { filter: url(#hover-gui); }
.cq-tb:active { transform: translateY(3px); }
.cq-dot { position: absolute; right: -7px; top: -7px; width: 18px; height: 18px; border-radius: 50%; background: #e5322d; border: 3px solid var(--ink); }

/* barra de rolagem no alto (ScrollbarHorizontalAppBar: cinza #DDD com o puxador #FF6A00) */
.cq-scroll { position: absolute; left: 622px; top: 10.1px; width: 587.4px; height: 50.6px; box-sizing: border-box; background: #ddd; border: 4px solid var(--ink); border-radius: 8px; touch-action: none; }
.cq-scroll i { position: absolute; top: -4px; bottom: -4px; left: -4px; width: 60px; box-sizing: border-box; background: #ff6a00; border: 4px solid var(--ink); border-radius: 8px; }

/* ---------- grade: tiers lado a lado, cada um com a coluna da recompensa e os pets em 3 linhas preenchidas por coluna ---------- */
.cq-row { position: absolute; left: 0; top: 70.8px; width: 1280px; height: 550.5px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; touch-action: none; }
.cq-row::-webkit-scrollbar { display: none; }
.cq-track { display: flex; gap: 64px; padding: 9px 40px 0; width: max-content; }
.cq-group { display: flex; gap: 44px; flex: none; }
.cq-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, 168px); grid-auto-columns: 112px; gap: 14px 44px; }
.cq-empty { grid-row: 1 / span 3; width: 160px; margin: 0; align-self: center; font-family: var(--body); font-weight: 800; font-size: 16px; color: #fff; -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; }

/* coluna do tier: tábua clara (PlankEvenLight, o Look grande do ModeMenu) com a barra de progresso, a recompensa e o resgate */
.cq-tier { position: relative; flex: none; width: 150px; height: 532px; isolation: isolate; display: flex; flex-direction: column; align-items: center; padding: 24px 10px 28px; color: #57291a; font-family: var(--display); font-weight: 700; text-align: center; }
.cq-tier::before { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-width: 8px 8px 12px; border-image: url("../img/sprites/PlankEvenLight.png") 64 64 96 fill; filter: drop-shadow(0 5px 0 rgba(0,0,0,.3)); }
.cq-tier.ready::before { filter: brightness(1.1) drop-shadow(0 0 10px #ffe27a) drop-shadow(0 5px 0 rgba(0,0,0,.3)); }
.cq-tier .lab { font-size: 30px; line-height: 1; }
.cq-tier .num { font-size: 104px; line-height: .95; -webkit-text-stroke-width: 8px; }
.cq-tier .bar { position: relative; margin-top: 22px; width: 122px; height: 32px; background: #fff; border: 3px solid var(--ink); border-radius: 8px; overflow: hidden; }
.cq-tier .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: #ffb35c; }
.cq-tier.ready .bar i, .cq-tier.claimed .bar i { background: #8fd16a; }
.cq-tier .bar b { position: relative; display: block; line-height: 26px; font-size: 18px; color: var(--ink); }
.cq-tier .rew { margin-top: auto; display: flex; flex-direction: column; align-items: center; }
.cq-tier .rew img { width: 100px; height: 100px; object-fit: contain; filter: drop-shadow(0 4px 0 rgba(0,0,0,.25)); }
.cq-tier:not(.ready):not(.claimed) .rew img { filter: grayscale(.85) brightness(1.05) drop-shadow(0 4px 0 rgba(0,0,0,.25)); }
.cq-tier .rew b { position: relative; margin-top: -30px; font-size: 44px; }
.cq-tier .cq-claim { position: relative; margin-top: 12px; width: 130px; padding: 0 4px; font-size: 21px; }
.cq-tier.ready .cq-claim { animation: cqpulse 1.1s ease-in-out infinite; }
.cq-tier .cq-claim:disabled { filter: none; opacity: .85; }
.cq-need { margin-top: 12px; height: 44px; display: flex; align-items: center; gap: 5px; font-family: var(--body); font-weight: 800; font-size: 16px; color: #57291a; }
.cq-need img { width: 22px; height: 22px; object-fit: contain; }

/* ---------- AchievementsEntry (140 x 220 unidades, aqui 112 x 168 px) ---------- */
.cq-card { position: relative; width: 112px; height: 168px; border-radius: 10px; outline-offset: 5px; transition: transform .1s ease; }
.cq-card .bg { position: absolute; inset: 0; background: #fff; border: 4px solid var(--ink); border-radius: 10px; box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.cq-card.full .bg { background: #fff1bd; }
.cq-card:hover, .cq-card:focus-visible { transform: translateY(-4px); }
.cq-card:hover .bg, .cq-card:focus-visible .bg { background: #fff7e6; }
.cq-card.full:hover .bg, .cq-card.full:focus-visible .bg { background: #ffeaa0; }
/* RibbonBack (48 unidades mais larga, 42 abaixo do topo) e HeaderRevealed (RibbonFront 16 mais larga, 4 acima, 64 de altura) */
.cq-card .rb-back { position: absolute; left: -19px; right: -19px; top: 9.6px; height: 48px; background: url("../img/sprites/RibbonBack.png") center / 100% 100% no-repeat; }
.cq-card .hd { position: absolute; left: -6.4px; right: -6.4px; top: -3.2px; height: 51px; background: url("../img/sprites/RibbonFront.png") center / 100% 100% no-repeat; display: flex; align-items: center; justify-content: center; padding: 6px 11px 7px; }
.cq-card .tt { display: flex; align-items: center; justify-content: center; width: 100%; height: 36px; overflow: hidden; text-align: center; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.02; color: #823e00; overflow-wrap: anywhere; }
/* HeaderHidden: o "?" preto, 32 unidades de altura a 16 do topo */
.cq-card .hd-hidden { position: absolute; left: 50%; top: 12.8px; height: 25.6px; transform: translateX(-50%); filter: brightness(0); }
.cq-card .body { position: absolute; left: 6.4px; right: 6.4px; top: 46px; bottom: 10px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; pointer-events: none; }
.cq-card .pic { width: 76px; height: 60px; object-fit: contain; transform: scaleX(-1); }
.cq-card.hidden .pic { filter: brightness(0); opacity: .72; }
.cq-card .stars { display: grid; grid-template-columns: repeat(3, 23px); gap: 3px 6px; }

/* medalha pequena: disco com o anel da categoria; os glifos brancos (estrela, caveira) ficam sobre a cor */
.cq-md { position: relative; display: flex; align-items: center; justify-content: center; width: 23px; height: 23px; border-radius: 50%; background: #ebe5dc; border: 2px solid var(--ink); }
.cq-md img { width: 15px; height: 15px; object-fit: contain; filter: brightness(0); opacity: .2; }
.cq-md.on { background: #fff; box-shadow: inset 0 0 0 2.5px var(--c); }
.cq-md.on img { filter: none; opacity: 1; }
.cq-md.on.gl { background: var(--c); box-shadow: none; }
.cq-md.on.gl img { filter: drop-shadow(1px 0 0 var(--ink)) drop-shadow(-1px 0 0 var(--ink)) drop-shadow(0 1px 0 var(--ink)) drop-shadow(0 -1px 0 var(--ink)); }

/* roseta: a Award do client (406 x 512) com o disco da categoria sobre a estrela (centro a 37,7% da altura) */
.cq-rose { position: relative; display: inline-block; flex: none; width: 48px; aspect-ratio: 406 / 512; }
.cq-rose .base { position: absolute; inset: 0; width: 100%; height: 100%; }
.cq-rose .disc { position: absolute; left: 50%; top: 37.7%; width: 55%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--c), 0 0 0 2px var(--ink); display: flex; align-items: center; justify-content: center; }
.cq-rose .disc img { width: 64%; height: 64%; object-fit: contain; }
.cq-rose.gl .disc { background: var(--c); box-shadow: 0 0 0 2px var(--ink); }
.cq-rose.gl .disc img { filter: drop-shadow(1px 0 0 var(--ink)) drop-shadow(-1px 0 0 var(--ink)) drop-shadow(0 1px 0 var(--ink)) drop-shadow(0 -1px 0 var(--ink)); }
.cq-rose:not(.on) .base { filter: grayscale(1) brightness(1.25); opacity: .45; }
.cq-rose:not(.on) .disc { background: #eee; box-shadow: inset 0 0 0 3px #c9c2b8, 0 0 0 2px #9a9088; }
.cq-rose:not(.on) .disc img { filter: brightness(0); opacity: .18; }

/* ---------- BottomBar (140 unidades): AchievementsCounter de 500 com o ícone, a caixa branca e o botão laranja ---------- */
.cq-bottom { position: absolute; left: 0; right: 0; top: 621.3px; height: 88.6px; display: flex; justify-content: center; gap: 10.1px; }
.cq-counter { position: relative; width: 316.2px; height: 88.6px; }
.cq-counter.bump .lbl { animation: bump .25s ease; }
.cq-counter .lbl { position: absolute; right: 0; top: 13.3px; width: 271.9px; height: 62px; background: #fff; border: 4px solid var(--ink); border-radius: 8px; display: flex; }
.cq-counter .txt { flex: 1; display: flex; align-items: center; justify-content: center; padding-left: 30px; font-family: var(--display); font-weight: 700; font-size: 34px; color: #000; white-space: nowrap; }
.cq-counter .qbtn { flex: none; width: 63.3px; margin: -4px -4px -4px 0; background: #ff6a00; border: 4px solid var(--ink); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.cq-counter .qbtn:hover, .cq-counter .qbtn:focus-visible { filter: url(#hover-gui); }
.cq-counter .qbtn:active { transform: translateY(2px); }
.cq-counter .qbtn .mk { width: 34px; height: 38px; background: #651f00; -webkit-mask: url("../img/sprites/QuestionMark.png") center / contain no-repeat; mask: url("../img/sprites/QuestionMark.png") center / contain no-repeat; }
.cq-counter .qbtn img { width: 42px; height: 42px; object-fit: contain; }
.cq-counter .ic { position: absolute; left: 0; top: 4px; height: 80px; width: 64px; object-fit: contain; z-index: 1; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); }
/* o do primeiro: caixa cor de areia (#E5C6A4) com o mascote em silhueta preta, como o Turtle_2x do client */
.cq-counter .ic.box { top: 7.6px; width: 70.8px; height: 78.5px; background: #e5c6a4; border: 4px solid var(--ink); border-radius: 8px; display: flex; align-items: center; justify-content: center; filter: none; }
.cq-counter .ic.box img { width: 52px; height: 52px; object-fit: contain; filter: brightness(0); transform: scaleX(-1); }
.cq-counter .cq-add { position: absolute; right: 70px; top: -18px; font-size: 30px; pointer-events: none; animation: snadd 1.4s ease-out forwards; }
/* Guide: balão de 500 unidades, 16 acima do contador */
.cq-guide { position: absolute; left: 0; bottom: calc(100% + 10px); width: 316px; background: #fff; border: 4px solid var(--ink); border-radius: 8px; padding: 10px 12px; font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--ink); z-index: 6; box-shadow: 0 5px 0 rgba(0,0,0,.25); }

/* lista das ninhadas (abre no botão Ninhada) */
.cq-packs { position: absolute; left: 136.6px; top: 66px; width: 400px; background: #fff; border: 4px solid var(--ink); border-radius: 10px; padding: 6px; z-index: 7; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.cq-packs .it { display: grid; grid-template-columns: 44px 1fr auto 92px; align-items: center; gap: 10px; padding: 4px 8px; border-radius: 8px; font-family: var(--display); font-weight: 700; color: var(--ink); text-align: left; }
.cq-packs .it:hover, .cq-packs .it:focus-visible { background: #ffe2b8; outline: none; }
.cq-packs .it.sel { background: #ffd8ad; }
.cq-packs .it > img { width: 40px; height: 40px; object-fit: contain; }
.cq-packs .nm { font-size: 20px; display: flex; align-items: center; gap: 6px; }
.cq-packs .nm .cq-dot { position: static; width: 13px; height: 13px; border-width: 2px; }
.cq-packs .pr { font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--muted); }
.cq-packs .tr { display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: 16px; }
.cq-packs .tr img { width: 22px; height: 22px; object-fit: contain; }
.cq-toast { top: 572px; z-index: 7; }

/* troféus voando até o contador */
.cq-fly { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; object-fit: contain; opacity: 0; animation: cqfly .8s cubic-bezier(.35,.05,.45,1) forwards; }
@keyframes cqfly { 0% { opacity: 1; transform: translate(0, 0) scale(.7); } 25% { opacity: 1; transform: translate(calc(var(--tx) * .1), -60px) scale(1.15); } 100% { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(.8); } }
@keyframes cqpulse { 50% { scale: 1.07; } }

/* ---------- modais: fundo preto a 50% (Modal/FullScreen/Background) ---------- */
.cq-modal { position: absolute; inset: 0; z-index: 12; }
.cq-dim { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.cq-modal .cq-close { position: absolute; width: 180px; }
/* faixas sliced (RibbonFront 256 x 88 e RibbonBack 256 x 71, pontas de 72 px) */
.cq-petbox .hd, .cq-pop .hd { border-style: solid; border-image: url("../img/sprites/RibbonFront.png") 0 72 fill stretch; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; color: #823e00; white-space: nowrap; }
.cq-petbox .rb-back, .cq-pop .rb-back { position: absolute; border-style: solid; border-image: url("../img/sprites/RibbonBack.png") 0 72 fill stretch; }

/* detalhe do pet: as 6 conquistas com a roseta, o título, a condição e o progresso */
.cq-petbox { position: absolute; left: 270px; top: 100px; width: 740px; height: 566px; background: #fff; border: 4px solid var(--ink); border-radius: 14px; box-shadow: 0 6px 0 rgba(0,0,0,.3); color: var(--ink); }
.cq-petbox .rb-back { left: 40px; right: 40px; top: 2px; height: 50px; border-width: 0 51px; }
.cq-petbox .hd { position: absolute; left: 110px; right: 110px; top: -28px; height: 66px; border-width: 0 54px; font-size: 34px; }
.cq-petbox .side { position: absolute; left: 18px; top: 56px; width: 180px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.cq-petbox .side .pic { width: 150px; height: 150px; object-fit: contain; transform: scaleX(-1); }
.cq-petbox .side .pic.shadow { filter: brightness(0); opacity: .72; }
.cq-petbox .meta { font-family: var(--body); font-weight: 800; font-size: 15px; line-height: 1.25; color: var(--muted); }
.cq-petbox .cnt { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 28px; }
.cq-petbox .cnt img { width: 34px; height: 43px; object-fit: contain; }
.cq-petbox .list { position: absolute; left: 206px; right: 16px; top: 52px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cq-petbox li { display: grid; grid-template-columns: 48px 1fr 92px; align-items: center; gap: 12px; min-height: 68px; padding: 3px 10px 3px 8px; border-radius: 10px; background: #f4efe8; }
.cq-petbox li.on { background: #fff1bd; }
.cq-petbox .tl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cq-petbox .tl b { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.1; color: #8f857c; }
.cq-petbox li.on .tl b { color: #823e00; }
.cq-petbox .chip { padding: 0 7px; border: 2px solid var(--c); border-radius: 999px; background: #fff; font-family: var(--body); font-weight: 800; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #4a3a2e; }
.cq-petbox .tx p { margin: 2px 0 0; font-family: var(--body); font-weight: 700; font-size: 14px; line-height: 1.3; }
.cq-petbox .pg { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cq-petbox .pg .bar { display: block; width: 84px; height: 13px; background: #fff; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.cq-petbox .pg .bar i { display: block; height: 100%; background: var(--orange); }
.cq-petbox li.on .pg .bar i { background: #4fae3f; }
.cq-petbox .pg b { display: flex; align-items: center; gap: 3px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.cq-petbox .pg b img { width: 18px; height: 18px; }
.cq-petbox .cq-close { left: 82px; bottom: 16px; width: 136px; }

/* ranking: coluna de 700 unidades com a coroa (128) no alto */
.cq-rankbox { position: absolute; left: 418.5px; top: 66px; width: 443px; height: 640px; background: #fff; border: 4px solid var(--ink); border-radius: 14px; box-shadow: 0 6px 0 rgba(0,0,0,.3); display: flex; flex-direction: column; align-items: center; padding: 34px 14px 70px; color: var(--ink); }
.cq-rankbox .crown { position: absolute; left: 50%; top: -50px; width: 81px; height: 81px; transform: translateX(-50%) rotate(-4deg); filter: drop-shadow(0 4px 0 rgba(0,0,0,.25)); }
.cq-rankbox h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; }
.cq-pkbtn { margin-top: 8px; width: 382px; height: 50px; flex: none; background: #ff6a00; border: 4px solid var(--ink); border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #651f00; font-family: var(--display); font-weight: 700; font-size: 23px; }
.cq-pkbtn .paw { height: 28px; }
.cq-pkbtn:hover, .cq-pkbtn:focus-visible { filter: url(#hover-gui); }
.cq-pkbtn:active { transform: translateY(2px); }
.cq-rankbox .rk { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: 23px; }
.cq-rankbox .pc { font-family: var(--body); font-weight: 800; font-size: 16px; color: var(--muted); }
.cq-rankbox .lst { position: relative; flex: 1; min-height: 0; width: 100%; margin-top: 8px; background: #ddd; border: 4px solid var(--ink); border-radius: 8px; display: flex; overflow: hidden; }
.cq-rankbox ol { flex: 1; min-width: 0; margin: 0; padding: 5px; list-style: none; overflow-y: auto; scrollbar-width: none; }
.cq-rankbox ol::-webkit-scrollbar { display: none; }
.cq-rankbox li { display: grid; grid-template-columns: 34px 1fr 28px 70px 20px; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 4px; border-radius: 7px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.cq-rankbox li:nth-child(odd) { background: rgba(255,255,255,.6); }
.cq-rankbox li.you { background: #ffcf3a; box-shadow: inset 0 0 0 3px var(--ink); }
.cq-rankbox .no { text-align: right; }
.cq-rankbox .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--body); font-weight: 800; font-size: 15px; }
.cq-rankbox .pk { width: 28px; height: 28px; object-fit: contain; }
.cq-rankbox .pts { display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.cq-rankbox .pts img { width: 22px; height: 22px; object-fit: contain; }
.cq-rankbox .star { width: 20px; height: 20px; background: #e5b344; -webkit-mask: url("../img/sprites/Star.png") center / contain no-repeat; mask: url("../img/sprites/Star.png") center / contain no-repeat; }
.cq-rankbox .star.p2 { background: #b9bec8; }
.cq-rankbox .star.p3 { background: #cf8a4e; }
.cq-rankbox .star.none { background: none; }
.cq-rankbox .vbar { position: relative; flex: none; width: 30px; border-left: 4px solid var(--ink); background: #ddd; touch-action: none; }
.cq-rankbox .vbar i { position: absolute; left: 2px; right: 2px; top: 0; height: 40px; background: #ff6a00; border: 3px solid var(--ink); border-radius: 6px; }
.cq-rankbox .note { margin: 6px 0 0; font-family: var(--body); font-weight: 700; font-size: 13px; line-height: 1.3; text-align: center; color: var(--muted); }
.cq-rankbox .cq-close { left: 127.5px; bottom: 14px; }

/* ---------- aviso (AchievementManager: Content de 400 x 200 em (16, -240), faixa de 64, corpo 32 para dentro) ---------- */
.cq-pop { position: absolute; left: 10.1px; top: 151.8px; width: 253px; height: 126.5px; z-index: 40; animation: cqin .45s cubic-bezier(.2, 1.35, .45, 1) both; }
.cq-pop.out { animation: cqout .28s ease-in forwards; pointer-events: none; }
.cq-pop .in { position: absolute; inset: 0; animation: cqpunch .45s .25s linear; }
.cq-pop .rb-back { left: 0; right: 0; top: 11.4px; height: 38px; border-width: 0 38px; }
.cq-pop .body { position: absolute; left: 20.2px; right: 20.2px; top: 30.4px; bottom: 0; background: #fff; border: 4px solid var(--ink); border-radius: 8px; box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.cq-pop .hd { position: absolute; left: 10.1px; right: 10.1px; top: 0; height: 40.5px; border-width: 0 33px; font-size: 19px; }
.cq-pop .row { position: absolute; left: 4px; right: 4px; top: 10px; bottom: 22px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cq-pop .cq-rose { width: 44px; }
.cq-pop .pic { width: 58px; height: 58px; object-fit: contain; transform: scaleX(-1); }
.cq-pop .pic.mascot { transform: none; }
.cq-pop .tro { width: 54px; height: 54px; object-fit: contain; }
.cq-pop .tro.award { width: 44px; height: 56px; }
.cq-pop .about { position: absolute; left: 6px; right: 6px; bottom: 3px; height: 21px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 21px; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* AchievementUnlockedFX: brilho (Glow) e raios (StarBurst) atrás da roseta */
.cq-pop .fx { position: absolute; left: 50%; top: 42%; width: 190px; height: 190px; margin: -95px 0 0 -95px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 210, 80, .55) 0 9deg, transparent 9deg 30deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 68%); mask: radial-gradient(circle, #000 18%, transparent 68%); animation: cqspin 5s linear infinite, cqglow 1.6s ease-out both; pointer-events: none; }
.cq-pop.tier .about { font-size: 15px; }
.cq-pop.many .hd { font-size: 16px; }
@keyframes cqin { from { transform: translateX(-290px); } to { transform: none; } }
@keyframes cqout { to { transform: translateX(-290px); opacity: 0; } }
@keyframes cqpunch { 0%, 100% { scale: 1; rotate: 0deg; } 30% { scale: 1.1; rotate: -3deg; } 60% { scale: .97; rotate: 2deg; } }
@keyframes cqspin { to { rotate: 360deg; } }
@keyframes cqglow { 0% { opacity: 0; scale: .3; } 35% { opacity: 1; scale: 1.1; } 100% { opacity: .7; scale: 1; } }

/* ---------- menu: contador de troféus (abre o ranking) e o selo de resgates no botão Conquistas ---------- */
.cq-pill { position: absolute; height: 36px; min-width: 100px; padding: 0 12px 0 42px; background: #fff; border: 3px solid var(--ink); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; }
.cq-pill img { position: absolute; left: -12px; top: 50%; width: 48px; height: 48px; object-fit: contain; transform: translateY(-50%); filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); }
.cq-pill:hover { filter: brightness(1.05); }
.cq-pill:active { transform: translateY(2px); }
.cq-badge { position: absolute; right: -12px; top: -12px; min-width: 32px; height: 32px; padding: 0 7px; border-radius: 16px; background: #e5322d; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; }
.cq-gameover { left: 16px; top: 16px; right: auto; bottom: auto; display: flex; align-items: center; gap: 6px; font-size: 16px; }
.cq-gameover img { width: 26px; height: 33px; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  .cq-pop, .cq-pop .in, .cq-pop .fx, .cq-tier.ready .cq-claim, .cq-fly, .cq-counter.bump .lbl, .cq-counter .cq-add { animation: none !important; }
  .cq-pop.out { opacity: 0; }
  .cq-card:hover, .cq-card:focus-visible { transform: none; }
}
