/* Repeated runs, resource checklists, and the weekly loot journal. */
@keyframes boss-float {
  0%,100% { transform: translateY(1px) rotate(-.35deg); }
  50% { transform: translateY(-5px) rotate(.45deg); }
}
.card-art img { animation: boss-float 6s ease-in-out infinite; animation-delay:var(--float-delay,0s); animation-play-state:paused; }
.card-art.art-visible img { animation-play-state:running; }
.dungeon-card:hover .card-art img { scale:1.045; }
.animations-paused .card-art img { animation-play-state:paused; }
.card-tools { display:flex;justify-content:space-between;gap:6px;border-top:1px solid var(--border);padding-top:11px;margin-top:12px; }
.card-tools .text-button { font-size:9px;display:inline-flex;gap:4px;align-items:center; }
.card-tools svg { width:11px;height:11px; }
.run-resource-hint { font-size:10px;color:#917ea2;line-height:1.7;margin-top:15px; }
.resource-checklist { border:0;padding:0;margin:22px 0; }
.resource-checklist legend { font-size:12px;font-weight:550;color:#d2bbe7; }
.resource-checklist>p { font-size:10px;color:#8a769c;line-height:1.6;margin:7px 0 13px; }
.resource-check-row { display:flex;align-items:center;gap:10px;background:#271f2e;border:1px solid #3f304e;border-radius:7px;padding:10px;margin-bottom:7px; }
.resource-check-row:has(input:checked) { border-color:#8961ae;background:#2f233a; }
.resource-check-row label { display:flex;align-items:center;gap:8px;flex:1;font-size:11px;min-width:0;cursor:pointer; }
.resource-check-row label span { overflow-wrap:anywhere; }
.resource-check-row small { color:#846f97;font-size:9px; }
.resource-check-row input[type=checkbox],.other-drop input { accent-color:var(--accent);width:14px;height:14px;flex-shrink:0; }
.drop-quantity { width:67px;border:1px solid #513e62;background:#1b1421;color:#ceb5e6;border-radius:5px;padding:6px;font-size:12px; }
.drop-quantity:disabled { opacity:.3; }
.resource-icon { width:42px;height:42px;object-fit:contain;flex-shrink:0; }
.resource-choice>.icon { flex-shrink:0;width:25px;height:25px;color:var(--gold); }
.resource-rate { display:block;font-size:9px;color:#a188b9;line-height:1.5;margin-top:4px; }
.resource-check-row .resource-amount { flex:0 0 74px;display:flex;flex-direction:column;align-items:stretch;gap:4px;font-size:8px;color:#a798b5;cursor:default; }
.resource-amount .drop-quantity { width:100%;min-height:34px; }
#completion-dialog { width:min(520px,calc(100% - 32px)); }
#completion-dialog .modal-portrait { height:80px;margin-bottom:10px; }
#completion-dialog .modal-portrait img { height:80px; }
@media(max-width:480px){
  #completion-dialog { padding:22px 16px; }
  .resource-check-row { gap:7px;padding:9px; }
  .resource-check-row .resource-choice { gap:6px;font-size:11px; }
  .resource-check-row .resource-amount { flex-basis:66px; }
  .resource-check-row .resource-icon { width:32px;height:32px; }
}
.other-drop { display:flex;align-items:center;gap:7px;font-size:10px;color:#a798b5;margin:13px 0 0;cursor:pointer; }
.runs-modal { width:min(520px,calc(100% - 32px)); }
.run-item { padding:16px;border:1px solid #3b2d49;background:#1b1521;border-radius:9px;margin:10px 0; }
.run-heading { display:flex;align-items:center;gap:10px; }
.run-heading strong { font-size:12px;font-weight:550; }
.run-heading>span { color:#8e7ba0;font-size:10px; }
.run-heading button { margin-left:auto; }
.run-loot { padding:0;margin:12px 0 0;list-style:none; }
.run-loot li { display:flex;gap:7px;align-items:center;font-size:11px;color:#cdbb85;padding:4px 0; }
.run-loot li span { overflow-wrap:anywhere; }
.run-loot svg { width:12px;height:12px;flex-shrink:0; }
.run-loot b { margin-left:auto; }
.run-loot .no-run-drop { color:#816c95; }
.run-notes { color:#9280a3;font-size:10px;line-height:1.7;padding-top:9px;overflow-wrap:anywhere;white-space:pre-wrap; }
#add-another-run { width:100%;margin-top:15px; }
.resources-modal { width:min(470px,calc(100% - 32px)); }
.resources-modal h2 { font-size:22px; }
.resources-modal .modal-subtitle { font-size:11px;line-height:1.8; }
.resource-add { display:flex;gap:8px; }
.resource-add input { min-width:0;width:100%;border:1px solid #49365a;background:#18121d;border-radius:6px;color:#d3bde8;font-size:12px;padding:10px; }
#resources-list { margin-top:20px; }
.managed-resource { display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--border);padding:13px 0; }
.managed-resource>span { display:flex;align-items:center;gap:7px;font-size:11px;min-width:0;overflow-wrap:anywhere; }
.managed-resource svg { width:14px;height:14px;color:var(--gold);flex-shrink:0; }
.managed-resource.archived>span { color:#7c688f; }
.managed-resource small { font-size:8px; }
.managed-resource button { flex-shrink:0;font-size:9px; }
.resource-empty { text-align:center;color:#8a779c;border:1px dashed #3f304e;border-radius:8px;padding:26px 16px;font-size:11px;line-height:1.9; }
.resource-footnote { color:#816c94;font-size:9px;line-height:1.8;margin-top:18px; }
.loot-panel { padding-top:8px; }
.loot-panel .report-table { margin-top:5px; }
.loot-name { display:flex;align-items:center;gap:9px;color:#dfcf9e;font-size:13px;margin-bottom:5px;white-space:normal;overflow-wrap:anywhere;min-width:140px; }
.loot-name svg { width:16px;height:16px;flex-shrink:0;color:var(--gold); }
.loot-dungeon { display:flex;align-items:center;gap:10px; }
.loot-dungeon img { width:36px;height:39px;object-fit:contain;background:#2a2231;border-radius:6px; }
.quantity-pill { display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:5px 9px;font-size:15px;border:1px solid #615631;background:#393221;border-radius:6px;color:#e5d199; }
.loot-panel .activity-empty { padding:35px 20px; }
.loot-panel .activity-empty>svg { display:inline-flex;color:var(--gold);width:30px;height:30px;margin-bottom:16px; }
.loot-panel .activity-empty h3 { font-size:19px;font-weight:500;margin-bottom:10px; }
.loot-panel .activity-empty .button { margin-top:20px; }
.unnamed-row { display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 0;border-top:1px solid var(--border); }
.unnamed-row strong { font-size:12px;font-weight:500; }
.unnamed-row small { display:block;font-size:10px;color:#8f7ca0;margin-top:5px;overflow-wrap:anywhere; }
.unnamed-row button { flex-shrink:0; }
#drops-view .week-arrows { align-items:center;gap:8px; }
@media(max-width:480px){
  .card-tools .text-button { font-size:8px;gap:2px; }
  .card-tools { flex-wrap:wrap; }
  #drops-view .section-heading { flex-wrap:wrap;gap:13px; }
  .unnamed-row { gap:10px;flex-wrap:wrap; }
  .run-heading { gap:7px; }
  .resources-modal h2 { font-size:20px; }
}
@media(prefers-reduced-motion:reduce){.card-art img { animation:none!important; }.dungeon-card:hover .card-art img { scale:1; }}
