/* Shared approved Discord-card visual language. Scoped away from admin/global tables. */
.tl-overview { container: loot-overview / inline-size; margin-top: 16px; }
.tl-overview-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; table-layout: fixed; }
.tl-overview-table th { padding: 0 20px 2px; text-align: left; color: #a7b8bc; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tl-overview-table th:nth-child(1) { width: 35%; }
.tl-overview-table th:nth-child(2) { width: 38%; }
.tl-overview-table th:nth-child(3) { width: 27%; }
.tl-overview-table td { padding: 18px 20px; background: #121a25; color: #e8eef0; vertical-align: middle; border: 0; }
.tl-overview-table td:first-child { border-radius: 12px 0 0 12px; }
.tl-overview-table td:last-child { border-radius: 0 12px 12px 0; padding-left: 0; }
.tl-overview-table tbody tr:hover td { background: #18212d; }
.tl-overview-table .priority-row td { background: #30281b; box-shadow: inset 0 1px #ffd56a, inset 0 -1px #ffd56a; }
.tl-overview-table .priority-row td:first-child { border-left: 4px solid #ffd56a; }
.tl-mission, .tl-loot { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 16px; line-height: 1.4; }
.tl-mission > span, .tl-loot > span:not(.loot-icon):not(.priority-mark) { min-width: 0; overflow-wrap: anywhere; }
.tl-faction-icon { width: 28px; height: 28px; object-fit: contain; flex: 0 0 28px; }
.tl-loot > img, .tl-loot .loot-icon { width: 36px; height: 36px; flex: 0 0 36px; object-fit: contain; }
.tl-loot .loot-icon { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; box-shadow: none; }
.tl-loot .loot-icon img { width: 32px; height: 32px; max-width: 32px; max-height: 32px; object-fit: contain; }
.tl-loot .loot-icon.fallback { color: #a7b8bc; font-size: 12px; }
.tl-loot .priority-mark { display: inline-grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border-radius: 50%; background: #ffd56a; color: #211706; font-weight: 800; }
.tl-history { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 14px; border-left: 1px solid #334151; padding-left: 18px; min-width: 0; }
.tl-history > div { min-width: 0; }
.tl-history span { display: block; color: #a7b8bc; font-size: 11px; font-weight: 400; line-height: 1.4; text-transform: uppercase; }
.tl-history strong { display: block; margin-top: 3px; color: #fff; font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.35; overflow-wrap: anywhere; }
.tl-history strong.tl-last-seen { color: #79c8e8; }
.tl-history-note { margin: 8px 0 0; color: #a7b8bc; font-size: 12px; line-height: 1.6; }
.tl-vendor-heading { margin: 28px 0 0; color: #fff; font-size: 22px; }
.tl-vendor-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,510px),1fr)); gap: 14px; }
.tl-vendor-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,1.4fr); gap: 18px; align-items: center; background: #121a25; border-radius: 12px; padding: 20px; min-width: 0; }
.tl-cache-type { display: block; color: #a7b8bc; font-size: 13px; line-height: 1.4; margin-bottom: 13px; }
.tl-vendor-card .tl-loot { font-size: 20px; }
.tl-vendor-card .tl-history { align-self: stretch; align-items: stretch; }
.tl-vendor-card .tl-history > div { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.tl-vendor-card .tl-history strong { margin: 0 0 2px; }
@container loot-overview (max-width: 820px) {
    .tl-overview-table, .tl-overview-table tbody { display: block; width: 100%; }
    .tl-overview-table thead { display: none; }
    .tl-overview-table tbody { display: grid; gap: 12px; }
    .tl-overview-table tr { display: block; background: #121a25; border-radius: 12px; padding: 16px; }
    .tl-overview-table td { display: block; padding: 0; background: transparent !important; border-radius: 0 !important; }
    .tl-overview-table td + td { margin-top: 14px; }
    .tl-overview-table td:last-child { padding: 0; }
    .tl-overview-table td:nth-child(2)::before { content: 'Target loot'; display: block; color: #a7b8bc; font-size: 11px; text-transform: uppercase; margin-bottom: 6px; }
    .tl-overview-table .priority-row { box-shadow: inset 4px 0 #ffd56a; background: #30281b; }
    .tl-overview-table .priority-row td { border: 0; box-shadow: none; }
    .tl-overview-table .tl-history { border-left: 0; border-top: 1px solid #334151; padding: 13px 0 0; }
}
@container loot-overview (max-width: 520px) {
    .tl-vendor-card { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 18px; }
    .tl-vendor-card .tl-history { border-left: 0; border-top: 1px solid #334151; padding: 14px 0 0; }
    .tl-vendor-card .tl-history > div { gap: 3px; }
}
