/* MU GAME Classic, Market no visual do MU: janelas, botões e itens do próprio cliente do jogo.
   Moedas: Jewel of Chaos, Bless, Soul e Life do Banco de joias. Tudo atualiza sozinho (pulso da API). */
.mc { --mc-ouro: #f2c14e; --mc-ouro-r: 242, 193, 78; --mc-ouro2: #ffe08a; --mc-v: #ff4a3d; --mc-vr: 255, 74, 61; --mc-ex: #4ce67a; --mc-anc: #4fb6ff; --mc-op: #8cb4ff;
  --mc-tx: #f1e8e4; --mc-tx2: #c4b2ad; --mc-mu: #8f7d78; --mc-pn: #120a0b;
  --mc-f: "Cinzel", Georgia, serif; --mc-fb: "Barlow", Arial, sans-serif; --mc-fc: "Barlow Condensed", "Barlow", Arial, sans-serif;
  width: min(1000px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 46px; color: var(--mc-tx); font-family: var(--mc-fb); }
.mc *, .mc *::before, .mc *::after { box-sizing: border-box; }
.mc button { font-family: inherit; }
.mc [hidden] { display: none !important; }
.mc :focus-visible { outline: 2px solid var(--mc-ouro); outline-offset: 2px; }
.mc .crumbs { margin-bottom: 8px; }

/* ---------------------------------------------------------------- moldura de janela do jogo (Item_Back01: borda de pedra e ouro) */
.mc-jan { position: relative; padding: 16px; border: 10px solid transparent; border-image: url(ui/item_back01.png) 34 22 24 22 fill / 22px 14px 16px 14px; background-clip: padding-box; }
.mc-jan-t { margin: -2px 0 12px; text-align: center; font: 700 15px/1 var(--mc-f); letter-spacing: .06em; color: var(--mc-ouro); text-shadow: 0 1px 0 #000, 0 0 10px rgba(var(--mc-ouro-r), .3); }
.mc-jan-t small { display: block; margin-top: 4px; font: 600 12px var(--mc-fb); letter-spacing: 0; color: var(--mc-tx2); text-shadow: 0 1px 0 #000; }
.mc-linha { height: 10px; margin: 12px -4px; background: url(ui/trading_line.png) 50% 50% / 100% 10px no-repeat; }

/* ---------------------------------------------------------------- praça: o mercador, a conversa e o seu banco */
.mc-praca { position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr) 236px; gap: 0; min-height: 300px; overflow: hidden; border-radius: 10px;
  border: 1px solid rgba(var(--mc-ouro-r), .28);
  background: radial-gradient(42% 70% at 15% 70%, rgba(255, 140, 50, .22), transparent 70%), radial-gradient(40% 60% at 15% 108%, rgba(var(--mc-vr), .28), transparent 70%),
    linear-gradient(180deg, #1c1110, #0d0708 80%); box-shadow: 0 20px 40px -26px #000; }
.mc-praca::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(ui/message_box1.png) 0 0 / 260px auto; opacity: .07; mix-blend-mode: screen; }
.mc-npc { position: relative; }
.mc-npc canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-npc::after { content: ""; position: absolute; left: 50%; bottom: 26px; width: 200px; height: 38px; margin-left: -100px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(var(--mc-ouro-r), .45); box-shadow: 0 0 0 7px rgba(var(--mc-ouro-r), .05), 0 0 0 8px rgba(var(--mc-ouro-r), .22), 0 0 28px rgba(255, 140, 50, .4); }
.mc-npc.so-foto { background: url(npc/mercador.png) 50% 70% / auto 86% no-repeat; }
.mc-npc-nome { position: absolute; z-index: 2; left: 0; right: 0; top: 18px; text-align: center; font: 700 13px var(--mc-fb); color: #ffe9a8; text-shadow: 0 1px 0 #000, 0 0 6px #000; }
.mc-npc-nome i { display: block; font: 600 11px var(--mc-fb); font-style: normal; color: #9ad0ff; }
.mc-fala { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 26px 18px 22px 6px; }
.mc-fala h1 { margin: 0; font: 800 36px/1.05 var(--mc-f); letter-spacing: .03em;
  background: linear-gradient(180deg, #ffffff 0%, #f1f1f1 38%, #9b9b9b 60%, #e2e2e2 82%, #bdbdbd 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 14px rgba(255, 140, 50, .45)); }
/* ornamento dos nomes de mapa do jogo, igual ao topo das outras páginas dos sistemas */
.mc-orn { display: flex; align-items: center; gap: 6px; height: 26px; margin: 4px 0 0; }
.mc-orn .e, .mc-orn .d { height: 21px; width: auto; opacity: .85; }
.mc-orn .m { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 140, 50, .7)) drop-shadow(0 1px 1px #000); }
.mc > .sisx { margin: 12px 0; }
.mc-balao { position: relative; margin: 8px 0 16px; padding: 14px 16px 13px; border-radius: 3px; background: url(ui/message_box.png) 0 0 / 100% 100%; box-shadow: 0 12px 24px -16px #000; }
.mc-balao::before { content: ""; position: absolute; left: -8px; top: 22px; border: 8px solid transparent; border-left: 0; border-right-color: #2b2622; }
.mc-balao p { margin: 0; font: 500 15px/1.5 var(--mc-fb); color: #f3ece3; text-shadow: 0 1px 0 #000; }
.mc-balao b { color: var(--mc-ouro2); }
.mc-nums { display: flex; gap: 8px; }
.mc-num { flex: 1; padding: 9px 12px 8px; border-radius: 3px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(var(--mc-ouro-r), .16); }
.mc-num b { display: block; font: 800 22px/1 var(--mc-fc); color: #fff; font-variant-numeric: tabular-nums; }
.mc-num span { display: block; margin-top: 3px; font: 600 12px var(--mc-fb); color: var(--mc-tx2); }
.mc-num.vivo b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; vertical-align: 4px; border-radius: 50%; background: #3fd98a; box-shadow: 0 0 0 3px rgba(63, 217, 138, .2); animation: mcPisca 1.6s infinite; }
@keyframes mcPisca { 50% { opacity: .35; } }
.mc-banco { position: relative; z-index: 1; margin: 14px 14px 14px 0; }
.mc-banco .mc-jan { height: 100%; padding: 12px 12px 10px; }
.mc-joias { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mc-joia { position: relative; display: grid; justify-items: center; padding: 4px 4px 7px; border-radius: 2px; background: url(ui/inventorybox2.png) 0 0 / 32px 32px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), inset 0 0 14px rgba(0, 0, 0, .6); }
.mc-joia canvas { width: 64px; height: 56px; }
.mc-joia img.mc-j2d { width: 40px; height: 40px; margin: 8px 0; object-fit: contain; }
.mc-joia b { font: 800 17px/1 var(--mc-fc); color: #fff; text-shadow: 0 1px 0 #000; font-variant-numeric: tabular-nums; }
.mc-joia span { font: 600 11px/1.2 var(--mc-fb); color: var(--mc-tx2); }
.mc-banco-pe { margin: 8px 0 0; text-align: center; font: 500 12px/1.4 var(--mc-fb); color: var(--mc-mu); }
.mc-banco-pe a { color: var(--mc-ouro); }
.mc-sair { display: grid; place-items: center; gap: 8px; height: 100%; text-align: center; font: 500 13.5px/1.45 var(--mc-fb); color: var(--mc-tx2); }

/* ---------------------------------------------------------------- ao vivo: mensagens do sistema, como no chat do jogo */
.mc-vivo { display: flex; align-items: center; gap: 12px; height: 38px; margin: 10px 0 0; padding: 0 12px; overflow: hidden; border-radius: 3px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.mc-vivo-t { flex: none; font: 700 12px var(--mc-fc); letter-spacing: .08em; color: #3fd98a; }
.mc-vivo-t::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: currentColor; animation: mcPisca 1.6s infinite; }
.mc-vivo.off .mc-vivo-t { color: var(--mc-mu); }
.mc-vivo-l { position: relative; flex: 1; min-width: 0; height: 100%; }
.mc-vivo-l p { position: absolute; inset: 0; display: block; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 600 13.5px/38px var(--mc-fb); color: #fff6c8; text-shadow: 0 1px 0 #000; transition: opacity .35s, transform .35s; }
.mc-vivo-l p.sai { opacity: 0; transform: translateY(-10px); }
.mc-vivo-l p.entra { opacity: 0; transform: translateY(10px); }
.mc-vivo-l p .v { color: var(--mc-ouro2); } .mc-vivo-l p .c { color: #7cff9c; } .mc-vivo-l p .t-exc { color: var(--mc-ex); } .mc-vivo-l p .t-hi { color: #ffd94a; } .mc-vivo-l p .t-anc { color: var(--mc-anc); }
.mc-vivo-l p em { margin-left: 8px; font: 500 12px var(--mc-fb); font-style: normal; color: var(--mc-mu); }

/* ---------------------------------------------------------------- abas: botões de pedra do jogo */
.mc-abas { display: flex; gap: 6px; margin: 16px 0 14px; }
.mc-aba { position: relative; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 12px; border: 0; border-radius: 3px; cursor: pointer;
  background: url(ui/text_button.png) 0 0 / 100% 100%; color: #d8cfc4; font: 700 14px var(--mc-f); letter-spacing: .04em; text-shadow: 0 1px 0 #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .9), 0 8px 16px -12px #000; filter: brightness(.82); transition: filter .15s, color .15s; }
.mc-aba img { width: 24px; height: 24px; image-rendering: auto; }
.mc-aba small { min-width: 22px; padding: 2px 6px; border-radius: 9px; background: rgba(0, 0, 0, .55); font: 700 11.5px var(--mc-fc); color: #fff; text-align: center; }
.mc-aba:hover { filter: brightness(1); color: #fff; }
.mc-aba[aria-selected="true"] { filter: brightness(1.12); color: var(--mc-ouro2); box-shadow: 0 0 0 1px rgba(var(--mc-ouro-r), .8), 0 0 18px -4px rgba(var(--mc-ouro-r), .7); }
.mc-aba-esp { flex: 1; }

/* ---------------------------------------------------------------- vitrine */
.mc-vit { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 14px; align-items: start; }
.mc-filtros { position: sticky; top: 12px; }
.mc-filtros .mc-jan { padding: 12px 10px 12px; }
.mc-f-h { margin: 2px 0 7px; font: 700 12px var(--mc-fc); letter-spacing: .08em; color: var(--mc-tx2); }
.mc-slots { display: grid; gap: 2px; }
.mc-tipo { display: flex; align-items: center; gap: 9px; width: 100%; padding: 3px 6px 3px 3px; border: 0; border-radius: 2px; background: none; cursor: pointer; text-align: left; font: 600 13.5px var(--mc-fb); color: var(--mc-tx); transition: background .15s, color .15s; }
.mc-tipo-i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 2px; background: #050303; box-shadow: inset 0 0 0 1px #3a3128; }
.mc-tipo-i img { max-width: 30px; max-height: 30px; width: auto; height: 30px; object-fit: contain; opacity: .85; filter: drop-shadow(0 1px 2px #000); }
.mc-tipo:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.mc-tipo:hover img { opacity: 1; }
.mc-tipo[aria-pressed="true"] { background: linear-gradient(90deg, rgba(var(--mc-ouro-r), .2), rgba(var(--mc-ouro-r), 0)); color: var(--mc-ouro2); }
.mc-tipo[aria-pressed="true"] .mc-tipo-i { box-shadow: inset 0 0 0 1px var(--mc-ouro), 0 0 10px -3px rgba(var(--mc-ouro-r), .8); }
.mc-tipo[aria-pressed="true"] img { opacity: 1; }
.mc-tipo:focus-visible { outline: 1px solid var(--mc-ouro); outline-offset: 1px; }
.mc-slot { position: relative; display: grid; place-items: center; height: 44px; padding: 0; border: 0; border-radius: 2px; cursor: pointer; background: #050303;
  box-shadow: 0 0 0 1px #2a2420, inset 0 0 10px rgba(0, 0, 0, .8); }
.mc-slot img { width: 34px; height: 34px; object-fit: contain; opacity: .55; transition: opacity .15s; }
.mc-slot:hover img { opacity: .9; }
.mc-slot[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--mc-ouro), 0 0 12px -2px rgba(var(--mc-ouro-r), .7), inset 0 0 10px rgba(0, 0, 0, .8); }
.mc-slot[aria-pressed="true"] img { opacity: 1; }
.mc-slot.todos { font: 700 11px var(--mc-fc); color: var(--mc-tx2); }
.mc-slot.todos[aria-pressed="true"] { color: var(--mc-ouro2); }
.mc-moedas-f { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mc-moedas-f .mc-slot img { width: 30px; height: 30px; }
.mc-tg { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 4px; padding: 5px 4px; border: 0; background: none; cursor: pointer; text-align: left; font: 600 13.5px var(--mc-fb); color: var(--mc-tx); }
.mc-tg i { flex: none; width: 15px; height: 15px; border-radius: 2px; background: #050303; box-shadow: inset 0 0 0 1px #5a4d40; }
.mc-tg[aria-pressed="true"] i { background: url(ui/win_check.png) 50% 50% / 9px 9px no-repeat, #050303; box-shadow: inset 0 0 0 1px var(--mc-ouro); }
.mc-tg.exc { color: var(--mc-ex); }
.mc-sel { width: 100%; height: 34px; padding: 0 8px; border: 0; border-radius: 2px; background: #050303; color: var(--mc-tx); font: 600 13px var(--mc-fb); box-shadow: inset 0 0 0 1px #3a322b; }
.mc-limpar { width: 100%; margin-top: 10px; height: 32px; border: 0; border-radius: 2px; cursor: pointer; background: url(ui/win_button.png) 0 0 / 100% 100%; font: 700 12.5px var(--mc-fb); color: #e8dfd4; text-shadow: 0 1px 0 #000; }

.mc-barra { display: flex; gap: 8px; margin: 0 0 10px; }
.mc-busca { position: relative; flex: 1; }
.mc-busca input { width: 100%; height: 40px; padding: 0 12px 0 36px; border: 0; border-radius: 2px; background: url(ui/item_money.png) 0 0 / 100% 100%; color: #fff;
  font: 600 14px var(--mc-fb); box-shadow: 0 0 0 1px #000; outline: none; }
.mc-busca input::placeholder { color: #9a8f86; font-weight: 500; }
.mc-busca svg { position: absolute; left: 11px; top: 12px; width: 16px; height: 16px; color: #b9ab9b; }
.mc-ordem { width: 168px; }
.mc-ordem select { height: 40px; }
.mc-info-l { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 8px; font: 500 13px var(--mc-fb); color: var(--mc-mu); }
.mc-novos { height: 30px; padding: 0 12px; border: 0; border-radius: 15px; cursor: pointer; background: #1f6b3a; color: #eafff0; font: 700 12.5px var(--mc-fb); box-shadow: 0 0 16px -4px #3fd98a; }

/* cartão do anúncio: o item como no baú do jogo */
.mc-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mc-an { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; cursor: pointer; text-align: left; padding: 0; border: 0; color: inherit;
  background: linear-gradient(180deg, #17100e, #0e0809); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 10px 20px -16px #000; transition: transform .15s, box-shadow .15s; }
.mc-an:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--mc-ouro-r), .55), 0 14px 24px -14px #000; }
.mc-an.chegou { animation: mcChega 2.4s ease-out; }
@keyframes mcChega { 0% { box-shadow: inset 0 0 0 2px #3fd98a, 0 0 30px -4px #3fd98a; } 100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); } }
.mc-an.vendido { pointer-events: none; }
.mc-an.vendido::after { content: "Vendido"; position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(8, 4, 5, .78); font: 800 22px var(--mc-f); letter-spacing: .08em; color: #ffd94a; text-shadow: 0 0 16px rgba(var(--mc-ouro-r), .6); }
.mc-an-pic { position: relative; display: grid; place-items: center; height: 156px; background: url(ui/inventorybox2.png) 0 0 / 32px 32px; box-shadow: inset 0 0 26px rgba(0, 0, 0, .85); }
.mc-an-pic::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 55% at 50% 55%, var(--brilho, rgba(255, 255, 255, .06)), transparent 70%); }
.mc-an-pic img { position: relative; max-width: 72%; max-height: 132px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .8)); }
.mc-an-pic.t-exc { --brilho: rgba(76, 230, 122, .2); } .mc-an-pic.t-hi { --brilho: rgba(255, 217, 74, .16); } .mc-an-pic.t-anc { --brilho: rgba(79, 182, 255, .2); }
.mc-an-lv { position: absolute; right: 7px; top: 6px; font: 800 16px var(--mc-fc); color: #ffd94a; text-shadow: 0 1px 2px #000, 0 0 8px rgba(0, 0, 0, .9); }
.mc-an-promo { position: absolute; left: 7px; top: 7px; padding: 3px 7px; border-radius: 2px; background: var(--mc-v); font: 800 11.5px var(--mc-fc); letter-spacing: .04em; color: #fff; }
.mc-an-b { display: flex; flex-direction: column; gap: 6px; padding: 10px 11px 11px; }
.mc-an-n { font: 700 14.5px/1.25 var(--mc-fb); color: #fff; text-shadow: 0 1px 0 #000; }
.mc-an-n.t-exc { color: var(--mc-ex); } .mc-an-n.t-hi { color: #ffd94a; } .mc-an-n.t-anc { color: var(--mc-anc); }
.mc-an-o { margin: -2px 0 0; font: 600 12px/1.35 var(--mc-fb); color: var(--mc-op); }
.mc-an-p { display: flex; align-items: center; gap: 7px; margin-top: 2px; }
.mc-an-p img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .8)); }
.mc-an-p b { font: 800 21px/1 var(--mc-fc); color: #fff; font-variant-numeric: tabular-nums; }
.mc-an-p span { font: 600 13px var(--mc-fb); color: var(--mc-tx2); }
.mc-an-p s { font: 600 13px var(--mc-fc); color: var(--mc-mu); }
.mc-an-v { display: flex; align-items: center; gap: 7px; padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, .06); font: 600 12.5px var(--mc-fb); color: var(--mc-tx2); }
.mc-an-v b { color: #ffe9a8; }
.mc-an-v em { margin-left: auto; font: 500 11.5px var(--mc-fb); font-style: normal; color: var(--mc-mu); }
.mc-cls { flex: none; display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 4px; border-radius: 2px; background: rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 0 1px rgba(var(--mc-ouro-r), .35); font: 700 10.5px var(--mc-fc); letter-spacing: .04em; color: var(--mc-ouro); }
.mc-vazio { grid-column: 1 / -1; padding: 44px 20px; text-align: center; font: 500 15px/1.5 var(--mc-fb); color: var(--mc-tx2); }
.mc-vazio b { display: block; margin-bottom: 4px; font: 700 18px var(--mc-f); color: #fff; }
.mc-mais { display: block; margin: 14px auto 0; height: 40px; padding: 0 22px; border: 0; border-radius: 2px; cursor: pointer; background: url(ui/text_button.png) 0 0 / 100% 100%; color: #fff; font: 700 13.5px var(--mc-fb); text-shadow: 0 1px 0 #000; }

/* ---------------------------------------------------------------- caixa de informação do item (igual à do jogo) */
.mc-tip { position: fixed; z-index: 90; max-width: 300px; padding: 9px 13px 10px; pointer-events: none; text-align: center; font: 600 12.5px/1.5 var(--mc-fb);
  color: #e9edf1; background: rgba(4, 4, 6, .9); border: 1px solid #4b4b52; box-shadow: 0 10px 26px rgba(0, 0, 0, .7); }
.mc-tip .t-name { margin-bottom: 4px; font-size: 14.5px; font-weight: 800; color: #fff; }
.mc-tip .t-name.t-exc { color: var(--mc-ex); } .mc-tip .t-name.t-anc { color: var(--mc-anc); } .mc-tip .t-name.t-hi { color: #ffd94a; }
.mc-tip .t-rq { color: #e6e6e6; } .mc-tip .t-cl { color: #e6e6e6; }
.mc-tip .t-op { color: var(--mc-op); } .mc-tip .t-op.t-first, .mc-tip .t-ex.t-first { margin-top: 6px; }
.mc-tip .t-ex { color: var(--mc-op); }
.mc-tip .t-sn { margin-top: 6px; font-size: 11px; color: #6c6c74; }

/* ---------------------------------------------------------------- janela de compra (troca do jogo) */
.mc-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(4, 2, 3, .78); }
.mc-troca { position: relative; width: min(900px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0;
  border-radius: 6px; background: linear-gradient(180deg, #1a1110, #0d0708); box-shadow: 0 0 0 1px rgba(var(--mc-ouro-r), .35), 0 30px 60px rgba(0, 0, 0, .8); }
.mc-x { position: absolute; right: 10px; top: 10px; z-index: 5; width: 30px; height: 30px; border: 0; cursor: pointer; background: url(ui/exit_01.png) 0 0 / 100% 100%; border-radius: 2px; }
.mc-troca-item { position: relative; display: flex; flex-direction: column; border-right: 1px solid rgba(var(--mc-ouro-r), .18); }
.mc-palco { position: relative; height: 330px; background: radial-gradient(55% 60% at 50% 62%, rgba(var(--mc-vr), .2), transparent 70%), linear-gradient(180deg, #170d0e, #0a0607); }
.mc-palco canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-palco::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 220px; height: 40px; margin-left: -110px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(var(--mc-ouro-r), .4); box-shadow: 0 0 0 8px rgba(var(--mc-ouro-r), .05), 0 0 0 9px rgba(var(--mc-ouro-r), .22), 0 0 26px rgba(var(--mc-vr), .4); }
.mc-palco.so-foto { display: grid; place-items: center; }
.mc-palco .mc-foto-g { position: relative; z-index: 1; max-width: 60%; max-height: 240px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .8)); }
.mc-palco-cls { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; gap: 3px; }
.mc-palco-cls button { height: 26px; padding: 0 8px; border: 0; border-radius: 2px; cursor: pointer; background: rgba(0, 0, 0, .6); color: var(--mc-tx2); font: 700 11.5px var(--mc-fc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mc-palco-cls button[aria-pressed="true"] { background: var(--mc-ouro); color: #1d1204; }
.mc-palco-d { position: absolute; z-index: 2; left: 0; right: 0; bottom: 6px; margin: 0; text-align: center; font: 500 11.5px var(--mc-fb); color: var(--mc-mu); }
.mc-troca-tip { position: relative; padding: 14px 16px 16px; text-align: center; font: 600 13px/1.55 var(--mc-fb); background: rgba(4, 4, 6, .6); border-top: 1px solid rgba(255, 255, 255, .06); }
.mc-troca-tip .t-name { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 5px; } .mc-troca-tip .t-name.t-exc { color: var(--mc-ex); } .mc-troca-tip .t-name.t-hi { color: #ffd94a; } .mc-troca-tip .t-name.t-anc { color: var(--mc-anc); }
.mc-troca-tip .t-op, .mc-troca-tip .t-ex { color: var(--mc-op); } .mc-troca-tip .t-first { margin-top: 6px; } .mc-troca-tip .t-sn { margin-top: 6px; font-size: 11px; color: #6c6c74; }
.mc-troca-lado { display: flex; flex-direction: column; padding: 16px; gap: 12px; }
.mc-loja-t { position: relative; height: 34px; display: grid; place-items: center; background: url(ui/hourglass.png) 50% 50% / 100% 100% no-repeat; }
.mc-loja-t b { font: 700 13.5px var(--mc-fb); color: #fff6c8; text-shadow: 0 1px 0 #000; }
.mc-vend { display: flex; align-items: center; gap: 10px; }
.mc-vend-av { flex: none; text-align: center; width: 46px; height: 46px; border-radius: 3px; display: grid; place-items: center; background: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(var(--mc-ouro-r), .35);
  font: 800 15px var(--mc-fc); color: var(--mc-ouro); }
.mc-vend > span:last-child b { display: block; font: 700 17px var(--mc-f); color: #ffe9a8; text-shadow: 0 1px 0 #000; }
.mc-vend > span:last-child span { display: block; font: 500 12.5px var(--mc-fb); color: var(--mc-tx2); }
.mc-grade { position: relative; display: grid; width: 100%; grid-template-columns: repeat(8, 1fr); background: url(ui/inventorybox2.png) 0 0 / calc(100% / 8) auto; box-shadow: 0 0 0 1px #000, inset 0 0 18px rgba(0, 0, 0, .7); }
.mc-grade::before { content: ""; grid-column: 1 / -1; padding-top: calc(var(--lin, 4) / 8 * 100%); }
.mc-gi { position: absolute; display: grid; place-items: center; padding: 1px; border: 0; cursor: pointer; background: rgba(var(--g, 120, 120, 140), .16); box-shadow: inset 0 0 0 1px rgba(var(--g, 120, 120, 140), .35); }
.mc-gi img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .8)); }
.mc-gi.t-exc { --g: 76, 230, 122; } .mc-gi.t-hi { --g: 255, 217, 74; } .mc-gi.t-anc { --g: 79, 182, 255; }
.mc-gi.on { box-shadow: inset 0 0 0 2px var(--mc-ouro), 0 0 14px -2px rgba(var(--mc-ouro-r), .8); z-index: 1; }
.mc-gi:hover { z-index: 2; box-shadow: inset 0 0 0 1px var(--mc-ouro); }
.mc-gi i { position: absolute; right: 2px; top: 0; font: 800 11px var(--mc-fc); font-style: normal; color: #ffd94a; text-shadow: 0 1px 1px #000; }
.mc-pagar { padding: 12px; border-radius: 3px; background: url(ui/message_box.png) 0 0 / 100% 100%; }
.mc-pagar-l { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 13.5px var(--mc-fb); color: #e9e0d6; text-shadow: 0 1px 0 #000; }
.mc-pagar-l + .mc-pagar-l { margin-top: 6px; }
.mc-pagar-l b { display: inline-flex; align-items: center; gap: 6px; font: 800 20px var(--mc-fc); color: #fff; }
.mc-pagar-l b img { width: 26px; height: 26px; object-fit: contain; }
.mc-pagar-l.falta b { color: #ff8a7a; }
.mc-aceitar { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border: 0; border-radius: 3px; cursor: pointer;
  background: linear-gradient(180deg, #ffe6ad, #c99640); color: #1d1204; font: 800 16px var(--mc-fb); letter-spacing: .03em; box-shadow: 0 0 24px -6px rgba(var(--mc-ouro-r), .9); }
.mc-aceitar img { width: 28px; height: 28px; }
.mc-aceitar:disabled { opacity: .55; cursor: default; box-shadow: none; }
.mc-aceitar.ok { background: linear-gradient(180deg, #b8ffcf, #2fae63); }
.mc-regra { margin: 0; font: 500 12.5px/1.45 var(--mc-fb); color: var(--mc-mu); }

/* ---------------------------------------------------------------- lojas: a loja de cada jogador, como na rua do jogo */
.mc-lojas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mc-lj { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 0; border-radius: 4px; cursor: pointer; text-align: left; color: inherit;
  background: linear-gradient(180deg, #17100e, #0e0809); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); transition: transform .15s, box-shadow .15s; }
.mc-lj:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(var(--mc-ouro-r), .55); }
.mc-lj-t { display: grid; place-items: center; min-height: 30px; padding: 4px 14px; background: url(ui/hourglass.png) 50% 50% / 100% 100% no-repeat; font: 700 13px var(--mc-fb); color: #fff6c8; text-shadow: 0 1px 0 #000; }
.mc-lj-v { display: flex; align-items: center; gap: 8px; font: 600 13px var(--mc-fb); color: var(--mc-tx2); }
.mc-lj-v b { font: 700 15px var(--mc-f); color: #ffe9a8; }
.mc-lj-v em { margin-left: auto; font-style: normal; }
.mc-lj .mc-grade { pointer-events: none; }

/* ---------------------------------------------------------------- vender: baú do jogo, item e preço */
.mc-vender { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; align-items: start; }
.mc-bau .mc-jan { padding: 12px 12px 12px; }
.mc-bau .mc-grade { --lin: 15; }
.mc-bau-pe { display: flex; justify-content: space-between; margin-top: 8px; font: 600 12.5px var(--mc-fb); color: var(--mc-tx2); }
.mc-form .mc-jan { padding: 16px 18px 18px; }
.mc-escolhido { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; }
.mc-escolhido .mc-an-pic { height: 170px; border-radius: 2px; }
.mc-escolhido .mc-troca-tip { padding: 10px 12px; text-align: left; background: rgba(4, 4, 6, .65); border: 1px solid #3b3b42; }
.mc-esc-vazio { display: grid; place-items: center; min-height: 170px; text-align: center; font: 500 14px/1.5 var(--mc-fb); color: var(--mc-tx2); border: 1px dashed rgba(255, 255, 255, .12); border-radius: 3px; }
.mc-preco { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: end; margin-top: 14px; }
.mc-preco label { display: block; margin-bottom: 6px; font: 700 12px var(--mc-fc); letter-spacing: .08em; color: var(--mc-tx2); }
.mc-preco input { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 2px; background: url(ui/item_money.png) 0 0 / 100% 100%; color: #fff;
  font: 800 24px var(--mc-fc); box-shadow: 0 0 0 1px #000; outline: none; font-variant-numeric: tabular-nums; }
.mc-moeda-b { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mc-moeda-b button { display: grid; justify-items: center; gap: 2px; padding: 4px 2px 6px; border: 0; border-radius: 2px; cursor: pointer; background: url(ui/inventorybox2.png) 0 0 / 32px 32px;
  box-shadow: 0 0 0 1px #000, inset 0 0 12px rgba(0, 0, 0, .7); color: var(--mc-tx2); font: 700 12px var(--mc-fb); }
.mc-moeda-b button img { width: 36px; height: 36px; object-fit: contain; }
.mc-moeda-b button[aria-pressed="true"] { color: #fff; box-shadow: 0 0 0 1px var(--mc-ouro), 0 0 14px -2px rgba(var(--mc-ouro-r), .8), inset 0 0 12px rgba(0, 0, 0, .7); }
.mc-conta { display: flex; gap: 8px; margin: 12px 0; }
.mc-conta div { flex: 1; padding: 8px 10px; border-radius: 2px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); font: 600 12px var(--mc-fb); color: var(--mc-tx2); }
.mc-conta b { display: block; font: 800 18px var(--mc-fc); color: #fff; }
.mc-conta .rec b { color: #7cff9c; }
.mc-regras { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font: 500 12.5px/1.45 var(--mc-fb); color: #d6cab8; text-shadow: 0 1px 2px #000; }

/* ---------------------------------------------------------------- minhas vendas */
.mc-minhas { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; align-items: start; }
.mc-receber { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding: 12px 14px; border-radius: 3px; background: url(ui/message_box.png) 0 0 / 100% 100%; }
.mc-receber p { flex: 1; margin: 0; font: 600 13.5px/1.4 var(--mc-fb); color: #f3ece3; text-shadow: 0 1px 0 #000; }
.mc-receber .mc-aceitar { width: auto; height: 40px; padding: 0 16px; font-size: 14px; }
.mc-ml { display: grid; gap: 8px; }
.mc-mi { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 3px; background: linear-gradient(180deg, #17100e, #0e0809); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.mc-mi .mc-an-pic { height: 64px; border-radius: 2px; }
.mc-mi .mc-an-pic img { max-height: 56px; }
.mc-mi-n { font: 700 14px var(--mc-fb); color: #fff; } .mc-mi-n.t-exc { color: var(--mc-ex); } .mc-mi-n.t-hi { color: #ffd94a; }
.mc-mi-s { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; font: 500 12.5px var(--mc-fb); color: var(--mc-tx2); }
.mc-mi-s .vendido { color: #7cff9c; font-weight: 700; }
.mc-mi-a { display: flex; gap: 6px; }
.mc-bt { height: 32px; padding: 0 12px; border: 0; border-radius: 2px; cursor: pointer; background: url(ui/win_button.png) 0 0 / 100% 100%; color: #eee4d8; font: 700 12.5px var(--mc-fb); text-shadow: 0 1px 0 #000; box-shadow: 0 0 0 1px #000; }
.mc-bt:hover { filter: brightness(1.15); }
.mc-bt.perigo { color: #ffb4a8; }

/* ---------------------------------------------------------------- aviso flutuante */
.mc-aviso { position: fixed; z-index: 95; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: min(560px, calc(100% - 24px)); padding: 12px 18px; border-radius: 3px;
  background: url(ui/message_box.png) 0 0 / 100% 100%; box-shadow: 0 16px 34px rgba(0, 0, 0, .7); font: 600 14px/1.45 var(--mc-fb); color: #fff; text-shadow: 0 1px 0 #000; }
.mc-aviso.ruim { color: #ffc2b8; }

@media (prefers-reduced-motion: reduce) and (max-width: 0px) { .mc *, .mc *::before, .mc *::after { animation: none !important; transition: none !important; } }
@media (max-width: 900px) {
  .mc-praca { grid-template-columns: 1fr; }
  .mc-npc { height: 230px; }
  .mc-fala { padding: 0 16px 16px; }
  .mc-banco { margin: 0 16px 16px; }
  .mc-vit, .mc-vender, .mc-minhas { grid-template-columns: 1fr; }
  .mc-filtros { position: static; }
  .mc-lista, .mc-lojas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-troca { grid-template-columns: 1fr; }
  .mc-abas { overflow-x: auto; scrollbar-width: none; }
  .mc-aba-esp { display: none; }
}
@media (max-width: 560px) {
  .mc-lista, .mc-lojas { grid-template-columns: 1fr; }
  .mc-nums { flex-wrap: wrap; }
  .mc-escolhido, .mc-preco { grid-template-columns: 1fr; }
}

.mc-aba small:empty { display: none; }

/* páginas da vitrine e das lojas */
.mc-pag { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 4px; margin: 10px 0 4px; }
.mc-pg { min-width: 34px; height: 34px; padding: 0 8px; border: 0; border-radius: 2px; cursor: pointer; background: #050303; box-shadow: inset 0 0 0 1px #4a3d31;
  font: 700 14px var(--mc-fc); color: var(--mc-tx2); transition: color .15s, box-shadow .15s; }
.mc-pg.seta { font-size: 20px; line-height: 1; }
.mc-pg:hover:not(:disabled) { color: #fff; box-shadow: inset 0 0 0 1px var(--mc-ouro); }
.mc-pg[aria-current="page"] { color: var(--mc-ouro2); box-shadow: inset 0 0 0 1px var(--mc-ouro), 0 0 12px -3px rgba(var(--mc-ouro-r), .8); cursor: default; }
.mc-pg:disabled { opacity: .3; cursor: default; }
.mc-pg:focus-visible { outline: 1px solid var(--mc-ouro); outline-offset: 2px; }
.mc-pg-r { color: var(--mc-mu); padding: 0 2px; }
.mc-ir-banco { display: block; margin-top: 8px; padding: 9px 12px; border-radius: 2px; text-align: center; font: 700 13.5px var(--mc-fb); color: #cfcdff; text-decoration: none;
  background: rgba(143, 140, 255, .1); box-shadow: inset 0 0 0 1px rgba(143, 140, 255, .45); transition: background .15s, color .15s; }
.mc-ir-banco:hover { background: rgba(143, 140, 255, .2); color: #fff; }
.mc-regras a { color: var(--mc-ouro2); }

/* ---------------------------------------------------------------- efeitos da troca (transform e opacity: leve em qualquer navegador) */
.mc-voa { position: fixed; z-index: 120; pointer-events: none; object-fit: contain; will-change: transform, opacity;
  filter: drop-shadow(0 0 8px rgba(255, 214, 120, .9)) drop-shadow(0 4px 6px rgba(0, 0, 0, .7)); animation-name: mcVoa; animation-timing-function: cubic-bezier(.45, .05, .35, 1); animation-fill-mode: both; }
.mc-voa.item { filter: drop-shadow(0 0 12px rgba(255, 236, 170, 1)) drop-shadow(0 6px 10px rgba(0, 0, 0, .8)); }
@keyframes mcVoa {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  12% { transform: translate(0, 0) scale(1.15); opacity: 1; }
  55% { transform: translate(calc(var(--dx) * .55), calc(var(--dy) * .55 + var(--arco))) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(var(--fim)); opacity: .9; }
}
.mc-faisca { position: fixed; z-index: 121; width: 0; height: 0; pointer-events: none; }
.mc-faisca i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 8px 2px rgba(255, 200, 90, .9);
  transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; animation: mcFaisca .8s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes mcFaisca { to { transform: rotate(var(--a)) translateY(calc(var(--d) * -1)) scale(.2); opacity: 0; } }
.mc-troca.trocando { animation: mcTroca 1.2s ease-out; }
@keyframes mcTroca { 0% { box-shadow: 0 0 0 0 rgba(255, 214, 120, 0); } 30% { box-shadow: 0 0 0 2px rgba(255, 214, 120, .9), 0 0 60px 6px rgba(255, 190, 80, .55); } 100% { box-shadow: 0 0 0 0 rgba(255, 214, 120, 0); } }
.mc-palco.recebeu, .mc-troca-item.recebeu { animation: mcRecebeu 1.2s ease-out; }
@keyframes mcRecebeu { 0% { filter: brightness(1); } 25% { filter: brightness(1.7) saturate(1.2); } 100% { filter: brightness(1); } }
.mc-aba.chegou { animation: mcChegou 1.1s ease-out; }
@keyframes mcChegou { 0%, 100% { transform: none; } 20% { transform: scale(1.08); box-shadow: 0 0 26px rgba(255, 214, 120, .8); } 45% { transform: scale(.98); } }
@media (prefers-reduced-motion: reduce) and (max-width: 0px) { .mc-troca.trocando, .mc-palco.recebeu, .mc-aba.chegou { animation-duration: .01s; } }
