:root {
  --bg: #0a0a0a;
  --vidro: rgba(13, 13, 14, .78);
  --vidro-forte: rgba(13, 13, 14, .92);
  --linha: rgba(255, 255, 255, .07);
  --linha-2: rgba(255, 255, 255, .13);
  --texto: #e7e7e7;
  --texto-2: #9a9a9a;
  --apagado: #5f5f5f;
  --acento: #6c9eff;
  --acento-fundo: rgba(108, 158, 255, .14);
  --acento-borda: rgba(108, 158, 255, .38);
  --portal: #46aaff;
  --perola: #fabe3c;
  --raio: 14px;
  --raio-p: 8px;
  --topo: 56px;
  --fonte: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sombra: 0 14px 44px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .03) inset;
}

html, body { background: var(--bg) !important; margin: 0; }
body { font-family: var(--fonte); color: var(--texto); -webkit-font-smoothing: antialiased; }

#app { display: none !important; }

.hm, .hm * { box-sizing: border-box; font-family: var(--fonte); }
.hm h1, .hm h2, .hm h3, .hm h4 { position: static; width: auto; overflow: visible; padding: 0; text-align: left; }
.hm h1::after, .hm h2::after { content: none; display: none; }
.hm p { margin: 0; padding: 0; }
.hm ul { margin: 0; padding: 0; }
.hm button { font: inherit; color: inherit; cursor: pointer; }
.hm :focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }

.hm-vidro {
  background: var(--vidro);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--linha);
  box-shadow: var(--sombra);
}

.hm-carregando {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .45s ease, visibility .45s ease;
}
.hm-carregando.sumiu { opacity: 0; visibility: hidden; }
.hm-carregando-caixa { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hm-carregando img { width: 48px; height: 48px; border-radius: 10px; image-rendering: pixelated; }
.hm-carregando span { font-size: 13px; color: var(--texto-2); letter-spacing: .02em; }
.hm-barra { width: 140px; height: 2px; border-radius: 2px; background: var(--linha-2); overflow: hidden; }
.hm-barra::after {
  content: ""; display: block; width: 40%; height: 100%;
  background: var(--acento); border-radius: 2px;
  animation: hm-desliza 1.1s ease-in-out infinite;
}
@keyframes hm-desliza { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

.hm-topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--topo);
  display: flex; align-items: center; gap: 14px;
  padding: 0 20px;
  background: rgba(10, 10, 10, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.hm-marca { display: flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; }
.hm-marca img { width: 24px; height: 24px; border-radius: 6px; }
.hm-marca b { font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.hm-divisor { width: 1px; height: 18px; background: var(--linha-2); }
.hm-pagina { font-size: 14px; font-weight: 500; color: var(--texto-2); }
.hm-nav { margin-left: auto; display: flex; gap: 4px; }
.hm-nav a {
  font-size: 13.5px; color: var(--texto-2); text-decoration: none;
  padding: 7px 11px; border-radius: var(--raio-p);
  transition: color .15s ease, background .15s ease;
}
.hm-nav a:hover { color: var(--texto); background: rgba(255, 255, 255, .05); }
.hm-online {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--texto-2);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--linha-2);
  font-variant-numeric: tabular-nums;
}
.hm-online i { width: 7px; height: 7px; border-radius: 50%; background: var(--apagado); }
.hm-online.tem i { background: #3ecf8e; box-shadow: 0 0 0 3px rgba(62, 207, 142, .18); }
.hm-online.tem { color: var(--texto); }

.hm-painel {
  position: fixed; z-index: 900;
  top: calc(var(--topo) + 16px); left: 16px;
  width: 292px;
  max-height: calc(100vh - var(--topo) - 84px);
  overflow-y: auto;
  border-radius: var(--raio);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--linha-2) transparent;
}
.hm-painel.fechado { transform: translateX(calc(-100% - 24px)); opacity: 0; pointer-events: none; }
.hm-painel-cab {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 14px 14px 18px; gap: 12px;
}
.hm-painel-cab > div { flex: 1; min-width: 0; }
.hm-painel-cab h2 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.hm-painel-cab p { margin: 2px 0 0; font-size: 12px; color: var(--texto-2); }
.hm-icone-btn {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: var(--raio-p); border: 1px solid transparent; background: transparent;
  color: var(--texto-2);
  transition: background .15s ease, color .15s ease;
}
.hm-icone-btn:hover { background: rgba(255, 255, 255, .06); color: var(--texto); }
.hm-icone-btn svg { width: 16px; height: 16px; }

.hm-secao { padding: 14px 18px 16px; border-top: 1px solid var(--linha); }
.hm-secao h3 {
  margin: 0 0 11px; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--apagado);
}

