/* Reservas visibles en una sola fila, sin añadir superficies sobre los controles. */
.survival-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 5px; pointer-events: none; }
.survival-bars .bar { height: 16px; min-width: 0; border-radius: 5px; }
.survival-bars .bar span { font-size: 10px; line-height: 14px; white-space: nowrap; }
.survival-bars .need-energy i { background: linear-gradient(90deg, #977226, #ffdf77); }
.survival-bars .need-hunger i { background: linear-gradient(90deg, #408a54, #91dd8c); }
.survival-bars .need-thirst i { background: linear-gradient(90deg, #3279ae, #7cd9f5); }
.survival-bars .need-low { border-color: #ff6e6e; background: #491d2b; }
.survival-bars .need-low span { color: #ffe1dc; }
.spell-picker { display: grid; gap: 8px; }
.spell-picker .btn { min-height: 44px; }
.spell-picker select { width: 100%; min-height: 44px; }
.spell-picker .spell-description { font-size: 13px; color: var(--muted); }
.hud .portrait { position: relative; }
.alignment-badge { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--alignment, #4ca4ff); box-shadow: 0 0 8px var(--alignment, #4ca4ff); pointer-events: none; }
.alignment-card { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--alignment); border-left-width: 4px; border-radius: 10px; background: #0003; }
.alignment-card b { color: var(--alignment); }
.alignment-card span, .alignment-card small { font-size: 13px; }
.faction-option { border-left: 3px solid var(--alignment); }
.combat-safety { min-height: 44px; }
.world-target-hint { position: absolute; top: calc(190px + var(--safe-t)); left: 50%; transform: translateX(-50%); width: min(480px, calc(100vw - 24px)); display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(18, 18, 40, 0.94); border: 1px solid #a992eb; box-shadow: 0 4px 18px #0008; pointer-events: none; z-index: 8; }
.world-target-hint[hidden] { display: none; }
.world-target-hint span { flex: 1; min-width: 0; font-size: 12px; line-height: 1.3; max-height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.world-target-hint button { min-width: 44px; min-height: 44px; flex-shrink: 0; pointer-events: auto; touch-action: manipulation; }
@media (max-width: 760px), (pointer: coarse) {
  .survival-bars { gap: 3px; margin-top: 4px; }
  .survival-bars .bar { height: 15px; }
  .survival-bars .bar span { font-size: 9px; line-height: 13px; }
  .world-target-hint { top: calc(220px + var(--safe-t)); }
}
@media (max-height: 500px) and (min-width: 600px) {
  .world-target-hint { top: calc(180px + var(--safe-t)); width: min(340px, calc(100vw - 350px)); }
}
