.nt-page {
  background: #040e13;
}
/* Kill global button chrome on this page (lime border / filter artifacts). */
.nt-page button {
  filter: none;
}
.nt-page button:hover {
  filter: none;
}
.nt-shell {
  max-width: none;
  margin: 0;
  padding: 22px 28px 48px;
}
.nt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.nt-head h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #fff;
  font-weight: 800;
}
.nt-sub {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.45;
  color: #8fa3b3;
}
.nt-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nt-settings {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c5d4df;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.nt-settings:hover {
  color: #12f9ef;
}
.nt-mark-all {
  appearance: none;
  border: 1px solid #2a3b47;
  border-radius: 10px;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f1a22;
  color: #e8f0f6;
  font: 700 13px/1 inherit;
  cursor: pointer;
}
.nt-mark-all:hover:not(:disabled) {
  border-color: #3a5160;
  color: #12f9ef;
  background: #0f1a22;
}
.nt-mark-all:disabled {
  opacity: 0.45;
  cursor: default;
}

.nt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  border-bottom: 1px solid #1c2a33;
  margin-bottom: 18px;
  overflow: visible;
}
.nt-tabs button {
  appearance: none;
  border: 0 !important;
  border-radius: 0;
  background: none !important;
  padding: 10px 2px 14px;
  color: #8fa3b3;
  font: 700 14px/1 inherit;
  cursor: pointer;
  box-shadow: none;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 0;
  min-width: 0;
}
.nt-tabs button:hover,
.nt-tabs button:focus,
.nt-tabs button:focus-visible {
  color: #d7e3ec;
  background: none !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  outline: none;
  box-shadow: none;
}
.nt-tabs button[aria-selected="true"],
.nt-tabs button[aria-selected="true"]:hover,
.nt-tabs button[aria-selected="true"]:focus {
  color: #fff;
  border-bottom: 2px solid #d0ff00 !important;
  background: none !important;
}
.nt-tab-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font: 700 11px/20px system-ui, sans-serif;
  text-align: center;
}
.nt-tab-count[data-zero="1"] {
  background: #24343f;
  color: #8fa3b3;
}

.nt-status {
  margin: 0;
  color: #8fa3b3;
  font-size: 14px;
}
.nt-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.nt-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 16px 16px 18px;
  border-radius: 14px;
  background: #0c151c;
  border: 1px solid #1a2a34;
}
.nt-card.is-unread {
  background: #0e1a22;
  border-color: #243844;
}
.nt-card.is-unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #12f9ef;
}
.nt-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a2a34;
  flex: 0 0 auto;
}
.nt-thumb.is-game {
  border-radius: 10px;
}
.nt-body {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.nt-title {
  margin: 0;
  color: #f2f7fb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.nt-title strong {
  color: #fff;
  font-weight: 800;
}
.nt-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: #8fa3b3;
  font-size: 12px;
}
.nt-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: #15232d;
  color: #9eb4c2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nt-tag.friends {
  color: #7dd3fc;
  background: #0f2433;
}
.nt-tag.invitations {
  color: #fde68a;
  background: #2a2410;
}
.nt-tag.messages {
  color: #c4b5fd;
  background: #1c1630;
}
.nt-tag.rewards {
  color: #86efac;
  background: #10271a;
}
.nt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.nt-btn {
  appearance: none;
  border-radius: 9px;
  min-height: 34px;
  padding: 0 14px;
  font: 700 13px/1 inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  filter: none;
}
.nt-btn.primary {
  border: 0;
  background: #d0ff00;
  color: #080e00;
}
.nt-btn.primary:hover {
  filter: brightness(1.05);
}
.nt-btn.ghost {
  border: 1px solid #2a3b47;
  background: transparent;
  color: #d7e3ec;
}
.nt-btn.ghost:hover {
  border-color: #3a5160;
  color: #12f9ef;
  filter: none;
}
.nt-side {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.nt-more {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7f94a4;
  cursor: pointer;
  display: grid;
  place-items: center;
  filter: none;
}
.nt-more:hover {
  color: #d7e3ec;
  background: #152631;
  border-color: transparent;
  filter: none;
}
.nt-empty {
  padding: 56px 24px;
  text-align: center;
  color: #8fa3b3;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid #1a2a34;
  border-radius: 14px;
  background: #0c151c;
}
.nt-empty strong {
  display: block;
  margin-bottom: 6px;
  color: #e8f0f6;
  font-size: 16px;
}
.nt-empty span {
  display: block;
  max-width: 36ch;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .nt-shell {
    padding: 16px 14px calc(36px + env(safe-area-inset-bottom, 0px));
  }
  .nt-head {
    align-items: flex-start;
  }
  .nt-card {
    grid-template-columns: auto 1fr;
  }
  .nt-side {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .nt-head-actions {
    width: 100%;
    justify-content: space-between;
  }
  .nt-btn,
  .nt-more,
  .nt-filter,
  .nt-mark-all {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 14px;
  }
}
