/* =========================================================
   Hotel Zumbi — Mapa do Refúgio V2
   Skin Arcade + hotspots premium + bottom sheet
   Path: /css/hotel-map.css
   ========================================================= */

:root {
  --hz-green: #38ff8f;
  --hz-green-2: #66ff22;
  --hz-cyan: #28d8ff;
  --hz-purple: #b44eff;
  --hz-red: #ff4b5f;
  --hz-yellow: #ffd24a;

  --hz-bg: #050811;
  --hz-card: rgba(8, 16, 26, .88);
  --hz-card-2: rgba(12, 22, 34, .82);
  --hz-border: rgba(62, 255, 155, .28);
  --hz-border-strong: rgba(62, 255, 155, .48);
  --hz-text: #f5fff9;
  --hz-muted: rgba(225, 238, 255, .68);

  --hz-shadow: 0 24px 80px rgba(0, 0, 0, .52);
  --hz-blur: blur(16px);
}

* {
  box-sizing: border-box;
}

.hz-legacy-hidden {
  display: none !important;
}

/* =========================================================
   PAGE
   ========================================================= */

.hz-map-page {
  min-height: 100dvh;
  margin: 0;
  color: var(--hz-text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(25, 255, 139, .13), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(90, 95, 255, .17), transparent 34%),
    linear-gradient(180deg, #071015 0%, #040711 56%, #03050b 100%);
}

.hz-app-shell {
  width: min(1180px, calc(100% - 20px));
  margin: 0 auto;
  padding: 14px 0 112px;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.hz-clean-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 8px 0;
  background: linear-gradient(180deg, rgba(5, 8, 17, .96), rgba(5, 8, 17, .62), transparent);
  backdrop-filter: blur(10px);
}

.hz-player-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  border: 1px solid var(--hz-border);
  border-radius: 22px;
  padding: 8px 14px 8px 8px;
  color: var(--hz-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(62, 255, 155, .14), transparent 46%),
    rgba(9, 18, 26, .78);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .32);
  cursor: pointer;
}

.hz-avatar-frame {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(62, 255, 155, .4);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(47, 255, 137, .28), rgba(38, 205, 255, .16));
  box-shadow: inset 0 0 22px rgba(62, 255, 155, .1);
}

.hz-player-card strong,
.hz-player-card small {
  display: block;
  text-align: left;
  line-height: 1.05;
}

.hz-player-card strong {
  font-size: .9rem;
}

.hz-player-card small {
  margin-top: 3px;
  color: var(--hz-muted);
  font-size: .72rem;
}

.hz-resource-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hz-resource-row::-webkit-scrollbar {
  display: none;
}

.hz-resource-row article {
  min-width: 82px;
  border: 1px solid rgba(62, 255, 155, .24);
  border-radius: 18px;
  padding: 8px 11px;
  background:
    linear-gradient(180deg, rgba(21, 34, 52, .88), rgba(8, 14, 24, .82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.hz-resource-row small,
.hz-resource-row strong {
  display: block;
  line-height: 1.05;
}

.hz-resource-row small {
  color: var(--hz-muted);
  font-size: .62rem;
}

.hz-resource-row strong {
  margin-top: 3px;
  font-size: .92rem;
}

.hz-icon-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--hz-border);
  border-radius: 16px;
  color: var(--hz-text);
  background: rgba(12, 20, 34, .84);
  cursor: pointer;
}

/* =========================================================
   TITLE
   ========================================================= */

.hz-map-main {
  min-height: 70dvh;
}

.hz-map-titlebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-inline: 2px;
}

