/* v0.16: tablet-landscape and short-desktop layout (901–1280 px wide, or under 760 px tall):
   map controls move to a 2×3 grid at the top right, the metrics strip shrinks, the action dock
   sits bottom-right, so nothing overlaps. The business list gets a tighter hero and cards. */
@media (min-width: 901px) and (max-width: 1280px), (min-width: 901px) and (max-height: 760px) {
  body[data-screen="city"] .world-controls {
    left: auto;
    right: 16px;
    top: 90px;
    display: grid;
    grid-template-columns: repeat(2, 38px);
    gap: 6px;
  }
  body[data-screen="city"] .world-controls button {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  body[data-screen="city"] .map-toolbar {
    top: 14px;
    left: 16px;
    padding: 8px 14px;
    gap: 14px;
    border-radius: 20px;
  }
  body[data-screen="city"] .rivals-hud {
    left: 16px;
    top: 88px;
    padding: 6px 12px;
  }
  body[data-screen="city"] .city-metrics {
    width: auto;
    max-width: 236px;
    padding: 8px 0;
    bottom: 14px;
    left: 16px;
    border-radius: 14px;
  }
  body[data-screen="city"] .city-metrics > div {
    padding: 0 8px;
  }
  body[data-screen="city"] .city-metrics span {
    font-size: 8px;
  }
  body[data-screen="city"] .city-metrics b {
    font-size: 15px;
  }
  body[data-screen="city"] .play-panel,
  body[data-screen="city"][data-turn="CHOOSE_DIE"] .play-panel {
    left: auto;
    right: 16px;
    transform: none;
    width: min(460px, calc(100% - 300px));
    bottom: 14px;
  }
  body[data-screen="city"] .turn-card {
    border-radius: 18px;
  }
  body[data-screen="city"] .turn-top {
    padding: 5px 12px 2px;
  }
  body[data-screen="city"] .roll-button {
    min-height: 48px;
    font-size: 21px;
  }
  body[data-screen="city"][data-turn="CHOOSE_DIE"] .die-choice {
    min-height: 56px;
    padding: 7px 9px;
  }
  .movement-status,
  .roll-status {
    top: 14px;
  }
}
/* A soft printed-artwork vignette over the 3D view keeps the eye on the board; it is CSS only,
   so it costs the GPU nothing and never touches the HUD (which sits above z-index 1). */
body[data-screen="city"] .map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 46%, rgba(18, 63, 56, 0) 52%, rgba(18, 63, 56, 0.16) 100%);
}
body[data-screen="city"] .map-wrap > .world-loader,
body[data-screen="city"] .map-wrap > .map-toolbar,
body[data-screen="city"] .map-wrap > .rivals-hud,
body[data-screen="city"] .map-wrap > .world-controls,
body[data-screen="city"] .map-wrap > .city-metrics,
body[data-screen="city"] .map-wrap > .play-panel {
  z-index: 2;
}
/* Business list: smaller hero, denser cards, the render stays the focal point. */
.collection-intro {
  padding: 18px 24px;
  margin-bottom: 18px;
  border-radius: 20px;
  min-height: 0;
}
.collection-intro h2,
.collection-intro h3 {
  font-size: 24px;
  margin: 4px 0 6px;
}
.collection-intro > .building-render {
  height: 118px;
  width: 140px;
}
.property-grid {
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 14px;
}
.property-art {
  height: 142px;
}
.property-art > .building-render {
  height: 136px;
  width: 150px;
}
.property-art > span {
  font-size: 10px;
  padding: 3px 9px;
}
.property-info {
  padding: 12px 14px 13px;
}
.property-info h3 {
  font-size: 15px;
  margin-top: 4px;
}
.page-title {
  margin-bottom: 16px;
}
@media (min-width: 901px) and (max-width: 1280px) {
  .workspace main {
    padding-left: 18px;
    padding-right: 18px;
  }
  .collection-intro {
    padding: 14px 18px;
  }
}
