/* prefixado *//* MU GAME 99z: as páginas dos sistemas (Meus itens, Banco de joias, Chaos Machine Elite, Market) no visual do Easy.
   Vem depois do CSS de cada módulo. Troca o vermelho e o marrom do Hard pelo azul noite e o gelo do Easy, com as fontes do Easy.
   As janelas do jogo (grade do inventário, do baú e a máquina) continuam no estilo do cliente do MU, só que em tom frio. */
html .gx {
  --ink-0: #050911; --ink-1: #08101c; --ink-2: #0b1422; --ink-3: #101c2e;
  --red: #38c6ff; --red-hi: #7cf0ff; --red-lo: #1d4f7a; --ember: #ff8f57;
  --gold: #f6c75c; --gold-hi: #ffe09a; --ok: #3ee39b;
  --tx-1: #eaf3ff; --tx-2: #aebdd3; --tx-3: #7a8aa5; --tx-4: #56647c;
  --line: rgba(140, 196, 255, .14); --line-soft: rgba(140, 196, 255, .07);
  --panel: linear-gradient(180deg, #0d1828 0%, #0a1220 100%);
  --f-display: 'Exo 2', 'Arial Narrow', sans-serif; --f-body: 'Inter', 'Segoe UI', Arial, sans-serif; --f-cond: 'Exo 2', 'Arial Narrow', sans-serif;
  padding: 0; color: var(--tx-2); font: 400 14px/1.6 var(--f-body);
  background: none; border: 0; box-shadow: none;
}
html .gx .mq { --mq-bg: #060c16; --mq-pn: #0b1422; --mq-tx: #eaf3ff; --mq-tx2: #aebdd3; --mq-mu: #7a8aa5;
  --mq-f: 'Exo 2', 'Arial Narrow', sans-serif; --mq-fb: 'Inter', 'Segoe UI', Arial, sans-serif; --mq-fc: 'Exo 2', 'Arial Narrow', sans-serif; }
html .gx .mc { --mc-v: #38c6ff; --mc-vr: 56, 198, 255; --mc-tx: #eaf3ff; --mc-tx2: #aebdd3; --mc-mu: #7a8aa5; --mc-pn: #0b1422;
  --mc-f: 'Exo 2', 'Arial Narrow', sans-serif; --mc-fb: 'Inter', 'Segoe UI', Arial, sans-serif; --mc-fc: 'Exo 2', 'Arial Narrow', sans-serif; }
html .gx .iv { --iv-v: #38c6ff; --iv-vr: 56, 198, 255; --iv-pn: #0b1422; --iv-tx2: #aebdd3; --iv-mu: #7a8aa5;
  --iv-f: 'Exo 2', 'Arial Narrow', sans-serif; --iv-fb: 'Inter', 'Segoe UI', Arial, sans-serif; --iv-fc: 'Exo 2', 'Arial Narrow', sans-serif; }
html :where(.gx) * { scrollbar-color: #1d4f7a #08101c; }

/* ---------------------------------------------------------------- topo da página: o NPC no palco, o título, a fala e os pontos principais
   (o cabeçalho grande do Easy saiu destas páginas; este bloco é a abertura) */
body.gx-pg .main { padding-top: 26px; }
html .gx .tmx { --ac: 124, 240, 255; --ac2: 60, 141, 255; --tmu-or: var(--ac); --tmu-c: var(--ac); --tmu-v: var(--ac2);
  position: relative; isolation: isolate; display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; align-items: stretch; min-height: 312px; margin: 0 0 14px;
  overflow: hidden; border-radius: 16px; border: 1px solid rgba(var(--ac), .22); color: var(--tx-2);
  background:
    radial-gradient(360px 300px at 150px 62%, rgba(var(--ac), .2), transparent 70%),
    radial-gradient(520px 260px at 150px 118%, rgba(var(--ac2), .34), transparent 70%),
    radial-gradient(700px 320px at 100% -30%, rgba(var(--ac2), .16), transparent 70%),
    linear-gradient(180deg, #101d31 0%, #0a1322 46%, #060b15 100%);
  box-shadow: 0 30px 60px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .05); }
html .gx .tmx.cor-itens { --ac: 246, 199, 92; --ac2: 255, 143, 87; }
html .gx .tmx.cor-banco { --ac: 165, 148, 255; --ac2: 96, 110, 255; }
html .gx .tmx.cor-chaos { --ac: 186, 140, 255; --ac2: 124, 240, 255; }
html .gx .mc-praca.tmx { --ac: 67, 232, 184; --ac2: 60, 141, 255; }
/* luz de cima sobre o NPC e o filete claro na borda de cima */
html .gx .tmx::before { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 300px; height: 100%; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--ac), .16), transparent 62%); -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 38%, #000 62%, transparent 88%); mask-image: linear-gradient(90deg, transparent 12%, #000 38%, #000 62%, transparent 88%); }
html .gx .tmx::after { content: ""; position: absolute; z-index: 0; inset: 0 0 auto 0; height: 1px; opacity: 1; mix-blend-mode: normal; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--ac), .7) 18%, rgba(var(--ac), .12) 62%, transparent); }