.hz-map-titlebar span {
  color: var(--hz-green);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hz-map-titlebar h1 {
  margin: 3px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.hz-map-titlebar small {
  max-width: 420px;
  color: var(--hz-muted);
  text-align: right;
}

/* =========================================================
   MAP
   ========================================================= */

.hz-map-stage {
  position: relative;
  min-height: calc(100dvh - 150px);
  border: 1px solid var(--hz-border);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(0, 0, 0, .62)),
    radial-gradient(circle at 50% 20%, rgba(57, 255, 111, .12), transparent 38%),
    url("/hotel-zumbi/img/hotel-map.webp") center center / cover no-repeat,
    #030706;
  box-shadow:
    inset 0 0 130px rgba(0, 0, 0, .68),
    var(--hz-shadow);
}

.hz-map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 36%, transparent 0 35%, rgba(0, 0, 0, .22) 68%, rgba(0, 0, 0, .72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .48));
}

.hz-map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .12;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* =========================================================
   HOTSPOTS
   ========================================================= */

.hz-map-node {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 140px;
  border: 1px solid var(--hz-border-strong);
  border-radius: 24px;
  padding: 9px 14px 9px 9px;
  color: var(--hz-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(62, 255, 155, .24), transparent 44%),
    linear-gradient(135deg, rgba(17, 35, 42, .94), rgba(8, 12, 20, .9));
  box-shadow:
    0 16px 38px rgba(0, 0, 0, .44),
    0 0 24px rgba(62, 255, 155, .18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition:
    transform .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.hz-map-node:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(62, 255, 155, .82);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, .52),
    0 0 34px rgba(62, 255, 155, .3);
}

.hz-map-node-pulse {
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(62, 255, 155, .18);
  border-radius: 28px;
  opacity: 0;
  animation: hzNodePulse 2.8s ease-in-out infinite;
}

@keyframes hzNodePulse {
  0%, 100% {
    opacity: 0;
    transform: scale(.96);
  }

  48% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hz-map-node-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(62, 255, 155, .25), rgba(39, 214, 255, .12));
  box-shadow: inset 0 0 22px rgba(62, 255, 155, .09);
}

.hz-map-node-badge {
  position: absolute;
  top: -8px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 0 6px;
  color: #07110d;
  background: linear-gradient(90deg, var(--hz-green), var(--hz-cyan));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  font-size: .64rem;
  font-weight: 950;
}

.hz-map-node-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hz-map-node strong,
.hz-map-node small {
  display: block;
  line-height: 1;
}

.hz-map-node strong {
  font-size: .78rem;
  letter-spacing: -.02em;
}

.hz-map-node small {
  color: rgba(225, 238, 255, .66);
  font-size: .57rem;
}

.hz-map-node.is-alert {
  border-color: rgba(255, 75, 95, .78);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, .44),
    0 0 28px rgba(255, 75, 95, .28);
}

.hz-map-node.is-alert .hz-map-node-pulse {
  border-color: rgba(255, 75, 95, .28);
}

.hz-map-node.is-new {
  border-color: rgba(42, 225, 255, .78);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, .44),
    0 0 28px rgba(42, 225, 255, .24);
}

.hz-map-node.is-new .hz-map-node-pulse {
  border-color: rgba(42, 225, 255, .28);
}

.hz-map-node.is-premium {
  border-color: rgba(180, 78, 255, .8);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, .44),
    0 0 30px rgba(180, 78, 255, .32);
}

.hz-map-node.is-premium .hz-map-node-pulse {
  border-color: rgba(180, 78, 255, .32);
}

/* Posições calibradas para o novo mapa vertical */
.hz-node-core {
  left: 50%;
  top: 13%;
  transform: translateX(-50%);
}

.hz-node-reception {
  left: 50%;
  top: 42%;
  transform: translateX(-50%);
}

.hz-node-lab {
  left: 12%;
  top: 18%;
}

.hz-node-defense {
  left: 11%;
  top: 56%;
}

.hz-node-garage {
  right: 10%;
  top: 52%;
}

.hz-node-inventory {
  right: 10%;
  top: 33%;
}

.hz-node-arcade {
  left: 50%;
  top: 66%;
  transform: translateX(-50%);
}

.hz-node-missions {
  right: 24%;
  top: 76%;
}

/* =========================================================
   BUILDING SHEET
   ========================================================= */

