#friends-dialog,
#notifications-dialog {
  width: min(720px, calc(100vw - 24px));
  background: #f8f5dd;
}
.community-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.community-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 2px solid #8da49c;
  background: #fffcec;
  overflow-wrap: anywhere;
}
.community-card.unread {
  border-left: 6px solid #a45324;
  background: #fff0bd;
}
.community-card strong {
  font-size: 22px;
  font-weight: normal;
}
.community-card small {
  font-size: 16px;
}
.community-card p {
  margin: 0;
}
.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.community-card button,
.community-actions button {
  min-height: 44px;
  padding: 8px 12px;
}
#friends-dialog p,
#notifications-dialog p {
  line-height: 1.4;
}
#friend-location {
  margin: 16px 0;
  border: 2px solid #57777b;
  padding: 12px;
  background: #eaf0d5;
}
#friend-map {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}
#friend-map-image {
  width: 100%;
  display: block;
  image-rendering: pixelated;
}
#friend-map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #9f302d;
  color: white;
  border: 2px solid #fff7cf;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #50221f;
}
#notifications-shortcut {
  position: absolute;
  top: 60px;
  right: 8px;
  z-index: 12;
  min-height: 44px;
  background: #fff0bd;
  color: #643114;
  border: 2px solid #a45324;
  padding: 6px 10px;
}
#notifications-count:not(:empty),
#friends-count:not(:empty) {
  border-radius: 12px;
  padding: 1px 7px;
  background: #943b27;
  color: #fff7dc;
}
#battle-friend {
  margin: 6px;
  min-height: 44px;
}
.atlas-city.has-friends .atlas-city-name {
  color: #71301d;
}
.atlas-city-friends {
  font-size: 15px;
  color: #71301d;
}