.hm-seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px;
  padding: 3px; border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--linha);
}
.hm-seg button {
  border: 0; background: transparent; color: var(--texto-2);
  font-size: 13px; font-weight: 500; padding: 7px 0; border-radius: 7px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.hm-seg button:hover { color: var(--texto); }
.hm-seg button.ativo {
  background: var(--acento-fundo); color: #d7e5ff;
  box-shadow: inset 0 0 0 1px var(--acento-borda);
}

.hm-camada {
  display: grid; grid-template-columns: 12px 1fr auto 34px; align-items: center; gap: 12px;
  padding: 9px 10px; margin: 0 -10px; border-radius: 10px;
  border: 0; background: transparent; width: calc(100% + 20px); text-align: left;
  transition: background .15s ease;
}
.hm-camada:hover { background: rgba(255, 255, 255, .04); }
.hm-camada.indisponivel { opacity: .45; }
.hm-bola { width: 10px; height: 10px; border-radius: 3px; }
.hm-camada-txt b { display: block; font-size: 13.5px; font-weight: 500; color: var(--texto); }
.hm-camada-txt small { display: block; font-size: 11.5px; color: var(--texto-2); margin-top: 1px; line-height: 1.35; }
.hm-qtd { font-size: 12px; color: var(--apagado); font-variant-numeric: tabular-nums; }
.hm-chave {
  width: 34px; height: 20px; border-radius: 999px; position: relative;
  background: rgba(255, 255, 255, .12);
  transition: background .2s ease;
}
.hm-chave::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 14px; height: 14px; border-radius: 50%; background: #d9d9d9;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s ease;
}
.hm-camada.ligada .hm-chave { background: var(--acento); }
.hm-camada.ligada .hm-chave::after { transform: translateX(14px); background: #fff; }

.hm-jogadores { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hm-jogador {
  display: flex; align-items: center; gap: 11px;
  padding: 7px 10px; margin: 0 -10px; border-radius: 10px;
  border: 0; background: transparent; width: calc(100% + 20px); text-align: left;
  transition: background .15s ease;
}
.hm-jogador:hover { background: rgba(255, 255, 255, .045); }
.hm-cabeca {
  width: 26px; height: 26px; border-radius: 6px; flex: none;
  image-rendering: pixelated; background: #1c1c1c;
  display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--texto-2);
  overflow: hidden;
}
.hm-cabeca img { width: 100%; height: 100%; image-rendering: pixelated; }
.hm-jogador b { font-size: 13.5px; font-weight: 500; }
.hm-tag {
  margin-left: auto; font-size: 11px; color: var(--texto-2);
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--linha-2);
}
.hm-vazio { font-size: 12.5px; color: var(--apagado); padding: 2px 0; }

.hm-ir { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; }
.hm-campo {
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px; height: 34px; border-radius: var(--raio-p);
  background: rgba(255, 255, 255, .035); border: 1px solid var(--linha);
  transition: border-color .15s ease;
}
.hm-campo:focus-within { border-color: var(--acento-borda); }
.hm-campo span { font-size: 11.5px; font-weight: 600; color: var(--apagado); }
.hm-campo input {
  width: 100%; min-width: 0; border: 0; outline: 0; background: transparent;
  color: var(--texto); font: 500 13px var(--fonte); font-variant-numeric: tabular-nums;
}
.hm-campo input::-webkit-outer-spin-button,
.hm-campo input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hm-campo input[type=number] { -moz-appearance: textfield; }
.hm-botao {
  height: 34px; padding: 0 14px; border-radius: var(--raio-p); border: 0;
  background: var(--acento); color: #0b1424; font-size: 13px; font-weight: 600;
  transition: filter .15s ease;
}
.hm-botao:hover { filter: brightness(1.08); }

