.player-shell-body .map-shell .bottom-nav {
  --game-bottom-nav-height: 78px;
}

.fugly-alerts-button {
  position: relative;
  min-width: 44px;
}

.fugly-alerts-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #202124;
  color: #ffe45c;
  font-weight: 900;
  line-height: 1;
}

.fugly-alerts-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid #fff4c2;
  border-radius: 999px;
  background: #d32626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.fugly-alert-sheet {
  display: grid;
  gap: 12px;
  max-height: min(76vh, 620px);
  overflow: hidden;
}

.fugly-alert-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fugly-alert-sheet__header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.fugly-today {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 2px solid rgba(32, 33, 36, 0.16);
  border-radius: 8px;
  background: rgba(255, 244, 194, 0.8);
}

.fugly-today h3,
.fugly-today p,
.fugly-today blockquote,
.fugly-today ul {
  margin: 0;
}

.fugly-today blockquote {
  padding-left: 10px;
  border-left: 3px solid #202124;
  font-weight: 700;
}

.fugly-today ul {
  display: grid;
  gap: 3px;
  padding-left: 18px;
}

.fugly-alert-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
}

.fugly-alert-toolbar button,
.fugly-alert-row__actions button,
.fugly-alert-row__actions a {
  min-height: 36px;
  padding: 0 10px;
  border: 2px solid #202124;
  border-radius: 8px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
}

.fugly-alert-list {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
}

.fugly-alert-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 2px solid rgba(32, 33, 36, 0.14);
  border-radius: 8px;
  background: #fffdf4;
}

.fugly-alert-row.is-unread {
  border-color: #202124;
  box-shadow: 0 0 0 3px rgba(255, 228, 92, 0.5);
}

.fugly-alert-row__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f2e36d;
  color: #202124;
  font-weight: 900;
}

.fugly-alert-row__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fugly-alert-row__body {
  min-width: 0;
}

.fugly-alert-row__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.fugly-alert-row__top strong {
  min-width: 0;
  font-size: 0.96rem;
  line-height: 1.12;
}

.fugly-alert-row__top time {
  flex: 0 0 auto;
  color: rgba(32, 33, 36, 0.66);
  font-size: 0.75rem;
  font-weight: 800;
}

.fugly-alert-row p {
  margin: 4px 0 8px;
  color: rgba(32, 33, 36, 0.84);
  font-size: 0.9rem;
}

.fugly-alert-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 360px) {
  .fugly-alert-sheet__header h2 {
    font-size: 1.18rem;
  }

  .fugly-alert-row {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 8px;
  }

  .fugly-alert-row__icon {
    width: 38px;
    height: 38px;
  }
}
