/*
 * Left sidebar redesign (templates/navbar.html → aside.gh-desktop-sidebar.sbv). Generated layout, edit freely.
 * Kept hooks: data-gh-sidebar-toggle + html.gh-sidebar-collapsed (navbar.js + main.html), #ghDesktopSidebarNav,
 * #ghSidebarStaffCard (htmx outerHTML from sidebar-staff-update), data-copy-referral (gamification.js),
 * --gh-sidebar-expanded-width / --gh-sidebar-collapsed-width (page offset in navbar.css).
 */
:root { --gh-sidebar-expanded-width: 260px; --gh-sidebar-collapsed-width: 76px; }
.sbv { --s-yellow: #FFDF00; --s-card: #171718; --s-inner: #111112; --s-raise: #1d1d20; --s-text: #f4f4f6; --s-muted: #a8a8ad; --s-dim: #6e6e74; --s-line: rgba(255, 255, 255, .08); --s-green: #3ddc84; --s-red: #ff5a64; --s-ease: cubic-bezier(.16, 1, .3, 1); --s-spring: cubic-bezier(.34, 1.56, .64, 1); }
.gh-desktop-sidebar.sbv { flex-direction: column; padding: 14px 12px 12px; border-right: 1px solid rgba(255, 223, 0, .1); background: radial-gradient(120% 40% at 0% 0%, rgba(255, 223, 0, .07), transparent 60%), linear-gradient(180deg, #111114, #0d0d10); color: var(--s-text); transition: width .3s var(--s-ease); }
.sbv::after { content: ""; position: absolute; top: 0; right: -1px; width: 1px; height: 160px; background: linear-gradient(var(--s-yellow), transparent); opacity: .5; pointer-events: none; }
.sbv a { text-decoration: none; }
.sbv [hidden] { display: none !important; }

.sbv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 46px; padding: 0 4px; }
.sbv .sbv-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--s-text); }
.sbv-brand img { flex: none; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(255, 223, 0, .35)); transition: transform .5s var(--s-spring); }
.sbv-brand:hover img { transform: rotate(-8deg) scale(1.08); }
.sbv-brand span { font-size: 1.08rem; font-weight: 900; letter-spacing: -.01em; white-space: nowrap; }
.sbv-brand span b { color: var(--s-yellow); }
.sbv-tog { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 1px solid var(--s-line); border-radius: 10px; background: var(--s-inner); color: var(--s-muted); cursor: pointer; transition: all .2s; }
.sbv-tog:hover { border-color: rgba(255, 223, 0, .45); color: var(--s-yellow); }
.sbv-tog i { transition: transform .35s var(--s-ease); }

.sbv-scroll { flex: 1; min-height: 0; margin: 0 -6px; padding: 0 6px 10px; overflow-y: auto; scrollbar-width: none; }
.sbv-scroll::-webkit-scrollbar { display: none; }