.hz-building-sheet {
  position: fixed;
  inset: auto 0 0;
  z-index: 100;
  display: none;
  padding: 16px;
  background: rgba(3, 6, 10, .46);
  backdrop-filter: blur(8px);
}

.hz-building-sheet.is-open {
  display: block;
}

.hz-building-panel {
  width: min(760px, calc(100% - 18px));
  margin: 0 auto;
  border: 1px solid var(--hz-border);
  border-radius: 30px 30px 0 0;
  padding: 18px;
  color: var(--hz-text);
  background:
    radial-gradient(circle at 20% 0%, rgba(62, 255, 155, .18), transparent 42%),
    linear-gradient(145deg, rgba(15, 26, 42, .98), rgba(5, 9, 16, .98));
  box-shadow: 0 -24px 80px rgba(0, 0, 0, .58);
}

.hz-building-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hz-building-identity {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.hz-building-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid var(--hz-border);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(62, 255, 155, .22), rgba(39, 214, 255, .12));
  box-shadow: inset 0 0 24px rgba(62, 255, 155, .08);
  font-size: 1.25rem;
}

.hz-building-panel h2 {
  margin: 2px 0 0;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: -.045em;
}

.hz-building-panel p {
  max-width: 560px;
  margin: 6px 0 0;
  color: var(--hz-muted);
  font-size: .86rem;
}

.hz-building-panel small {
  color: var(--hz-green);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hz-building-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  color: var(--hz-text);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.hz-building-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hz-building-grid article {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, .045);
}

.hz-building-grid small,
.hz-building-grid strong {
  display: block;
}

.hz-building-grid small {
  margin-bottom: 5px;
  color: rgba(225, 238, 255, .58);
  font-size: .64rem;
}

.hz-building-grid strong {
  font-size: .9rem;
}

.hz-building-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hz-building-modules span {
  border: 1px solid rgba(62, 255, 155, .18);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(225, 238, 255, .82);
  background: rgba(62, 255, 155, .07);
  font-size: .72rem;
  font-weight: 800;
}

.hz-upgrade-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.hz-upgrade-box > div {
  border: 1px solid rgba(62, 255, 155, .16);
  border-radius: 18px;
  padding: 12px;
  background: rgba(62, 255, 155, .055);
}

.hz-upgrade-box small,
.hz-upgrade-box strong {
  display: block;
}

.hz-upgrade-box small {
  margin-bottom: 5px;
  color: rgba(225, 238, 255, .6);
}

.hz-upgrade-box strong {
  font-size: .94rem;
}

.hz-building-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.hz-btn-primary,
.hz-btn-secondary {
  min-height: 46px;
  border-radius: 999px;
  padding: 13px 16px;
  font-weight: 950;
  cursor: pointer;
}

.hz-btn-primary {
  border: 0;
  color: #06110d;
  background: linear-gradient(90deg, var(--hz-green), var(--hz-cyan));
  box-shadow: 0 16px 36px rgba(40, 216, 255, .14);
}

.hz-btn-primary:disabled {
  color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  cursor: not-allowed;
}

.hz-btn-secondary {
  border: 1px solid var(--hz-border);
  color: var(--hz-text);
  background: rgba(255, 255, 255, .06);
}

/* =========================================================
   BOTTOM NAV
   ========================================================= */

.hz-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 90;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 28px));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(62, 255, 155, .24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(62, 255, 155, .12), transparent 34%),
    rgba(3, 8, 12, .94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .56);
  backdrop-filter: var(--hz-blur);
}

.hz-bottom-nav button {
  border: 0;
  border-radius: 18px;
  padding: 10px 8px;
  color: rgba(235, 245, 255, .68);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.hz-bottom-nav button.active,
.hz-bottom-nav button[aria-selected="true"] {
  color: var(--hz-green);
  background: rgba(62, 255, 155, .16);
}

.hz-bottom-nav span,
.hz-bottom-nav small {
  display: block;
}

.hz-bottom-nav span {
  font-size: 1.05rem;
}

.hz-bottom-nav small {
  margin-top: 4px;
  font-size: .62rem;
}

/* =========================================================
   MORE MENU
   ========================================================= */

.hz-more-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
}

