:root {
  --bg: #0b0e11;
  --card: #161a1e;
  --border: #2a3038;
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #66c0f4;
  --accent-dim: rgba(102, 192, 244, 0.35);
  --err: #ff6b6b;
  --font: "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.45;
}

.page {
  max-width: min(1320px, 96vw);
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.header {
  margin-bottom: 1.5rem;
}

.header-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-link:hover {
  color: var(--accent);
}

.header-docs {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.2;
  white-space: nowrap;
}

.header-docs-api {
  margin-left: auto;
}

.header-docs:hover {
  border-color: var(--accent);
  background: rgba(102, 192, 244, 0.08);
}

.header-docs.hidden {
  display: none !important;
}

.site-footer {
  margin-top: 2rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.seo-section {
  margin-top: 1.25rem;
}

.seo-h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.seo-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Старые классы для отдельных страниц (faq, features, …) */
.seo-p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-feature-item {
  margin: 0 0 1rem;
  padding: 0;
}

.seo-feature-item:last-child {
  margin-bottom: 0;
}

/* Только главная: блоки «Возможности» и «Как это работает» */
.seo-home-features__subtitle {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.seo-home-features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-home-features__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: none;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.seo-home-features__item:hover {
  background: rgba(102, 192, 244, 0.07);
  box-shadow: 0 0 0 1px rgba(102, 192, 244, 0.12);
}

.seo-home-features__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent);
  opacity: 0.92;
}

.seo-home-features__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.seo-home-features__content {
  min-width: 0;
}

.seo-home-features__title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.seo-home-features__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 560px) {
  .seo-home-features__grid {
    grid-template-columns: 1fr;
  }
}

.seo-home-how__steps {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  gap: 0;
}

.seo-home-how__step {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
}

.seo-home-how__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.875rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), rgba(102, 192, 244, 0.35));
  z-index: 0;
  pointer-events: none;
}

.seo-home-how__circle {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  background: var(--card);
  border: 2px solid var(--accent-dim);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.seo-home-how__step:hover .seo-home-how__circle {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(102, 192, 244, 0.15);
}

.seo-home-how__body {
  width: 100%;
}

.seo-home-how__title {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.seo-home-how__desc {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 640px) {
  .seo-home-how__steps {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
  }

  .seo-home-how__steps::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 0.875rem;
    bottom: 0.875rem;
    width: 2px;
    background: var(--border);
    border-radius: 1px;
  }

  .seo-home-how__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0 0 1.1rem 0;
    position: relative;
    z-index: 1;
  }

  .seo-home-how__step::after {
    display: none;
  }

  .seo-home-how__circle {
    margin: 0 0.75rem 0 0;
    flex-shrink: 0;
  }

  .seo-home-how__body {
    flex: 1;
    padding-bottom: 0;
  }
}

.seo-hero-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .header-docs-api {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

.brand-icon-img {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
}

.card-start .h1 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.form-row input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0d1014;
  color: var(--text);
  font: inherit;
}

.form-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.btn {
  font: inherit;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.65rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background: linear-gradient(180deg, #2a3f5a 0%, #1b2838 100%);
  border-color: #3d5a7a;
  color: var(--text);
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.err {
  margin: 0.85rem 0 0;
  color: var(--err);
  font-size: 0.9rem;
}

.scan-warn {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 52rem;
}

.loading-hint {
  margin: 0.85rem 0 0;
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.4;
}

.fx-hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Summary: иконки игр | сумма | валюта */
.card-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.game-toggles {
  display: flex;
  gap: 0.5rem;
}

.game-btn {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #0d1014;
  cursor: pointer;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.game-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
}

.game-btn[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim);
}

.game-btn--all {
  min-width: 3.5rem;
  width: auto;
  padding: 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.summary-center {
  text-align: center;
  min-width: 0;
}

.summary-label {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-value {
  margin: 0.2rem 0 0;
  font-size: 1.65rem;
  font-weight: 700;
}

.summary-currency {
  justify-self: end;
  align-self: center;
  min-width: 11rem;
}

.currency-label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0;
  cursor: pointer;
}

.currency-caption {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.2;
}

.currency-label select {
  width: 100%;
  background: #0d1014;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  min-height: 2.85rem;
  cursor: pointer;
  appearance: auto;
}

.currency-label select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.currency-label select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Inventory cards */
.card-inventory {
  width: 100%;
}

.inv-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.inv-toolbar-view,
.inv-toolbar-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.view-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.view-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.view-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(102, 192, 244, 0.12);
  color: var(--accent);
}

.inv-toolbar-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.sort-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.sort-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sort-btn[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(102, 192, 244, 0.12);
  color: var(--accent);
}

/* Таблица */
.inv-table-wrap {
  width: 100%;
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
}

.inv-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.inv-table thead {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.inv-table th,
.inv-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.inv-table th.num,
.inv-table td.num {
  text-align: right;
}

.item-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.item-link:hover {
  color: var(--accent);
}

.inv-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.inv-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.inv-card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.inv-card-image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #0d1014;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inv-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.inv-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.inv-card-img-placeholder {
  font-size: 2rem;
  color: var(--muted);
  opacity: 0.5;
}

.inv-card-body {
  padding: 0.65rem 0.75rem 0.85rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  min-height: 0;
}

.inv-card-title {
  margin: 0;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
  /* Одна высота блока названий в строке + обрезка длинных имён */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.35em * 3);
}

