/* ==========================================================================
   LUNA RUSH — estilo
   ========================================================================== */
:root {
  --mag: #c81fd0;
  --mag2: #a012c0;
  --mag3: #7a0a98;
  --deep: #2a0838;
  --deep2: #1a0524;
  --gold: #ffd56a;
  --gold2: #e0a020;
  --cream: #fff3d6;
  --cream2: #ffe8b0;
  --ink: #2a1030;
  --orange: #ff9a1a;
  --green: #36c24a;
  --red: #e8304a;
  --blue: #2e8ae8;
  --text: #ffffff;
  --font: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', sans-serif;
}

/* fontes do Luna Rush original (extraídas do build) */
@font-face { font-family: 'LR Brandon'; src: url('../fonts/BrandonBold.ttf') format('truetype'); font-weight: 400 900; font-display: block; }
@font-face { font-family: 'LR Impact'; src: url('../fonts/UTMImpact.ttf') format('truetype'); font-display: block; }

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #1a0a20;
  font-family: var(--font);
  color: var(--text);
  user-select: none;
  -webkit-user-select: none;
}
button, input, select { font-family: var(--font); }
img { -webkit-user-drag: none; }
/* o palco tem 1280px de largura (só encolhe por transform): sem isto o celular afasta o zoom para caber ele */
body { position: fixed; inset: 0; }

/* celular em pé: o jogo é deitado (1280x720) e fica minúsculo; pede para girar, mas deixa jogar assim */
.rotate-hint { display: none; }
@media (orientation: portrait) and (max-width: 900px) {
  .rotate-hint:not(.off) {
    display: flex; position: fixed; inset: 0; z-index: 2000; flex-direction: column; align-items: center; justify-content: center;
    gap: 18px; padding: 0 24px; text-align: center; background: radial-gradient(circle, var(--mag2), var(--deep2) 75%);
    color: var(--text); font-weight: 800; font-size: 22px; line-height: 1.3;
  }
  .rotate-hint .ph { width: 64px; height: 108px; border: 6px solid var(--gold); border-radius: 12px; animation: rotate-hint 2s ease-in-out infinite; }
  .rotate-hint .btn { font-size: 16px; }
}
@keyframes rotate-hint { 0%, 25% { transform: rotate(0); } 60%, 100% { transform: rotate(-90deg); } }

/* Fundo de jardim desfocado fora da moldura */
#bg {
  position: fixed;
  inset: -40px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255, 150, 190, 0.9), transparent 40%),
    radial-gradient(ellipse at 85% 15%, rgba(255, 170, 210, 0.85), transparent 38%),
    radial-gradient(ellipse at 70% 70%, rgba(255, 120, 170, 0.6), transparent 35%),
    radial-gradient(ellipse at 25% 85%, rgba(70, 140, 90, 0.9), transparent 45%),
    radial-gradient(ellipse at 50% 55%, rgba(120, 170, 80, 0.8), transparent 50%),
    linear-gradient(#ffd8e8, #a8c890 60%, #4a7a5a);
  filter: blur(14px) saturate(1.1);
}

#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 720px;
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: center center;
}

/* ---------------------------------------------------------------- moldura */
.frame {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--mag2);
  background-image: url('../img/ui/bg_pattern_suave.png'), url('../img/ui/bg.png');
  background-size: 140px 140px, 130% 130%;
  background-position: 0 0, center;
  background-repeat: repeat, no-repeat;
  box-shadow: 0 0 0 3px #6a3a00, 0 0 0 8px var(--gold), 0 0 0 10px #8a5a10, 0 14px 50px rgba(0, 0, 0, 0.55);
}
.frame-orn {
  position: absolute;
  pointer-events: none;
  z-index: 40;
}
.orn-top { left: 50%; top: -30px; width: 120px; height: 70px; transform: translateX(-50%); }
.orn-bl { left: -14px; bottom: -14px; width: 120px; height: 46px; }
.orn-br { right: -14px; bottom: -14px; width: 120px; height: 46px; transform: scaleX(-1); }
.orn-bc { left: 50%; bottom: -16px; width: 160px; height: 36px; transform: translateX(-50%); }
.version { position: absolute; right: 18px; bottom: 6px; font-size: 12px; font-weight: 700; opacity: 0.85; z-index: 30; }

