.loot-panel { min-width: 0; }
.loot-toolbar { display: flex; align-items: end; gap: 12px; margin-bottom: 24px; }
.loot-toolbar label { display: grid; gap: 7px; min-width: 0; flex: 1; color: var(--muted); font-size: 12px; font-weight: 400; }
.loot-page .loot-toolbar label { max-width: 480px; }
.loot-toolbar select { width: 100%; min-width: 0; --select-height: var(--roll-button-height); }
.loot-columns { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: 40px; }
.loot-findings, .loot-table-section { min-width: 0; }
.loot-result { display: flex; align-items: center; gap: 20px; min-height: 140px; padding: 24px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.loot-roll-number { display: grid; text-align: center; gap: 2px; width: 64px; flex: 0 0 64px; color: var(--red); font-variant-numeric: tabular-nums; }
.loot-roll-number span, .loot-item small { font-size: 12px; color: var(--muted); }
.loot-roll-number strong { font-size: 32px; font-weight: 600; }
.loot-item { display: grid; gap: 8px; min-width: 0; }
.loot-item > strong { font-size: 22px; font-weight: 550; line-height: 1.45; }
.loot-empty { display: grid; justify-items: center; gap: 14px; width: 100%; color: var(--muted); font-size: 13px; }
.loot-empty .ui-icon { width: 32px; height: 32px; }
.loot-history-head, .loot-table-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 12px; }
.loot-history-head h3, .loot-table-head h3 { margin: 0; font-size: 14px; font-weight: 550; text-transform: none; }
.loot-history-head .icon-button { width: 34px; height: 34px; }
.loot-history { margin: 0; padding: 0; list-style: none; }
.loot-history li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.loot-history > li:first-child { border-top: 1px solid var(--line); }
.loot-history-roll { color: var(--muted); font-variant-numeric: tabular-nums; }
.loot-history li strong { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.loot-history li small { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; color: var(--muted); font-size: 11px; }
.loot-history li time { margin-left: auto; }
.loot-table-head { margin-top: 0; }
.loot-table-head > span, .loot-source { font-size: 12px; color: var(--muted); }
.loot-source { margin: 0 0 16px; }
.loot-table { width: 100%; border-collapse: collapse; margin-top: 16px; table-layout: fixed; border-top: 1px solid var(--line); }
.loot-table th, .loot-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.loot-table th { color: var(--muted); font-size: 12px; font-weight: 500; }
.loot-table th:first-child { width: 64px; }
.loot-table td:first-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.loot-status { margin: 12px 0; color: var(--muted); overflow-wrap: anywhere; }
.loot-status p { margin: 0 0 10px; }
.dashboard-loot-widget .loot-panel { flex: 1; min-height: 0; overflow: auto; }
.dashboard-loot-widget .loot-columns { display: block; }
.dashboard-loot-widget .loot-toolbar { margin-bottom: 4px; }
.dashboard-loot-widget .loot-result { min-height: 125px; padding: 18px 0; gap: 14px; }
.dashboard-loot-widget .loot-item > strong { font-size: 18px; }
.dashboard-loot-widget .loot-history-head { margin-top: 12px; }
@media (min-width: 1600px) { .loot-columns { grid-template-columns: minmax(340px, 1fr) minmax(0, 2fr); gap: 56px; } }
@media (max-width: 850px) { .loot-columns { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 430px) {
  .loot-toolbar { gap: 8px; }
  .loot-result { gap: 12px; }
  .loot-item > strong { font-size: 18px; }
  .loot-roll-number { width: 44px; flex-basis: 44px; }
}
