/* loot-tables.css (from style.css L6619-L6921) */
/* Loot Tables */
body.page-loot-tables .loot-tables-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

body.page-loot-tables .loot-tables-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

body.page-loot-tables .loot-tables-search {
  flex: 1 1 14rem;
  min-width: 10rem;
  margin: 0;
}

body.page-loot-tables .loot-tables-search input,
body.page-loot-tables .loot-tables-filter select {
  width: 100%;
  background: rgba(7, 10, 15, 0.85);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 0.3rem;
  padding: 0.4rem 0.65rem;
}

body.page-loot-tables .loot-tables-filter {
  flex: 0 1 10rem;
  min-width: 8rem;
  margin: 0;
}

body.page-loot-tables .loot-tables-count {
  margin-left: auto;
}

body.page-loot-tables .loot-tables-body {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  min-height: min(70vh, 720px);
}

body.page-loot-tables .loot-tables-list {
  border-right: 1px solid var(--line);
  overflow: auto;
  max-height: min(70vh, 720px);
  background: rgba(0, 0, 0, 0.18);
}

body.page-loot-tables .loot-tables-mission {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  color: var(--text);
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}

body.page-loot-tables .loot-tables-mission:hover,
body.page-loot-tables .loot-tables-mission.is-active {
  background: rgba(0, 230, 255, 0.08);
}

body.page-loot-tables .loot-tables-mission-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

body.page-loot-tables .loot-tables-mission-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.75rem;
  color: var(--muted);
}

body.page-loot-tables .loot-tables-match-preview {
  color: #9ef0ff;
}

body.page-loot-tables .loot-tables-match-summary {
  color: #9ef0ff;
  font-size: 0.9rem;
}

body.page-loot-tables .loot-tables-featured-list li.is-match,
body.page-loot-tables .loot-tables-item-table tr.is-match td {
  color: #e8fbff;
  background: rgba(0, 230, 255, 0.12);
}

body.page-loot-tables .loot-tables-specialty-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.35rem;
  border: 1px solid rgba(0, 230, 255, 0.35);
  border-radius: 0.2rem;
  color: var(--cyan);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  vertical-align: middle;
}

body.page-loot-tables .loot-tables-detail {
  overflow: auto;
  max-height: min(70vh, 720px);
}

body.page-loot-tables .loot-tables-detail-inner {
  padding: 1rem 1.1rem 1.4rem;
}

body.page-loot-tables .loot-tables-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.15rem;
}

body.page-loot-tables .loot-tables-featured {
  margin: 1rem 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

body.page-loot-tables .loot-tables-featured-list {
  padding-left: 1.1rem;
  margin: 0;
}

body.page-loot-tables .loot-tables-featured-chance {
  font-size: 0.85em;
}

body.page-loot-tables .loot-tables-how {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: rgba(0, 230, 255, 0.04);
}

body.page-loot-tables .loot-tables-how strong {
  color: var(--text);
  font-weight: 600;
}

body.page-loot-tables .loot-tables-diff-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0.75rem;
}

body.page-loot-tables .loot-tables-diff-tab {
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  border-radius: 0.25rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
}

body.page-loot-tables .loot-tables-diff-tab.is-active {
  border-color: rgba(0, 230, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(0, 230, 255, 0.2);
  color: #e8fbff;
}

body.page-loot-tables .loot-tables-item-table tr.is-specialty-row td:first-child {
  color: #e8fbff;
}

body.page-loot-tables .loot-tables-item-table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: rgba(255, 255, 255, 0.08);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  --bs-table-hover-bg: rgba(0, 230, 255, 0.06);
  color: var(--text);
  background: transparent;
}

body.page-loot-tables .loot-tables-item-table > :not(caption) > * > * {
  background-color: transparent;
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.page-loot-tables .loot-tables-item-table thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom-color: var(--line);
}

body.page-loot-tables .loot-tables-item-table th,
body.page-loot-tables .loot-tables-item-table td {
  white-space: nowrap;
}

body.page-loot-tables .loot-tables-item-table td:first-child {
  white-space: normal;
}

@media (max-width: 900px) {
  body.page-loot-tables .loot-tables-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(200px, 34vh) minmax(280px, 1fr);
  }

  body.page-loot-tables .loot-tables-list,
  body.page-loot-tables .loot-tables-detail {
    max-height: none;
  }

  body.page-loot-tables .loot-tables-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

