.collection-objectives-open { overflow: hidden; }
.collection-objectives-screen {
  position: fixed;
  z-index: 44;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  color: rgba(244, 243, 237, 0.86);
  background: linear-gradient(180deg, rgba(34, 33, 31, 0.995), rgba(22, 23, 22, 0.998));
}
.collection-objectives-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(16,17,16,.34);
}
.collection-objectives-title { display: grid; gap: 3px; }
.collection-objectives-title strong { font-size: 12px; letter-spacing: .035em; }
.collection-objectives-title span { color: rgba(255,255,255,.36); font-size: 8px; letter-spacing: .04em; }
.collection-objectives-back,
.collection-objective-claim {
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.025);
  font: 700 8px var(--font-ui);
  letter-spacing: .04em;
  cursor: pointer;
}
.collection-objectives-back { height: 29px; padding: 0 12px; }
.collection-objectives-back:hover,
.collection-objective-claim:hover:not(:disabled) { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
.collection-objectives-body {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 12px;
  padding: 16px 18px 28px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.12) transparent;
}
.collection-objective-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(150px, 1fr) auto;
  border: 1px solid rgba(255,255,255,.065);
  background: rgba(56,58,54,.25);
}
.collection-objective-card.is-complete { border-color: rgba(196,168,83,.24); }
.collection-objective-card.is-claimed { opacity: .72; }
.collection-objective-heading { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px; }
.collection-objective-icon { width: 38px; height: 38px; object-fit: contain; }
.collection-objective-heading-copy { min-width: 0; display: grid; gap: 3px; }
.collection-objective-heading-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.collection-objective-heading-copy span { color: rgba(255,255,255,.4); font-size: 8px; }
.collection-objective-progress { height: 2px; margin: 0 12px 10px; overflow: hidden; background: rgba(255,255,255,.05); }
.collection-objective-progress i { display: block; height: 100%; background: rgba(185,206,211,.72); }
.collection-objective-items {
  min-height: 0;
  max-height: 260px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  align-content: start;
  gap: 6px;
  padding: 0 12px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.collection-objective-item {
  position: relative;
  min-width: 0;
  height: 84px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.045);
  background: rgba(255,255,255,.018);
  opacity: .42;
}
.collection-objective-item.is-owned { opacity: 1; }
.collection-objective-item::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ""; background: var(--collection-item-rarity, #b0c3d9); }
.collection-objective-item-image { width: 100%; height: 58px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0,0,0,.28)); }
.collection-objective-item-name { overflow: hidden; padding: 3px 5px 5px; color: rgba(255,255,255,.58); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.collection-objective-owned { position: absolute; top: 4px; right: 5px; color: #c7d9cc; font-size: 10px; }
.collection-objective-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.05); }
.collection-objective-reward { display: grid; gap: 2px; }
.collection-objective-reward span { color: rgba(255,255,255,.32); font-size: 7px; }
.collection-objective-reward strong { color: rgba(255,255,255,.75); font-size: 9px; }
.collection-objective-claim { min-width: 92px; height: 29px; padding: 0 10px; }
.collection-objective-claim:disabled { opacity: .42; cursor: default; }
.collection-objectives-loading,
.collection-objectives-empty { display: grid; grid-column: 1 / -1; min-height: 220px; place-items: center; color: rgba(255,255,255,.32); font-size: 9px; letter-spacing: .06em; }
@media (max-width: 760px) {
  .collection-objectives-body { grid-template-columns: 1fr; padding: 10px; }
  .collection-objectives-title span { display: none; }
}
