
/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 860px) {
  :root { --card-w: 104px; --card-h: 150px; }
  .arena { grid-template-columns: 1fr 1fr; }
  .log { max-height: 120px; min-height: 90px; }
  .table { grid-template-columns: 1fr 1fr; }
  .hand { grid-column: 1 / -1; order: -1; overflow-x: auto; justify-content: flex-start; padding-left: 20px; }
  .hand .card, .hand.busy .card, .hand.crowded .card { margin: 0 3px; }
  .table-left, .table-right { flex-direction: row; justify-content: center; }
  .card .card-text { font-size: 10.5px; }
  .card .card-art { height: 38px; font-size: 24px; }
}
@media (max-width: 600px) {
  .brand { display: none; }
  .topbar { padding: 8px 10px; gap: 8px; }
  .hud { gap: 8px; }
  .relic-strip { min-height: 44px; padding: 4px 10px; }
  .relic-strip .label { display: none; }
  .gear-slot { width: 34px; height: 34px; font-size: 17px; }
  .btn { padding: 7px 10px; }
  .map-scroll { max-height: calc(58 * var(--hvh)); }
}
@media (max-width: 480px) {
  .modal { padding: 22px 14px; }
  .portrait-wrap { width: 96px; height: 96px; }
  .portrait { width: 86px; height: 86px; font-size: 44px; }
  .hpbar { width: 140px; }
  .combatant .name { font-size: 15px; }
  .brand .tag { display: none; }
  .modal h1 { font-size: 26px; }
  .intent { font-size: 13px; padding: 6px 11px; }
}
