/* Marca do cabeçalho igual à da página inicial, em todas as telas (Leo, 02/10/2026): palavra gótica e um eclipse vivo (lua negra que passa sobre o sol). */
header .brand { gap: 10px; }
header .brand .sigil { position: relative; display: inline-block; flex: none; width: 38px; height: 38px; font-size: 0; color: transparent; text-shadow: none; }
header .brand .sigil::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #fff3c8, #ffc65a 55%, #d4791c); box-shadow: 0 0 10px 2px #ffb43a99, 0 0 22px 4px #ff8a2a44; animation: marcaPulso 4.5s ease-in-out infinite; }
header .brand .sigil::after { content: ''; position: absolute; inset: 1px; border-radius: 50%; background: radial-gradient(circle at 42% 38%, #1a1220, #060408 62%, #020103); box-shadow: 0 0 0 1px #ffd9a055; animation: marcaLua 6s ease-in-out infinite alternate; }
@keyframes marcaLua { from { transform: translateX(-30%); } to { transform: translateX(9%); } }
@keyframes marcaPulso { 0%, 100% { box-shadow: 0 0 10px 2px #ffb43a99, 0 0 22px 4px #ff8a2a44; } 50% { box-shadow: 0 0 16px 4px #ffd36bcc, 0 0 32px 8px #ff8a2a66; } }
header .brand h1 { font: 700 30px/.9 'Grenze Gotisch', Georgia, serif; letter-spacing: .06em; color: #f1e6cc; text-shadow: 0 2px 0 #3a2418, 0 6px 18px #000; margin: 2px 0 0; }
body[data-screen=game] header .brand h1 { font-size: 26px; }
@media (max-width: 760px) { header .brand .sigil { width: 30px; height: 30px; } header .brand h1 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { header .brand .sigil::before, header .brand .sigil::after { animation: none; } }
.reduced header .brand .sigil::before, .reduced header .brand .sigil::after { animation: none; }

/* Loja: botão de voltar no desenho do site, preço do booster maior, coleção faltante visível */
#shopBack { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 8px; border-radius: 4px; border: 1px solid #e8c98b66; background: linear-gradient(180deg, #1f1727, #120d18); color: #f1e6cc; box-shadow: inset 0 0 0 3px #120d18, inset 0 0 0 4px #e8c98b22, 0 8px 18px -10px #000; font: 700 15px/1 'Grenze Gotisch', Georgia, serif; letter-spacing: .16em; text-transform: uppercase; transition: border-color .18s, color .18s, transform .16s, box-shadow .2s; }
#shopBack:hover { border-color: #e8c98b; color: #fff6e0; transform: translateX(-2px); box-shadow: inset 0 0 0 3px #120d18, inset 0 0 0 4px #e8c98b44, 0 0 20px -6px #e8c98b99; }
#shopBack .sbArrow { width: 26px; height: 26px; padding: 3px; border-radius: 50%; border: 1px solid #e8c98b77; background: #e8c98b1c; color: #e8c98b; transition: transform .2s; }
#shopBack:hover .sbArrow { transform: translateX(-3px); background: #e8c98b33; }
#shopBack .kbd { font: 700 11px/1 system-ui, sans-serif; letter-spacing: .06em; padding: 4px 6px; border-radius: 4px; border: 1px solid #e8c98b55; border-bottom-width: 2px; background: #0e0a14; color: #c9b9d2; text-transform: none; }
.shopBuy span { font-size: 26px !important; font-weight: 800; padding: 6px 18px !important; border-radius: 22px !important; background: #0003 !important; display: inline-flex; align-items: center; gap: 8px; }
.shopBuy span :is(.gem, .coin) { font-size: 1.1em; }
.shopBuy { min-height: 72px; }
.miss { filter: brightness(.6) saturate(.45) !important; opacity: .92; }
.miss:hover { filter: brightness(.9) saturate(.8) !important; }

/* Moedas menores (Leo, 02/10/2026): chips do cabeçalho e da loja um pouco mais compactos, ainda com espaço para milhões */
header .actions > :is(.goldChip, .gemChip) { min-height: 36px; padding: 4px 15px 4px 10px; gap: 8px; }
header .actions > :is(.goldChip, .gemChip) b { font-size: 18px; min-width: 4ch; }
.walletBig { min-height: 52px; min-width: 150px; padding: 7px 14px 7px 10px; gap: 10px; border-radius: 4px; }
.walletBig b { font-size: 26px; }
.walletBig .coin, .walletBig .gem { font-size: 24px; }
.walletBig small { font-size: 10px; margin-top: 3px; }
.poWallet :is(.goldChip, .gemChip) { transform: scale(.9); transform-origin: center; }

/* Botões do site: placa de ouro e tinta, no lugar do botão cinza genérico. Valem para a abertura de booster e as abas da loja. */
.poActions button {
  border-radius: 4px; border: 1px solid #e8c98b66; background: linear-gradient(180deg, #1f1727, #120d18); color: #f1e6cc;
  font: 700 15px/1 'Grenze Gotisch', Georgia, serif; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: inset 0 0 0 3px #120d18, inset 0 0 0 4px #e8c98b22, 0 8px 18px -10px #000;
  transition: border-color .18s, color .18s, transform .16s cubic-bezier(.22,1,.36,1), box-shadow .2s, background .2s;
}
.poActions button { min-height: 46px; padding: 11px 24px; font-size: 16px; }
.poActions button:hover:not(:disabled) { border-color: #e8c98b; color: #fff6e0; transform: translateY(-2px); background: linear-gradient(180deg, #2a1f1a, #150e13); box-shadow: inset 0 0 0 3px #120d18, inset 0 0 0 4px #e8c98b44, 0 12px 22px -10px #000, 0 0 20px -6px #e8c98b99; }
.poActions button:active:not(:disabled) { transform: translateY(0) scale(.98); }
.poActions button.primary { background: linear-gradient(180deg, #f0d28d, #d3a955); border-color: #f3d896; color: #1d1218; text-shadow: 0 1px 0 #fff6; box-shadow: inset 0 1px 0 #fff8, 0 10px 22px -10px #000, 0 0 24px -6px #e8c98b88; }
.poActions button.primary:hover:not(:disabled) { background: linear-gradient(180deg, #ffe9b0, #e3b861); color: #1d1218; }
.poActions button:disabled { opacity: .45; }
.poActions button:focus-visible { outline: 2px solid #ffe9b0; outline-offset: 3px; }
#poAll { min-width: 190px; border-color: #e8c98baa; }
.shopTabs { border-radius: 4px; border-color: #e8c98b33; }
.shopTabs button { border-radius: 3px !important; font: 700 15px/1 'Grenze Gotisch', Georgia, serif !important; letter-spacing: .14em; text-transform: uppercase; }
.shopTabs button.on { background: linear-gradient(180deg, #f0d28d, #d3a955) !important; color: #1d1218 !important; box-shadow: inset 0 1px 0 #fff8, 0 0 22px -6px #e8c98b88 !important; }
.shopTabs button:not(.on):hover { color: #fff6e0 !important; background: #e8c98b14 !important; }

/* Subida de nível: animação no resultado, com ou sem recompensa (os níveis são infinitos) */
.onlineRewards .lvlUp { position: relative; overflow: hidden; animation: lvlPop .7s cubic-bezier(.34,1.56,.64,1) both; }
.onlineRewards .lvlUp::before { content: '▲'; position: absolute; left: 10px; top: 50%; translate: 0 -50%; color: #ffd36b; font-size: 18px; animation: lvlRise 1.4s ease-out infinite; }
.onlineRewards .lvlUp::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, #ffe9b066 50%, transparent 65%); transform: translateX(-120%); animation: lvlShine 1.8s .5s ease-out 2 forwards; }
.onlineRewards .lvlUp b { padding-left: 22px; font-size: 1.25em; text-shadow: 0 0 14px #ffd36b99; }
@keyframes lvlPop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes lvlRise { 0% { transform: translateY(8px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
@keyframes lvlShine { to { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .onlineRewards .lvlUp, .onlineRewards .lvlUp::before, .onlineRewards .lvlUp::after { animation: none; } }
.reduced .onlineRewards .lvlUp, .reduced .onlineRewards .lvlUp::before, .reduced .onlineRewards .lvlUp::after { animation: none; }

/* Barra de experiência: mini no botão da conta (cabeçalho) e grande no resultado da partida e no perfil */

.accountPill .accTxt { display: inline-flex; flex-direction: column; align-items: stretch; gap: 5px; min-width: 0; }
.accountPill .xpMini { display: block; height: 6px; min-width: 84px; border-radius: 3px; background: #1d121870; box-shadow: inset 0 0 0 1px #1d121899; overflow: hidden; }
.accountPill .xpMini i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #7a3cff, #ff7ad9 55%, #ffd36b); box-shadow: 0 0 6px #ff7ad9aa; transition: width .6s cubic-bezier(.22,1,.36,1); }
.xpResult { grid-column: 1 / -1; width: 100%; padding: 10px 14px 12px; border: 1px solid #e8c98b66; border-radius: 6px; background: linear-gradient(180deg, #1b1424f2, #0f0b15f2); box-shadow: inset 0 0 0 3px #120d18, inset 0 0 0 4px #e8c98b22; text-align: left; }
.xpResult .xpHead { display: flex; justify-content: space-between; align-items: baseline; font: 700 18px/1 'Grenze Gotisch', Georgia, serif; color: #f1e6cc; }
.xpResult .xpHead span { color: #ffd36b; text-shadow: 0 0 12px #ffd36b66; }
.xpBig { height: 14px; margin: 8px 0 4px; border-radius: 7px; background: #0e0a14; border: 1px solid #e8c98b44; box-shadow: inset 0 2px 5px #000a; overflow: hidden; position: relative; }
.xpBig i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, #7a3cff, #ff7ad9 55%, #ffd36b); box-shadow: 0 0 14px #ff7ad9aa, inset 0 1px 0 #ffffff66; }
.xpBig::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 24px, #0006 24px 25px); pointer-events: none; }
.xpResult small { color: #c9b9d2; letter-spacing: .08em; }
.xpParts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 3px; }
.xpParts li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #f1e6cc; }
.xpParts li b { color: #8fd9a8; font-variant-numeric: tabular-nums; }
.xpParts li em { font-style: normal; color: #c9b9d2; font-weight: 400; }
body[data-screen=game] .accountPill .xpMini { display: none; }

/* Loja e abertura de booster com as fontes do site (Leo, 02/10/2026): Grenze Gotisch nos títulos e números, Alegreya Sans no texto. */
#shopView, .packOverlay, .collectorBanner, .cxTitle, .cxName { font-family: 'Alegreya Sans', system-ui, sans-serif; }
.shopHead h2, .packName, .goldBig b, .goldReward b, .walletBig b, .gemPack b, .boosterInfo h3, .poValue b, .poCopies, .poCard .stamp, .packOverlay .stamp, .cfArrow, .gemStack, .collectorBanner, .cxTitle, .cxName, .poWallet b, .oddName {
  font-family: 'Grenze Gotisch', Georgia, serif !important;
}
.collectorBanner, .cxTitle { letter-spacing: .06em; }
.poCard .stamp, .packOverlay .stamp, .poCopies { letter-spacing: .08em; font-weight: 800; }
.shopHead small, .shopTabs, .odds > small, .shopMissing small, .collectProgress, .gemNote, .provisional, .goldInfo, .poHud p, .poValue small, .boosterPick, .walletBig small { font-family: 'Alegreya Sans', system-ui, sans-serif; }
.shopHead p, .boosterInfo p, .collectProgress div, .odd, .goldInfo small, .gemNote { font-family: 'Alegreya Sans', system-ui, sans-serif; font-size: 1.04em; }
kbd, .kbd { font-family: 'Alegreya Sans', system-ui, sans-serif !important; }

/* Abertura de booster (Leo, 02/10/2026): sem etiqueta de raridade, selos NOVA! e xN no canto superior ESQUERDO (o emblema do clã fica livre, no direito) */
.poFront .card.duel .rarTag, .cxCard > .card.duel .rarTag, .poCard > .rarityTag, .poCopies { display: none !important; }
.poCard .stamp, .poRow.dense .poCard .stamp, .poRow.tiny .poCard .stamp { top: -13px !important; left: -9px !important; right: auto !important; rotate: -8deg !important; translate: none !important; z-index: 6; pointer-events: none; }
.poCard .stamp.dupe { padding: 2px 11px !important; font-size: clamp(15px, 1.5vw, 22px) !important; line-height: 1.1 !important; letter-spacing: .04em !important; background: linear-gradient(180deg, #4a3a5c, #2d2436) !important; color: #ffe9b0 !important; border: 1px solid #e8c98b99 !important; }
.poRow.dense .poCard .stamp.dupe { font-size: 12px !important; padding: 1px 7px !important; }
.poRow.tiny .poCard .stamp.dupe { font-size: 10px !important; padding: 0 5px !important; }

/* Cartas reveladas mais claras e arte um pouco mais para baixo (Leo, 02/10/2026): a cabeça do personagem não fica sob o nome; perde-se um pouco dos pés, que já ficam sob o texto */
.poCard.isDupe .poFront { filter: none !important; }
/* Sem filter na arte: ele criava uma camada recortada em pixel inteiro e deixava uma linha preta na borda direita. O brilho extra vem de um véu claro por dentro. */
.poFront .card.duel .art { box-shadow: inset 0 0 0 100vmax #ffffff14; background-position: 50% 9cqw !important; background-color: #14101c; }

/* ---- Coleção com o mesmo acabamento das cartas da abertura (Leo, 02/10/2026) ---- */
#colGrid .card.duel { aspect-ratio: 2 / 3; container-type: inline-size; overflow: hidden; }
#colGrid .card.duel .art { inset: 0; background-size: 100% 100% !important; background-position: 50% 9cqw !important; background-color: #14101c; box-shadow: inset 0 0 0 100vmax #ffffff10; }
#colGrid .card.duel .cardText { position: absolute !important; left: 0; right: 0; bottom: 0; top: auto; z-index: 3; padding: 16cqw 4cqw 3.4cqw !important; background: linear-gradient(0deg, #09070df5 0%, #09070de6 62%, transparent 100%) !important; }
#colGrid .card.duel .cardText p { font: 500 max(11px, 5.5cqw)/1.3 'Alegreya Sans', system-ui, sans-serif !important; letter-spacing: 0; text-transform: none; font-style: normal !important; opacity: 1 !important; margin: 0 0 1.6cqw !important; text-shadow: 0 1px 2px #000; -webkit-line-clamp: 2; }
#colGrid .card.duel .cardText p.ability { color: #fff !important; }
#colGrid .card.duel .cardText p.ability.locked { color: #e9e1f0 !important; }
#colGrid .card.duel .cardText p.clanAbility { color: #ffe9b0 !important; }
#colGrid .card.duel .cardStats { margin-top: 2cqw !important; }
#colGrid .card.duel .cardStats :is(.atk, .dmg) { font-size: clamp(14px, 11cqw, 30px) !important; }
#colGrid .card.duel .art h4.cardName { font: 700 max(14px, 7.6cqw)/1.12 'Grenze Gotisch', Georgia, serif !important; letter-spacing: .01em; padding: 3cqw 13cqw 4cqw !important; white-space: normal !important; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden !important; color: #fff6e3; text-shadow: 0 2px 3px #000, 0 0 14px #000 !important; }
#colGrid .card.duel .rarTag { display: none !important; }
/* Botão "i" da ficha: bem no canto superior esquerdo, sempre visível */
.cxInfo { left: 6px !important; top: 6px !important; width: 24px !important; height: 24px !important; font-size: 14px !important; z-index: 7; opacity: .92 !important; transform: none !important; background: #09070de6 !important; border: 1px solid #e8c98bcc !important; color: #ffe9b0 !important; }
.cxInfo svg { width: 14px; height: 14px; }
#colGrid .card.duel .art h4.cardName { padding-left: 30px !important; }
/* Selo de cópias xN, igual ao da abertura, no canto inferior esquerdo (não cobre o "i" nem o emblema do clã) */
.cxItem { position: relative; }
.cxCopies { position: absolute; left: -9px; top: -13px; z-index: 8; padding: 2px 10px; border-radius: 6px; rotate: -8deg; font: 800 clamp(14px, 1.3vw, 19px)/1.1 'Grenze Gotisch', Georgia, serif; letter-spacing: .04em; background: linear-gradient(180deg, #4a3a5c, #2d2436); color: #ffe9b0; border: 1px solid #e8c98b99; box-shadow: 0 4px 12px #000a; pointer-events: none; }

/* ---- Ficha da coleção no mesmo desenho do modal do combate (Leo, 02/10/2026): a carta de verdade à esquerda; clã, nome, história, números, habilidades e ação à direita ---- */
#colInspect.cxInspect { width: min(940px, calc(100vw - 32px)); }
#colInspect .cxInspBody { grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 38px); align-items: center; padding: clamp(18px, 2.4vw, 30px); }
#colInspect .inspCard { display: block !important; position: relative; width: auto; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
#colInspect .inspCard .card.duel { --cw: clamp(230px, 24vw, 320px); width: var(--cw) !important; height: calc(var(--cw) * 1.5) !important; aspect-ratio: auto; display: block; position: relative; pointer-events: none; transform: none !important; container-type: inline-size; overflow: hidden;
  border-radius: 10px; border: 1px solid #e8c98b77; box-shadow: 0 22px 44px -10px #000, 0 0 0 1px #000, 0 0 40px -10px color-mix(in srgb, var(--clan, #e8c98b) 60%, transparent); }
#colInspect .inspCard .card.duel .art { position: absolute; inset: 0; height: auto; background-size: 100% 100% !important; background-position: 50% 9cqw !important; background-color: #14101c; box-shadow: inset 0 0 0 100vmax #ffffff10; }
#colInspect .inspCard .card.duel .cardText { position: absolute !important; left: 0; right: 0; bottom: 0; top: auto; z-index: 3; padding: 16cqw 4cqw 3.4cqw !important; background: linear-gradient(0deg, #09070df5 0%, #09070de6 62%, transparent 100%) !important; }
#colInspect .inspCard .card.duel .cardText p { font: 500 max(11px, 5.5cqw)/1.3 'Alegreya Sans', system-ui, sans-serif !important; letter-spacing: 0; text-transform: none; font-style: normal !important; opacity: 1 !important; margin: 0 0 1.6cqw !important; text-shadow: 0 1px 2px #000; -webkit-line-clamp: 2; }
#colInspect .inspCard .card.duel .cardText p.ability { color: #fff !important; } #colInspect .inspCard .card.duel .cardText p.clanAbility { color: #ffe9b0 !important; }
#colInspect .inspCard .card.duel .cardStats { margin-top: 2cqw !important; border: 0; padding: 0; }
#colInspect .inspCard .card.duel .cardStats :is(.atk, .dmg) { font-size: clamp(14px, 11cqw, 30px) !important; }
#colInspect .inspCard .card.duel .art h4.cardName { font: 700 max(14px, 7.6cqw)/1.12 'Grenze Gotisch', Georgia, serif !important; padding: 3cqw 13cqw 4cqw !important; white-space: normal !important; display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden !important; color: #fff6e3; text-shadow: 0 2px 3px #000, 0 0 14px #000 !important; }
#colInspect .inspCard .card.duel .rarTag { display: none !important; }
#colInspect .inspCard .card.duel .clanIcon { display: block !important; position: absolute; z-index: 4; border-radius: 50%; }
.inspHead { display: flex; align-items: center; gap: 14px; }
.inspHead .clanIcon { display: block; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--clanImg, radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--clan, #e8c98b) 45%, #fff) 0 14%, var(--clan, #e8c98b) 48%, color-mix(in srgb, var(--clan, #e8c98b) 55%, #000) 100%)) center / contain no-repeat;
  border: var(--clanBorder, 2px solid color-mix(in srgb, var(--clan, #e8c98b) 60%, #fff)); box-shadow: var(--clanShadowOn, 0 0 0 2px #fff6, 0 0 16px var(--clan, #e8c98b), 0 2px 6px #000a); }
.inspHead h3 { margin: 2px 0 0 !important; }
.inspLore { margin: 0; padding: 10px 14px; border-left: 3px solid #e8c98b88; background: linear-gradient(90deg, #e8c98b12, transparent); font: italic 400 16px/1.5 Georgia, serif; color: #f1e6cc; border-radius: 0 4px 4px 0; max-height: 9.5em; overflow: hidden; }
.inspLore.empty { opacity: .75; }
@media (max-width: 860px) { #colInspect .cxInspBody { grid-template-columns: 1fr; justify-items: center; } #colInspect .inspCard .card.duel { --cw: min(60vw, 240px); } }

/* Decks com nome (Leo, 02/10/2026): seletor no painel do deck e diálogo de nome */
.deckLib { display: flex; gap: 6px; align-items: center; margin: 8px 0 4px; }
.deckLib select { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 4px; border: 1px solid #e8c98b66; background: linear-gradient(180deg, #1f1727, #120d18); color: #f1e6cc; font: 700 15px 'Alegreya Sans', system-ui, sans-serif; }
.deckLib button { padding: 7px 11px; border-radius: 4px; border: 1px solid #e8c98b55; background: linear-gradient(180deg, #1f1727, #120d18); color: #f1e6cc; font: 700 13px 'Grenze Gotisch', Georgia, serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.deckLib button:hover:not(:disabled) { border-color: #e8c98b; color: #fff6e0; background: linear-gradient(180deg, #2a1f1a, #150e13); }
.deckLib button:disabled { opacity: .4; cursor: default; }
.deckNameDialog { width: min(420px, calc(100vw - 32px)); padding: 22px; border-radius: 4px; border: 1px solid #e8c98b66; background: linear-gradient(180deg, #1b1424f7, #0f0b15f7); color: #f1e6cc; box-shadow: inset 0 0 0 4px #120d18, inset 0 0 0 5px #e8c98b1f, 0 40px 90px -20px #000; }
.deckNameDialog::backdrop { background: #05030899; backdrop-filter: blur(4px); }
.deckNameDialog h2 { margin: 0 0 12px; font: 700 26px/1.1 'Grenze Gotisch', Georgia, serif; }
.deckNameDialog input { width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 4px; border: 1px solid #e8c98b66; background: #0e0a14; color: #f1e6cc; font: 500 17px 'Alegreya Sans', system-ui, sans-serif; }
.deckNameError { min-height: 1.2em; margin: 8px 0 0; color: #ff8f9f; font-size: 14px; }
.deckNameActs { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.deckNameActs button { padding: 9px 18px; border-radius: 4px; border: 1px solid #e8c98b66; background: linear-gradient(180deg, #1f1727, #120d18); color: #f1e6cc; font: 700 15px 'Grenze Gotisch', Georgia, serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.deckNameActs .primary { background: linear-gradient(180deg, #f0d28d, #d3a955); color: #1d1218; border-color: #f3d896; }

/* Ficha: carta limpa (sem texto sobre a arte, os detalhes ficam ao lado), espaço para a história e menu do mercado */
#colInspect .inspCard .card.duel .cardText { padding-top: 6cqw !important; background: linear-gradient(0deg, #09070dd0 0%, transparent 100%) !important; }
.inspLore { min-height: 4.6em; }
.inspSell { margin-top: 4px; padding: 12px 14px; border-radius: 4px; border: 1px solid #e8c98b33; background: linear-gradient(180deg, #1a1322e6, #100b16e6); box-shadow: inset 0 0 0 3px #120d18, inset 0 0 0 4px #e8c98b18; display: grid; gap: 8px; }
.inspSell h4 { margin: 0; font: 500 12.5px 'Alegreya Sans', system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #e8c98b; }
.sellNote, .sellMine { margin: 0; font: 400 15px/1.4 'Alegreya Sans', system-ui, sans-serif; color: #f1e6cc; }
.sellRow { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.sellRow label { display: grid; gap: 4px; font: 500 12px 'Alegreya Sans', sans-serif; letter-spacing: .12em; color: #c9b9d2; text-transform: uppercase; }
.sellRow input { width: 120px; padding: 8px 10px; border-radius: 4px; border: 1px solid #e8c98b66; background: #0e0a14; color: #f1e6cc; font: 700 17px 'Grenze Gotisch', Georgia, serif; }
.sellReceive { flex: 1; min-width: 120px; font: 500 14px 'Alegreya Sans', sans-serif; color: #8fd9a8; }
.sellCancel { margin-left: 4px; padding: 2px 8px; border-radius: 3px; border: 1px solid #e8c98b55; background: #120d18; color: #f1e6cc; cursor: pointer; font: 500 13px 'Alegreya Sans', sans-serif; }
.marketDialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 24px; border-radius: 4px; border: 1px solid #e8c98b66; background: linear-gradient(180deg, #1b1424f7, #0f0b15f7); color: #f1e6cc; box-shadow: inset 0 0 0 4px #120d18, inset 0 0 0 5px #e8c98b1f, 0 40px 90px -20px #000; }
.marketDialog::backdrop { background: #05030899; backdrop-filter: blur(5px); }
.marketDialog small { letter-spacing: .24em; color: #e8c98b; font: 500 12.5px 'Alegreya Sans', sans-serif; }
.marketDialog h2 { margin: 2px 0 8px; font: 700 34px/1 'Grenze Gotisch', Georgia, serif; }
.marketDialog .mClose { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 4px; border: 1px solid #e8c98b55; background: #120d18; color: #f1e6cc; font-size: 20px; cursor: pointer; }
.mNote { margin: 0 0 10px; font: 400 15px/1.4 'Alegreya Sans', sans-serif; color: #c9b9d2; }
.mWrap { overflow: auto; max-height: 52vh; }
.mTable { width: 100%; border-collapse: collapse; font: 500 16px 'Alegreya Sans', sans-serif; }
.mTable th { text-align: left; padding: 6px 8px; font: 500 12px 'Alegreya Sans', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #e8c98b; border-bottom: 1px solid #e8c98b33; }
.mTable td { padding: 8px; border-bottom: 1px solid #ffffff10; }
.mTable .mPrice { font-family: 'Grenze Gotisch', Georgia, serif; font-size: 19px; color: #ffe2a0; white-space: nowrap; }
.mTable button { padding: 6px 14px; border-radius: 4px; border: 1px solid #e8c98b66; background: linear-gradient(180deg, #1f1727, #120d18); color: #f1e6cc; font: 700 13px 'Grenze Gotisch', Georgia, serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.mTable button.primary { background: linear-gradient(180deg, #f0d28d, #d3a955); color: #1d1218; border-color: #f3d896; }
.mTable button:disabled { opacity: .4; cursor: default; }

/* Selo ★N de evolução no deck: no meio da lateral direita, longe do emblema do clã (canto superior direito) */
.cxSeal { top: 44% !important; right: -11px !important; min-width: 34px !important; height: 34px !important; font-size: 13px !important; }

/* ---- Ficha da coleção: versão compacta (Leo, 02/10/2026). A anterior ocupava a tela inteira sem necessidade. ---- */
#colInspect.cxInspect { width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border-radius: 6px; }
#colInspect .cxInspBody { grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 16px 16px 16px 16px; align-items: start; max-height: calc(100vh - 32px); }
#colInspect .inspCard .card.duel { --cw: clamp(150px, 17vw, 190px); }
#colInspect .cxInspInfo { gap: 8px; padding: 0 30px 40px 0; }
#colInspect .inspHead { gap: 10px; }
#colInspect .inspHead .clanIcon { width: 36px; height: 36px; }
#colInspect .cxInspInfo h3, #colInspect .inspHead h3 { font-size: clamp(24px, 2.6vw, 30px) !important; }
#colInspect .cxEyebrow { font-size: 11px; margin: 0; }
#colInspect .inspLore { padding: 6px 10px; font-size: 14px; line-height: 1.4; min-height: 0; max-height: 5.6em; }
#colInspect .cxNums { gap: 8px; }
#colInspect .cxNums > div, #colInspect .cxNums > span { padding: 5px 14px; }
#colInspect .cxNums b { font-size: 22px; }
#colInspect .cxNums small { font-size: 9px; }
#colInspect .cxLevel { display: flex; align-items: center; gap: 10px; }
#colInspect .cxLevel small { font-size: 10.5px; margin: 0; }
#colInspect .cxPips.big button, #colInspect .cxPips.big i { transform: scale(.75); transform-origin: left center; margin-right: -6px; }
#colInspect .cxAbils { gap: 6px; }
#colInspect .cxAbils li { padding: 6px 10px; font-size: 14px; line-height: 1.35; }
#colInspect .cxAbils li b { font-size: 10.5px; }
#colInspect .cxActs .cxAct { padding: 8px 12px; font-size: 14px; min-height: 0; }
#colInspect .cxActNote { margin: 2px 0 0; font-size: 12.5px; }
#colInspect .cxInspNav { right: 12px; bottom: 10px; }
#colInspect .cxInspNav button { width: 32px; height: 32px; }
#colInspect .cxClose { top: 8px; right: 8px; width: 30px; height: 30px; }
/* Mercado recolhido: abre só quando o jogador quer vender */
.inspSell { padding: 0; }
.inspSell > summary { list-style: none; cursor: pointer; padding: 8px 12px; font: 500 12px 'Alegreya Sans', system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #e8c98b; }
.inspSell > summary::-webkit-details-marker { display: none; }
.inspSell > summary::after { content: '▾'; float: right; transition: transform .2s; }
.inspSell[open] > summary::after { transform: rotate(180deg); }
.inspSell > div { padding: 0 12px 10px; display: grid; gap: 8px; }
@media (max-width: 640px) { #colInspect .cxInspBody { grid-template-columns: 1fr; justify-items: center; } #colInspect .cxInspInfo { padding-right: 0; width: 100%; } #colInspect .inspCard .card.duel { --cw: min(46vw, 170px); } }

/* Collector na abertura: sem blend mode dentro do giro 3D (piscava e saltava ao mexer na carta), mesma animação sempre
   (nada de trocar por mouse/hover), borda fixa em vez de girar e camadas isoladas dentro da carta. */
.poFront .card.duel.rar-collector { animation: none !important; isolation: isolate; transform: translateZ(0); }
.poFront .card.duel.rar-collector .art { isolation: isolate; }
.poFront .card.duel.rar-collector .art::before,
.poFront .card.duel.rar-collector:is(:hover, .depth-active, :focus-visible) .art::before { mix-blend-mode: normal !important; opacity: .34 !important; animation: foilDrift 9s ease-in-out infinite alternate !important; transform: none; transition: none; will-change: transform; }
.poFront .card.duel.rar-collector .art::after,
.poFront .card.duel.rar-collector:is(:hover, .depth-active, :focus-visible) .art::after { mix-blend-mode: normal !important; opacity: .5 !important; animation: foilSweep 3.6s ease-in-out infinite !important; transform: none; transition: none; will-change: transform; }
.reduced .poFront .card.duel.rar-collector .art::before, .reduced .poFront .card.duel.rar-collector .art::after { animation: none !important; }

/* Subtítulos da tela inicial ("Quatro cartas, quatro rounds…" e as descrições dos itens): creme dourado, mais legível que o lilás apagado. */
#menu .hubCard .cardHead p, #menu .hubTile:not(.primary) .tText small, #menu .hubIntro h2 { color: #f0e0b8; text-shadow: 0 1px 6px #000a; }
