/* Perfect Guias - Montador de Personagem (usa o boneco, os slots e a janela do Mercado: az/player.css + az/azure.css + az/mk-pg.css) */
.mt { padding-top: 18px !important; }
.mt button { font: inherit; }

/* classe e genero */
.mt-topo { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.mt-cls { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.mt-cls .mk-chip { flex: none; }
.mt-cls .mk-chip img { width: 24px; height: 24px; border-radius: 50%; }
.mt-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mt-gen { display: flex; gap: 6px; margin-right: auto; }
.mt-gen .mk-chip { height: 34px; }
.mt-gen .mk-chip:disabled { opacity: .35; cursor: not-allowed; }
@media (min-width: 900px) { .mt-cls { flex-wrap: wrap; overflow: visible; } }

/* grade: boneco + atributos */
.mt-grade { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 1000px) { .mt-grade { grid-template-columns: minmax(0, 1fr) 400px; } .mt-lado { position: sticky; top: 90px; } }
.mt-boneco { min-width: 0; }
.mt-doll { margin-bottom: 6px; }
.mt-doll .col { gap: 8px; }
.mt-slot { padding: 0; cursor: pointer; color: inherit; }
.mt-slot.empty { cursor: pointer; opacity: .85; }
.mt-slot.empty:hover, .mt-slot.empty:focus-visible { border-color: var(--cy); opacity: 1; }
.mt-slot:focus-visible { outline: 2px solid var(--cy); outline-offset: 2px; }
.mt-slot .qt { font-size: 10px; }
.slot.empty span { pointer-events: none; }

/* figura */
.mt-art { position: relative; min-height: 380px; padding: 10px; justify-content: flex-end !important; overflow: hidden; }
.mt-fig { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 30%; padding: 18px 10px 64px; filter: drop-shadow(0 10px 26px rgba(0,0,0,.55)); }
.mt-3d .mt-fig { padding: 0 0 50px; object-position: 50% 40%; }
.mt-nome { position: relative; text-align: center; padding: 6px 12px; background: linear-gradient(180deg, transparent, rgba(2,10,14,.75)); width: 100%; }
.mt-nome .nm { font: 400 22px var(--disp, "ZCOOL XiaoWei", serif); color: #fff; }
.mt-nome .cl { color: var(--muted); font: 600 11px "Rajdhani", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 720px) {
  .mt-art { min-height: 300px; }
  .mt-doll { grid-template-columns: 48px minmax(0, 1fr) 48px !important; gap: 8px !important; }
}

/* cartas e outros */
.mt-cartas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.mt-cartas .avc { min-width: 0; text-align: center; }
.mt-cartas .avc > span { font-size: 10.5px; line-height: 1.2; overflow-wrap: anywhere; }
@media (max-width: 420px) { .mt-cartas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mt-outros { display: flex; gap: 12px; }
.mt-outro { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }

/* atributos somados */
.mt-tot, .mt-lista { padding: 16px 16px 14px; }
.mt-lista { margin-top: 14px; }
.mt-tot h3, .mt-lista h3 { font: 700 18px "Rajdhani", sans-serif; letter-spacing: .06em; margin: 0 0 10px; color: var(--ink, #fff); }
.mt-toth { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mt-stats { display: grid; grid-template-columns: 1fr; gap: 0; }
.mt-st { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(62,224,255,.1); }
.mt-st span { color: #aab4bf; font-size: 13.5px; }
.mt-st b { color: var(--cy, #5fe6ff); font: 700 17px "Rajdhani", sans-serif; text-align: right; }
.mt-st small { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; }
.mt-st:nth-child(-n+6) b { color: #ffd23f; }
.mt-outros-l { margin: 0; padding-left: 18px; color: #cfe3ea; font-size: 13px; line-height: 1.6; }
.mt-outros-l small { color: var(--muted); }
.mt-aviso { margin-top: 12px; font-size: 12px; }

/* lista de pecas */
.mt-pc { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid rgba(62,224,255,.1); }
.mt-pc:last-child { border-bottom: 0; }
.mt-pc .slot { cursor: pointer; }
.mt-pc-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mt-pc-t small { color: var(--muted); font: 600 10.5px "Rajdhani", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.mt-pc-t b { font-size: 14px; overflow-wrap: anywhere; }
.mt-pc-d { font-size: 12px; color: #aab4bf; line-height: 1.45; margin-top: 2px; }
.mt-aviso-cls { display: inline-block; margin-top: 3px; padding: 1px 6px; font-size: 11px; color: #ff9a9a; border: 1px solid rgba(255,93,115,.4); width: max-content; max-width: 100%; }

/* dica */
.mt-t-b { margin-top: 4px; color: #e8eef2; }
.mt-t-rf { color: #ffd23f; margin-top: 4px; }
.mt-t-ad { color: #7fb8ff; }
.mt-t-ad small { color: #8aa; }
.mt-t-pd { display: flex; align-items: center; gap: 5px; color: #c7f5ff; }
.mt-t-pd img { width: 16px; height: 16px; }

/* janela de escolha */
body.mt-travado { overflow: hidden; }
#scrim .modal { max-width: 100%; }
.mt-busca { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-bottom: 10px; }
.mt-busca .f { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mt-busca .f span, .mt-f > span, .mt-lab { font: 600 11px "Rajdhani", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mt-chk { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #cfe3ea; min-height: 40px; }
.mt-res { max-height: min(56vh, 520px); }
.mt-res .sl-it { width: 100%; }
.mt-res .sl-it .slot { flex: none; width: 44px; height: 44px; cursor: pointer; }
.mt-res .sl-it .slot img { width: 32px; height: 32px; }
.mt-res .sl-it b { font-size: 14px; overflow-wrap: anywhere; }
.mt-res .sl-it small { font-size: 12px; }
.mt-mais { margin: 8px auto 4px; display: flex; }
.mt-det { display: flex; flex-direction: column; gap: 14px; }
.mt-det-top { display: flex; align-items: center; gap: 14px; }
.mt-det-top > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mt-det-top b { font-size: 17px; overflow-wrap: anywhere; }
.mt-det-top small { color: var(--muted); font-size: 12.5px; }
.mt-det-top a { color: var(--cy); }
.mt-det-b { font-size: 13px; color: #cfe3ea; line-height: 1.55; }
.mt-f { display: flex; flex-direction: column; gap: 6px; }
.mt-f small { color: #ffd23f; font-size: 12.5px; }
.mt-pedras { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.mt-pedras .field { font-size: 13px; }
.mt-ads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px; }
.mt-ad { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line, rgba(62,224,255,.16)); background: rgba(2,12,18,.5); font-size: 13px; color: #7fb8ff; cursor: pointer; }
.mt-ad.fixo { cursor: default; }
.mt-ad.off { opacity: .4; }
.mt-ad input { accent-color: #5fe6ff; flex: none; }
.mt-ad:has(input:disabled) { opacity: .5; cursor: not-allowed; }
#lv, #mtlv { max-width: 160px; }
@media (max-width: 560px) {
  #scrim { padding: 8px; }
  #scrim .mh { padding: 16px 16px 6px; } #scrim .mb { padding: 8px 16px 16px; } #scrim .mf { padding: 12px 16px; flex-wrap: wrap; }
  #scrim .mf .btn { flex: 1 1 auto; }
}
.slot.empty .mt-mais-ic, .mt-outro .slot.empty span { font-size: 22px; line-height: 1; color: var(--cy); }
