/*
 * Nur Loot-Generator-spezifisches Layout. Farben/Typografie/Buttons/Karten/
 * Tags/Pills kommen aus public/css/wmg-shared.css (siehe .wmg-app-Klasse auf
 * dem Root-Container), damit sie nicht pro Generator dupliziert werden.
 */
.wm-loot-app, .wm-loot-shell, .wm-loot-controls, .wm-loot-card { overflow: visible !important; }

.wm-loot-shell{
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display:grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 18px;
  align-items:start;
}
@media (max-width: 980px){
  .wm-loot-shell{ grid-template-columns: 1fr; }
  .wm-loot-output{ position:relative !important; top:auto !important; }
}

.wm-loot-controls{ display:flex; flex-direction:column; gap:14px; min-width:0; }
.wm-loot-brand{ padding: 0 2px; }
.wm-loot-title{ font-size:20px; font-weight:700; letter-spacing:.2px; }
.wm-loot-sub{ font-size:12.5px; color:var(--wm-muted2); margin-top:2px; }

.wm-loot-card,
.wm-loot-output{
  background: var(--wm-surface);
  border: 1px solid var(--wm-divider);
  box-shadow: none;
  border-radius: var(--wm-radius);
}

.wm-loot-card{ padding:14px; background: var(--wm-surface-2); }
.wm-loot-mini{ padding: 12px 14px; }

.wm-loot-card-h{
  font-weight:700;
  font-size:12px;
  letter-spacing:.35px;
  color: var(--wm-ink);
  text-transform: uppercase;
  margin-bottom:10px;
}

.wm-loot-pills{ display:flex; flex-wrap:wrap; gap:10px; }
.wm-loot-pills .wm-pill{ flex: 1 1 120px; }

.wm-loot-actions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:14px;
}
@media (max-width:560px){ .wm-loot-actions{ grid-template-columns:1fr; } }

.wm-loot-mini-text{ font-size:12.5px; color:var(--wm-muted2); line-height:1.45; }

.wm-loot-output{ position: sticky; top:14px; min-width:0; }
.wm-loot-output-head{
  padding: 16px 16px 12px;
  border-bottom: 2px solid var(--wm-teal);
}
.wm-loot-out-title{ display:flex; align-items:center; gap:10px; }
.wm-loot-dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--wm-teal);
  flex:0 0 auto;
}
#wmLootOutTitle{ font-size:20px; margin:0; font-weight:700; letter-spacing:.2px; }

.wm-loot-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }

.wm-loot-section{ margin: 14px; }
.wm-loot-coins{
  margin-top:6px;
  font-size: 15px;
  font-weight:700;
  color: var(--wm-ink);
}

.wm-loot-rarity{
  display:inline-block;
  margin-left: 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--wm-panel);
  border: 1px solid var(--wm-divider);
  color: var(--wm-muted);
}
.wm-loot-rarity--common{ color: #5b6b6a; border-color: #c9d4d3; background: #eef3f2; }
.wm-loot-rarity--uncommon{ color: #1e7d46; border-color: #b6ddc4; background: #eaf6ef; }
.wm-loot-rarity--rare{ color: #1f5fae; border-color: #b7d1ef; background: #eaf2fb; }
.wm-loot-rarity--very_rare{ color: #7a3fae; border-color: #ddc7ef; background: #f5eefb; }
.wm-loot-rarity--legendary{ color: #a15b12; border-color: #edcd9d; background: #fbf1e2; }
.wm-loot-rarity--artifact{ color: #a1291f; border-color: #eeb9b3; background: #fbeae8; }

.wm-loot-bottom{
  padding: 0 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.wm-loot-actions2{ display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width:560px){
  .wm-loot-actions2{ width:100%; }
  .wm-loot-actions2 .wm-btn{ flex: 1 1 auto; }
}

.wm-loot-status{
  font-size:12px;
  font-weight:700;
  color: var(--wm-muted2);
}