.hz-more-menu.is-open {
  display: block;
}

.hz-more-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .56);
  backdrop-filter: blur(8px);
}

.hz-more-panel {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(520px, calc(100% - 24px));
  transform: translateX(-50%);
  border: 1px solid var(--hz-border);
  border-radius: 28px;
  padding: 16px;
  background:
    radial-gradient(circle at 20% 0%, rgba(62, 255, 155, .16), transparent 36%),
    #08101a;
  box-shadow: var(--hz-shadow);
}

.hz-more-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hz-more-panel header span {
  color: var(--hz-green);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hz-more-panel h3 {
  margin: 2px 0 0;
}

.hz-more-panel header button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  color: var(--hz-text);
  background: rgba(255, 255, 255, .06);
}

.hz-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.hz-more-grid button {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 12px 8px;
  color: var(--hz-text);
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
}

.hz-more-grid span,
.hz-more-grid strong {
  display: block;
}

.hz-more-grid span {
  margin-bottom: 5px;
}

.hz-more-grid strong {
  font-size: .72rem;
}

.hz-more-exit {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(255, 75, 95, .26);
  border-radius: 18px;
  padding: 12px;
  color: var(--hz-text);
  background: rgba(255, 75, 95, .08);
  font-weight: 900;
}

/* =========================================================
   TOAST
   ========================================================= */

.hz-map-toast {
  position: fixed;
  left: 50%;
  bottom: 98px;
  z-index: 130;
  max-width: min(460px, calc(100% - 28px));
  transform: translate(-50%, 14px);
  border: 1px solid var(--hz-border);
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--hz-text);
  background: rgba(6, 14, 20, .94);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .52);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.hz-map-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .hz-map-titlebar {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .hz-map-titlebar small {
    text-align: left;
  }

  .hz-map-node {
    min-width: 118px;
  }

  .hz-node-lab {
    left: 7%;
  }

  .hz-node-defense {
    left: 7%;
  }

  .hz-node-garage {
    right: 6%;
  }

  .hz-node-inventory {
    right: 6%;
  }
}

@media (max-width: 640px) {
  .hz-app-shell {
    width: calc(100% - 14px);
    padding-top: 8px;
    padding-bottom: 96px;
  }

  .hz-clean-topbar {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }

  .hz-player-card {
    min-width: 0;
    padding-right: 10px;
  }

  .hz-player-card strong {
    font-size: .78rem;
  }

  .hz-player-card small {
    font-size: .62rem;
  }

  .hz-resource-row {
    max-width: 48vw;
  }

  .hz-resource-row article {
    min-width: 72px;
    padding: 7px 9px;
  }

  .hz-map-titlebar {
    display: none;
  }

  .hz-map-stage {
    min-height: calc(100dvh - 96px);
    border-radius: 26px;
    background-size: cover;
    background-position: center center;
  }

  .hz-map-node {
    min-width: 50px;
    width: 50px;
    height: 50px;
    justify-content: center;
    padding: 0;
    border-radius: 19px;
  }

  .hz-map-node-icon {
    width: 36px;
    height: 36px;
  }

  .hz-map-node-badge {
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    font-size: .58rem;
  }

  .hz-map-node-text {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 76px;
    border-radius: 999px;
    padding: 4px 7px;
    background: rgba(0, 0, 0, .68);
    text-align: center;
  }

  .hz-map-node strong {
    font-size: .52rem;
  }

  .hz-map-node small {
    display: none;
  }

  .hz-node-core {
    top: 11%;
  }

  .hz-node-reception {
    top: 39%;
  }

  .hz-node-lab {
    left: 8%;
    top: 18%;
  }

  .hz-node-defense {
    left: 8%;
    top: 54%;
  }

  .hz-node-garage {
    right: 8%;
    top: 51%;
  }

  .hz-node-inventory {
    right: 8%;
    top: 31%;
  }

  .hz-node-arcade {
    top: 64%;
  }

  .hz-node-missions {
    right: 22%;
    top: 75%;
  }

  .hz-building-sheet {
    padding: 0 8px;
  }

  .hz-building-panel {
    width: 100%;
    border-radius: 26px 26px 0 0;
    padding: 16px;
  }

  .hz-building-grid,
  .hz-upgrade-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .hz-building-actions {
    grid-template-columns: 1fr;
  }

  .hz-more-panel {
    bottom: 86px;
  }

  .hz-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hz-bottom-nav {
    bottom: 10px;
    width: min(620px, calc(100% - 16px));
    gap: 6px;
    padding: 7px;
    border-radius: 22px;
  }

  .hz-bottom-nav button {
    border-radius: 16px;
    padding: 9px 6px;
  }

  .hz-bottom-nav span {
    font-size: .96rem;
  }

  .hz-bottom-nav small {
    font-size: .58rem;
  }
}

