/* steamcommunity.report — header achievement-notification bell.
   Matches the auth widget (.auth-user) styling. No emojis. */

/* Keep the bell and the user box together on the right of the header (the
   header bar is justify-content:space-between, which otherwise pushes a bare
   bell into the middle). */
.shead__right { display: inline-flex; align-items: center; gap: 8px; }
/* The bell is always built-in for everyone (notif.js no longer empties the slot).
   Reserve its 34px footprint so it never shifts the header in as the script draws it. */
#notif-slot { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; }

.notif { position: relative; display: inline-flex; align-items: center; }

.notif-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: #16170f; border: 1px solid #34372a; border-radius: 0;
  color: var(--muted); cursor: pointer; padding: 0;
}
.notif-btn:hover { border-color: var(--gold-dim); color: var(--fg); }
.notif-btn svg { display: block; }

/* Unread count bubble on the bell */
.notif-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box;
  background: #d8432f; color: #fff;
  font: 700 10px/16px var(--mono, monospace); text-align: center;
  border-radius: 0; border: 1px solid #16170f;
}

/* Dropdown */
.notif-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  width: 300px; max-width: calc(100vw - 20px); max-height: 70vh; overflow-y: auto;
  background: #16170f; border: 1px solid #34372a; border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.notif-menu[hidden] { display: none; }

.notif-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 13px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  border-bottom: 1px solid #23251a;
}
.notif-clear {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: none; border: none; padding: 2px;
  font: 700 9px/1 var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-dim); white-space: nowrap;
}
.notif-clear:hover { color: var(--gold); text-decoration: underline; }

.notif-item {
  display: flex; align-items: stretch;
  border-bottom: 1px solid #23251a;
}
.notif-item:hover { background: rgba(204,183,102,.07); }
.notif-item__link {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  padding: 9px 6px 9px 13px; text-decoration: none;
}
/* per-row remove button */
.notif-item__x {
  flex: 0 0 auto; appearance: none; -webkit-appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; padding: 0; background: none; border: none;
  color: var(--muted); opacity: .4; transition: opacity .12s, color .12s;
}
.notif-item:hover .notif-item__x { opacity: .75; }
.notif-item__x:hover { opacity: 1; color: #d8432f; }
.notif-item__x svg { display: block; }

.notif-item__ico {
  flex: 0 0 auto; width: 20px; height: 20px; display: block;
  background-color: var(--gold);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.notif-item__body { min-width: 0; flex: 1; }
.notif-item__name {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--fg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;
}
.notif-item__cat { display: block; font-size: 10.5px; color: var(--muted); margin-top: 1px; }
/* New-tag unlock: gold subtitle + a subtle gold wash on the row. */
.notif-item--tag { background: linear-gradient(90deg, rgba(204, 183, 102, .10), transparent); }
.notif-item__cat--tag { color: var(--gold); font-weight: 700; }
.notif-item__when { flex: 0 0 auto; font-size: 10px; color: var(--gold-dim); white-space: nowrap; }

.notif-empty {
  padding: 18px 14px; text-align: center; font-size: 12px;
  color: var(--muted); line-height: 1.5;
}

.notif-all {
  display: block; padding: 10px 13px; text-align: center;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); text-decoration: none;
}
.notif-all:hover { background: rgba(204,183,102,.07); }

.notif-btn:focus-visible { outline: 1px dashed var(--gold); outline-offset: 2px; }