.hm-abrir {
  position: fixed; z-index: 900;
  top: calc(var(--topo) + 16px); left: 16px;
  height: 40px; padding: 0 14px 0 12px; border-radius: 12px;
  display: none; align-items: center; gap: 8px;
  color: var(--texto); font-size: 13px; font-weight: 500;
}
.hm-abrir svg { width: 16px; height: 16px; color: var(--texto-2); }
.hm-abrir.visivel { display: flex; }

.hm-coords {
  position: fixed; z-index: 900; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 14px;
  height: 36px; padding: 0 14px; border-radius: 10px;
  font-size: 12.5px; color: var(--texto-2); font-variant-numeric: tabular-nums;
}
.hm-coords b { color: var(--texto); font-weight: 500; margin-left: 5px; }
.hm-coords em { font-style: normal; color: var(--apagado); }

.hm-controles {
  position: fixed; z-index: 900; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; border-radius: 12px; overflow: hidden;
}
.hm-controles button {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--texto-2);
  transition: background .15s ease, color .15s ease;
}
.hm-controles button + button { border-top: 1px solid var(--linha); }
.hm-controles button:hover { background: rgba(255, 255, 255, .06); color: var(--texto); }
.hm-controles svg { width: 17px; height: 17px; }
.hm-norte svg { transition: transform .2s ease; }

.bm-marker-popup {
  background: var(--vidro-forte) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--linha-2) !important;
  border-radius: 12px !important;
  color: var(--texto) !important;
  font-family: var(--fonte) !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  padding: 12px 14px !important;
  max-width: 300px !important;
  box-shadow: var(--sombra) !important;
}
.bm-marker-popup::after, .bm-marker-popup::before { display: none !important; }