/* =====================================================
   HOTEL ZUMBI
   Override das telas herdadas do Arcade
   ===================================================== */

/* -------------------------
   AVATAR
------------------------- */

.profile-hero{
  min-height:auto !important;
  grid-template-columns:160px 1fr 150px !important;
  gap:16px !important;
  padding:16px !important;
}

.profile-avatar-stage{
  min-height:140px !important;
}

.profile-avatar-img{
  width:120px !important;
  height:120px !important;
}

.profile-power-card strong{
  font-size:1.4rem !important;
}

/* -------------------------
   AVATARES GRID
------------------------- */

.profile-avatar-row,
.avatar-grid{
  grid-template-columns:
  repeat(auto-fill,minmax(110px,1fr)) !important;
}

.profile-avatar-card,
.avatar-card{
  min-height:120px !important;
  padding:8px !important;
}

.profile-avatar-card-img,
.avatar-art{
  width:56px !important;
  height:56px !important;
}

/* -------------------------
   INVENTÁRIO
------------------------- */

.inventory-grid{
  grid-template-columns:
  repeat(auto-fill,minmax(110px,1fr)) !important;
}

.inventory-card{
  min-height:120px !important;
}

.inventory-card img{
  width:56px !important;
  height:56px !important;
  object-fit:contain;
}

/* -------------------------
   SKILLS
------------------------- */

.game-skill-strip{
  grid-template-columns:
  repeat(auto-fill,minmax(90px,1fr)) !important;
}

.game-skill-mini{
  min-height:90px !important;
}

.game-skill-mini-img{
  width:40px !important;
  height:40px !important;
}

/* -------------------------
   ARCADE
------------------------- */

.game-carousel{
  grid-auto-columns:220px !important;
}

.game-card{
  max-width:220px !important;
}

.game-card-cover{
  height:120px !important;
}

.game-card-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* -------------------------
   RANKING
------------------------- */

.ranking-avatar-img{
  width:32px !important;
  height:32px !important;
}

.ranking-row{
  min-height:48px !important;
}

/* -------------------------
   HOME HERO
------------------------- */

.game-character-stage{
  min-height:220px !important;
}

.character-portrait{
  width:140px !important;
  height:140px !important;
}

.character-portrait-img{
  width:100% !important;
  height:100% !important;
}

/* -------------------------
   CONTAINER GERAL
------------------------- */

.profile-screen,
.game-home-screen,
.inventory-screen,
.ranking-screen,
.missions-screen{
  padding-bottom:120px !important;
}

.profile-screen,
.game-home-screen,
.inventory-screen,
.ranking-screen,
.missions-screen{
  max-width:1000px;
  margin:0 auto;
}

/* =========================================================
   Hotel Zumbi — Subtelas compactas do Arcade
   ========================================================= */

