/* Boss and monster catalogs: compact, independently expandable loot lists. */
.ParcelBossLoot {
  padding: 0;
}

.ParcelBossLoot > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  color: #86bad7;
  background: linear-gradient(90deg, rgba(20,72,103,.34), rgba(4,24,39,.25));
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.05px;
  text-transform: uppercase;
  user-select: none;
}

.ParcelBossLoot > summary::-webkit-details-marker {
  display: none;
}

.ParcelBossLoot > summary small {
  margin-left: auto;
  color: #7193a8;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .25px;
  text-transform: none;
}

.ParcelBossLoot > summary i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid #28617f;
  border-radius: 50%;
  background: #08263a;
}

.ParcelBossLoot > summary i::before,
.ParcelBossLoot > summary i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 1px;
  background: #78c9ef;
  transition: transform .18s ease;
}

.ParcelBossLoot > summary i::after {
  transform: rotate(90deg);
}

.ParcelBossLoot[open] > summary i::after {
  transform: rotate(0);
}

.ParcelBossLoot[open] > summary {
  border-bottom: 1px solid #174761;
}

.ParcelBossLoot > .ParcelBossLootGrid {
  margin: 0;
  padding: 14px;
}

.ParcelMonstersPage .ParcelBossLoot > summary {
  color: #71dda4;
}

.ParcelMonstersPage .ParcelBossLoot > summary i::before,
.ParcelMonstersPage .ParcelBossLoot > summary i::after {
  background: #71dda4;
}

/* Castle War: one stable owner row, without the event-state block. */
.ParcelCastleEventStatus {
  display: block;
  grid-template-columns: none;
  background: #1b5272 !important;
}

.ParcelCastleEventOwner {
  box-sizing: border-box;
  width: 100%;
  min-height: 96px;
}

.ParcelCastleEventOwner > img {
  display: block;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  flex: 0 0 64px;
  object-fit: contain;
}

.ParcelCastleEventOwner > span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ParcelCastleEventOwner > span small,
.ParcelCastleEventOwner > span a,
.ParcelCastleEventOwner > span strong,
.ParcelCastleEventOwner > span em {
  display: block;
  max-width: 100%;
}

.ParcelCastleEventOwner > span a,
.ParcelCastleEventOwner > span strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ParcelCastleEventGuilds article .ParcelCastleRankingPoints {
  display: inline-flex;
  width: auto;
  align-items: baseline;
  gap: 4px;
  margin-top: 9px;
  padding: 5px 8px;
  border: 1px solid rgba(229,184,77,.38);
  border-radius: 4px;
  color: #fff;
  background: rgba(112,76,12,.24);
  font-size: 9px;
  font-weight: 800;
}

.ParcelCastleRankingPoints b {
  color: #ffd568;
  font-size: 12px;
}

@media (max-width: 480px) {
  .ParcelCastleEventOwner {
    align-items: flex-start;
    padding: 15px;
  }

  .ParcelCastleEventOwner > img {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    flex-basis: 54px;
  }
}