@media (max-width: 760px) {
  :root { --topo: 52px; }
  .hm-nav, .hm-divisor, .hm-pagina { display: none; }
  .hm-online { margin-left: auto; }
  .hm-painel { width: calc(100vw - 32px); max-height: calc(100vh - var(--topo) - 100px); }
  .hm-painel:not(.fechado) ~ .hm-controles,
  .hm-painel:not(.fechado) ~ .hm-coords { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm-painel, .hm-carregando { transition: none !important; animation: none !important; }
}

.hm-marcador, .hm-previa {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 3px 12px 3px 3px; border-radius: 999px;
  background: var(--hm-cor, #f9fffe); color: #fff;
  font: 700 13.5px/1 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  white-space: nowrap; user-select: none;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .55), 0 6px 18px rgba(0, 0, 0, .45);
}
.hm-marcador.claro, .hm-previa.claro { color: #141414; }
.hm-marcador i, .hm-previa i {
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0, 0, 0, .5);
}
.hm-marcador.claro i, .hm-previa.claro i { background: rgba(0, 0, 0, .28); }
.hm-marcador img, .hm-previa img { width: 20px; height: 20px; image-rendering: pixelated; }
.hm-marcador {
  position: relative; transform: translate(-50%, calc(-100% - 10px));
  pointer-events: auto; cursor: pointer;
  transition: transform .15s ease;
}
.hm-marcador::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 2px; height: 10px; margin-left: -1px;
  background: var(--hm-cor, #f9fffe);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .45);
}
.hm-marcador:hover { transform: translate(-50%, calc(-100% - 10px)) scale(1.06); }

.hm-secao-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.hm-secao .hm-secao-cab h3 { margin: 0; }
.hm-secao-qtd { font-size: 11px; color: var(--apagado); font-variant-numeric: tabular-nums; }
.hm-marcadores { list-style: none; margin: 0 -10px; padding: 0; display: grid; gap: 2px; max-height: 212px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
.hm-item-marcador {
  display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px;
  width: 100%; margin: 0; padding: 7px 10px;
  border: 0; background: transparent; border-radius: 10px; text-align: left;
  transition: background .15s ease;
}
.hm-item-marcador:hover { background: rgba(255, 255, 255, .045); }
.hm-item-txt { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.hm-item-txt b { font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-item-txt small { flex: none; font-size: 11.5px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.hm .hm-dica { margin-top: 10px; font-size: 11.5px; line-height: 1.45; color: var(--apagado); }

.hm-menu, .hm-cartao { position: fixed; z-index: 1500; border-radius: 12px; }
.hm-menu { min-width: 240px; padding: 6px; }
.hm-menu .hm-cartao-coords { padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--linha); }
.hm-menu-item {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 9px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--texto);
}
.hm-menu-item:hover { background: var(--acento-fundo); color: #d7e5ff; }
.hm .hm-menu-aviso { padding: 8px 10px; font-size: 12.5px; color: var(--texto-2); }

.hm-cartao { width: 284px; padding: 16px; }
.hm-cartao-cab { display: flex; align-items: center; gap: 10px; }
.hm-cartao-cab b { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.hm-cartao-titulo { font-size: 15px; font-weight: 600; }
.hm-cartao-sub { margin-top: 3px; font-size: 12px; color: var(--texto-2); font-variant-numeric: tabular-nums; }
.hm-cartao-coords {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12.5px; color: var(--texto); font-variant-numeric: tabular-nums;
}
.hm-cartao .hm-cartao-coords {
  margin-top: 12px; padding: 9px 11px; border-radius: 8px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--linha);
}
.hm-link { border: 0; background: transparent; padding: 0; color: var(--acento); font-size: 12px; font-weight: 600; }
.hm-link:hover { text-decoration: underline; }
.hm .hm-cartao-texto { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--texto-2); overflow-wrap: anywhere; }
.hm-cartao-acoes { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.hm-botao-sec {
  height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--linha-2);
  background: transparent; color: var(--texto); font-size: 13px; font-weight: 500;
  transition: background .15s ease;
}
.hm-botao-sec:hover { background: rgba(255, 255, 255, .05); }
.hm-botao-perigo {
  height: 34px; padding: 0 14px; border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .12);
  color: #fecaca; font-size: 13px; font-weight: 600;
  transition: background .15s ease;
}
.hm-botao-perigo:hover { background: rgba(248, 113, 113, .2); }
.hm-botao:disabled, .hm-botao-perigo:disabled { opacity: .6; cursor: default; }
.hm-form { margin-top: 12px; }
.hm-entrada {
  width: 100%; height: 38px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--linha-2); background: rgba(255, 255, 255, .04);
  color: var(--texto); font: 500 14px var(--fonte); outline: 0;
  transition: border-color .15s ease;
}
.hm-entrada:focus { border-color: var(--acento-borda); }
.hm-paleta { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.hm-cor {
  aspect-ratio: 1; border: 0; border-radius: 7px; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
  transition: transform .12s ease, box-shadow .12s ease;
}
.hm-cor:hover { transform: scale(1.08); }
.hm-cor[aria-checked="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--texto); }
.hm .hm-erro { margin-top: 8px; font-size: 13px; color: #fca5a5; }
.hm .hm-erro:empty { display: none; }

.hm-anel-rotulo {
  transform: translate(-50%, -50%);
  pointer-events: none; white-space: nowrap; user-select: none;
  font: 700 10.5px/1 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 999px;
  color: var(--hm-cor);
  background: rgba(10, 10, 10, .74);
  border: 1px solid color-mix(in srgb, var(--hm-cor) 55%, transparent);
}
.hm-anel-rotulo.forte {
  color: #0b0b0b; background: var(--hm-cor); border-color: transparent;
  font-size: 11.5px; padding: 5px 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.hm-bola-grade { background: transparent !important; box-shadow: inset 0 0 0 1.5px #9a9a9a !important; border-radius: 2px; }
.hm-legenda {
  margin-top: 12px; padding: 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--linha);
  display: grid; gap: 9px;
}
.hm .hm-legenda p { font-size: 11.5px; line-height: 1.4; color: var(--texto-2); }
.hm-legenda div { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; }
.hm-legenda span { font-size: 11.5px; line-height: 1.35; color: var(--texto-2); }
.hm-legenda b { display: block; font-size: 12.5px; font-weight: 600; color: var(--texto); }
.hm-nivel { width: 24px; height: 16px; border-radius: 4px; }
.hm-nivel.n1 { background: rgba(231, 231, 231, .5); box-shadow: inset 0 0 0 2.5px #e7e7e7; }
.hm-nivel.n2 { background: rgba(231, 231, 231, .16); box-shadow: inset 0 0 0 1.5px rgba(231, 231, 231, .75); }
.hm-nivel.n3 { background: rgba(231, 231, 231, .04); box-shadow: inset 0 0 0 1px rgba(231, 231, 231, .4); }

.hm .hm-legenda-salvo { margin-top: 2px; padding-top: 9px; border-top: 1px solid var(--linha); font-size: 11px; line-height: 1.45; color: var(--apagado); }
.hm .hm-legenda-salvo:empty { display: none; }

@view-transition { navigation: auto; }
.hm-topo { view-transition-name: hm-topo; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .3s;
  animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

.hm-seg-andar { margin-top: 8px; }
.hm-seg[hidden] { display: none !important; }

.hm-nivel.n-spawn { background: transparent; border: 1.5px dashed #5ee08a; border-radius: 50%; width: 18px; height: 18px; margin-left: 3px; }
.hm-cabeca {
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  pointer-events: none; user-select: none;
  font: 600 11.5px/1.2 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.hm-cabeca img, .hm-cabeca .hm-cabeca-sem {
  width: 30px; height: 30px; border-radius: 7px; image-rendering: pixelated;
  background: #2a2a2a; box-shadow: 0 0 0 2px var(--hm-cor), 0 6px 18px rgba(0, 0, 0, .55);
}
.hm-cabeca span {
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  color: #0b0b0b; background: var(--hm-cor); box-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.hm-cabeca.desligada span { color: var(--hm-cor); background: rgba(10, 10, 10, .8); border: 1px solid var(--hm-cor); }

.hm-campo-bioma { display: flex; padding: 0 10px; }
.hm-campo-bioma select {
  flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: transparent;
  color: var(--texto); font: 500 13.5px var(--fonte); cursor: pointer;
}
.hm-campo-bioma select option, .hm-campo-bioma select optgroup { background: #151516; color: var(--texto); }
.hm-biomas { margin-top: 8px; }
.hm-biomas:empty { display: none; }
.hm-bioma-rotulo {
  transform: translate(-50%, -50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 5px 10px; border-radius: 10px;
  white-space: nowrap; pointer-events: none; user-select: none;
  font: 700 11.5px/1.1 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0b0b0b; background: var(--hm-cor); box-shadow: 0 3px 14px rgba(0, 0, 0, .5);
}
.hm-bioma-rotulo small { font-size: 10px; font-weight: 600; opacity: .7; }

.hm-ficha {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 2px var(--hm-cor, #f9fffe);
}
.hm-ficha img { width: 20px; height: 20px; image-rendering: pixelated; }
.hm-cartao-largo { width: 316px; max-height: calc(100vh - var(--topo) - 24px); overflow-y: auto; scrollbar-width: thin; }
.hm-previa-area {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  margin-top: 12px; padding: 16px 10px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--linha);
}
.hm-previa { max-width: 100%; }
.hm-previa span { overflow: hidden; text-overflow: ellipsis; }
.hm .hm-previa-legenda { font-size: 11.5px; color: var(--texto-2); }
.hm .hm-form-rotulo { margin: 14px 0 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--apagado); }
.hm-icones { --hm-celula: 20px; }
.hm-icones-busca { height: 34px; font-size: 13px; }
.hm-icones-recentes, .hm-icones-grade { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; }
.hm-icones-recentes { margin-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--linha); }
.hm-icones-recentes[hidden] { display: none; }
.hm-icones-grade {
  margin-top: 8px; max-height: 172px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; padding: 1px;
}
.hm-icone-op {
  display: grid; place-items: center; aspect-ratio: 1; padding: 0;
  border: 0; border-radius: 7px; background: rgba(255, 255, 255, .035);
  transition: background .12s ease, box-shadow .12s ease;
}
.hm-icone-op[hidden] { display: none; }
.hm-icone-op:hover { background: rgba(255, 255, 255, .1); }
.hm-icone-op[aria-selected="true"] { background: var(--acento-fundo); box-shadow: inset 0 0 0 2px var(--acento); }
.hm-icone-op span {
  width: var(--hm-celula); height: var(--hm-celula);
  background-image: url(icones.png);
  background-size: calc(var(--hm-colunas, 32) * var(--hm-celula)) auto;
  image-rendering: pixelated;
}
.hm .hm-icones-vazio { grid-column: 1 / -1; padding: 10px 2px; font-size: 12.5px; color: var(--apagado); }
.hm-icones-vazio[hidden] { display: none; }