.hz-profile-arcade-screen,
.hz-arcade-games-screen,
.hz-inventory-arcade-screen {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 0 120px;
}

.hz-profile-arcade-hero,
.hz-arcade-games-screen .hz-screen-head,
.hz-inventory-arcade-screen .hz-screen-head {
  border: 1px solid rgba(62,255,155,.22);
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(62,255,155,.14), transparent 38%),
    rgba(8,16,26,.72);
}

.hz-profile-arcade-hero {
  display: grid;
  grid-template-columns: 180px 1fr 160px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  min-height: 230px;
}

.hz-profile-arcade-avatar {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.hz-profile-arcade-avatar img,
.hz-profile-avatar-img {
  width: 150px !important;
  height: 180px !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  max-width: 100% !important;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.45));
}

.hz-profile-arcade-avatar span {
  border: 1px solid rgba(62,255,155,.32);
  border-radius: 999px;
  padding: 5px 10px;
  color: #38ff8f;
  background: rgba(62,255,155,.08);
  font-size: .65rem;
  font-weight: 900;
}

.hz-profile-arcade-main h2 {
  margin: 2px 0 6px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: .95;
}

.hz-profile-arcade-main p {
  color: rgba(225,238,255,.72);
}

.hz-profile-xp {
  width: min(420px, 100%);
  height: 9px;
  margin: 14px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.hz-profile-xp span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38ff8f, #28d8ff, #b44eff);
}

.hz-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hz-profile-power {
  border: 1px solid rgba(62,255,155,.22);
  border-radius: 22px;
  padding: 14px;
  background: rgba(255,255,255,.045);
}

.hz-profile-power span,
.hz-profile-power small {
  display: block;
  color: rgba(225,238,255,.68);
  font-size: .7rem;
}

.hz-profile-power strong {
  display: block;
  margin: 5px 0;
  color: #ffd24a;
  font-size: 1.65rem;
}

.hz-profile-stats-grid,
.hz-inventory-summary,
.hz-material-grid,
.hz-skill-grid,
.hz-game-grid {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.hz-profile-stats-grid,
.hz-inventory-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hz-game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hz-game-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 116px;
  border: 1px solid rgba(62,255,155,.16);
  border-radius: 22px;
  padding: 12px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.04);
}

.hz-game-card-img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  border-radius: 18px;
}

.hz-game-card strong,
.hz-game-card small,
.hz-game-card span {
  display: block;
}

.hz-game-card small {
  color: rgba(225,238,255,.65);
  font-size: .7rem;
}

.hz-game-card span {
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  color: #ffd24a;
  background: rgba(255,210,74,.1);
  font-size: .62rem;
  font-weight: 900;
}

.hz-section-block {
  margin-top: 14px;
  border: 1px solid rgba(62,255,155,.16);
  border-radius: 24px;
  padding: 14px;
  background: rgba(255,255,255,.035);
}

.hz-section-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hz-section-mini-head a {
  color: #38ff8f;
  font-size: .74rem;
  font-weight: 900;
}

.hz-skill-grid,
.hz-material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hz-skill-card,
.hz-material-card,
.hz-profile-stats-grid article,
.hz-inventory-summary article {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.04);
}

.hz-skill-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hz-skill-img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
}

.hz-material-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hz-material-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(62,255,155,.12);
}

.hz-inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Bloqueio final para imagem gigante escapando */
.hz-profile-arcade-screen img,
.hz-arcade-games-screen img,
.hz-inventory-arcade-screen img {
  max-width: 180px !important;
  max-height: 180px !important;
}

/* Mobile */
@media (max-width: 760px) {
  .hz-profile-arcade-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hz-profile-actions {
    justify-content: center;
  }

  .hz-profile-stats-grid,
  .hz-inventory-summary,
  .hz-game-grid,
  .hz-skill-grid,
  .hz-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hz-game-card {
    grid-template-columns: 56px 1fr;
    min-height: 94px;
  }

  .hz-game-card-img {
    width: 56px !important;
    height: 56px !important;
  }

  .hz-profile-arcade-avatar img,
  .hz-profile-avatar-img {
    width: 130px !important;
    height: 150px !important;
  }
}

