/**
 * Animestream Brand New Header Styles
 * Ultra-Performance, Mobile-First, LiteSpeed-Safe
 */

:root {
  --accent: #a453f5;
  --accent-glow: rgba(164, 83, 245, 0.45);
  --header-bg: #151121;
  --surface-bg: #1a1529;
  --surface-card: #231c36;
  --surface-card-hover: #2f2549;
  --border-color: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-muted: #b5a9cc;
  --badge-red: #ff3b30;
  --vip-gold: #ffbe1a;
  --vip-gold-glow: rgba(255, 190, 26, 0.5);
  --free-silver: #a0aec0;
}

/* ========================================================
   SCOPED RESETS & BODY SAFEGUARDS
   ======================================================== */
.site-header,
.site-header *,
.mobile-drawer,
.mobile-drawer *,
.bottom-app-bar,
.bottom-app-bar *,
.drawer-backdrop {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Safe Area Inset & Mobile App Bar Clearance */
@media (max-width: 991px) {
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom)) !important;
  }
}

/* Visibility Helpers scoped to Header elements */
.site-header .desktop-only,
.bottom-app-bar .desktop-only { display: flex !important; }
.site-header .mobile-only,
.bottom-app-bar .mobile-only { display: none !important; }

@media (max-width: 991px) {
  .site-header .desktop-only,
  .bottom-app-bar .desktop-only { display: none !important; }
  .site-header .mobile-only { display: flex !important; }
  .bottom-app-bar.mobile-only { display: flex !important; }
}

/* ========================================================
   TOP HEADER (PC & MOBILE CLEAN)
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 64px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  z-index: 998;
}

@media (min-width: 992px) {
  .site-header { height: 72px; }
}

.header-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Brand Unit */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--accent), 0 0 14px var(--accent-glow);
  flex-shrink: 0;
}
.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}
.brand-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
}

/* Desktop Nav Menu */
.desktop-nav {
  display: none;
}
@media (min-width: 992px) {
  .desktop-nav {
    display: block;
    margin-left: 20px;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.nav-links li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  transition: all 0.2s ease;
  line-height: 1;
}
.nav-links li a:hover,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

/* Dropdown Support for WordPress Sub-menus and Grouped Menus */
.has-dropdown {
  position: relative;
}
.has-dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.has-dropdown .arrow-icon {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.has-dropdown:hover .dropdown-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}
.has-dropdown:hover .arrow-icon {
  transform: rotate(180deg);
}
.has-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
}
.has-dropdown .dropdown-item i {
  color: var(--accent);
  width: 16px;
  text-align: center;
}
.has-dropdown .dropdown-item:hover {
  background: var(--surface-card);
  color: #fff;
}

/* Desktop Search */
.desktop-search .search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0 14px;
  height: 44px;
  width: 240px;
  transition: width 0.25s ease, border-color 0.25s ease;
  margin: 0;
}
.desktop-search .search-form:focus-within {
  width: 280px;
  border-color: var(--accent);
}
.search-icon {
  color: var(--text-muted);
  font-size: 15px;
  flex-shrink: 0;
}
.desktop-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  width: 100%;
  padding: 0;
  margin: 0;
}
.desktop-search input::placeholder {
  color: var(--text-muted);
}
.search-kbd {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ========================================================
   VIP & FREE BADGE SYSTEM & LITESPEED VISIBILITY RULES
   ======================================================== */
.user-avatar-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.base-avatar-icon {
  font-size: 26px;
  color: var(--accent);
}

.vip-crown-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ffd700, #ff9100);
  color: #000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  box-shadow: 0 0 8px var(--vip-gold-glow);
  border: 1px solid #fff;
}

.free-shield-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #718096, #4a5568);
  color: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Visibility Rules for LSCache Hydration */
body.is-vip .vip-crown-icon { display: flex !important; }
body.is-vip .vip-only { display: flex !important; }
body.is-vip .free-only, body.is-vip .guest-only { display: none !important; }
body.is-vip .tag-status.vip-only { display: block !important; color: var(--vip-gold); font-weight: 800; font-size: 10px; }

body.is-free .free-shield-icon { display: flex !important; }
body.is-free .free-only { display: flex !important; }
body.is-free .vip-only, body.is-free .guest-only { display: none !important; }
body.is-free .tag-status.free-only { display: block !important; color: var(--text-muted); font-size: 10px; font-weight: 700; }

body.is-guest .guest-actions { display: flex !important; }
body.is-guest .member-only { display: none !important; }
body.is-guest .guest-only { display: flex !important; }
body.is-guest .vip-only, body.is-guest .free-only { display: none !important; }

body.is-vip .guest-actions, body.is-free .guest-actions { display: none !important; }

