/* Ver 9.8.0 — shared mobile base (facility / inner pages)
   Desktop unchanged; only ≤600px. Link after page <style> or before </head>. */
@media (max-width: 600px) {
  html { -webkit-text-size-adjust: 100%; }
  body {
    font-size: 12px !important;
    overflow-x: hidden;
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }
  /* Category / tab rows */
  .category-bar, .category-bar-2, .category-tabs, .equip-cat-bar,
  .cat-row, .tab-bar, .tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .cat-btn, .equip-cat-btn, .tab-btn, .category-btn {
    min-height: 44px !important;
    min-width: 44px;
    font-size: 12px !important;
    padding: 10px 8px !important;
    box-sizing: border-box;
  }
  /* Primary actions */
  .btn, .back-btn, button.btn, a.back-btn, .buy-btn, .action-btn {
    min-height: 44px !important;
    font-size: 12px !important;
    touch-action: manipulation;
  }
  .item-name, .inv-name, .skill-name, .card-title, .h-name {
    font-size: 12px !important;
  }
  .item-desc, .inv-desc, .card-desc, .sub, .zone-info {
    font-size: 11px !important;
  }
  /* Cards / lists */
  .item-card, .inv-item, .hire-card, .skill-card, .card {
    gap: 8px;
  }
  h1, h2 { font-size: clamp(14px, 4.2vw, 18px) !important; }
}
