/* CR_COLLECTIVE_V175EB_PREMIUM_TOPNAV_ACCOUNT
   Scoped topnav/account/notification shell only.
   No auth grants, no fake notification data, no player/profile/Sets overrides. */

.cr-v175bd-actions {
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cr-v175eb-notifications {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.cr-v175eb-notification-trigger,
.cr-v175dh-account-trigger {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.24);
}

.cr-v175eb-notification-trigger {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 255, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 12%, rgba(168, 85, 247, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(18, 24, 50, 0.82), rgba(8, 10, 28, 0.9));
  color: #f8f7ff;
  cursor: pointer;
}

.cr-v175eb-notification-trigger:disabled {
  display: none;
}

.cr-v175eb-notification-trigger:hover,
.cr-v175eb-notification-trigger:focus-visible,
.cr-v175dh-account-trigger:hover,
.cr-v175dh-account-trigger:focus-visible {
  outline: none;
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.14),
    0 0 28px rgba(139, 92, 246, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cr-v175eb-notification-icon {
  width: 18px;
  height: 18px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 10px 10px 7px 7px;
  border-bottom-width: 3px;
  position: relative;
}

.cr-v175eb-notification-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 7px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  transform: translateX(-50%);
}

.cr-v175eb-notification-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 6px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.cr-v175eb-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #070817;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #e879f9);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.cr-v175eb-notification-menu,
.cr-v175dh-account-menu {
  border-color: rgba(160, 174, 255, 0.22) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(139, 92, 246, 0.2), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(13, 16, 36, 0.98), rgba(6, 8, 24, 0.96)) !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.cr-v175eb-notification-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(430px, calc(100vw - 24px));
  display: none;
  overflow: hidden;
  border: 1px solid rgba(160, 174, 255, 0.22);
  border-radius: 18px;
  z-index: 1010;
}

.cr-v175eb-notifications[data-open="1"] .cr-v175eb-notification-menu {
  display: grid;
}

.cr-v175eb-notification-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 8px;
}

.cr-v175eb-notification-head strong {
  color: #f8f7ff;
  font-size: 16px;
}

.cr-v175eb-notification-head button,
.cr-v175eb-notification-tabs button {
  border: 0;
  background: transparent;
  color: rgba(222, 228, 255, 0.62);
  font: inherit;
}

.cr-v175eb-notification-head button {
  font-size: 12px;
  font-weight: 800;
}

.cr-v175eb-notification-tabs {
  display: flex;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(160, 174, 255, 0.14);
}

.cr-v175eb-notification-tabs button {
  position: relative;
  min-height: 38px;
  cursor: default;
  font-size: 13px;
  font-weight: 800;
}

.cr-v175eb-notification-tabs button.is-active {
  color: #fff;
}

.cr-v175eb-notification-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
}

.cr-v175eb-notification-empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  color: rgba(224, 230, 255, 0.74);
  line-height: 1.42;
}

.cr-v175eb-notification-empty strong {
  color: #fff;
}

.cr-v175eb-empty-dot {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 58%),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.24);
}

.cr-v175eb-empty-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.56);
}

.cr-v175eb-notification-link {
  display: block;
  padding: 13px 18px 15px;
  border-top: 1px solid rgba(160, 174, 255, 0.14);
  color: #c4b5fd;
  text-align: center;
  text-decoration: none;
  font-weight: 850;
}

.cr-v175eb-account-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 10px 12px;
  border-bottom: 1px solid rgba(160, 174, 255, 0.14);
  margin-bottom: 6px;
}

.cr-v175eb-account-head strong,
.cr-v175eb-account-head small,
.cr-v175eb-account-head em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cr-v175eb-account-head strong {
  color: #fff;
  font-size: 15px;
}

.cr-v175eb-account-head small {
  color: rgba(222, 228, 255, 0.66);
  font-size: 12px;
}

.cr-v175eb-account-head em {
  width: fit-content;
  margin-top: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  border-radius: 999px;
  color: #67e8f9;
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
}

.cr-v175eb-account-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg) translateY(-2px);
}

.cr-v175dh-account-menu {
  width: min(310px, calc(100vw - 24px)) !important;
}

.cr-v175dh-account-menu a,
.cr-v175dh-account-menu button {
  min-height: 42px !important;
  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.cr-v175dh-account-menu a > span,
.cr-v175dh-account-menu button > span {
  color: rgba(222, 228, 255, 0.5);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.cr-v175dh-account-menu a > strong,
.cr-v175dh-account-menu button > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f8f7ff;
  font-size: 13px;
}

.cr-v175dh-account-menu .cr-v175eb-account-logout > strong,
.cr-v175dh-account-menu .cr-v175eb-account-logout > span {
  color: #fb7185;
}

@media (max-width: 760px) {
  .cr-v175bd-actions {
    gap: 8px;
  }

  .cr-v175eb-notification-trigger {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .cr-v175eb-notification-menu,
  .cr-v175dh-account-menu {
    position: fixed !important;
    right: 12px !important;
    left: 12px !important;
    top: 72px !important;
    width: auto !important;
    max-height: min(74vh, 620px);
    overflow: auto;
  }

  .cr-v175dh-account-menu a,
  .cr-v175dh-account-menu button {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}