/* =========================================================
   FIX FINAL — trava imagens internas do Arcade no Hotel Zumbi
   ========================================================= */

#tabContent img {
  max-width: 96px !important;
  max-height: 96px !important;
  width: 96px !important;
  height: 96px !important;
  object-fit: contain !important;
}

#tabContent .hz-compact-avatar-img {
  width: 160px !important;
  height: 180px !important;
  max-width: 160px !important;
  max-height: 180px !important;
}

#tabContent .hz-compact-game-img,
#tabContent .hz-game-card-img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  object-fit: cover !important;
  border-radius: 18px;
}

#tabContent .hz-compact-skill-img,
#tabContent .hz-skill-img {
  width: 54px !important;
  height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
}

#tabContent .hz-profile-avatar-img,
#tabContent .profile-avatar-img,
#tabContent .character-portrait-img {
  width: 160px !important;
  height: 180px !important;
  max-width: 160px !important;
  max-height: 180px !important;
  object-fit: contain !important;
}

/* mata herança de telas grandes do Arcade */
#tabContent .game-character-stage,
#tabContent .profile-hero {
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
}

#tabContent .character-portrait,
#tabContent .profile-avatar-stage {
  width: auto !important;
  height: auto !important;
  min-height: auto !important;
}

/* cards compactos */
#tabContent .hz-compact-screen {
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 120px;
}

#tabContent .hz-compact-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#tabContent .hz-compact-game-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 110px;
  border: 1px solid rgba(62,255,155,.16);
  border-radius: 22px;
  padding: 12px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.04);
}

@media (max-width: 760px) {
  #tabContent img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
  }

  #tabContent .hz-compact-avatar-img,
  #tabContent .hz-profile-avatar-img,
  #tabContent .profile-avatar-img,
  #tabContent .character-portrait-img {
    width: 130px !important;
    height: 150px !important;
    max-width: 130px !important;
    max-height: 150px !important;
  }

  #tabContent .hz-compact-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #tabContent .hz-compact-game-card {
    grid-template-columns: 56px 1fr;
  }

  #tabContent .hz-compact-game-img,
  #tabContent .hz-game-card-img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
  }
}

/* =========================
   SKILLS
========================= */

.hz-skill-list{
  display:grid;
  gap:14px;
  margin-top:20px;
}

.hz-skill-card{
  display:flex;
  align-items:center;
  gap:14px;

  padding:12px;

  border-radius:18px;

  background:rgba(10,25,35,.75);

  border:1px solid rgba(0,255,200,.15);
}

.hz-skill-icon{
  width:56px;
  height:56px;
  object-fit:contain;
  flex-shrink:0;
}

.hz-skill-info{
  display:flex;
  flex-direction:column;
}

.hz-skill-info strong{
  font-size:16px;
}

.hz-skill-info small{
  opacity:.7;
}

/* =========================
   MATERIAIS
========================= */

.hz-material-grid{
  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(90px,1fr));

  gap:12px;

  margin-top:20px;
}

.hz-material-card{
  text-align:center;

  padding:14px;

  border-radius:18px;

  background:
  rgba(10,20,30,.75);

  border:
  1px solid rgba(0,255,200,.12);
}

.hz-material-card span{
  font-size:26px;
  display:block;
  margin-bottom:8px;
}

.hz-material-card strong{
  display:block;
  font-size:18px;
}

.hz-material-card small{
  opacity:.7;
}

/* =========================
   AVATAR
========================= */

.hz-profile-avatar{
  display:block;

  width:100%;
  max-width:260px;

  margin:0 auto 24px;

  object-fit:contain;
}

/* =========================
   CONTEÚDO CENTRAL
========================= */

.hz-tab-inner{
  max-width:900px;
  margin:0 auto;
}
