.field-hud {
  container-type: inline-size;
  --plate: rgb(31 32 33 / 94%);
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 6px;
  padding: clamp(8px, 2%, 20px);
  color: #f5f4ef;
  font: 600 13px/1.25 "DM Sans", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
.field-hud-mini {
  position: relative;
  height: 148px;
  padding: 9px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(#18191966, #18191980), url(starter.webp) center / cover;
}
.field-top, .field-bottom { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.field-vitals, .field-compass, .field-objective, .field-status, .field-message, .field-inventory span {
  border: 1px solid #626363;
  background: var(--plate);
  border-radius: 5px;
  padding: 6px 9px;
}
.field-vitals { display: flex; align-items: center; gap: 8px; border-left: 3px solid var(--hud-accent); }
.field-cross { color: var(--hud-accent); font-size: 22px; line-height: 1; }
.field-vitals small { font-size: 11px; color: #dddcd6; }
.field-health { margin-top: 3px; height: 4px; width: 58px; background: #555655; }
.field-health i { display: block; width: 72%; height: 100%; background: var(--hud-accent); }
.field-message { grid-row: 2; place-self: center; max-width: 80%; overflow-wrap: anywhere; text-align: center; }
.field-message:empty { visibility: hidden; }
.field-bottom { grid-row: 3; }
.field-inventory { display: flex; gap: 4px; }
.field-inventory span { width: 32px; height: 32px; padding: 2px 4px; color: #d4d3d0; font-size: 10px; }
.field-status b { color: var(--hud-accent); }
@container (max-width: 420px) {
  .field-top, .field-bottom { font-size: 11px; }
  .field-inventory span { width: 22px; height: 24px; }
  .field-objective, .field-status, .field-compass, .field-vitals { padding: 4px 5px; }
}

.game-touch-controls { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.game-touch-zone { position: absolute; translate: -50% -50%; width: clamp(58px, 18vmin, 96px); aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; background: #16191b50; pointer-events: auto; touch-action: none; }
.game-touch-zone i { position: absolute; inset: 28%; border: 1px solid #fffc; border-radius: 50%; background: #85888a99; }