/* nav */
.sbv-nav { display: grid; gap: 2px; margin-top: 4px; }
.sbv-sec { display: flex; align-items: center; gap: 8px; margin: 10px 8px 3px; color: var(--s-dim); font-size: .64rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.sbv-sec::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--s-line), transparent); }
.sbv .sbv-link { position: relative; display: flex; align-items: center; gap: 12px; height: 37px; padding: 0 10px; border-radius: 12px; color: var(--s-muted); font-size: .9rem; font-weight: 700; white-space: nowrap; transition: color .2s, background .2s; }
.sbv-link i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; font-size: 1.02rem; transition: background .25s, color .25s, transform .35s var(--s-spring); }
.sbv .sbv-link:hover { background: rgba(255, 255, 255, .04); color: var(--s-text); }
.sbv-link:hover i { transform: translateX(2px); }
.sbv .sbv-link.active { background: linear-gradient(90deg, rgba(255, 223, 0, .14), rgba(255, 223, 0, .03) 80%); color: var(--s-yellow); }
.sbv-link.active::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: -12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--s-yellow); box-shadow: 0 0 12px var(--s-yellow); }
.sbv-link.active i { background: var(--s-yellow); color: #111; }

/* widgets */
.sbv-wid { display: grid; gap: 8px; margin-top: 12px; }
.sbv-wid > .sbv-sec { margin-bottom: 0; }
.sbv .sbv-w { position: relative; display: block; padding: 11px 12px; border: 1px solid var(--s-line); border-radius: 14px; background: rgba(23, 23, 24, .8); color: var(--s-text); transition: border-color .2s, transform .25s var(--s-ease); }
.sbv a.sbv-w:hover { border-color: rgba(255, 223, 0, .4); color: var(--s-text); transform: translateY(-2px); }
.sbv-w__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.sbv-w__k { display: inline-flex; align-items: center; gap: 6px; color: var(--s-yellow); font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sbv-badge { padding: 2px 7px; border-radius: 7px; background: rgba(255, 223, 0, .14); color: var(--s-yellow); font-size: .62rem; font-weight: 900; white-space: nowrap; }
.sbv-badge.is-live { max-width: 120px; overflow: hidden; background: rgba(61, 220, 132, .14); color: var(--s-green); text-overflow: ellipsis; }
.sbv-badge.is-live::before { content: "\25CF  "; animation: sbv-blink 1.4s infinite; }
@keyframes sbv-blink { 50% { opacity: .3; } }
.sbv-w strong { display: block; overflow: hidden; font-size: .9rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.sbv-w small, .sbv-w__sub { display: block; color: var(--s-dim); font-size: .72rem; }
.sbv-w__foot { margin-top: 6px; }
.sbv-w__empty { margin: 0; color: var(--s-dim); font-size: .76rem; }

.sbv .sbv-w--staff { border-color: rgba(255, 223, 0, .3); background: linear-gradient(135deg, rgba(255, 223, 0, .1), transparent 70%), rgba(23, 23, 24, .8); }
.sbv-staff-msg { margin: 0; color: #e6e6ea; font-size: .8rem; line-height: 1.4; overflow-wrap: anywhere; }
.sbv-staff-editor summary { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(255, 223, 0, .35); border-radius: 8px; color: var(--s-yellow); font-size: .72rem; list-style: none; cursor: pointer; }
.sbv-staff-editor summary::-webkit-details-marker { display: none; }
.sbv-staff-editor[open] summary { background: var(--s-yellow); color: #111; }
.sbv-staff-editor form { position: absolute; top: 40px; right: 10px; left: 10px; z-index: 5; display: grid; gap: 6px; padding: 10px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 12px; background: #141416; box-shadow: 0 20px 40px -16px #000; }
.sbv-staff-editor textarea { min-height: 80px; padding: 8px 10px; border: 1px solid var(--s-line); border-radius: 10px; outline: 0; background: #0f0f12; color: var(--s-text); font-size: .8rem; resize: vertical; }
.sbv-staff-editor textarea:focus { border-color: rgba(255, 223, 0, .5); }
.sbv-staff-actions { display: flex; gap: 6px; }
.sbv-staff-actions button { flex: 1; height: 30px; border: 0; border-radius: 9px; background: var(--s-yellow); color: #111; font-size: .76rem; font-weight: 900; cursor: pointer; }
.sbv-staff-actions button.is-secondary { background: var(--s-raise); color: var(--s-muted); }

.sbv-next { display: flex; align-items: center; gap: 10px; }
.sbv-next > div { min-width: 0; }
.sbv-next__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; padding: 5px; border-radius: 10px; background: #0a0a0b; color: var(--s-yellow); }
.sbv-next__icon img { width: 100%; height: 100%; object-fit: contain; }
.sbv-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 9px; }
.sbv-cd span { display: grid; justify-items: center; padding: 5px 0 4px; border-radius: 8px; background: var(--s-inner); }
.sbv-cd b { font-size: .92rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.sbv-cd em { color: var(--s-dim); font-size: .55rem; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sbv-cd.is-live { grid-template-columns: 1fr; }
.sbv-cd.is-live span { color: var(--s-green); font-size: .78rem; font-weight: 900; }

.sbv-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; margin: 6px 0 4px; }
.sbv-vs__t { display: grid; justify-items: center; gap: 4px; min-width: 0; text-align: center; }
.sbv-vs img, .sbv-vs__fb { width: 32px; height: 32px; border-radius: 9px; background: #0a0a0b; object-fit: cover; }
.sbv-vs__fb { display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, .18); color: var(--s-dim); font-size: .8rem; font-weight: 900; }
.sbv-vs b { max-width: 100%; overflow: hidden; font-size: .76rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.sbv-vs b.is-pending { color: var(--s-dim); font-style: italic; }
.sbv-vs > i { color: var(--s-yellow); font-size: .7rem; font-style: normal; font-weight: 900; }
.sbv-route { display: flex; align-items: center; gap: 4px; overflow: hidden; color: var(--s-dim); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.sbv-res { padding: 2px 8px; border-radius: 7px; font-size: .64rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.sbv-res.is-won { background: rgba(61, 220, 132, .14); color: var(--s-green); }
.sbv-res.is-lost { background: rgba(255, 90, 100, .14); color: var(--s-red); }

/* player card */
.sbv-mewrap { position: relative; margin-top: 8px; }
.sbv-me { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 1px solid var(--s-line); border-radius: 14px; background: var(--s-inner); color: var(--s-text); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.sbv-me:hover { border-color: rgba(255, 223, 0, .35); }
.sbv-me[aria-expanded="true"] { border-color: rgba(255, 223, 0, .5); background: linear-gradient(135deg, rgba(255, 223, 0, .1), transparent 70%), var(--s-inner); }
.sbv-av { position: relative; flex: none; }
.sbv-av img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; }
.sbv-av b { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; min-width: 20px; height: 18px; padding: 0 4px; border: 2px solid var(--s-inner); border-radius: 7px; background: var(--s-yellow); color: #111; font-size: .6rem; font-weight: 900; }
.sbv-me__info { flex: 1; min-width: 0; }
.sbv-me__info strong { display: block; overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.sbv-me__info small { display: block; overflow: hidden; color: var(--s-dim); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.sbv-me__info small i { color: var(--s-yellow); }
.sbv-xp { display: block; height: 4px; margin-top: 5px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.sbv-xp span { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e9c900, var(--s-yellow)); }
.sbv-me__chev { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; color: var(--s-dim); }
.sbv-me__chev i { transition: transform .3s var(--s-ease); }
.sbv-me[aria-expanded="true"] .sbv-me__chev { color: var(--s-yellow); }
.sbv-me[aria-expanded="true"] .sbv-me__chev i { transform: rotate(180deg); }

/* account menu */
.sbv-mm { position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 2300; width: 300px; overflow: hidden; border: 1px solid rgba(255, 223, 0, .25); border-radius: 18px; background: #141416; box-shadow: 0 30px 60px -20px #000; transform-origin: bottom left; animation: sbv-in .35s var(--s-spring) both; }
@keyframes sbv-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.sbv-mm__head { position: relative; padding: 14px; border-bottom: 1px solid var(--s-line); }
.sbv-mm__banner { position: absolute; inset: 0 0 auto; height: 64px; background: radial-gradient(80% 140% at 0% 0%, rgba(255, 223, 0, .22), transparent 60%), linear-gradient(135deg, #2a2610, #141416); background-position: center; background-size: cover; opacity: .9; }
.sbv-mm__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, #141416); }
.sbv-mm__id { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.sbv-av--lg img { width: 52px; height: 52px; border: 3px solid #141416; border-radius: 15px; }
.sbv-av--lg b { border-color: #141416; }
.sbv-mm__id > div { min-width: 0; }
.sbv-mm__id strong { display: block; overflow: hidden; font-size: 1.02rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.sbv-mm__id strong i { color: var(--s-yellow); font-size: .8rem; }
.sbv-mm__id small { display: flex; align-items: center; gap: 5px; overflow: hidden; color: var(--s-muted); font-size: .76rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.sbv-mm__id small i { color: var(--s-yellow); }
.sbv-mm__lvl { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--s-line); border-radius: 12px; background: var(--s-inner); }
.sbv-mm__lvlrow { display: flex; justify-content: space-between; color: var(--s-muted); font-size: .78rem; font-weight: 800; }
.sbv-mm__lvlrow b { color: var(--s-yellow); }
.sbv-xp--big { height: 7px; margin: 7px 0 6px; }
.sbv-xp--big span { box-shadow: 0 0 12px rgba(255, 223, 0, .5); }
.sbv-mm__lvl small { color: var(--s-dim); font-size: .7rem; }
.sbv .sbv-mm__lvl small a { color: var(--s-yellow); font-weight: 800; }
.sbv-mm__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.sbv-mm__stats span { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border-radius: 11px; background: var(--s-inner); }
.sbv-mm__stats b { font-size: 1rem; font-weight: 900; }
.sbv-mm__stats small { color: var(--s-dim); font-size: .62rem; font-weight: 800; white-space: nowrap; }
.sbv-mm__stats small i { color: var(--s-yellow); }
.sbv-mm__list { display: grid; padding: 6px; }
.sbv .sbv-mm__list a, .sbv-mm__list button { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--s-muted); font-size: .86rem; font-weight: 700; text-align: left; cursor: pointer; transition: background .2s, color .2s, padding .25s var(--s-ease); }
.sbv-mm__list i { width: 18px; color: var(--s-dim); font-size: .95rem; text-align: center; transition: color .2s; }
.sbv .sbv-mm__list a:hover, .sbv-mm__list button:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(255, 223, 0, .12), transparent 80%); color: var(--s-text); }
.sbv-mm__list a:hover i, .sbv-mm__list button:hover i { color: var(--s-yellow); }
.sbv-mm__list em { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: var(--s-yellow); color: #111; font-size: .66rem; font-style: normal; font-weight: 900; }
.sbv-mm__list kbd { margin-left: auto; padding: 1px 7px; border: 1px solid rgba(255, 223, 0, .35); border-radius: 7px; background: none; color: var(--s-yellow); font: inherit; font-size: .64rem; font-weight: 900; }
.sbv .sbv-mm__list .is-danger:hover { background: linear-gradient(90deg, rgba(255, 90, 100, .12), transparent 80%); color: var(--s-red); }
.sbv-mm__list .is-danger:hover i { color: var(--s-red); }
.sbv-mm__list hr { margin: 5px 8px; border: 0; border-top: 1px solid var(--s-line); opacity: 1; }

/* tooltip (rail mode only, appended to body) */
.sbv-tip { position: fixed; z-index: 2400; padding: 7px 11px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 10px; background: #0b0b0d; box-shadow: 0 14px 30px -10px #000; color: #f4f4f6; font-family: inherit; font-size: .8rem; font-weight: 800; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(10px, -50%); transition: opacity .15s, transform .2s; }
.sbv-tip.is-on { opacity: 1; transform: translate(14px, -50%); }
.sbv-tip small { display: block; max-width: 260px; overflow: hidden; color: #6e6e74; font-size: .7rem; font-weight: 600; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .sbv *, .sbv *::before, .sbv *::after { animation: none !important; transition: none !important; } }

/* ===== Rail: collapsed on desktop ===== */
@media (min-width: 992px) {
  html.gh-sidebar-collapsed .sbv .sbv-brand span, html.gh-sidebar-collapsed .sbv .sbv-link span, html.gh-sidebar-collapsed .sbv .sbv-me__info, html.gh-sidebar-collapsed .sbv .sbv-me__chev { display: none; }
  html.gh-sidebar-collapsed .sbv .sbv-head { flex-direction: column; height: auto; gap: 10px; padding: 0; }
  html.gh-sidebar-collapsed .sbv .sbv-tog i { transform: rotate(180deg); }
  html.gh-sidebar-collapsed .sbv .sbv-nav { justify-items: center; }
  html.gh-sidebar-collapsed .sbv .sbv-sec { display: block; width: 26px; height: 1px; margin: 10px auto 6px; background: var(--s-line); font-size: 0; }
  html.gh-sidebar-collapsed .sbv .sbv-sec::after { display: none; }
  html.gh-sidebar-collapsed .sbv .sbv-link { justify-content: center; width: 44px; padding: 0; }
  html.gh-sidebar-collapsed .sbv .sbv-link.active::before { left: -16px; }
  html.gh-sidebar-collapsed .sbv .sbv-wid { justify-items: center; }
  html.gh-sidebar-collapsed .sbv .sbv-w { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
  html.gh-sidebar-collapsed .sbv .sbv-w > :not(.sbv-w__head) { display: none !important; }
  html.gh-sidebar-collapsed .sbv .sbv-w__head { margin: 0; }
  html.gh-sidebar-collapsed .sbv .sbv-w__head > :not(.sbv-w__k), html.gh-sidebar-collapsed .sbv .sbv-w__k span { display: none; }
  html.gh-sidebar-collapsed .sbv .sbv-w__k { font-size: 1rem; }
  html.gh-sidebar-collapsed .sbv .sbv-w.has-dot::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--s-yellow); box-shadow: 0 0 8px var(--s-yellow); }
  html.gh-sidebar-collapsed .sbv .sbv-me { justify-content: center; padding: 6px; border: 0; background: none; }
  html.gh-sidebar-collapsed .sbv .sbv-mm { bottom: 0; left: calc(100% + 14px); }
}
/* ===== Rail: always on tablets (matches the old behaviour) ===== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sbv .sbv-brand span, .sbv .sbv-link span, .sbv .sbv-me__info, .sbv .sbv-me__chev { display: none; }
  .sbv .sbv-head { flex-direction: column; height: auto; gap: 10px; padding: 0; }
  .sbv .sbv-tog i { transform: rotate(180deg); }
  .sbv .sbv-nav { justify-items: center; }
  .sbv .sbv-sec { display: block; width: 26px; height: 1px; margin: 10px auto 6px; background: var(--s-line); font-size: 0; }
  .sbv .sbv-sec::after { display: none; }
  .sbv .sbv-link { justify-content: center; width: 44px; padding: 0; }
  .sbv .sbv-link.active::before { left: -16px; }
  .sbv .sbv-wid { justify-items: center; }
  .sbv .sbv-w { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
  .sbv .sbv-w > :not(.sbv-w__head) { display: none !important; }
  .sbv .sbv-w__head { margin: 0; }
  .sbv .sbv-w__head > :not(.sbv-w__k), .sbv .sbv-w__k span { display: none; }
  .sbv .sbv-w__k { font-size: 1rem; }
  .sbv .sbv-w.has-dot::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--s-yellow); box-shadow: 0 0 8px var(--s-yellow); }
  .sbv .sbv-me { justify-content: center; padding: 6px; border: 0; background: none; }
  .sbv .sbv-mm { bottom: 0; left: calc(100% + 14px); }
  .sbv .sbv-tog { display: none; }
}


/* ===== Account menu: home / notifications views ===== */
.sbv-mm__head { padding-bottom: 12px; border-bottom: 0; }
.sbv-mm__home .sbv-mm__lvl { margin: 0 14px; }
.sbv-mm__home .sbv-mm__stats { margin: 8px 14px 12px; }
.sbv-mm__home .sbv-mm__list { border-top: 1px solid var(--s-line); }
.sbv .sbv-mm__go { width: auto; margin-left: 6px; font-size: .7rem; }
.sbv-mm__home, .sbv-mm__notifs { animation: sbv-view .3s var(--s-ease) both; }
@keyframes sbv-view { from { opacity: 0; transform: translateX(12px); } }
.sbv-mm__home.is-back { animation-name: sbv-view-back; }
@keyframes sbv-view-back { from { opacity: 0; transform: translateX(-12px); } }
.sbv-mm__notifs { display: flex; flex-direction: column; min-height: 0; margin: 0 6px 6px; overflow: hidden; border: 1px solid var(--s-line); border-radius: 14px; background: var(--s-inner); }
.sbv-mm__nhead { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 6px; border-bottom: 1px solid var(--s-line); }
.sbv-mm__nhead strong { flex: 1; font-size: .92rem; font-weight: 900; }
.sbv-mm__back { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--s-line); border-radius: 9px; background: var(--s-card); color: var(--s-muted); cursor: pointer; transition: all .2s; }
.sbv-mm__back:hover { border-color: rgba(255, 223, 0, .45); color: var(--s-yellow); transform: translateX(-2px); }
.sbv-mm__ncount { padding: 2px 8px; border-radius: 999px; background: var(--s-yellow); color: #111; font-size: .64rem; font-weight: 900; white-space: nowrap; }
.sbv-mm__nhead form { margin: 0; }
.sbv .sbv-mm__nhead .notif-markall-form button { height: 26px; padding: 0 8px; border: 1px solid rgba(255, 223, 0, .35); border-radius: 8px; background: none; color: var(--s-yellow); font-size: .66rem; font-weight: 900; white-space: nowrap; }
.sbv .sbv-mm__nhead .notif-markall-form button:hover { background: rgba(255, 223, 0, .12); }
.sbv-mm__nbody { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3a40 transparent; }
.sbv-mm__nbody::-webkit-scrollbar { width: 6px; }
.sbv-mm__nbody::-webkit-scrollbar-thumb { border-radius: 6px; background: #3a3a40; }
.sbv-mm__nbody::-webkit-scrollbar-thumb:hover { background: var(--s-yellow); }
.sbv-mm__nload, .sbv .sbv-mm__nbody .notif-dropdown-body > .text-secondary.small { display: grid; place-items: center; gap: 6px; padding: 34px 14px !important; color: var(--s-dim) !important; font-size: .8rem; text-align: center; }
.sbv-mm__nload i { color: var(--s-yellow); font-size: 1.2rem; animation: sbv-spin 1s linear infinite; }
@keyframes sbv-spin { to { transform: rotate(360deg); } }
.sbv .sbv-mm__nbody .notif-dropdown-head { display: none !important; }
.sbv .sbv-mm__nbody .notif-dropdown-body { max-height: none; overflow: visible; padding: 4px; }
.sbv .sbv-mm__nbody .notif-item { position: relative; margin: 0 0 2px; padding: 9px 10px 9px 22px !important; border: 0; border-radius: 10px; background: none; transition: background .2s; }
.sbv .sbv-mm__nbody .notif-item:hover { background: rgba(255, 223, 0, .07); }
.sbv-mm__nbody .notif-item::before { content: ""; position: absolute; top: 15px; left: 9px; width: 6px; height: 6px; border-radius: 50%; background: #3a3a40; }
.sbv .sbv-mm__nbody .notif-item.notif-unread { background: linear-gradient(90deg, rgba(255, 223, 0, .09), transparent 80%); }
.sbv-mm__nbody .notif-item.notif-unread::before { background: var(--s-yellow); box-shadow: 0 0 8px var(--s-yellow); }
.sbv .sbv-mm__nbody .notif-text { color: #dcdce0; font-size: .8rem !important; line-height: 1.35; }
.sbv .sbv-mm__nbody .notif-text strong { color: var(--s-text); }
.sbv .sbv-mm__nbody .notif-item .text-secondary { margin-top: 2px; color: var(--s-dim) !important; font-size: .68rem !important; }
.sbv .sbv-mm__nbody .notif-link { color: inherit; }
.sbv .sbv-mm__nbody .notif-icon-btn { display: grid; place-items: center; width: 30px; height: 26px; padding: 0; border-radius: 8px; font-size: .8rem; }

/* Unread dot on the player card (top-bar icons were removed) */
.sbv-me__alert { position: absolute; top: -4px; right: -4px; width: 11px; height: 11px; border: 2px solid var(--s-inner); border-radius: 50%; background: var(--s-yellow); box-shadow: 0 0 0 0 rgba(255, 223, 0, .6); animation: sbv-ping 2s infinite; }
@keyframes sbv-ping { 70% { box-shadow: 0 0 0 7px rgba(255, 223, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 223, 0, 0); } }
.sbv .sbv-mm__list em.d-none { display: none !important; }

/* Top bar keeps its height now that the inbox / notifications / profile pill is gone (search is absolutely centred) */
@media (min-width: 768px) {
  .gh-utility-navbar .gh-navbar-desktop { min-height: 56px; }
}