/* o palco do NPC */
html .gx .tmx .tmu-npc, html .gx .tmx .mc-npc { position: relative; min-height: 312px; background-position: 50% 30%; background-size: auto 72%; background-repeat: no-repeat; }
html .gx .tmx .tmu-npc canvas, html .gx .tmx .mc-npc canvas { position: absolute; inset: 0 0 34px 0; width: 100%; height: calc(100% - 34px); }
html .gx .tmx .tmu-npc::after, html .gx .tmx .mc-npc::after { content: ""; position: absolute; left: 50%; bottom: 52px; width: 214px; height: 44px; margin-left: -107px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(var(--ac), .6);
  background: radial-gradient(closest-side, rgba(var(--ac), .2), transparent 78%);
  box-shadow: 0 0 0 7px rgba(var(--ac), .05), 0 0 0 8px rgba(var(--ac), .22), 0 0 44px 4px rgba(var(--ac), .38), inset 0 0 22px rgba(var(--ac), .3); }
html .gx .tmx .tmu-npc-nome, html .gx .tmx .mc-npc-nome { position: absolute; z-index: 2; left: 50%; right: auto; top: auto; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 6px 16px 7px; white-space: nowrap; text-align: center;
  border-radius: 999px; border: 1px solid rgba(var(--ac), .34); background: rgba(5, 10, 19, .82);
  font: 700 14px/1.1 var(--f-display, "Rajdhani", sans-serif); letter-spacing: .05em; color: #eaf3ff; text-shadow: none; }
html .gx .tmx .tmu-npc-nome i, html .gx .tmx .mc-npc-nome i { display: none; }

/* a coluna do texto */
html .gx .tmx .tmu-fala, html .gx .tmx .mc-fala { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 0; min-width: 0; padding: 26px 30px 26px 4px; }
html .tmx-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; font: 500 12.5px/1.2 'Inter', 'Segoe UI', Arial, sans-serif; color: #7a8aa5; }
html .tmx-crumbs a { color: #aebdd3; text-decoration: none; }
html .tmx-crumbs a:hover { color: #7cf0ff; }
html .tmx-crumbs .i { width: 12px; height: 12px; opacity: .6; }
html .tmx-crumbs span { color: rgb(var(--ac)); }
html .gx .tmx h1 { margin: 0 0 14px; padding: 0; font: 700 46px/1 'Exo 2', 'Arial Narrow', sans-serif; letter-spacing: .015em; text-transform: uppercase; filter: none;
  color: #eaf3ff; background: linear-gradient(180deg, #ffffff 20%, rgb(var(--ac)) 130%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
html .gx .tmx .tmu-balao, html .gx .tmx .mc-balao { position: relative; max-width: 640px; margin: 0; padding: 14px 18px 14px 20px; border-radius: 4px 14px 14px 14px;
  background: linear-gradient(180deg, rgba(14, 26, 44, .92), rgba(8, 16, 28, .92)); border: 1px solid rgba(var(--ac), .2); border-left: 3px solid rgb(var(--ac)); box-shadow: 0 18px 30px -22px #000; }
html .gx .tmx .tmu-balao::before, html .gx .tmx .mc-balao::before { content: ""; position: absolute; left: -11px; top: 0; border: 0; width: 0; height: 0; border-top: 12px solid rgb(var(--ac)); border-left: 9px solid transparent; }
html .gx .tmx .tmu-balao p, html .gx .tmx .mc-balao p { margin: 0; font: 400 14.5px/1.65 'Inter', 'Segoe UI', Arial, sans-serif; color: #d9e5f5; text-shadow: none; }
html .gx .tmx .tmu-balao b, html .gx .tmx .mc-balao b { color: rgb(var(--ac)); font-weight: 600; }

/* os pontos principais */
html .tmx-fatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin: 14px 0 0; padding: 0; list-style: none; }
html .tmx-fatos li { padding: 11px 14px 12px; border-radius: 12px; border: 1px solid rgba(140, 196, 255, .13); background: linear-gradient(180deg, rgba(140, 196, 255, .07), rgba(140, 196, 255, .02)); }
html .tmx-fatos b { display: block; font: 700 24px/1 'Exo 2', 'Arial Narrow', sans-serif; letter-spacing: .02em; color: rgb(var(--ac)); }
html .tmx-fatos span { display: block; margin-top: 5px; font: 400 12px/1.4 'Inter', 'Segoe UI', Arial, sans-serif; color: #aebdd3; }
html .gx .tmx .mc-nums { gap: 10px; max-width: 640px; margin-top: 14px; }
html .gx .tmx .mc-num { padding: 11px 14px 12px; border-radius: 12px; border: 1px solid rgba(140, 196, 255, .13); background: linear-gradient(180deg, rgba(140, 196, 255, .07), rgba(140, 196, 255, .02)); box-shadow: none; }
html .gx .tmx .mc-num b { font: 700 24px/1 'Exo 2', 'Arial Narrow', sans-serif; color: rgb(var(--ac)); }
html .gx .tmx .mc-num span { margin-top: 5px; font: 400 12px/1.4 'Inter', 'Segoe UI', Arial, sans-serif; color: #aebdd3; }

/* lado direito (situação da conta, banco do market) */
html .gx .tmx { grid-template-columns: 300px minmax(0, 1fr); }
html .gx .mc-praca.tmx { grid-template-columns: 300px minmax(0, 1fr) 236px; }
html .gx .tmx .tmu-npc { grid-row: 1 / span 2; }
html .gx .tmx .tmu-lado { grid-column: 2; display: block; padding: 0 30px 26px 4px; margin-top: -12px; }
html .gx .tmx .tmu-lado:empty, html .gx .tmx .tmu-lado > [hidden]:only-child { display: none; }
html .gx .tmx .tmu-lado > * { max-width: 640px; }
html .gx .tmx .mc-banco { margin: 20px 20px 20px 0; }

@media (max-width: 980px) {
  html .gx .tmx, html .gx .mc-praca.tmx { grid-template-columns: 240px minmax(0, 1fr); }
  html .gx .tmx::before { width: 240px; }
  html .gx .tmx .mc-banco { grid-column: 1 / -1; margin: 0; padding: 0 20px 20px; }
  html .gx .tmx h1 { font-size: 38px; }
}
@media (max-width: 640px) {
  html .gx .tmx, html .gx .mc-praca.tmx { grid-template-columns: 1fr; min-height: 0; }
  html .gx .tmx .tmu-npc { grid-row: auto; }
  html .gx .tmx .tmu-lado { grid-column: 1; padding: 0 18px 20px; margin-top: -8px; }
  html .gx .tmx::before { width: 100%; height: 250px; }
  html .gx .tmx .tmu-npc, html .gx .tmx .mc-npc { min-height: 290px; }
  html .gx .tmx .tmu-fala, html .gx .tmx .mc-fala { padding: 4px 18px 20px; }
  html .gx .tmx h1 { font-size: 32px; }
  html .gx .tmx .tmu-balao::before, html .gx .tmx .mc-balao::before { display: none; }
  html .tmx-fatos, html .gx .tmx .mc-nums { grid-template-columns: 1fr; display: grid; }
}

/* ---------------------------------------------------------------- os 5 sistemas */
html .gx .sisx-b { background: #08101c; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(140, 196, 255, .12), inset 0 0 0 4px rgba(3, 7, 13, .9); }
html .gx .sisx-b::before { background: linear-gradient(0deg, #08101c 10%, rgba(8, 16, 28, .55) 46%, rgba(8, 16, 28, 0) 80%); }
html .gx .sisx-tx b { font: 700 15px/1.15 var(--f-display); }
html .gx .sisx-b:hover { box-shadow: inset 0 0 0 1px rgba(124, 240, 255, .4), inset 0 0 0 4px rgba(3, 7, 13, .9), 0 14px 26px -18px var(--c); }
html .gx .sisx-b.on { box-shadow: inset 0 0 0 1px var(--c), inset 0 0 0 4px rgba(3, 7, 13, .9), 0 0 24px -8px var(--c); }
html .gx .sisx-b.per { --c: #f6c75c; } html .gx .sisx-b.bau { --c: #ff8f57; } html .gx .sisx-b.ban { --c: #a594ff; } html .gx .sisx-b.cha { --c: #7cf0ff; } html .gx .sisx-b.mkt { --c: #43e8b8; }

/* ---------------------------------------------------------------- sistema ainda não liberado: tudo aparece, os botões de ação ficam travados */
html .gx-travado .js-dep, html .gx-travado .js-saq, html .gx-travado .js-all, html .gx-travado .js-combinar,
html .gx-travado .js-mc-comprar, html .gx-travado .js-mc-vender, html .gx-travado .js-mc-tirar, html .gx-travado .js-mc-baixar, html .gx-travado .js-mc-receber { opacity: .5; cursor: not-allowed; filter: saturate(.4); }
html .gx-trava-aviso { position: fixed; z-index: 9999; left: 50%; bottom: 26px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 11px 18px; border-radius: 10px; border: 1px solid rgba(246, 199, 92, .45); background: #0b1422; color: #eaf3ff;
  font: 600 14px/1.3 'Inter', 'Segoe UI', Arial, sans-serif; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); transition: opacity .18s, transform .18s; }
html .gx-trava-aviso.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- avisos que ficam fora da página */
html .bk-toast { background: #0b1422; border-left-color: #3ee39b; }
html .bk-alerta { border-radius: 10px; }
html .gx.gx-nav { padding: 18px 18px 0; }
html .gx.gx-nav .sisx { margin-bottom: 0; }
html .gx .tmx .mc-npc.so-foto { background-position: 50% 30%; background-size: auto 72%; }

/* MU GAME 99z: as páginas dos sistemas ficam na largura do site (960px), alinhadas com o menu */
body.gx-pg .gn-wrap { width: 100%; max-width: 960px; margin: 0 auto; box-sizing: border-box; }
body.gx-pg .gx-main { padding: 0 0 34px; }
body.gx-pg .bk, body.gx-pg .mq, body.gx-pg .iv, body.gx-pg .mc { width: 100% !important; }
html .gx.gx-nav { padding: 0; margin: 0 0 14px; }

/* celular: a moldura do site (menu do topo, miolo e rodapé) acompanha a largura da tela, igual ao baú de guild */
@media (max-width: 980px) {
  html, body.gx-pg { min-width: 0 !important; }
  body.gx-pg .gn-wrap { width: auto; max-width: none; padding: 0 12px; }
  body.gx-pg .gn-wrap nav.main-nav, body.gx-pg .gn-wrap .hero { width: auto; box-sizing: border-box; }
  body.gx-pg .gn-wrap nav.main-nav div { max-width: 100%; }
  body.gx-pg .gn-wrap .main-nav > div { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  body.gx-pg .gn-wrap ~ footer { width: auto; height: auto; line-height: 1.5; padding: 24px 12px; box-sizing: border-box; }
}
/* Baú virtual no celular: o aviso da conta fica embaixo do cabeçalho, dentro da tela */
@media (max-width: 900px) {
  .bv-head.bv-head { flex-direction: row; }
  .bv-head > .bv-status { margin-left: 0; max-width: 100%; box-sizing: border-box; }
}
/* celular: barra dos cinco sistemas em botões compactos (só o símbolo e o nome, sem cortar texto) */
@media (max-width: 640px) {
  html .sisx { gap: 5px; margin-bottom: 12px; }
  html .sisx-b { min-height: 78px; padding: 9px 3px 10px; align-items: center; justify-content: flex-start; gap: 6px; text-align: center; }
  html .sisx-art, html .sisx-tx small { display: none; }
  html .sisx-em { width: 24px; height: 24px; }
  html .sisx-tx b { font-size: 11px; line-height: 1.2; letter-spacing: 0; overflow-wrap: anywhere; }
  html .sisx-b.on::after { left: 6px; right: 6px; bottom: 4px; }
}
/* celular: Market com as abas inteiras na tela, filtro mais curto e dois anúncios por linha */
@media (max-width: 640px) {
  html .mc-abas { gap: 4px; overflow: visible; }
  html .mc-aba { flex: 1 1 0; min-width: 0; justify-content: center; gap: 5px; height: 42px; padding: 0 6px; font-size: 13px; }
  html .mc-aba img { display: none; }
  html .mc-filtros .mc-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
  html .mc-tipo { font-size: 12.5px; }
  html .mc-barra { flex-wrap: wrap; }
  html .mc-busca { flex: 1 1 100%; }
  html .mc-ordem { width: 100%; }
  html .mc-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html .mc-an-pic { height: 112px; }
  html .mc-an-pic img { max-height: 96px; }
  html .mc-an-b { padding: 8px 8px 9px; gap: 5px; }
  html .mc-an-n { font-size: 13px; }
  html .mc-an-o { font-size: 11px; }
  html .mc-an-p img { width: 20px; height: 20px; }
  html .mc-an-p b { font-size: 18px; }
  html .mc-an-v { flex-wrap: wrap; gap: 3px 5px; font-size: 11.5px; white-space: nowrap; }
  html .mc-an-v b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  html .mc-an-v em { flex: 1 1 100%; margin-left: 0; font-size: 10.5px; }
}
