/* Loja de coins (loja-coins.js, 01/10/2026): janela larga no molde (molde.css) com a faixa do Clube VIP (vip.css: .vp-faixa).
   Só pinta: o que é só desta janela fica escopado em #jan[data-jan="lojacoins"]. */
#jan[data-jan="lojacoins"] { width: min(1500px, 97vw); height: min(900px, 92vh); max-height: 92vh; }
#jan[data-jan="lojacoins"] #janC { display: block; padding: 12px; overflow-y: auto; overflow-x: hidden; }
.lc img { image-rendering: pixelated; }
.lc .md { grid-template-columns: 260px minmax(0, 1fr) 330px; }

/* faixa: a do VIP, com o saldo à direita */
.lc .vp-faixa h2 { font-size: 26px; }
.lc-saldo-t { margin-left: auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 6px; background: rgba(0,0,0,.55); box-shadow: 0 0 0 1px #000, 0 0 0 2px #8a6d3b; }
.lc-saldo-t img { width: 34px !important; height: 34px !important; filter: drop-shadow(0 0 6px rgba(255,210,110,.55)) !important; }
.lc-saldo-t b { display: block; color: #ffd98a; font: 700 22px/1 var(--font-mono); }
.lc-saldo-t small { color: var(--ink-muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* esquerda: o que está ativo */
.lc-ativo { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(92,74,44,.3); font-size: 13px; }
.lc-ativo:last-child { border-bottom: 0; }
.lc-ativo img { width: 24px; height: 24px; object-fit: contain; }
.lc-ativo span { flex: 1; min-width: 0; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-ativo b { color: var(--ink); font: 600 13px var(--font-mono); }

/* meio: grade de cartões */
.lc-intro { margin: 0; padding: 10px 12px; border-radius: 6px; background: rgba(0,0,0,.35); box-shadow: 0 0 0 1px #2c2417; }
.lc-grade { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.lc-c { cursor: pointer; align-items: center; text-align: center; min-height: 168px; }
.lc-c:hover { box-shadow: 0 0 0 1px #000, 0 0 0 2px #8a6d3b; }
.lc-c.on { box-shadow: 0 0 0 1px #000, 0 0 0 2px #e4bc6c, 0 0 10px rgba(228,188,108,.3); }
.lc-c.eb { opacity: .72; }
.lc-ci { display: flex; align-items: flex-end; justify-content: center; width: 72px; height: 72px; border-radius: 6px; background: radial-gradient(circle at 50% 60%, rgba(228,188,108,.16), rgba(7,8,10,.9) 70%); box-shadow: inset 0 0 0 1px #000, 0 0 0 1px #3d3322; }
.lc-ci img { width: 48px; height: 48px; object-fit: contain; margin: auto; }
.lc-ci canvas { max-width: 70px; max-height: 70px; }
.lc-c h5 { line-height: 1.2; }
.lc-c p { min-height: 2.4em; }
.lc-p { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding: 3px 10px; border-radius: 4px; background: #2a2213; color: #ffd98a; font: 700 13px var(--font-mono); box-shadow: 0 0 0 1px #8a6d3b; }
.lc-p img { width: 16px; height: 16px; }
.lc-p.ok { background: #1d2a1a; color: #8fdc8a; box-shadow: 0 0 0 1px #3f6a3a; }
.lc-p.off { background: rgba(0,0,0,.4); color: var(--ink-muted); box-shadow: 0 0 0 1px #2c2417; font-weight: 400; }
.lc-selo { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 3px; background: rgba(0,0,0,.6); color: var(--ink-muted); font: 700 10px var(--font-mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.lc-selo.on { color: #5fe08a; box-shadow: 0 0 0 1px #3f6a3a; }
.lc-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.lc-filtros input { flex: 1 1 180px; min-width: 0; }
.lc-quem { display: flex; align-items: center; gap: 6px; color: var(--ink-muted); font-size: 13px; }

/* Santuário: os quatro altares na cena da hunt */
.lc-cena { min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; }
.lc-altares { display: flex; justify-content: space-around; align-items: flex-end; margin-bottom: 8px; }
.lc-altar { position: relative; width: 84px; height: 96px; display: flex; align-items: flex-end; justify-content: center; }
.lc-altar .lc-pedra { width: 72px; height: 72px; filter: brightness(.75); }
.lc-altar .lc-oferta { position: absolute; top: 4px; width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(255,210,110,.5)); animation: lcFlutua 2.4s ease-in-out infinite; }
.lc-altar.on .lc-pedra { filter: brightness(1.1) drop-shadow(0 0 12px rgba(255,210,110,.8)); }
@keyframes lcFlutua { 50% { transform: translateY(-5px); } }
.lc-fala { margin: 0; padding: 8px 10px; border-radius: 6px; background: rgba(6,7,9,.78); color: var(--ink); font-size: 13px; box-shadow: 0 0 0 1px #3d3322; }
.lc-fala b { display: block; color: #ffd98a; font: 700 12px var(--font-display); letter-spacing: .06em; text-transform: uppercase; }

/* direita: detalhes */
.lc-dcab { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.lc-dico { flex: none; display: flex; align-items: flex-end; justify-content: center; width: 104px; height: 104px; border-radius: 6px; background: radial-gradient(circle at 50% 60%, rgba(228,188,108,.2), rgba(7,8,10,.95) 70%); box-shadow: inset 0 0 0 1px #000, 0 0 0 2px #5c4a2c; }
.lc-dico img { width: 72px; height: 72px; object-fit: contain; margin: auto; }
.lc-dico canvas { max-width: 100px; max-height: 100px; }
.lc-dcab h3 { margin: 0 0 4px; color: var(--ink); font: 700 18px/1.2 var(--font-display); }
.lc-desc { margin: 0 0 8px; color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
.lc-desc b { color: var(--ink); }
.lc-saldo { margin-top: 6px; }
.md-linha b.neg { color: #ff8a7a; }
.lc-trava { margin: 8px 0 0; padding: 6px 8px; border-radius: 4px; background: #2a1512; color: #ffb3a6; font-size: 12px; box-shadow: 0 0 0 1px #6a2a22; }
.lc-bts { margin-top: 10px; flex-direction: column; }
.lc-bts .bt { width: 100%; }

@media (max-width: 1350px) { .lc .md { grid-template-columns: 240px minmax(0, 1fr); } .lc .md > .md-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .lc .md { grid-template-columns: minmax(0, 1fr); } .lc-saldo-t { margin-left: 0; } .lc .vp-faixa { flex-wrap: wrap; } .lc-grade { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }
/* celular: os 10 departamentos viram uma fita que rola de lado, senão a vitrine ficava uma tela abaixo */
@media (max-width: 700px) {
  .lc .md-lista { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .lc .md-item { flex: none; padding: 6px 8px; } .lc .md-item small { display: none; } .lc .md-item > img { width: 32px; height: 32px; }
  .lc .vp-faixa h2 { font-size: 20px; } .lc .vp-faixa > img { width: 40px; height: 40px; }
}

/* bônus de hunt do outfit/montaria no cartão (dourado quando é a hunt atual) */
.lc-bon { margin: 0; color: var(--ink-muted); font-size: 11px !important; line-height: 1.3; } .lc-bon.aqui { color: #ffd98a; }
