.bell-wrap { position: relative; display: inline-flex; }
.sh-bell { cursor: pointer; }
.bell-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; display: flex; flex-direction: column; width: 460px; max-height: 560px; overflow: hidden; padding: 0; border: 1px solid rgba(224,185,78,0.22); border-radius: 16px; background: #11192f; color: #f8f4ea; box-shadow: 0 24px 60px rgba(0,0,0,.6); font-family: 'HelveticaNowDisplay', Arial, sans-serif; text-align: left; }
.bell-panel[hidden] { display: none; }
.bell-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.bell-list::-webkit-scrollbar { width: 7px; }
.bell-list::-webkit-scrollbar-track { background: transparent; }
.bell-list::-webkit-scrollbar-thumb { border: 0; border-radius: 4px; background: rgba(224,185,78,.55); }
.bell-empty { padding: 20px 10px 24px; color: #c7cfe3; font-size: .85rem; text-align: center; }
@media (max-width: 620px) {
  .bell-panel { position: fixed; top: 66px; left: 12px; right: 12px; width: auto; max-height: 70vh; }
}
.bell-tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.bell-tag.off { background: rgba(251,113,133,.14); color: #fb7185; }
.bell-tag.info { background: rgba(96,165,250,.14); color: #60a5fa; }
.bell-tag.news { background: rgba(224,185,78,.14); color: #f1dc9b; }
.bell-tag.maintenance { background: rgba(251,191,36,.14); color: #f2dc96; }
.bell-tag.event { background: rgba(132,164,252,.15); color: #b4c8fe; }
.bell-tag.back { background: rgba(74,222,128,.13); color: #4ade80; }
.bell-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px 10px; background: #11192f; }
.bell-head h2 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.bell-head button { padding: 0; border: 0; background: none; color: #f1dc9b; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.bell-head button[hidden] { display: none; }
.bell-tabs { flex: none; display: flex; gap: 6px; padding: 0 18px 12px; overflow-x: auto; border-bottom: 1px solid rgba(224,185,78,0.13); background: #11192f; scrollbar-width: none; }
.bell-tabs::-webkit-scrollbar { display: none; }
.bell-tabs button { flex: none; padding: 6px 12px; border: 1px solid rgba(224,185,78,0.19); border-radius: 99px; background: none; color: #cfd6e8; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.bell-tabs button[aria-pressed="true"] { border-color: #e0b94e; background: rgba(224,185,78,.16); color: #f8f4ea; }
.bell-tabs em { color: #f1dc9b; font-style: normal; }
.bell-tabs em:not(:empty) { margin-left: 5px; }
.bell-list h3 { margin: 0; padding: 12px 18px 6px; color: #c7cfe3; font-size: .73rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.bell-item { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px 30px 12px 18px; border-bottom: 1px solid rgba(224,185,78,0.1); color: #f8f4ea; font-size: .89rem; line-height: 1.35; text-decoration: none; }
a.bell-item:hover { background: rgba(255,255,255,.05); color: #f8f4ea; }
.bell-item.unread { background: rgba(224,185,78,.13); box-shadow: inset 4px 0 0 #e0b94e; }
.bell-item:not(.unread) .bell-title { color: #c7cfe3; font-weight: 400; }
.bell-item:not(.unread) img, .bell-item:not(.unread) .bell-icon { opacity: .5; }
.bell-body time b { margin-left: 8px; color: #e6c25c; font-weight: 800; }
.bell-item.unread::after { content: ""; position: absolute; top: 17px; right: 13px; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg,#fff3c4 0%,#f7cf5a 24%,#d99a1e 52%,#f5c94a 76%,#fff0b8 100%); }
.bell-item img { display: block; width: 44px; height: 58px; border-radius: 8px; object-fit: cover; object-position: top; background: #222; }
.bell-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(132,164,252,.15); color: #b4c8fe; }
.bell-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bell-icon.chapters { background: rgba(96,165,250,.14); color: #93c5fd; }
.bell-icon.achievements { background: rgba(251,191,36,.14); color: #f2dc96; }
.bell-icon.reports { background: rgba(251,113,133,.14); color: #fb7185; }
.bell-body { min-width: 0; }
.bell-title { display: block; font-weight: 700; }
.bell-body .bell-tag { margin-bottom: 3px; }
.bell-body em { display: block; margin-top: 2px; color: #afb5c4; font-size: .8rem; font-style: normal; }
.bell-body time { display: block; margin-top: 3px; color: #9aa6c4; font-size: .73rem; }