.screen {
  position: absolute;
  inset: 0;
  animation: screenIn 0.28s ease-out;
}
@keyframes screenIn { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- textos */
.title-txt { font-weight: 800; font-size: 34px; text-shadow: 0 3px 0 rgba(60, 0, 80, 0.55); letter-spacing: 0.3px; }
.outline-txt {
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 3px 0 var(--ink);
}
.muted { opacity: 0.75; }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grow { flex: 1; }
.hidden { display: none !important; }
.gold-txt { color: var(--gold); }

/* ---------------------------------------------------------------- barra superior */
.topbar {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 20px 0 14px;
  gap: 14px;
  z-index: 20;
}
.backbtn {
  width: 62px; height: 52px;
  border-radius: 12px;
  border: none;
  background: rgba(90, 0, 110, 0.45);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.1s, background 0.15s;
}
.backbtn:hover { background: rgba(120, 0, 140, 0.6); transform: translateX(-2px); }
.backbtn svg { width: 40px; height: 40px; }
.topbar .ttl { font-size: 34px; font-weight: 800; text-shadow: 0 3px 0 rgba(60, 0, 80, 0.5); }
.balances { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.bal {
  display: flex; align-items: center; gap: 6px;
  min-width: 124px; height: 30px;
  padding: 0 12px 0 4px;
  background: rgba(40, 0, 60, 0.55);
  border-radius: 16px;
  font-weight: 700; font-size: 16px;
  position: relative;
}
.bal svg { width: 34px; height: 34px; margin-left: -12px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.bal.flash { animation: balFlash 0.8s; }
@keyframes balFlash { 0%, 100% { background: rgba(40, 0, 60, 0.55); } 30% { background: rgba(255, 210, 90, 0.85); color: var(--ink); } }
.iconbtn {
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: transparent; cursor: pointer; padding: 0;
  transition: transform 0.15s;
}
.iconbtn:hover { transform: rotate(30deg) scale(1.08); }
.iconbtn svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- botões */
.btn {
  font-weight: 800; font-size: 18px; color: #fff;
  padding: 8px 22px;
  border-radius: 12px;
  border: 3px solid #7a2a00;
  background: linear-gradient(#ffd25a, #ffa51a 55%, #ee7a0a);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 4px 0 #7a2a00, 0 6px 12px rgba(0, 0, 0, 0.25);
  text-shadow: 0 2px 0 #8a3a00, 0 0 3px #8a3a00;
  cursor: pointer;
  transition: transform 0.08s, filter 0.15s, box-shadow 0.08s;
  line-height: 1.1;
  position: relative;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 1px 0 #7a2a00; }
.btn:disabled { filter: grayscale(0.9) brightness(0.8); cursor: not-allowed; transform: none; }
.btn.green { border-color: #0e5a1a; background: linear-gradient(#7aef6a, #2ec24a 55%, #18a03a); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 0 #0e5a1a, 0 6px 12px rgba(0,0,0,.25); text-shadow: 0 2px 0 #0e5a1a; }
.btn.red { border-color: #7a0a1a; background: linear-gradient(#ff7a8a, #f0304a 55%, #c81a34); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 0 #7a0a1a, 0 6px 12px rgba(0,0,0,.25); text-shadow: 0 2px 0 #7a0a1a; }
.btn.blue { border-color: #0a3a7a; background: linear-gradient(#7ac8ff, #2e8ae8 55%, #1a68c8); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 0 #0a3a7a, 0 6px 12px rgba(0,0,0,.25); text-shadow: 0 2px 0 #0a3a7a; }
.btn.purple { border-color: #3a0a5a; background: linear-gradient(#c88aff, #9a4af0 55%, #7a2ad0); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 0 #3a0a5a, 0 6px 12px rgba(0,0,0,.25); text-shadow: 0 2px 0 #3a0a5a; }
.btn.small { font-size: 14px; padding: 5px 12px; border-width: 2px; border-radius: 9px; }
.btn.big { font-size: 24px; padding: 10px 34px; }
.btn .price { display: inline-flex; align-items: center; gap: 4px; }
.btn svg { width: 22px; height: 22px; vertical-align: middle; }
.btn .sub { display: block; font-size: 11px; opacity: 0.9; }
.btn.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  font-weight: 700; font-size: 13px;
}
.chip svg { width: 18px; height: 18px; }

.badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 11px;
  background: #ff2a4a; color: #fff;
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #fff;
  animation: badgePop 0.4s;
  z-index: 3;
}
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------------------------------------------------------------- painéis */
.panel {
  background: rgba(70, 0, 90, 0.32);
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.12);
}
.darkpanel {
  background: rgba(30, 5, 40, 0.55);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.darkpanel > .hdr {
  background: #120318;
  height: 44px;
  display: flex; align-items: center;
  padding: 0 14px;
  font-weight: 800; font-size: 22px;
  gap: 10px;
  flex: none;
}
.darkpanel > .hdr .count { margin-left: auto; font-size: 16px; }
.scroll { overflow-y: auto; overflow-x: hidden; }
.scroll::-webkit-scrollbar { width: 8px; }
.scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.35); border-radius: 4px; }
.scroll::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }

select.dd {
  background: transparent; color: #fff; border: none;
  font-weight: 800; font-size: 22px; cursor: pointer; outline: none;
}
select.dd option { background: #2a0838; font-size: 16px; }

/* ---------------------------------------------------------------- carta de heroína */
.hgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 100px);
  gap: 12px;
  padding: 12px;
  align-content: start;
}
.hcard {
  width: 100px; height: 134px;
  border-radius: 9px;
  background: #18141f;
  border: 3px solid #18141f;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}
.hcard:hover { transform: translateY(-3px); }
.hcard .hid { height: 19px; font-size: 11px; font-weight: 700; padding: 1px 5px; background: #18141f; white-space: nowrap; }
.hcard .rar { position: absolute; right: 3px; top: 2px; width: 16px; height: 16px; }
.hcard .rar svg { width: 100%; height: 100%; }
.hcard img.port { width: 100%; height: 88px; object-fit: cover; display: block; }
.hcard .bot { height: 21px; display: flex; justify-content: space-between; align-items: center; padding: 0 4px; font-size: 11px; font-weight: 700; background: #18141f; }
.hcard .bolts { display: flex; gap: 0; }
.hcard .bolts svg { width: 13px; height: 13px; }
.hcard.sel { border-color: var(--gold); box-shadow: 0 0 0 2px #fff7c0, 0 0 16px var(--gold); }
.hcard.picked::after {
  content: '';
  position: absolute; inset: 19px 0 21px 0;
  background: rgba(0, 70, 10, 0.6) url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 12l6 6L21 6' stroke='white' stroke-width='4.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 46px no-repeat;
}
.hcard.dim { filter: grayscale(0.85) brightness(0.65); }
.hcard.inactive img.port { filter: grayscale(1); }
.hcard .newtag {
  position: absolute; left: -18px; top: 24px;
  transform: rotate(-45deg);
  background: #ff2a4a; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 0 20px;
}
.hcard .lvup {
  position: absolute; left: 4px; top: 22px;
  background: #36c24a; color: #fff; font-size: 10px; font-weight: 800;
  border-radius: 6px; padding: 0 5px; border: 1.5px solid #fff;
  animation: pulse 1.4s infinite;
}

.bolts-big { display: flex; gap: 1px; }
.bolts-big svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- lobby (arte original) */
.avatar {
  width: 50px; height: 50px; border-radius: 10px;
  background: #c8c8d0; overflow: hidden; border: 3px solid rgba(255,255,255,.7);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* medidas em pixels da tela de 1280x720 do jogo original */
.frame.no-ver > .version { display: none; }
.lb, .lb button, .bm, .bm button, .sl, .sl button, .vsx, .bt, .rs, .rs button, .hs, .hs button { font-family: 'LR Brandon', var(--font); }
.lb .abs { position: absolute; }
.lb-txt { color: #fff; text-shadow: 0 1px 0 rgba(60, 0, 60, .55), 0 0 2px rgba(60, 0, 60, .5); white-space: nowrap; }
.lb-avatar { left: 23px; top: 15px; width: 66px; height: 63px; cursor: pointer; }
.lb-avatar img { position: absolute; pointer-events: none; }
.lb-avatar .box { left: 0; top: 0; width: 66px; height: 63px; opacity: .72; }
.lb-avatar .frm { left: -2px; top: -2px; width: 70px; height: 67px; opacity: .7; }
.lb-avatar .sil { left: 9px; top: 13px; width: 47px; height: 42px; }
.lb-lv { left: 120px; top: 10px; font-size: 54px; line-height: 54px; }
.lb-name { left: 170px; top: 25px; font-size: 23px; line-height: 30px; white-space: nowrap; }
.lb-xp { left: 100px; top: 67px; width: 212px; height: 10px; border-radius: 5px; background: linear-gradient(#54205c, #8e4087); box-shadow: inset 0 2px 2px rgba(0, 0, 0, .35); overflow: hidden; }
.lb-xp i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(#7ff6ff, #2ccde0); }
.lb-event { left: 441px; top: 0; width: 398px; height: 124px; background: url('../img/ui/event.png') 0 0 / 100% 100% no-repeat; cursor: pointer; transition: transform .15s; }
.lb-event:hover { transform: translateY(2px); }
.lb-event span { position: absolute; left: 0; right: 0; top: 50px; text-align: center; font-size: 30px; line-height: 1; color: #fff;
  text-shadow: -2px -2px 0 #173456, 2px -2px 0 #173456, -2px 2px 0 #173456, 2px 2px 0 #173456, 0 3px 0 #173456; }
.lb-pill { top: 33px; height: 26px; border-radius: 8px; background: rgba(70, 0, 80, .45); }
.lb-pill span { position: absolute; top: 0; line-height: 27px; font-size: 20px; }
.lb-coin { pointer-events: none; filter: drop-shadow(0 2px 1px rgba(40, 0, 40, .35)); }
.lb-gear { left: 1181px; top: 19px; width: 49px; height: 54px; background: none; border: 0; padding: 0; cursor: pointer; transition: transform .2s; }
.lb-gear img { width: 100%; height: 100%; }
.lb-gear:hover { transform: rotate(30deg); }
.lb-ver { left: 1227px; top: 4px; font-size: 13px; line-height: 1; }
.lb-panel { border-radius: 14px; background: rgba(80, 0, 95, .3); }
.lb-card { cursor: pointer; transition: transform .18s, filter .18s; }
.lb-card img { position: absolute; display: block; pointer-events: none; }
.lb-card:hover { transform: translateY(-6px); filter: drop-shadow(0 10px 14px rgba(50, 0, 60, .45)); }
.lb-card .ttl { position: absolute; text-align: center; color: #fff; line-height: 1; transform-origin: center; }
.lb-card .ttl b { display: block; font-size: 30px; font-weight: 700; }
.lb-card .ttl small { display: block; font-size: 21px; margin-top: -3px; }
.lb-bar { left: 51px; top: 609px; width: 1178px; height: 111px; border-radius: 18px 18px 0 0; background: rgba(60, 0, 70, .3); }
.lb-nav { width: 120px; height: 96px; top: 618px; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; }
.lb-nav .ic { position: absolute; left: 28px; top: 4px; width: 64px; height: 60px; object-fit: contain; transition: transform .15s; filter: drop-shadow(0 2px 1px rgba(40, 0, 40, .3)); }
.lb-nav:hover .ic { transform: translateY(-4px) scale(1.06); }
.lb-nav .lbl { position: absolute; left: 0; right: 0; top: 66px; text-align: center; font-size: 21px; line-height: 1; }
.lb-nav .badge { top: 0; right: 22px; }

/* ---------------------------------------------------------------- caçar chefe (arte original) */
/* medidas em pixels da tela de 1280x720 do jogo original */
.bm .abs, .sl .abs, .hs .abs { position: absolute; }
.bm-bg { inset: 0; background: url('../img/ui/Background_2.png') center / cover no-repeat; }
.bm-scroll { inset: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; }
.bm-scroll::-webkit-scrollbar { display: none; }
.bm-scroll.drag { cursor: grabbing; }
.bm-track { position: relative; height: 720px; }
.bm-way { pointer-events: none; }
.bm-node { width: 233px; height: 233px; cursor: pointer; transition: transform .15s; }
.bm-node:hover { transform: scale(1.04); }
.bm-node.locked { cursor: not-allowed; }
.bm-node.locked:hover { transform: none; }
.bm-node > img { position: absolute; pointer-events: none; }
.bm-node .card { left: 0; top: 0; width: 233px; height: 233px; }
.bm-node .tag { left: 25px; top: 17px; width: 183px; height: 41px; }
.bm-node .tag-t { position: absolute; left: 25px; top: 17px; width: 183px; height: 41px; line-height: 41px; text-align: center; font-size: 16px; color: #fff; }
.bm-node .pic { left: 60px; top: 62px; width: 113px; height: 115px; object-fit: contain; }
/* retratos 3D: borda esfumada para não aparecer o recorte quadrado */
.bm-node .pic.r3 { -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 42%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 58% 62% at 50% 42%, #000 62%, transparent 100%); }
.bm-node .cnt { position: absolute; left: 0; right: 0; top: 181px; text-align: center; font-size: 29px; line-height: 1; color: #f2f2f2;
  text-shadow: 0 2px 0 rgba(60, 60, 60, .8), 0 0 3px rgba(40, 40, 40, .6); }
.bm-node.current .cnt { color: #f5a01c; text-shadow: 0 2px 0 #8a4a00, 0 0 2px #6a3a00; }
.bm-node.dead .cnt { color: #fff; text-shadow: 0 2px 0 #8a5a00, 0 0 3px #6a4000; }
.bm-node .lock { left: 152px; top: -12px; width: 67px; height: 76px; }
.bm-left { left: 0; top: 0; width: 432px; height: 720px; pointer-events: none; }
.bm-left .terra { position: absolute; inset: 0; width: 100%; height: 100%; }
.bm-left .art { position: absolute; left: 12px; top: 186px; width: 404px; height: 292px; object-fit: contain; transform: scaleX(-1); filter: drop-shadow(0 8px 10px rgba(40, 0, 0, .35)); }
.bm-head { left: 0; top: 0; width: 420px; height: 80px; background: url('../img/ui/Bar_back.png') 0 0 / 100% 100% no-repeat; }
.sl-back { left: 17px; top: 16px; width: 48px; height: 48px; background: none; border: 0; padding: 0; cursor: pointer; transition: transform .15s; }
.sl-back img { width: 100%; height: 100%; }
.sl-back:hover { transform: translateX(-3px); }
.bm-back { left: 29px; top: 16px; width: 56px; height: 56px; background: none; border: 0; padding: 0; cursor: pointer; transition: transform .15s; }
.bm-back img { width: 100%; height: 100%; }
.bm-back:hover { transform: translateX(-3px); }
.bm-title { left: 148px; top: 22px; font-size: 26px; line-height: 34px; color: #fff; white-space: nowrap; }
.bm-timer { left: 468px; top: 1px; width: 337px; height: 105px; background: url('../img/ui/event.png') 0 0 / 100% 100% no-repeat; }
.bm-timer span { position: absolute; left: 30px; width: 210px; top: 34px; line-height: 22px; text-align: center; font-size: 16px; color: #fff; white-space: nowrap; }
.bm-timer img { position: absolute; left: 238px; top: 8px; width: 65px; height: 65px; }
.bm .lb-txt, .sl .lb-txt, .vsx .lb-txt, .bt .lb-txt, .rs .lb-txt, .hs .lb-txt { color: #fff; text-shadow: 0 1px 0 rgba(60, 0, 60, .55), 0 0 2px rgba(60, 0, 60, .5); }
.bm-pill, .sl-pill { top: 33px; height: 25px; border-radius: 8px; background: rgba(50, 20, 40, .45); }
.bm-pill span, .sl-pill span { position: absolute; top: 0; line-height: 26px; font-size: 18px; color: #fff; }
.bm-coin, .sl-coin { pointer-events: none; }
.bm-ver, .sl-ver { left: 1228px; top: 4px; font-size: 12px; line-height: 1; color: #fff; opacity: .85; }

/* ---------------------------------------------------------------- seleção (arte original) */
/* medidas em pixels da tela "Selecionar as heroínas" de 1280x720 do jogo original */
.sl-title { left: 125px; top: 22px; font-size: 38px; line-height: 46px; color: #fff; white-space: nowrap; }
.sl-left { left: 6px; top: 84px; width: 270px; height: 636px; background: rgba(95, 14, 92, .62); transition: transform .25s; }
.sl-left.closed { transform: translateX(-290px); }
.sl-left .hd { position: absolute; left: 0; top: 0; width: 270px; height: 49px; background: #0d0a10; border-radius: 6px 6px 0 0; }
.sl-left .hd span { position: absolute; top: 0; line-height: 49px; font-size: 17px; color: #fff; }
.sl-left .hd span:first-child { left: 25px; }
.sl-left .hd span:last-child { right: 30px; font-size: 19px; }
.sl-grid { position: absolute; left: 0; top: 49px; width: 270px; bottom: 0; overflow-y: auto; padding: 29px 0 20px 14px; box-sizing: border-box;
  display: grid; grid-template-columns: 117px 117px; grid-auto-rows: 161px; gap: 16px 14px; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent; }
.sl-grid::-webkit-scrollbar { width: 4px; }
.sl-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .35); border-radius: 2px; }
.sl-card { position: relative; width: 117px; height: 161px; cursor: pointer; transition: transform .12s; }
.sl-card:hover { transform: translateY(-2px); }
.sl-card > * { position: absolute; pointer-events: none; }
.sl-card .bgc { left: 0; top: 0; width: 117px; height: 161px; }
.sl-card .face { left: 1px; top: 23px; width: 115px; height: 112px; object-fit: cover; object-position: 50% 8%; }
.sl-card .cid { left: 5px; top: 3px; font-size: 9px; line-height: 16px; color: #e8e8e8; font-family: Arial, sans-serif; }
.sl-card .med { left: 92px; top: 3px; width: 17px; height: 16px; object-fit: contain; }
.sl-card .lv { left: 5px; top: 143px; font-size: 9px; line-height: 14px; color: #e8e8e8; font-family: Arial, sans-serif; }
.sl-card .bolts { left: 77px; top: 140px; display: flex; gap: 1px; }
.sl-card .bolts img { width: 11px; height: 16px; object-fit: contain; }
.sl-card.on::after { content: ''; position: absolute; left: 1px; top: 23px; width: 115px; height: 112px; background: rgba(10, 30, 10, .55); }
.sl-card .tick { left: 24px; top: 51px; width: 68px; height: 60px; z-index: 1; }
.sl-card .new { left: -6px; top: -6px; width: 40px; height: 40px; z-index: 1; }
.sl-card .selfr { left: -7px; top: -5px; width: 130px; height: 171px; z-index: 2; }
.sl-card .lvup { left: 4px; top: 118px; padding: 0 5px; border-radius: 6px; background: #2ec24a; color: #fff; font-size: 10px; line-height: 15px; z-index: 1; }
.sl-card.off .face { filter: grayscale(1); }
.sl-card.dim { filter: grayscale(.7) brightness(.75); }
.sl-tab { left: 277px; top: 333px; width: 20px; height: 129px; padding: 0; border: 0; background: none; cursor: pointer; transition: left .25s; }
.sl-tab .b { position: absolute; inset: 0; width: 100%; height: 100%; }
.sl-tab .t { position: absolute; left: 6px; top: 54px; width: 9px; height: 21px; transition: transform .25s; }
.sl-tab.closed { left: 0; }
.sl-tab.closed .t { transform: scaleX(-1); }
.sl-slots { inset: 0; pointer-events: none; }
.sl-slot { pointer-events: auto; }
.sl-slot > * { position: absolute; }
.sl-slot .skp { border-radius: 6px; background: rgba(120, 20, 110, .45); }
/* vitrine da guerreira (seleção, Guerreiro e Informações) */
.sc-rar, .sc-nm, .sc-burst, .sc-shadow, .sc-model, .sc-sti, .sc-pill, .sc-tro, .sc-eb, .sc-dots, .sc-copy, .sc-pw { position: absolute; }
.sc-rar { display: flex; justify-content: center; align-items: center; gap: 3px; text-shadow: 0 1px 0 rgba(40, 0, 40, .5); }
.sc-rar img { object-fit: contain; }
.sc-nm { text-align: center; color: #fff; white-space: nowrap; }
.sc-burst { pointer-events: none; opacity: .95; }
.sc-shadow { border-radius: 50%; background: radial-gradient(ellipse at center, rgba(60, 0, 50, .45), rgba(60, 0, 50, 0) 70%); pointer-events: none; }
.sc-model { cursor: grab; }
.sc-model.click { cursor: pointer; }
.sc-pill { border-radius: 8px; background: rgba(120, 20, 110, .55); color: #fff; text-align: center; }
.sc-eb { border-radius: 6px; background: rgba(95, 14, 92, .55); }
.sc-eb .eb-b { position: absolute; left: 3px; right: 3px; top: 2px; display: flex; justify-content: space-between; }
.sc-eb .eb-b img { object-fit: contain; }
.sc-eb .et { position: absolute; left: 0; right: 0; text-align: center; color: #fff; font-family: Arial, sans-serif; }
.sc-dots { border: 0; padding: 0; background: url('../img/ui/see_more.png') 0 0 / 100% 100% no-repeat; cursor: pointer; }
.sc-copy { border: 0; padding: 0; border-radius: 10px; background: rgba(255, 220, 245, .35); color: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.sc-pw { border-radius: 8px; background: #0d0a10; display: flex; align-items: center; justify-content: center; color: #fff; }
.sl-slot.empty .sil { opacity: .28; pointer-events: none; }
.sl-slot.empty .plus { left: 148px; top: 263px; width: 34px; height: 34px; pointer-events: none;
  background: linear-gradient(#8bd12b, #8bd12b) center / 34px 8px no-repeat, linear-gradient(#8bd12b, #8bd12b) center / 8px 34px no-repeat; }
.sl-go { left: 987px; top: 630px; width: 230px; height: 76px; border: 0; padding: 0; background: url('../img/ui/btn_yellow.png') 0 0 / 100% 100% no-repeat; cursor: pointer; transition: transform .12s, filter .12s; }
.sl-go span { font-size: 24px; color: #fff8e6; text-shadow: 0 2px 0 rgba(150, 80, 0, .6), 0 0 2px rgba(120, 60, 0, .6); letter-spacing: .5px; }
.sl-go:hover { transform: scale(1.03); }
.sl-go:disabled { filter: grayscale(.4) brightness(.85); cursor: default; transform: none; }
.rk-ico { position: relative; cursor: help; }
.rk-ico img { position: absolute; pointer-events: none; }
.rk-ico .ic { left: 0; top: 0; width: 100%; height: 100%; border-radius: 4px; }

.stats4 { display: flex; flex-direction: column; gap: 4px; }
.stat { display: flex; align-items: center; gap: 4px; background: rgba(40, 0, 60, 0.45); border-radius: 12px; padding: 0 10px 0 2px; min-width: 76px; height: 24px; font-weight: 800; font-size: 15px; }
.stat svg { width: 24px; height: 24px; margin-left: -8px; }
.power {
  display: inline-flex; align-items: center; gap: 8px;
  background: #120318;
  border-radius: 12px;
  padding: 3px 18px;
  font-weight: 800; font-size: 22px;
}
.power svg { width: 28px; height: 28px; }
.skico { width: 48px; height: 48px; position: relative; border-radius: 9px; cursor: help; transition: transform 0.12s; }
.skico:hover { transform: scale(1.1); }
.skico svg { width: 100%; height: 100%; }
.skico .gr {
  position: absolute; left: 50%; top: -9px; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
  border: 2px solid #fff; color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
}
.skico.special { box-shadow: 0 0 0 3px var(--gold); }

/* ---------------------------------------------------------------- VS */
/* ---------------------------------------------------------------- Guerreiro / Informações (arte original) */
.oh-back { background: none; border: 0; padding: 0; cursor: pointer; transition: transform .15s; }
.oh-back img { width: 100%; height: 100%; }
.oh-back:hover { transform: translateX(-3px); }
.oh-title { line-height: 46px; color: #fff; white-space: nowrap; }
.oh-backbg { left: 0; top: 0; width: 120px; height: 86px; background: rgba(70, 0, 70, .32); clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); border-bottom-right-radius: 14px; pointer-events: none; }
.hs-left { left: 2px; top: 115px; width: 648px; height: 605px; background: rgba(95, 14, 92, .62); }
.hs-left .hd, .hi-left .hd, .hi-right .hd { position: absolute; left: 0; top: 0; right: 0; height: 43px; background: #0d0a10; border-radius: 6px 6px 0 0; }
.hs-left .cnt, .hi-left .cnt { position: absolute; right: 20px; top: 0; line-height: 43px; font-size: 19px; color: #fff; }
.hs-dd { position: absolute; left: 30px; top: 0; height: 43px; border: 0; padding: 0; background: none; color: #fff; font: inherit; font-size: 27px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.hs-dd i { width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 15px solid #fff; margin-top: 3px; }
.hs-menu { position: absolute; left: 20px; top: 43px; width: 200px; z-index: 5; background: #1a0d1e; border-radius: 0 0 8px 8px; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); overflow: hidden; }
.hs-menu > div { padding: 6px 16px; font-size: 18px; color: #fff; cursor: pointer; }
.hs-menu > div:hover, .hs-menu > div.on { background: rgba(255, 255, 255, .12); }
.hs-grid { position: absolute; left: 0; top: 43px; right: 0; bottom: 0; overflow-y: auto; box-sizing: border-box; padding: 21px 0 24px 20px;
  display: grid; grid-template-columns: repeat(4, 130px); grid-auto-rows: 179px; gap: 41px 26px; align-content: start;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent; }
.hs-grid::-webkit-scrollbar { width: 4px; }
.hs-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .35); border-radius: 2px; }
.hs-grid .sl-card { zoom: 1.111; }
.hs-off { left: 775px; width: 400px; top: 155px; text-align: center; font-size: 15px; color: #ffc0c0 !important; }
.ob-btn { border: 0; padding: 0; background: url('../img/ui/btn_yellow.png') 0 0 / 100% 100% no-repeat; cursor: pointer; transition: transform .12s, filter .12s; }
.ob-btn.red { background-image: url('../img/ui/btn_red.png'); }
.ob-btn.green { background-image: url('../img/ui/btn_green.png'); }
.ob-btn.purple { background-image: url('../img/ui/btn_purple.png'); }
.ob-btn span { font-size: 22px; line-height: 24px; color: #fff8ec; text-shadow: 0 2px 0 rgba(110, 40, 0, .55) !important; }
.ob-btn.two span { font-size: 19px; line-height: 23px; }
.ob-btn.red span, .ob-btn.purple span { text-shadow: 0 2px 0 rgba(90, 0, 20, .55) !important; }
.ob-btn:hover { transform: scale(1.03); }
.ob-btn:disabled { filter: grayscale(.45) brightness(.85); cursor: default; transform: none; }
.ob-btn.pulse { animation: pulse 1.6s infinite; }
.ob-btn.small { width: 165px; height: 36px; }
.ob-btn.small span { font-size: 14px; line-height: 16px; }
.hi-left { left: 2px; top: 115px; width: 388px; height: 545px; background: rgba(95, 14, 92, .62); }
.hi-left .hd span:first-child { position: absolute; left: 33px; top: 0; line-height: 43px; font-size: 27px; color: #fff; }
.hi-row { position: absolute; left: 14px; width: 360px; height: 68px; }
.hi-row .bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hi-row .nm { position: absolute; left: 100px; top: 0; line-height: 68px; font-size: 19px; color: #fff; white-space: nowrap; }
.hi-row.free .nm { left: 30px; font-size: 16px; opacity: .8; }
.hi-row .lk { position: absolute; left: 19px; top: 6px; width: 60px; height: 56px; border-radius: 6px; background: rgba(40, 6, 46, .55); }
.hi-row .lk img { position: absolute; left: 17px; top: 14px; width: 26px; height: 27px; }
.hi-mid { left: 495px; top: 503px; width: 282px; height: 157px; border-radius: 8px; background: rgba(95, 14, 92, .55); }
.hi-xp { left: 505px; top: 624px; width: 262px; text-align: center; font-size: 13px; line-height: 16px; color: #fff; }
.hi-xp .bar { height: 6px; margin: 3px 20px 0; border-radius: 3px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.hi-xp .bar i { display: block; height: 100%; background: linear-gradient(#ffe86a, #ffb21a); }
.hi-right { left: 880px; top: 115px; width: 398px; height: 545px; background: rgba(95, 14, 92, .62); }
.hi-right .hd span { position: absolute; left: 28px; top: 0; line-height: 43px; font-size: 27px; color: #fff; white-space: nowrap; }
.hi-right .desc { position: absolute; left: 23px; top: 205px; width: 350px; height: 275px; box-sizing: border-box; padding: 26px 8px 10px 8px; border-radius: 8px;
  background: rgba(255, 210, 245, .14); overflow-y: auto; }
.hi-right .desc p, .hi-right .desc .ln { white-space: normal; }
.hi-right .desc p { margin: 0 0 18px; font-size: 17px; line-height: 24px; color: #fff; }
.hi-right .desc .ln { font-size: 17px; line-height: 24px; color: #fff; }
.hi-right .desc .ln b { color: #5fd83a; font-weight: inherit; }
.hi-right .desc .gr { margin-top: 12px; font-size: 12px; line-height: 15px; color: #f2dcf0; }
.hi-right .acts { position: absolute; left: 23px; right: 25px; top: 492px; display: flex; justify-content: space-between; }

/* ---------------------------------------------------------------- Loja e Histórico (arte original) */
.lj-panel { border-radius: 12px; background: url('../img/ui/shop_pack_frame.png') center / 100% 100% no-repeat, rgba(120, 22, 112, .5); }
.lj-inner { border-radius: 10px; background: rgba(255, 225, 255, .13); pointer-events: none; }
.lj-box { filter: drop-shadow(0 8px 8px rgba(40, 0, 40, .35)); transition: transform .15s; }
.lj-box:hover { transform: translateY(-4px) rotate(-1deg); }
.lj-info { border: 0; padding: 0; background: url('../img/ui/btn_info.png') center / 100% 100% no-repeat; cursor: pointer; }
.lj-qty { border: 0; padding: 0; background: url('../img/ui/btn_yellow_small.png') 0 0 / 100% 100% no-repeat; cursor: pointer; transition: transform .12s; }
.lj-qty span { font-size: 34px; line-height: 40px; color: #fff; text-shadow: 0 2px 0 rgba(110, 50, 0, .55) !important; }
.lj-buy { border: 0; padding: 0; background: url('../img/ui/btn_blue.png') 0 0 / 100% 100% no-repeat; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s; }
.lj-buy span { font-size: 30px; line-height: 36px; color: #fff; text-shadow: 0 2px 0 rgba(0, 40, 110, .55) !important; }
.lj-buy img { width: 50px; height: 50px; }
.lj-qty:hover, .lj-buy:hover { transform: scale(1.04); }
.modal.info-pop .mbd { padding: 14px 20px 22px; }
.modal .rates { text-align: center; font-size: 19px; line-height: 28.5px; color: #3a2a24; }
.ht-tab { border: 3px solid #5a1060; border-radius: 14px; padding: 0; cursor: pointer; background: linear-gradient(#9a3a9a, #7a2280); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .15); }
.ht-tab span { font-size: 27px; color: #fff; }
.ht-tab.on { background: linear-gradient(#fff7c8, #ffe890); }
.ht-tab.on span { color: #5a2a0a; }
.ht-c { width: 240px; height: 66px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 19px; color: #fff; }
.ht-c.th { height: 40px; font-size: 26px; color: #ffc21a !important; text-shadow: 0 1px 0 rgba(120, 50, 0, .5) !important; }
.ht-c .hash { color: #3aa8ff; text-decoration: underline; font-size: 18px; }
.ht-band { left: 0; width: 1280px; height: 66px; background: rgba(90, 0, 90, .32); }
.ht-empty { left: 0; width: 1280px; top: 300px; text-align: center; font-size: 20px; color: #fff; }
.ht-pg { left: 0; width: 1280px; top: 645px; display: flex; justify-content: center; align-items: center; gap: 18px; font-size: 30px; color: #ffc21a; }
.ht-pg button { border: 0; background: none; color: #ffc21a; font-size: 22px; cursor: pointer; }
.ht-pg button:disabled { opacity: .35; cursor: default; }

/* ---------------------------------------------------------------- Fusão (arte original) */
.fu-left { left: 0; top: 94px; width: 214px; height: 611px; border-radius: 0 12px 12px 0; background: rgba(165, 120, 170, .55); }
.fu-right { left: 236px; top: 94px; width: 1028px; height: 611px; border-radius: 12px; background: rgba(60, 15, 45, .45); }
.fu-box { left: 435px; top: 126px; width: 625px; height: 180px; border-radius: 10px; background: rgba(20, 5, 15, .4); }
.fu-tab { background: url('../img/ui/btn_yellow_2_2.png') 0 0 / 100% 100% no-repeat; display: flex; align-items: center; padding-left: 10px; box-sizing: border-box; }
.fu-tab span { font-size: 19px; color: #fff4e0; text-shadow: 0 2px 0 rgba(110, 50, 0, .55) !important; }
.fu-info { border: 0; padding: 0; background: url('../img/ui/btn_info.png') center / 100% 100% no-repeat; cursor: pointer; }
.fu-lbl { text-align: center; font-size: 19px; line-height: 26px; color: #f4ecf4; }
.fu-slot { border: 0; padding: 0; background: none; cursor: pointer; transition: transform .12s; }
.fu-slot:hover { transform: scale(1.04); }
.fu-slot img { position: absolute; pointer-events: none; }
.fu-slot .fr { left: 0; top: 0; width: 100%; height: 100%; }
.fu-slot .bg, .fu-slot .face { left: 7px; top: 7px; width: 88px; height: 88px; border-radius: 4px; }
.fu-slot .face { object-fit: cover; object-position: 50% 10%; }
.fu-del { border: 0; padding: 0; background: url('../img/ui/button_delete.png') center / 100% 100% no-repeat; cursor: pointer; }
.fu-rt { font-size: 19px; line-height: 26px; color: #f4ecf4; }
.fu-rate { font-size: 32px; line-height: 40px; color: #f2b43c !important; text-shadow: 0 2px 0 rgba(90, 40, 0, .5) !important; }
.fu-res-bg { pointer-events: none; }
.fu-res-face { object-fit: cover; object-position: 50% 10%; }
.fu-res-q { text-align: center; line-height: 112px; font-size: 64px; color: rgba(255, 255, 255, .55); background: rgba(20, 5, 15, .35); }
.fu-go { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fu-go .c { display: flex; align-items: center; gap: 4px; font-size: 30px; line-height: 30px; }
.fu-go .c img { width: 40px; height: 36px; margin-top: 2px; }
.fu-go .f { font-size: 22px; line-height: 24px; }
.fu-spirit { border-radius: 10px; background: rgba(60, 15, 45, .3); text-align: center; padding-top: 8px; box-sizing: border-box; }
.fu-spirit .t { font-size: 18px; line-height: 24px; }
.fu-spirit .n { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 22px; line-height: 30px; }
.fu-spirit .n svg { width: 24px; height: 24px; }
.fu-spirit .row-sp { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 6px; }
.fu-spirit .row-sp span { font-size: 15px; min-width: 64px; }
.fu-spirit .pm { width: 30px; height: 30px; border: 0; border-radius: 8px; background: rgba(20, 5, 15, .45); color: #fff; font-size: 20px; line-height: 30px; cursor: pointer; padding: 0; }
.fu-spirit .pm:disabled { opacity: .35; cursor: default; }
.fu-spirit .u { font-size: 13px; line-height: 20px; margin-top: 4px; opacity: .9; }
.fu-pick { display: grid; grid-template-columns: repeat(5, 117px); gap: 14px; max-height: 420px; overflow-y: auto; padding: 4px; justify-content: center; }

/* ---------------------------------------------------------------- VS (arte original) */
.vsx { position: absolute; inset: 0; overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse 75% 85% at 50% 40%, #b52fb4 0%, #8a1c94 45%, #4c0d5c 100%); }
.vsx > *, .vsx-side > * { position: absolute; }
.vsx-side { inset: 0; animation: slideL .45s ease-out; }
.vsx-side.r { transform: scaleX(-1); animation: none; }
.vsx-side.r .vsx-nm { transform: scaleX(-1); }
.vsx-side.boss { animation: slideR .45s ease-out; }
.vsx-panel { border-radius: 22px; background: rgba(40, 6, 52, .62); box-shadow: inset 0 0 0 10px rgba(80, 20, 96, .35);
  transform: perspective(900px) rotateY(14deg); transform-origin: left center; }
.vsx-side.boss .vsx-panel { transform: perspective(900px) rotateY(-14deg); transform-origin: right center; }
.vsx-bust { filter: drop-shadow(0 0 2px #ff3a6a) drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.vsx-nm { font-size: 30px; line-height: 36px; color: #fff; white-space: nowrap; }
.vsx-vs { left: 530px; top: 176px; width: 217px; height: 370px; animation: vsPop .5s .25s both cubic-bezier(.2, 1.6, .4, 1); }
.vsx-bot { top: 628px; height: 110px; border-radius: 22px; background: rgba(40, 6, 52, .55); }
.vsx-bot.l { left: -40px; width: 455px; transform: perspective(900px) rotateY(14deg); transform-origin: left center; }
.vsx-bot.r { left: 860px; width: 460px; transform: perspective(900px) rotateY(-14deg); transform-origin: right center; }
.vsx-pl { top: 656px; font-size: 26px; line-height: 36px; color: #2fb4f0 !important; text-shadow: 0 2px 0 rgba(10, 20, 60, .5) !important; white-space: nowrap; }
.vsx-pl.l { left: 98px; }
.vsx-pl.r { right: 112px; }
.vsx-tap { left: 0; right: 0; top: 560px; text-align: center; font-size: 56px; line-height: 64px; color: #fff; letter-spacing: 1px;
  text-shadow: 0 3px 0 rgba(60, 0, 60, .55), 0 0 6px rgba(40, 0, 40, .6) !important; animation: tapBlink 1.2s ease-in-out infinite; }
@keyframes tapBlink { 50% { opacity: .55; } }
@keyframes slideL { from { transform: translateX(-100%); } }
@keyframes slideR { from { transform: translateX(100%); } }
@keyframes vsPop { from { transform: scale(3); opacity: 0; } }
.vsx-ver, .bt-ver { right: 14px; top: 4px; font-size: 12px; line-height: 1; color: #fff; opacity: .85; position: absolute; }
.vsx-load { left: 0; right: 0; top: 520px; text-align: center; font-size: 20px; color: #fff; }

/* ---------------------------------------------------------------- batalha (arte original) */
.battle-screen { position: absolute; inset: 0; background: #0c0a2a; overflow: hidden; }
.battle-screen canvas { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; }
/* efeitos de acerto somados à cena (aditivo, como os shaders de partícula do original) */
.battle-screen canvas.bt-fx { pointer-events: none; mix-blend-mode: screen; }
.bt-layer { position: absolute; inset: 0; pointer-events: none; transform-origin: 0 0; will-change: transform; }
.bt-layer img { position: absolute; height: auto; }
.bt-hud { position: absolute; inset: 0; pointer-events: none; }
.bt-hud > * { position: absolute; }
.bt-card { top: 0; height: 120px; }
.bt-card > * { position: absolute; }
.bt-card .face { left: 14px; top: 20px; width: 70px; height: 75px; object-fit: cover; object-position: 50% 6%; }
.bt-card .nm { left: 88px; top: 30px; font-size: 19px; line-height: 26px; color: #fff; white-space: nowrap; }
.bt-card .arm { left: 88px; top: 66px; font-size: 12px; line-height: 16px; color: #fff; white-space: nowrap; }
.bt-card .bar { left: 0; right: 0; top: 95px; height: 18px; border-radius: 4px; background: #0b0b10; border: 2px solid #f2f2f2; box-sizing: border-box; overflow: hidden; }
.bt-card .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: url('../img/fx/bar_HP.png') 0 0 / 100% 100%; transition: width .15s; }
.bt-card .hpn { position: absolute; left: 6px; top: 0; font-size: 8px; line-height: 14px; color: #fff; font-family: Arial, sans-serif; text-shadow: 0 0 2px #000; }
.bt-card.r .face { left: auto; right: 14px; }
.bt-card.r .nm, .bt-card.r .arm { left: auto; right: 88px; text-align: right; }
.bt-card.r .bar i { left: auto; right: 0; background-image: url('../img/fx/bar_damage.png'); }
.bt-card.r .hpn { left: auto; right: 6px; }
.bt-card.ko { filter: grayscale(1) brightness(.7); }
.bt-vs { left: 608px; top: 32px; width: 61px; height: 49px; }
.bt-bossbar { left: 704px; top: 30px; width: 454px; height: 42px; border-radius: 10px; background: #050506; border: 3px solid #f4f4f4; box-sizing: border-box; overflow: hidden; }
.bt-bossbar i { position: absolute; right: 0; top: 0; bottom: 0; }
.bt-bossbar .ghost { background: #fff3c0; opacity: .85; }
.bt-bossbar .fill { transition: width .12s; }
.bt-bossface { left: 1155px; top: 8px; width: 107px; height: 102px; border-radius: 12px; border: 3px solid #ececec; box-sizing: border-box; overflow: hidden;
  background: linear-gradient(#2c8a7a, #164a5a); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
.bt-bossface img { width: 100%; height: 100%; object-fit: cover; }
.blv { left: 1155px; width: 107px; top: 120px; text-align: center; font-size: 20px; line-height: 26px; color: #f2c21a !important; text-shadow: 0 2px 0 rgba(60, 30, 0, .6) !important; }
.bt-timer { position: absolute; left: 590px; width: 100px; top: 84px; text-align: center; font-size: 16px; line-height: 20px; color: #fff; pointer-events: none; }
.bt-tap { position: absolute; left: 0; right: 0; top: 560px; text-align: center; font-size: 56px; line-height: 64px; color: #fff; pointer-events: none; letter-spacing: 1px;
  text-shadow: 0 3px 0 rgba(20, 10, 60, .55), 0 0 6px rgba(10, 0, 40, .6) !important; animation: tapBlink 1.2s ease-in-out infinite; }
.bt-pl { position: absolute; top: 670px; font-size: 22px; line-height: 30px; color: #2fb4f0 !important; text-shadow: 0 2px 0 rgba(10, 20, 60, .5) !important; pointer-events: none; white-space: nowrap; }
.bt-pl.l { left: 63px; }
.bt-pl.r { right: 75px; }
.bt-ctrls { position: absolute; left: 50%; transform: translateX(-50%); top: 672px; display: flex; gap: 8px; }
.bt-btn { height: 30px; padding: 0 12px; border: 0; border-radius: 15px; background: rgba(10, 6, 30, .55); color: #fff; font: inherit; font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.bt-btn img { height: 16px; }
.bt-btn:hover { background: rgba(10, 6, 30, .8); }
.rewardfeed { position: absolute; right: 18px; top: 100px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; pointer-events: none; }
.rewardfeed .it { background: rgba(60, 0, 90, 0.75); border: 2px solid var(--gold); border-radius: 12px; padding: 2px 12px; font-weight: 800; display: flex; gap: 6px; align-items: center; animation: feedIn 0.4s; }
.rewardfeed .it svg { width: 22px; height: 22px; }
@keyframes feedIn { from { transform: translateX(40px); opacity: 0; } }

/* ---------------------------------------------------------------- resultado */
/* ---------------------------------------------------------------- resultado (arte original) */
.rs { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(#1565d6 0%, #2a98e0 48%, #3dcfd5 100%); }
.rs.lose { background: linear-gradient(#2c2a44 0%, #4c4c68 50%, #6c7088 100%); }
.rs > * { position: absolute; }
.rs-rays { left: 230px; top: 100px; width: 820px; height: 541px; opacity: .9; pointer-events: none; animation: raysPulse 3.2s ease-in-out infinite; }
.rs.lose .rs-rays { opacity: .35; }
@keyframes raysPulse { 50% { opacity: .65; transform: scale(1.03); } }
.rs-ribbon { left: 265px; top: 17px; width: 745px; height: 94px; animation: popIn .45s both; }
.rs-title { left: 265px; width: 745px; top: 38px; text-align: center; font-size: 40px; line-height: 50px; color: #fff4e6 !important; text-shadow: 0 2px 0 rgba(140, 60, 10, .55) !important; }
.rs.lose .rs-title { text-shadow: 0 2px 0 rgba(40, 40, 60, .6) !important; }
.rs-stage { left: 0; right: 0; top: 245px; height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.rs-chest { width: 170px; cursor: pointer; animation: chestBounce 1.2s infinite; filter: drop-shadow(0 8px 10px rgba(0, 30, 60, .35)); }
.rs-gain { display: flex; align-items: center; gap: 6px; font-size: 50px; line-height: 60px; color: #fff; animation: popIn .4s both; }
.rs-gain img { width: 74px; height: 66px; margin-top: 8px; }
.rs-box { font-size: 24px; color: #fff; }
.rs-flash { left: 384px; top: 108px; width: 512px; height: 504px; pointer-events: none; animation: rsFlash .7s ease-out forwards; }
@keyframes rsFlash { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.4); } }
.rs-info { left: 0; right: 0; top: 470px; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: popIn .4s both; }
.rs-pills { display: flex; gap: 10px; }
.rs-pill { display: flex; align-items: center; gap: 6px; padding: 2px 14px; border-radius: 14px; background: rgba(8, 40, 90, .45); color: #fff; font-size: 18px; line-height: 28px; }
.rs-pill svg { width: 22px; height: 22px; }
.rs-pill small { font-size: 13px; opacity: .85; }
.rs-heroes { display: flex; gap: 10px; }
.rs-hero { width: 210px; height: 62px; display: flex; gap: 8px; align-items: center; padding: 4px; border-radius: 10px; background: rgba(8, 40, 90, .4); color: #fff; box-sizing: border-box; }
.rs-hero img { width: 52px; height: 52px; object-fit: cover; object-position: 50% 8%; border-radius: 6px; }
.rs-hero .i { flex: 1; min-width: 0; }
.rs-hero .n { font-size: 15px; line-height: 18px; }
.rs-hero .x { font-size: 12px; line-height: 15px; opacity: .95; }
.rs-hero .xb { height: 6px; margin-top: 3px; border-radius: 3px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.rs-hero .xb i { display: block; height: 100%; background: linear-gradient(#ffe86a, #ffb21a); transition: width .6s; }
.rs-hero .up { font-size: 11px; color: #9aff8a; }
.rs-notes { font-size: 13px; line-height: 17px; color: #eaf6ff; text-align: center; max-width: 820px; }
.rs-btns { left: 0; right: 0; top: 615px; display: flex; justify-content: center; gap: 14px; }
.rs-btn { width: 243px; height: 70px; border: 0; padding: 0; background: url('../img/ui/btn_yellow.png') 0 0 / 100% 100% no-repeat; cursor: pointer; transition: transform .12s; }
.rs-btn:hover { transform: scale(1.03); }
.rs-btn span { font-size: 26px; color: #fff8ec; text-shadow: 0 2px 0 rgba(120, 60, 0, .6) !important; }
.rs-btn.small { width: 200px; }
.rs-btn.small span { font-size: 20px; }
.rs-ver { right: 14px; top: 4px; font-size: 12px; line-height: 1; color: #fff; opacity: .85; }
.rays { position: absolute; left: 50%; top: 45%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; background: repeating-conic-gradient(rgba(255,255,255,.2) 0deg 8deg, transparent 8deg 24deg); animation: rays 30s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
@keyframes popIn { from { transform: scale(0.3); opacity: 0; } 70% { transform: scale(1.08); } }
.xpbar { height: 10px; border-radius: 5px; background: rgba(0,0,0,.5); overflow: hidden; margin-top: 3px; }
.xpbar > i { display: block; height: 100%; background: linear-gradient(#7ae0ff, #2e8ae8); transition: width 1.2s ease-out; }
@keyframes chestBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- guerreiro (lista/detalhe) */
.heroes-left { position: absolute; left: 14px; top: 78px; bottom: 16px; width: 500px; }
.heroes-left .hgrid { grid-template-columns: repeat(4, 100px); gap: 14px 18px; padding: 14px 18px; }
.hero-detail { position: absolute; left: 540px; right: 16px; top: 70px; bottom: 16px; }
.hero-detail .hd-name { position: absolute; left: 0; right: 0; top: 4px; text-align: center; font-weight: 800; font-size: 20px; line-height: 1.05; }
.hero-detail .hd-name .r { display: inline-flex; align-items: center; gap: 4px; font-size: 22px; }
.hero-detail .hd-name .r svg { width: 22px; height: 22px; }
.hero-detail canvas.viewer { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: 340px; height: 440px; cursor: grab; }
.hero-detail .circle { position: absolute; left: 50%; top: 110px; transform: translateX(-50%); width: 300px; height: 300px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); background: radial-gradient(circle, rgba(255,255,255,.35), rgba(255,255,255,.05) 65%); animation: spin 18s linear infinite; }
.hero-detail .circle::before { content: ''; position: absolute; inset: 22px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.4); }
.hero-detail .left-col { position: absolute; left: 30px; top: 110px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-detail .right-col { position: absolute; right: 30px; top: 110px; }
.hero-detail .pw-wrap { position: absolute; left: 0; right: 0; top: 486px; text-align: center; }
.hero-detail .acts { position: absolute; right: 10px; bottom: 6px; display: flex; gap: 12px; }
.hero-detail .acts-left { position: absolute; left: 10px; bottom: 6px; display: flex; gap: 10px; }
.mini-box { background: rgba(40, 0, 60, 0.45); border-radius: 12px; padding: 4px 10px; font-weight: 800; display: flex; gap: 6px; align-items: center; font-size: 15px; }
.mini-box svg { width: 26px; height: 26px; }
.dots-btn { background: #2e8ae8; border: 2px solid #fff; border-radius: 8px; color: #fff; font-weight: 800; cursor: pointer; padding: 0 12px; height: 20px; line-height: 14px; margin-left: 20px; }
.empty-hint { padding: 40px 20px; text-align: center; font-weight: 700; opacity: 0.8; }

/* ---------------------------------------------------------------- info do guerreiro */
.info-left { position: absolute; left: 14px; top: 78px; width: 290px; bottom: 16px; }
.skill-row { display: flex; align-items: center; gap: 8px; margin: 6px 10px; height: 46px; border-radius: 10px; background: rgba(255,255,255,.1); padding: 0 8px; font-weight: 700; font-size: 15px; cursor: help; }
.skill-row .skico { width: 36px; height: 36px; }
.skill-row.locked { background: rgba(0,0,0,.25); justify-content: center; cursor: default; }
.skill-row.locked svg { width: 24px; height: 24px; }
.skill-row.empty { background: rgba(255,255,255,.05); border: 2px dashed rgba(255,255,255,.2); justify-content: center; font-size: 13px; opacity: 0.7; }
.skill-row .g { margin-left: auto; font-weight: 800; padding: 0 8px; border-radius: 8px; color: #fff; }
.info-center { position: absolute; left: 320px; width: 380px; top: 70px; bottom: 16px; text-align: center; }
.info-center img.full { width: 260px; height: 330px; object-fit: contain; margin-top: 30px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.info-right { position: absolute; right: 16px; top: 78px; width: 540px; bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.spec-card { background: rgba(30, 0, 50, 0.5); border-radius: 12px; overflow: hidden; }
.spec-card .hdr { background: #120318; padding: 8px 14px; font-weight: 800; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.spec-card .body { padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; font-size: 14px; font-weight: 700; }
.kv .k { opacity: 0.8; }
.lvl-box { margin-top: 6px; }
.lvl-box .xpbar { height: 14px; border-radius: 7px; }

/* ---------------------------------------------------------------- modal */
.modal-back {
  position: absolute; inset: 0;
  background: rgba(30, 0, 40, 0.62);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn { from { opacity: 0; } }
.modal {
  background: url('../img/ui/popup_panel.png') 0 0 / 100% 100% no-repeat, var(--cream);
  color: var(--ink);
  font-family: 'LR Brandon', var(--font);
  border-radius: 6px;
  border: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  min-width: 440px;
  max-width: 1100px;
  max-height: 660px;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.28s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes modalIn { from { transform: scale(0.85) translateY(20px); opacity: 0; } }
.modal > .mhd {
  background: url('../img/ui/popup_header.png') 0 0 / 100% 100% no-repeat, #a43ab0;
  color: #fff;
  text-align: center;
  font-weight: 700; font-size: 34px; line-height: 44px;
  padding: 8px 60px;
  position: relative;
  text-shadow: 0 1px 0 rgba(60, 0, 60, .55);
  letter-spacing: 0.5px;
}
.modal > .mhd .x { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: none; background: url('../img/ui/btn_close.png') center / 100% 100% no-repeat; cursor: pointer; padding: 0; transition: transform 0.15s; }
.modal > .mhd .x svg { display: none; }
.modal > .mhd .x:hover { transform: translateY(-50%) rotate(90deg); }
.modal > .mbd { padding: 16px 20px; overflow-y: auto; }
.modal > .mft { padding: 0 20px 18px; display: flex; gap: 12px; justify-content: center; }
.modal.dark { background: #2a0838; color: #fff; border-color: var(--gold); }
.modal .rows > div { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 10px; padding: 5px 20px; font-weight: 700; font-size: 18px; }
.modal .rows > div:nth-child(odd) { background: rgba(255, 255, 255, 0.75); }
.modal .rows > div .k { text-align: right; }
.modal .rows > div svg { width: 28px; height: 28px; }
.modal .rows > div.big { font-size: 28px; color: #f08a1a; }
.modal p { margin: 6px 0; line-height: 1.45; }
.modal input[type=text], .modal input[type=number], .inp {
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 2px solid #b08ac0;
  background: #fff;
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  outline: none;
}
.modal input:focus, .inp:focus { border-color: #8a2ab0; box-shadow: 0 0 0 3px rgba(138, 42, 176, 0.2); }

.tabs { display: flex; gap: 8px; }
.tab {
  padding: 6px 22px;
  border-radius: 10px 10px 0 0;
  background: rgba(120, 30, 160, 0.6);
  color: #fff;
  font-weight: 800; font-size: 17px;
  border: none; cursor: pointer;
  transition: background 0.15s;
}
.tab.on { background: linear-gradient(#ffe86a, #ffc21a); color: var(--ink); }
.tab.cream.on { background: var(--cream); }

/* toggle (Desligar / Ligar) */
.toggle { display: inline-flex; border-radius: 10px; overflow: hidden; border: 2px solid #6a1a8a; }
.toggle button { border: none; padding: 5px 12px; font-weight: 800; cursor: pointer; background: #fff; color: #6a1a8a; font-size: 15px; }
.toggle button.on { background: #6a6a74; color: #fff; }
.toggle button.on.yes { background: #fff; color: #2a1030; box-shadow: inset 0 0 0 2px #2a1030; }

/* ---------------------------------------------------------------- loja */
.shop-boxes { position: absolute; left: 0; right: 0; top: 110px; display: flex; justify-content: center; gap: 40px; }
.boxcard {
  width: 220px; height: 330px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.35), rgba(120,0,150,.25) 70%);
  border: 3px solid rgba(255, 255, 255, 0.25);
  display: flex; flex-direction: column; align-items: center;
  padding-top: 12px;
  position: relative;
  transition: transform 0.15s;
}
.boxcard:hover { transform: translateY(-6px); }
.boxcard img { width: 170px; height: 190px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.4)); transition: transform 0.2s; }
.boxcard:hover img { transform: rotate(-4deg) scale(1.04); }
.boxcard .nm { font-weight: 800; font-size: 18px; }
.boxcard .qty { margin: 6px 0; }
.boxcard .info-i { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; cursor: pointer; border: none; background: none; padding: 0; }
.boxcard .owned { position: absolute; left: 10px; top: 10px; }

/* abertura de caixas */
.open-screen { position: absolute; inset: 0; z-index: 90; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: background 0.4s; }
.open-screen .rays { opacity: 0.9; }
.opencard {
  width: 230px; height: 300px;
  border-radius: 14px;
  background: #1a1a24;
  border: 5px solid #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  position: relative;
  cursor: pointer;
  perspective: 800px;
  animation: popIn 0.4s;
}
.opencard .q { position: absolute; inset: 30px 10px; background: linear-gradient(#3aa8f0, #1a78d0); border-radius: 8px; display: grid; place-items: center; font-size: 120px; font-weight: 800; color: #fff; text-shadow: 0 6px 0 rgba(0,0,0,.3); animation: wobble 1.4s infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.opencard.revealed { animation: flipIn 0.5s; }
@keyframes flipIn { from { transform: rotateY(90deg) scale(0.8); } to { transform: none; } }
.opencard .nmhdr { position: absolute; left: 0; right: 0; top: 0; height: 30px; background: #1a1a24; text-align: center; font-weight: 800; font-size: 18px; line-height: 30px; }
.opencard img { position: absolute; left: 0; top: 30px; width: 100%; height: 236px; object-fit: cover; }
.opencard .ft { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: #1a1a24; text-align: center; font-weight: 800; line-height: 30px; }
.open-count { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); background: rgba(60, 60, 80, 0.75); border-radius: 10px; padding: 4px 16px; font-weight: 800; font-size: 20px; display: flex; gap: 6px; align-items: center; }
.open-rar { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); font-weight: 800; font-size: 44px; animation: popIn 0.5s; }
.open-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-weight: 700; opacity: 0.85; }
.sparkle { position: absolute; width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: sparkle 1.2s ease-out forwards; }
@keyframes sparkle { from { transform: scale(0) rotate(0); opacity: 1; } to { transform: scale(2.2) rotate(180deg) translate(var(--dx), var(--dy)); opacity: 0; } }
.summary-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 900px; }

/* processando */
.processing { position: absolute; inset: 0; z-index: 95; background: rgba(30,0,40,.55); display: flex; align-items: flex-end; justify-content: flex-end; padding: 24px 30px; }
.processing .pbox { background: rgba(20, 0, 30, 0.85); border-radius: 12px; padding: 10px 18px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.spinner { width: 26px; height: 26px; border: 4px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: spin2 0.8s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- troca */
.swap-box { position: absolute; left: 50%; top: 100px; transform: translateX(-50%); width: 520px; }
.swap-card { background: var(--cream2); color: var(--ink); border-radius: 0 12px 12px 12px; padding: 20px; position: relative; }
.swap-field { background: #fff; border-radius: 10px; padding: 6px 12px; border: 2px solid #d8b8a0; }
.swap-field .top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: #8a6a7a; }
.swap-field .bot { display: flex; align-items: center; gap: 8px; }
.swap-field input { border: none; outline: none; font-size: 24px; font-weight: 800; width: 100%; color: var(--ink); background: transparent; }
.swap-field .cur { display: flex; align-items: center; gap: 4px; font-weight: 800; }
.swap-field .cur svg { width: 26px; height: 26px; }
.swap-arrow { text-align: center; font-size: 30px; color: #e09a20; line-height: 1.2; }
.swap-side { position: absolute; left: calc(100% + 18px); top: 0; width: 220px; display: flex; flex-direction: column; gap: 10px; }
.swap-note { font-size: 14px; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.8); border-radius: 10px; padding: 8px 10px; }

/* ---------------------------------------------------------------- tabelas */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { color: var(--gold); text-align: left; padding: 8px 10px; font-size: 15px; }
.table td { padding: 7px 10px; font-weight: 700; }
.table tr:nth-child(even) td { background: rgba(255,255,255,.07); }
.table .hash { color: #7ae0ff; text-decoration: underline; font-family: monospace; font-size: 12px; }
.table .ok { color: #7aff8a; }
.table tr.me td { background: rgba(255, 210, 90, 0.35) !important; color: #fff; }

/* ---------------------------------------------------------------- listas genéricas */
.list-item { display: flex; align-items: center; gap: 12px; background: rgba(30, 0, 50, 0.45); border-radius: 12px; padding: 10px 14px; transition: background 0.15s; }
.list-item:hover { background: rgba(50, 0, 70, 0.55); }
.list-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.progress { height: 14px; border-radius: 7px; background: rgba(0,0,0,.4); overflow: hidden; position: relative; }
.progress > i { display: block; height: 100%; background: linear-gradient(#7aef6a, #2ec24a); transition: width 0.4s; }
.progress .t { position: absolute; inset: 0; text-align: center; font-size: 11px; font-weight: 800; line-height: 14px; text-shadow: 0 1px 0 #000; }

/* ---------------------------------------------------------------- cartas de level up */
.lvcards { display: flex; gap: 18px; justify-content: center; }
.lvcard {
  width: 230px; min-height: 280px;
  border-radius: 14px;
  background: linear-gradient(#ffffff, #f0e0ff);
  border: 4px solid #b08ac0;
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
  animation: popIn 0.4s both;
}
.lvcard:hover { transform: translateY(-8px); box-shadow: 0 14px 26px rgba(80, 0, 100, 0.35); border-color: #8a2ab0; }
.lvcard .ty { font-size: 13px; font-weight: 800; color: #8a6a9a; text-transform: uppercase; }
.lvcard .nm { font-size: 22px; font-weight: 800; margin: 6px 0; color: var(--ink); }
.lvcard .ic { width: 90px; height: 90px; margin: 10px auto; }
.lvcard .ic svg { width: 100%; height: 100%; }
.lvcard .ds { font-size: 14px; font-weight: 700; color: #5a3a6a; line-height: 1.35; }
.lvcard .grade { position: absolute; left: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }

/* ---------------------------------------------------------------- biblioteca */
.lib-tabs { position: absolute; left: 100px; top: 74px; }
.lib-body { position: absolute; left: 14px; right: 14px; top: 112px; bottom: 16px; background: rgba(30, 0, 50, 0.5); border-radius: 0 14px 14px 14px; overflow: hidden; }
.lore-grid { display: grid; grid-template-columns: repeat(11, 1fr); gap: 8px; padding: 12px; }
.lore-grid img { width: 100%; border-radius: 8px; cursor: pointer; border: 3px solid transparent; transition: transform 0.12s; }
.lore-grid img:hover { transform: translateY(-3px); }
.lore-grid img.on { border-color: var(--gold); }

/* ---------------------------------------------------------------- login (LoginScene do original) */
.login-screen { position: absolute; inset: 0; background: #000; }
.lg-logo { position: absolute; left: 440px; top: 270px; width: 400px; height: 180px; object-fit: contain; pointer-events: none; }
.lg-bar { position: absolute; left: 548px; top: 690px; width: 183px; height: 14px; background: #323232; overflow: hidden;
  -webkit-mask: url('../img/ui/bar_quest.png') 0 0 / 100% 100%; mask: url('../img/ui/bar_quest.png') 0 0 / 100% 100%; }
.lg-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #a6a6a6; animation: lgFill 1.4s ease-in-out forwards; }
@keyframes lgFill { 0% { width: 0; } 35% { width: 45%; } 70% { width: 80%; } 100% { width: 100%; } }

/* ---------------------------------------------------------------- título */
.title-screen { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #ffcf5a 0%, #ff8a1a 25%, #d8361a 55%, #6a0a10 100%); }
.title-screen .fire { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 100%, rgba(255,220,80,.6), transparent 40%), radial-gradient(ellipse at 80% 100%, rgba(255,160,40,.6), transparent 40%); animation: flicker 3s infinite alternate; }
@keyframes flicker { from { opacity: 0.6; } to { opacity: 1; } }
.title-screen .embers span { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: #ffd23a; box-shadow: 0 0 8px #ff8a1a; animation: ember linear infinite; }
@keyframes ember { to { transform: translateY(-760px) translateX(var(--dx)); opacity: 0; } }
.title-screen img.group { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 1280px; height: 720px; object-fit: cover; }
.title-nav { position: absolute; left: 0; right: 0; top: 0; height: 56px; background: linear-gradient(rgba(60,0,10,.75), rgba(60,0,10,0)); display: flex; align-items: center; justify-content: center; gap: 60px; font-weight: 800; font-size: 20px; letter-spacing: 1px; }
.title-nav span { cursor: pointer; opacity: 0.9; transition: color 0.15s; }
.title-nav span:hover { color: var(--gold); }
.logo { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); text-align: center; }
.logo .l1 {
  font-size: 104px; font-weight: 800; line-height: 0.9; letter-spacing: 2px;
  background: linear-gradient(#fff6c0, #ffd23a 45%, #ff8a1a 70%, #c8361a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 5px 0 #4a0a10) drop-shadow(0 0 18px rgba(255, 180, 60, 0.7));
  font-style: italic;
}
.logo .l2 { font-size: 24px; font-weight: 800; color: #fff; text-shadow: 0 3px 0 #4a0a10; margin-top: 4px; letter-spacing: 3px; }
.title-btns { position: absolute; left: 50%; bottom: 60px; transform: translateX(-50%); display: flex; gap: 18px; z-index: 5; }
.title-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 38px; background: rgba(40, 0, 60, 0.75); display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 800; font-size: 15px; z-index: 4; }

/* ---------------------------------------------------------------- carregando */
.loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(ellipse at center, #c01ad0, #4a0870); z-index: 200; }
.loading .bar { width: 420px; height: 18px; border-radius: 9px; background: rgba(0,0,0,.35); overflow: hidden; border: 2px solid rgba(255,255,255,.5); }
.loading .bar i { display: block; height: 100%; width: 0; background: linear-gradient(#ffe86a, #ff9a1a); transition: width 0.15s; }
.loading .lt { font-size: 60px; font-weight: 800; font-style: italic; color: var(--gold); text-shadow: 0 4px 0 #4a0a10; }
/* tela de carregamento do original (InitScene, 1920x1080 reduzida para 1280x720) */
.loading.ld { display: block; background: url('../img/loading/backbround1px.png') 0 0 / 100% 100%; font-family: 'LR Brandon', var(--font); overflow: hidden; }
.ld > * { position: absolute; }
.ld-light { left: -77px; top: 0; width: 1357px; height: 720px; pointer-events: none; }
.ld-char { left: -39px; top: 15px; width: 667px; height: 667px; object-fit: contain; object-position: 50% 100%; }
.ld-tip { left: 0; top: 583px; width: 1280px; height: 137px; }
.ld-bar { left: 493px; top: 613px; width: 767px; height: 43px; background: linear-gradient(rgba(0, 0, 0, .82), rgba(0, 0, 0, .82)), url('../img/loading/slider_bg.png') 0 0 / 100% 100%; }
.ld-area { position: absolute; left: 7px; right: 7px; top: 3px; bottom: 3px; }
.ld-area i { position: absolute; left: -3px; top: 0; bottom: 0; width: 0; min-width: 7px; border-radius: 7px; background: #ffdf00; overflow: hidden; transition: width .2s; }
.ld-area i::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); animation: ldShiny 1.6s linear infinite; }
@keyframes ldShiny { to { left: 110%; } }
.ld-logo { left: 581px; top: 152px; width: 641px; height: 315px; }
.ld-txt { left: 665px; top: 557px; width: 353px; text-align: right; font-size: 30px; line-height: 30px; color: #fff; }
.ld-pct { left: 1043px; top: 526px; width: 99px; height: 115px; text-align: center; line-height: 115px; font-size: 43px; color: #2cfeee; white-space: nowrap; }
.ld-run { left: 1141px; top: 481px; width: 55px; height: 111px; object-fit: contain; object-position: 50% 100%; }

/* ---------------------------------------------------------------- toast / tooltip */
.toasts { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: rgba(30, 0, 40, 0.92); border: 2px solid var(--gold); border-radius: 12px; padding: 8px 20px; font-weight: 800; animation: toastIn 0.3s, toastOut 0.4s 2.4s forwards; display: flex; gap: 8px; align-items: center; }
.toast.err { border-color: #ff5a6a; }
.toast.ok { border-color: #7aef6a; }
.toast svg { width: 24px; height: 24px; }
@keyframes toastIn { from { transform: translateY(-20px); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(-10px); opacity: 0; } }
.tip { position: absolute; z-index: 400; max-width: 300px; background: rgba(20, 0, 30, 0.95); border: 2px solid var(--gold); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; line-height: 1.4; pointer-events: none; }
.tip b { color: var(--gold); }

/* moedas voando */
.flycoin { position: absolute; width: 30px; height: 30px; z-index: 350; pointer-events: none; transition: transform 0.9s cubic-bezier(.5, -0.4, .7, 1), opacity 0.9s; }
.flycoin svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- PvP / torneio / evento */
.pvp-left { position: absolute; left: 20px; top: 84px; width: 440px; bottom: 20px; display: flex; flex-direction: column; gap: 14px; }
.pvp-right { position: absolute; right: 20px; top: 84px; left: 480px; bottom: 20px; }
.trophy-big { display: flex; align-items: center; gap: 14px; font-size: 44px; font-weight: 800; }
.trophy-big svg { width: 70px; height: 70px; }
.mode-pick { display: flex; gap: 14px; }
.mode-pick .btn { flex: 1; padding: 16px; font-size: 26px; }
.team-mini { display: flex; gap: 6px; }
.team-mini img { width: 54px; height: 62px; border-radius: 8px; object-fit: cover; border: 2px solid rgba(255,255,255,.5); }
.tour-card { display: flex; gap: 16px; align-items: center; background: rgba(30, 0, 50, 0.5); border-radius: 14px; padding: 14px 18px; border: 3px solid transparent; }
.tour-card .medal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: var(--ink); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2); }
.bracket { display: flex; gap: 30px; align-items: center; justify-content: center; margin-top: 10px; }
.bracket .rd { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.bracket .m { background: rgba(30,0,50,.55); border-radius: 10px; padding: 8px 14px; font-weight: 700; min-width: 160px; text-align: center; border: 2px solid transparent; }
.bracket .m.cur { border-color: var(--gold); }
.bracket .m.done { opacity: 0.6; }
.event-teams { display: flex; gap: 20px; align-items: stretch; justify-content: center; }
.event-team { flex: 1; background: #fff; border-radius: 12px; padding: 10px; text-align: center; border: 3px solid #e0c8f0; }
.odds { display: flex; gap: 10px; justify-content: center; margin: 12px 0; }
.odd { width: 120px; padding: 8px; border-radius: 12px; border: 3px solid #b08ac0; background: #fff; cursor: pointer; text-align: center; font-weight: 800; transition: transform 0.1s; color: var(--ink); }
.odd:hover { transform: translateY(-3px); }
.odd.on { background: #ffd56a; border-color: #b07a00; }
.odd .o { font-size: 24px; color: #8a2ab0; }

/* configurações */
.cfg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 20px; text-align: center; font-weight: 800; }
.cfg-grid .lbl { color: #6a1a8a; margin-bottom: 4px; }
.cfg-section { margin-top: 16px; text-align: center; font-weight: 800; color: #6a1a8a; }
.seg { display: inline-flex; gap: 8px; }
.seg button { border: 2px solid #8a4a10; border-radius: 10px; padding: 4px 16px; font-weight: 800; background: linear-gradient(#ffd25a, #ee9a1a); color: #fff; cursor: pointer; text-shadow: 0 1px 0 #8a3a00; }
.seg button.on { background: linear-gradient(#ff8a3a, #d85a10); box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }

/* ---------------------------------------------------------------- Troca (ExchangeTokenScene do original) */
.tr-tab { border: 0; padding: 0; background: url('../img/ui/orange_tab_bg.png') 0 0 / 100% 100% no-repeat; cursor: pointer; }
.tr-tab.on { cursor: default; }
.tr-tab .tr-tt, .tr-tab .tr-arr { position: absolute; }
.tr-tt { line-height: 53.33px; font-size: 33.3px; color: #fff; text-shadow: 1.3px .7px 0 rgba(0, 0, 0, .5); white-space: nowrap; }
.tr-tab.on .tr-tt { color: #9e4505; }
.tr-arr { background: #fff; -webkit-mask: url('../img/ui/arrow_exchange_on.png') center / contain no-repeat; mask: url('../img/ui/arrow_exchange_on.png') center / contain no-repeat; }
.tr-tab.on .tr-arr { background: #9e4505; }
.tr-bar { background: url('../img/ui/white_bar.png') 0 0 / 100% 100% no-repeat; }
.tr-lbl { font-size: 21.3px; line-height: 26px; font-style: italic; color: #525252; pointer-events: none; }
.tr-in { border: 0; outline: 0; background: transparent; padding: 0; margin: 0; font-family: inherit; font-size: 21.3px; color: #000; text-align: left; }
.tr-in::placeholder { color: #525252; font-style: italic; }
.tr-in::-webkit-inner-spin-button, .tr-in::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tr-bal { font-size: 18.7px; line-height: 37.3px; font-style: italic; color: #333; text-align: right; white-space: nowrap; pointer-events: none; }
.tr-tok { font-size: 21.3px; line-height: 33.3px; color: #333; text-align: right; pointer-events: none; }
.tr-ico { object-fit: contain; pointer-events: none; }
.tr-note { display: flex; align-items: center; font-size: 21.3px; line-height: 27px; color: #000; }
.tr-note.c { justify-content: center; text-align: center; }
.tr-fee { display: flex; align-items: center; justify-content: center; font-size: 21.3px; font-style: italic; color: #000; white-space: nowrap; }
.tr-rev { border: 0; padding: 0; background: url('../img/ui/arrow_exchange.png') center / 100% 100% no-repeat; cursor: pointer; transition: transform .15s; }
.tr-rev:hover { transform: rotate(180deg); }
.tr-btn, .tr-max { border: 0; padding: 0 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; line-height: 1.05; background: 0 0 / 100% 100% no-repeat; text-shadow: .7px .7px 0 rgba(0, 0, 0, .5); transition: transform .12s; }
.tr-btn.green { background-image: url('../img/ui/btn_green.png'); font-size: 30px; }
.tr-btn.blue { background-image: url('../img/ui/btn_blue.png'); font-size: 22.7px; padding: 0 18px 8px; }
.tr-btn.yellow { background-image: url('../img/ui/btn_yellow.png'); font-size: 28px; padding-bottom: 6px; }
.tr-max { background-image: url('../img/ui/btn_yellow.png'); font-size: 19.3px; padding-bottom: 4px; text-shadow: 2px 2px 0 rgba(0, 0, 0, .5); }
.tr-btn:hover, .tr-max:hover { transform: scale(1.04); }

/* ---------------------------------------------------------------- Inventário (InventoryScene do original) */
.iv-panel { background: rgba(0, 0, 0, .25); border-radius: 11px; }
.iv-grid { overflow-y: auto; overflow-x: hidden; }
.iv-grid::-webkit-scrollbar { width: 4px; }
.iv-grid::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .35); border-radius: 2px; }
.iv-cell { position: absolute; width: 126.67px; height: 173.33px; border: 0; padding: 0; background: none; cursor: pointer; color: #fff; transition: transform .12s; }
.iv-cell:hover { transform: translateY(-2px); }
.iv-cell .fr { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.iv-cell.on .fr { left: -2px; width: calc(100% + 4px); }
.iv-cell .nm, .iv-cell .qt { position: absolute; left: 4px; right: 4px; height: 26.67px; line-height: 26.67px; text-align: center; font-size: 18.7px; white-space: nowrap; overflow: hidden; }
.iv-cell .nm { top: 0; }
.iv-cell .qt { bottom: 0; }
.iv-cell .ic { position: absolute; left: 13.33px; top: 36.67px; width: 100px; height: 100px; object-fit: contain; }
.iv-cell .ic.svg svg, .iv-dicon.svg svg { width: 100%; height: 100%; }
.iv-empty { position: absolute; left: 0; right: 0; top: 230px; text-align: center; font-size: 22px; color: #fff; opacity: .85; }
.iv-dicon { object-fit: contain; }
.iv-dname { display: flex; align-items: center; font-size: 28px; color: #fff; white-space: nowrap; text-shadow: 1px 1px 0 rgba(0, 0, 0, .5), -1px -1px 0 rgba(0, 0, 0, .5), 1px -1px 0 rgba(0, 0, 0, .5), -1px 1px 0 rgba(0, 0, 0, .5); }
.iv-dqty { font-size: 24px; line-height: 30px; color: #fff; white-space: nowrap; }
.iv-dbg { background: rgba(255, 255, 255, .1); border-radius: 13px; }
.iv-ddesc { box-sizing: border-box; padding: 10px 12px; font-size: 21.3px; line-height: 27px; color: #fff; overflow-y: auto; }
.iv-ddesc::-webkit-scrollbar { width: 7px; }
.iv-ddesc::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .19); border-radius: 4px; }
.iv-useq { background: rgba(8, 8, 8, .31); border-radius: 11px; }
.iv-pm { border: 0; padding: 0; border-radius: 10px; background: rgba(0, 0, 0, .47); color: #fff; font-size: 34.7px; line-height: 1; cursor: pointer; font-family: inherit; }
.iv-pm:disabled { opacity: .4; cursor: default; }
.iv-num { text-align: center; line-height: 66.67px; font-size: 30.7px; color: #fff; }
.iv-use span { font-size: 33.3px; line-height: 36px; text-shadow: .7px .7px 0 #000 !important; }

/* ---------------------------------------------------------------- popups (DailyQuestPopup / MailPopup do original) */
.op-wrap { position: absolute; inset: 0; z-index: 40; font-family: 'LR Brandon', var(--font); }
.op-wrap .abs, .op-ui, .op-title, .op-tt, .op-x { position: absolute; }
.op-tap { position: absolute; inset: 0; }
.op-ui { border-radius: 15px; background: linear-gradient(rgb(20, 38, 54), rgb(12, 23, 32)); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.op-title { border-radius: 15px 15px 0 0; background: rgb(31, 79, 115); }
.op-tt { display: flex; align-items: center; justify-content: center; font-size: 33.3px; color: #fcc417; white-space: nowrap; }
.op-x { border: 0; padding: 0 0 4px; background: url('../img/ui/btn_red.png') 0 0 / 100% 100% no-repeat; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; text-shadow: 1px 1px 0 rgba(0, 0, 0, .5); transition: transform .12s; }
.op-x:hover { transform: scale(1.06); }
.op-tl, .op-cnt { display: flex; align-items: center; font-size: 23.3px; color: #fff; text-shadow: 1.3px 1.3px 0 #000; white-space: nowrap; }
.op-cnt { justify-content: flex-end; font-size: 26.7px; }
.op-list { overflow-y: auto; overflow-x: hidden; }
.op-list::-webkit-scrollbar { width: 9px; }
.op-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .19); border-radius: 5px; }
.op-row { border-radius: 15px; background: rgba(255, 255, 255, .25); }
.op-rw { border-radius: 15px; background: rgba(0, 0, 0, .25); }
.op-rwi { object-fit: contain; pointer-events: none; }
.op-rwv { display: flex; align-items: center; font-size: 22.7px; color: #fff; text-shadow: 1.3px 1.3px 0 #000; white-space: nowrap; pointer-events: none; }
.op-rwv.big { font-size: 28px; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.op-rwv.sm { font-size: 18px; text-shadow: 1px 1px 0 #000; }
.op-name { display: flex; align-items: center; font-size: 26.7px; color: #fff; text-shadow: 1.3px 1.3px 0 #000; white-space: nowrap; overflow: hidden; }
.op-sub { font-size: 18px; line-height: 24px; color: #fff; opacity: .92; white-space: nowrap; }
.op-bar { border-radius: 5px; background: rgb(20, 20, 38); box-shadow: inset 0 0 0 2px #000; overflow: hidden; }
.op-bar i { position: absolute; left: 2px; top: 2px; bottom: 2px; border-radius: 3px; background: rgb(0, 168, 255); max-width: calc(100% - 4px); }
.op-prog { display: flex; align-items: center; justify-content: center; font-size: 23.3px; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .6); pointer-events: none; }
.op-btn { border: 0; padding: 0 0 6px; cursor: pointer; background: 0 0 / 100% 100% no-repeat; display: flex; align-items: center; justify-content: center; transition: transform .12s; }
.op-btn.yellow { background-image: url('../img/ui/btn_yellow.png'); }
.op-btn.blue { background-image: url('../img/ui/btn_blue.png'); }
.op-btn span { font-size: 23.3px; color: #fff; text-shadow: 1.3px 1.3px 0 #000; white-space: nowrap; }
.op-btn:hover { transform: scale(1.04); }
.op-btn:disabled { filter: grayscale(.5) brightness(.8); cursor: default; transform: none; }
.op-noti { position: absolute; right: -6px; top: -8px; width: 30px; height: 30px; }
.op-stamp { display: flex; align-items: center; justify-content: center; background: url('../img/ui/icon_decal.png') center / contain no-repeat; pointer-events: none; }
.op-stamp span { font-size: 30px; color: #fff; text-shadow: 1.3px 1.3px 0 #000; transform: rotate(-12deg); }
.op-stamp.sm span { font-size: 24px; }
.op-mail { display: block; overflow: hidden; font-size: 26.7px; line-height: 1.18; color: #fff; text-shadow: 1.3px 1.3px 0 #000; }
.op-mail b { color: #fcc417; }
.op-fade { background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)); border-radius: 0 0 15px 15px; pointer-events: none; }
.op-empty { position: absolute; left: 0; right: 0; top: 200px; text-align: center; font-size: 22px; color: #fff; opacity: .8; }
.op-port { object-fit: contain; border-radius: 10px; }
.op-team { display: flex; gap: 6px; align-items: center; }
.op-team img { width: 60px; height: 68px; object-fit: cover; border-radius: 8px; background: rgba(0, 0, 0, .25); }

/* ---------------------------------------------------------------- Biblioteca (SkillsBookScene do original) */
.lb2 .abs { position: absolute; }
.lb-veil { left: 0; top: 0; width: 1280px; height: 720px; background: rgba(255, 255, 255, .39); pointer-events: none; }
.lb-tab { border: 0; padding: 0 0 4px; cursor: pointer; background: url('../img/ui/btn_pink.png') 0 0 / 100% 100% no-repeat; display: flex; align-items: center; justify-content: center; transition: transform .12s; }
.lb-tab.on { background: none; cursor: default; }
.lb-tab span { font-size: 25.8px; color: #fff; text-shadow: 1.3px 1.3px 0 #000; white-space: nowrap; }
.lb-tab:not(.on):hover { transform: scale(1.04); }
.lb-right { border-radius: 15px; background: rgba(0, 0, 0, .25); }
.lb-detail, .lb-story { border-radius: 7px; background: rgba(255, 255, 255, .39); }
.lb-sname { display: flex; align-items: center; justify-content: center; font-size: 26.7px; color: #ffd600; text-shadow: 1.3px .7px 0 rgba(0, 0, 0, .5), 1px 1px 0 rgba(0, 0, 0, .5), -1px -1px 0 rgba(0, 0, 0, .5); white-space: nowrap; }
.lb-desc { overflow-y: auto; font-size: 21.3px; line-height: 1.35; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .55); }
.lb-desc p { margin: 0 0 10px; }
.lb-desc .lb-type { color: #ffe27a; }
.lb-hname { display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .6); white-space: nowrap; }
.lb-shadow { opacity: .29; pointer-events: none; }
.lb-des { overflow-y: auto; padding-right: 8px; font-size: 21px; line-height: 1.38; color: #fff; text-shadow: .7px .7px 0 #000; }
.lb-des p { margin: 0 0 12px; }
.lb-des .lb-dt { margin-bottom: 8px; font-size: 24px; color: #ffd600; }
.lb-des::-webkit-scrollbar, .lb-desc::-webkit-scrollbar, .lb-grid::-webkit-scrollbar, .lb-storytxt::-webkit-scrollbar { width: 7px; }
.lb-des::-webkit-scrollbar-thumb, .lb-desc::-webkit-scrollbar-thumb, .lb-grid::-webkit-scrollbar-thumb, .lb-storytxt::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .34); border-radius: 4px; }
.lb-scroll { border-radius: 15px; background: rgba(0, 0, 0, .3); }
.lb-ltitle { display: flex; align-items: center; justify-content: center; border-radius: 15px; background: rgba(0, 0, 0, .39); }
.lb-ltitle span { font-size: 33.3px; color: #2bfcb0; text-shadow: .7px .7px 0 rgba(0, 0, 0, .5); }
.lb-grid { overflow-y: auto; overflow-x: hidden; }
.lb-cell { position: absolute; width: 100px; height: 100px; border: 0; padding: 0; background: none; cursor: pointer; transition: transform .12s; }
.lb-cell:hover { transform: scale(1.05); }
.lb-cell.on { filter: drop-shadow(0 0 6px #ffe36a) drop-shadow(0 0 2px #fff); }
.lb-cell .rk-ico { position: relative; }
.lb-port { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; border: 3px solid rgba(255, 255, 255, .85); box-sizing: border-box; background: rgba(0, 0, 0, .25); }
.lb-stat { object-fit: contain; }
.lb-storytxt { overflow-y: auto; padding: 4px 10px; color: #fff; font-size: 17px; }
.lb-storytxt .lib-body, .lb-storytxt > div { position: static !important; height: auto !important; }
