/* Keep every Explore models field visible without a horizontal scroller. */
.main:has(#linesBox) { max-width: none; padding-inline: clamp(10px, 1.5vw, 24px); }
#linesBox .tbl-wrap { overflow-x: hidden; }
#linesBox #linesTbl { width: 100%; min-width: 0; table-layout: fixed; font-size: 11px; }
#linesBox #linesTbl th,
#linesBox #linesTbl td {
  min-width: 0; padding: 6px 4px; white-space: normal; overflow-wrap: anywhere;
  word-break: normal; line-height: 1.35;
}
#linesBox #linesTbl th { font-size: 9px; letter-spacing: .15px; vertical-align: bottom; }
#linesBox #linesTbl td, #linesBox #linesTbl td.num, #linesBox #linesTbl th.num { font-size: 10px; }
#linesBox #linesTbl td .mono, #linesBox #linesTbl td a { overflow-wrap: anywhere; white-space: normal; }
#linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(14) a { display: table; max-width: 100%; box-sizing: border-box; margin: 2px 0; }

/* Live page: model, member rights, class, usage, store metrics, owner and download. */
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(1), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(1) { width: 16%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(2), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(2) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(3), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(3) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(4), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(4) { width: 4%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(5), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(5) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(6), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(6) { width: 5%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(7), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(7) { width: 8%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(8), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(8) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(9), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(9) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(10), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(10) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(11), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(11) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(12), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(12) { width: 4%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(13), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(13) { width: 7%; }
#linesBox #linesTbl:has(thead th:nth-child(14)) th:nth-child(14), #linesBox #linesTbl:has(thead th:nth-child(14)) td:nth-child(14) { width: 7%; }

/* Source renderer: 12 columns. */
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(1), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(1) { width: 20%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(2), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(2) { width: 8%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(3), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(3) { width: 5%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(4), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(4) { width: 8%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(5), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(5) { width: 5%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(6), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(6) { width: 9%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(7), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(7) { width: 8%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(8), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(8) { width: 8%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(9), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(9) { width: 8%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(10), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(10) { width: 8%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(11), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(11) { width: 5%; }
#linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) th:nth-child(12), #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) td:nth-child(12) { width: 8%; }

/* Model identity, registrant description, then declared member benefits. */
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(1), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(1) { width: 18%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(2), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(2) { width: 15%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(3), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(3) { width: 8%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(4), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(4) { width: 7%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(5), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(5) { width: 4%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(6), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(6) { width: 7%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(7), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(7) { width: 5%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(8), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(8) { width: 8%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(9), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(9) { width: 7%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(10), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(10) { width: 6%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(11), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(11) { width: 4%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(12), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(12) { width: 5%; }
#linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) th:nth-child(13), #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) td:nth-child(13) { width: 6%; }
.model-description-cell { color: var(--dim); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; line-height: 1.4; }
.members-get-cell { color: var(--muted); }

/* Keep the original table on desktop; use compact labeled cards only on phones. */
@media (max-width: 640px) {
  #linesBox #linesTbl:has(thead th:nth-child(14)),
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) { display: block; border-collapse: separate; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) thead tr,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) thead tr { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 10px; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) thead th:not(.sortable),
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) thead th:not(.sortable) { display: none; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) thead th.sortable,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) thead th.sortable { display: block; width: auto !important; padding: 7px 9px; border: 1px solid var(--border2); border-radius: 7px; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody { display: grid; gap: 10px; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody tr,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 10px; background: var(--panel); overflow: hidden; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td { display: flex; width: 100% !important; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:first-child,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:first-child { grid-column: 1 / -1; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td::before { color: var(--dim); font-size: 9px; letter-spacing: .35px; text-transform: uppercase; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(2)::before { content: 'Members get'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(3)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(2)::before { content: 'Class'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(4)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(3)::before { content: 'Used'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(5)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(4)::before { content: 'Membership (MSK)'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(6)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(5)::before { content: '24 h'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(7)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(6)::before { content: 'Members hold'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(8)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(7)::before { content: 'Mining bought'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(9)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(8)::before { content: 'Buy-back (MSK)'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(10)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(9)::before { content: 'Opening (locked)'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(11)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(10)::before { content: 'Owner'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(12)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(11)::before { content: 'Versions'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(13)::before,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody td:nth-child(12)::before { content: 'Status'; }
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody td:nth-child(14)::before { content: 'Download'; }
}
@media (min-width: 1200px) {
  #linesBox #linesTbl tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  #linesBox #linesTbl tbody { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  #linesBox #linesTbl:has(thead th:nth-child(14)) tbody tr,
  #linesBox #linesTbl:has(thead th:nth-child(12)):not(:has(thead th:nth-child(13))) tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) { display: block; border-collapse: separate; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) thead tr { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) thead th:not(.sortable) { display: none; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) thead th.sortable { display: block; width: auto !important; padding: 7px 9px; border: 1px solid var(--border2); border-radius: 7px; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody { display: grid; gap: 10px; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 10px; background: var(--panel); overflow: hidden; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td { display: flex; width: 100% !important; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:first-child { grid-column: 1 / -1; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td::before { color: var(--dim); font-size: 9px; letter-spacing: .35px; text-transform: uppercase; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(2)::before { content: 'Description'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(3)::before { content: 'Members get'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(4)::before { content: 'Class'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(5)::before { content: 'Used'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(6)::before { content: 'Membership (MSK)'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(7)::before { content: 'Holders +24 h'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(8)::before { content: 'Members hold'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(9)::before { content: 'Opening (locked)'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(10)::before { content: 'Owner'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(11)::before { content: 'Versions'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(12)::before { content: 'Status'; }
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody td:nth-child(13)::before { content: 'Download'; }
}
@media (max-width: 700px) {
  #linesBox #linesTbl.lines-model-description:has(thead th:nth-child(13)):not(:has(thead th:nth-child(14))) tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Card values should not inherit the tiny 14-column table typography. */
@media (max-width: 640px) {
  #linesBox #linesTbl tbody td { font-size: 12px !important; line-height: 1.45; }
  #linesBox #linesTbl thead th.sortable { font-size: 12px !important; }
}