.inv-card-title a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inv-card-title a:hover {
  color: var(--accent);
}

.inv-card-meta {
  margin: 0;
  margin-top: auto;
  flex: 0 0 auto;
  font-size: 0.78rem;
}

.inv-card-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.2rem 0;
}

.inv-card-meta dt {
  margin: 0;
  color: var(--muted);
  font-weight: normal;
}

.inv-card-meta dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.empty-hint {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .card-summary {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .game-toggles {
    justify-content: center;
  }

  .summary-currency {
    justify-self: stretch;
    width: 100%;
    max-width: 18rem;
  }

  .inv-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .inv-toolbar-view,
  .inv-toolbar-sort {
    justify-content: flex-start;
  }

  .mi-layout {
    grid-template-columns: 1fr;
  }

  .mi-sidebar {
    order: -1;
  }

  .mi-controls .mi-view-toggles {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Header: глобальная навигация */
.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.header-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.header-nav-link:hover {
  border-color: var(--border);
  color: var(--accent);
}

.header-nav-link--active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(102, 192, 244, 0.08);
}

/* Каталог market_items */
.mi-page {
  width: 100%;
}

.mi-title {
  margin: 0 0 0.35rem;
}

.mi-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.mi-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

.mi-search-input {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 32rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.mi-search-input::placeholder {
  color: var(--muted);
}

.mi-search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim);
}

.mi-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  flex: 1 1 auto;
  min-width: 8rem;
}

.mi-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mi-game-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.mi-currency-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mi-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.mi-select {
  font: inherit;
  font-size: 0.88rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.mi-view-toggles {
  display: flex;
  gap: 0.35rem;
  margin-left: auto;
}

.mi-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.mi-sidebar {
  position: sticky;
  top: 0.5rem;
}

.mi-filters-drawer {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
}

.mi-filters-summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.mi-price-fields {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.5rem;
  align-items: center;
  margin-top: 0.65rem;
}

.mi-price-fields .mi-apply {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
}

.mi-num-input {
  width: 100%;
  min-width: 0;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
}

.mi-fx-hint {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.mi-main {
  min-width: 0;
}

.mi-sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.mi-load-sentinel {
  height: 1px;
  min-height: 1px;
  min-width: 0;
  margin-top: 0.5rem;
  pointer-events: none;
}

.mi-loading-more {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.mi-scroll-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.45rem;
  z-index: 9999;
  width: 3.85rem;
  height: 3.85rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    border-color 0.15s ease;
}

.mi-scroll-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mi-scroll-top:hover {
  border-color: var(--accent);
  background: rgba(102, 192, 244, 0.1);
}

.mi-scroll-top-icon {
  font-size: 1.54rem;
  line-height: 1;
}

.mi-error {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--err);
  background: rgba(255, 107, 107, 0.08);
  color: var(--err);
  font-size: 0.9rem;
}

/* Скелетон каталога: та же сетка, что у .inv-cards (витрина инвентаря) */
.mi-skeleton {
  width: 100%;
  min-width: 0;
}

.mi-skel-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  min-height: 140px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: mi-skel-shimmer 1.2s ease-in-out infinite;
}

@keyframes mi-skel-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.mi-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.mi-card .inv-card-body {
  gap: 0.35rem;
}

.mi-card .inv-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: calc(1.35em * 2);
  font-size: 0.78rem;
}

.mi-card-price {
  margin: 0;
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.mi-table-wrap {
  width: 100%;
}

.mi-table {
  min-width: 480px;
}