/* Desktop Auth Buttons */
.guest-actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.btn-auth-login, .btn-auth-join {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.btn-auth-login {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid var(--border-color);
}
.btn-auth-login:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.btn-auth-join {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px var(--accent-glow);
}
.btn-auth-join:hover {
  opacity: 0.9;
  color: #fff;
}

/* Desktop User Popover */
.user-popover-wrapper {
  position: relative;
  display: flex;
}
.user-pill-btn {
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  outline: none;
}
.user-pill-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.user-display-name {
  font-size: 13px;
  font-weight: 700;
}
.arrow-down {
  font-size: 10px;
  color: var(--text-muted);
}

.user-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.85);
  padding: 12px;
  display: none;
  flex-direction: column;
  z-index: 1000;
}
.user-popover-wrapper.active .user-dropdown-panel {
  display: flex;
}
.user-summary {
  padding: 4px 4px 10px 4px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 6px;
}
.tier-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tier-pill.vip-only {
  background: rgba(255, 190, 26, 0.15);
  color: var(--vip-gold);
  border: 1px solid rgba(255, 190, 26, 0.3);
}
.tier-pill.free-only {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.drop-item:hover {
  background: var(--surface-card);
  color: #fff;
}
.drop-item i {
  width: 16px;
  text-align: center;
}
.drop-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}
.btn-upgrade-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffd700, #ff9100);
  color: #000 !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  margin: 4px 0;
  box-shadow: 0 2px 10px var(--vip-gold-glow);
}
.drop-item.text-danger:hover {
  color: var(--badge-red);
}

/* Mobile Top Bar Quick Action */
.mobile-header-auth {
  display: flex;
  align-items: center;
}
.m-login-chip {
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px var(--accent-glow);
}
.m-avatar-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
}

/* Mobile In-Header Expandable Search Overlay */
.mobile-search-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--header-bg);
  padding: 0 14px;
  align-items: center;
  z-index: 999;
}
.mobile-search-overlay.active {
  display: flex;
}
.mobile-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0 12px;
  height: 46px;
  margin: 0;
}
.mobile-search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  flex: 1;
  padding: 0;
  margin: 0;
}
.mobile-search-form input::placeholder {
  color: var(--text-muted);
}
.close-search-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================================
   MOBILE SLIDE-OVER DRAWER (FULL HEIGHT & ISOLATED)
   ======================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 360px;
  height: 100%;
  background: var(--surface-bg);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom)) 16px;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
  gap: 12px;
}

.m-profile-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.m-avatar-ring {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.m-avatar-ring.vip-aura {
  border-color: var(--vip-gold);
  box-shadow: 0 0 12px var(--vip-gold-glow);
  color: var(--vip-gold);
}
.m-avatar-ring.free-aura {
  color: var(--accent);
}
.m-avatar-ring.guest-aura {
  color: var(--text-muted);
}
.m-crown-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #ffd700, #ff9100);
  color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 1px solid #fff;
}
.m-shield-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #718096, #4a5568);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 1px solid rgba(255,255,255,0.4);
}

.m-profile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-profile-text strong {
  font-size: 16px;
  color: var(--text-primary);
}
.m-guest-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.badge-vip-pill {
  background: rgba(255, 190, 26, 0.15);
  color: var(--vip-gold);
  border: 1px solid rgba(255, 190, 26, 0.4);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}
.badge-free-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--free-silver);
  border: 1px solid var(--border-color);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.btn-drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-drawer-close:hover,
.btn-drawer-close:active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}
.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.btn-drawer-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.btn-drawer-action.primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-drawer-action.outline {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  color: #fff !important;
}

/* Mobile Drawer Admin Navigation in Grid Boxes */
.m-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.m-tile {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  min-height: 62px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  text-decoration: none;
  color: var(--text-primary) !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s ease;
}
.m-tile:hover, .m-tile:active {
  background: var(--surface-card-hover);
  border-color: var(--accent);
}
.m-tile i {
  font-size: 18px;
  color: var(--accent);
}

/* Fallback list if needed */
.m-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.m-nav-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}
.m-nav-menu li a:hover,
.m-nav-menu li.current-menu-item > a,
.m-nav-menu li.current_page_item > a {
  background: var(--surface-card-hover);
  border-color: var(--accent);
  color: #fff !important;
}
.m-nav-menu li.menu-item-has-children .sub-menu {
  list-style: none;
  margin: 6px 0 6px 12px;
  padding: 0 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--accent);
}
.m-nav-menu .sub-menu li a {
  padding: 8px 12px;
  font-size: 13px;
  background: transparent;
  border: none;
  color: var(--text-muted) !important;
}
.m-nav-menu .sub-menu li a:hover,
.m-nav-menu .sub-menu li.current-menu-item > a {
  color: #fff !important;
  background: var(--surface-card);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 14px;
  flex-shrink: 0;
}
.btn-drawer-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.35);
  color: #ff3b30 !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-drawer-logout:hover {
  background: rgba(255, 59, 48, 0.25);
}

/* ========================================================
   BOTTOM THUMB APP-BAR (NO BUTTON DUPLICATION)
   ======================================================== */
.bottom-app-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--header-bg);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 997;
}
.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  margin: 0;
  transition: color 0.15s ease;
}
.bar-item i {
  font-size: 19px;
}
.bar-item.active, .bar-item:active, .bar-item:hover {
  color: var(--accent);
}
.fab-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--accent-glow);
  margin-top: -14px;
  transition: transform 0.2s ease;
}
.fab-circle i {
  font-size: 18px;
  color: #fff;
}
.bar-item:active .fab-circle {
  transform: scale(0.92);
}

/* ===== Notice bell (header) ===== */
.as-notice-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 38px; height: 38px; margin-right: 8px; border-radius: 50%; color: var(--text-primary, #fff); background: rgba(255, 255, 255, 0.06); text-decoration: none; transition: background .2s; }
.as-notice-bell:hover { background: rgba(255, 255, 255, 0.14); color: var(--text-primary, #fff); }
.as-notice-bell i { font-size: 16px; }
.as-notice-dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: #ff4757; box-shadow: 0 0 0 2px var(--header-bg, #151121); }
.as-notice-dot[hidden] { display: none; }
