@import url("buttons.css");

:root {
  --gold: #d4af37;
  --gold-2: #f4d77a;
  --gold-3: #ffd76a;
  --gold-dark: #8f6b13;
  --text: #f5f5f5;
  --muted: #aaaaaa;

  --desktop-rail-width: 86px;
  --desktop-rail-expanded: 320px;
  --mobile-bottom-nav-height: 86px;
  --mobile-nav-bg: rgba(10, 10, 10, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.46) 0%, rgba(7, 7, 7, 0.72) 45%, rgba(7, 7, 7, 0.84) 100%),
    radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 30%),
    url("../../bg-mobile-final-1080x1920.webp");
  background-size: cover, auto, cover;
  background-position: center top, center top, center center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, scroll, fixed;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  text-align: center;
  padding: 0 18px 44px calc(var(--desktop-rail-width) + 28px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 8px;
}

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.78), rgba(0,0,0,0.42) 70%, rgba(0,0,0,0));
  backdrop-filter: blur(8px);
}

.header-bar {
  width: 100%;
  min-height: 74px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 4px;
  position: relative;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-left {
  justify-content: flex-start;
}

.currency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  width: max-content;
  min-width: 88px;
  max-width: none;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    linear-gradient(180deg, rgba(14,14,14,0.88), rgba(10,10,10,0.94));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 10px 22px rgba(0,0,0,0.22);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.currency-badge-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.currency-badge-value {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 0;
  color: #f7e6ac;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.header-center {
  justify-content: center;
  pointer-events: none;
}

.header-center > * {
  pointer-events: auto;
}

.header-right {
  justify-content: flex-end;
  position: relative;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo {
  display: block;
  width: min(288px, 45vw);
  height: auto;
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 20px rgba(212, 175, 55, 0.08));
}

.header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    linear-gradient(180deg, rgba(10,10,10,0.86), rgba(10,10,10,0.92));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 10px 22px rgba(0,0,0,0.24);
  backdrop-filter: blur(4px);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  padding: 0;
  text-decoration: none;
}

.header-icon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 14px 24px rgba(0,0,0,0.28);
}

.person-icon {
  position: relative;
  width: 22px;
  height: 22px;
}

.person-icon::before,
.person-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2.2px solid #f5f5f5;
  box-sizing: border-box;
}

.person-icon::before {
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.person-icon::after {
  bottom: -1px;
  width: 21px;
  height: 11px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom: 0;
}

.header-avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(212,175,55,0.55);
  background: #111;
  box-shadow:
    0 10px 22px rgba(0,0,0,0.24),
    0 0 0 3px rgba(212,175,55,0.08);
  cursor: pointer;
}

.header-avatar-btn img,
.header-avatar-btn .header-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.header-avatar-fallback {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3a2d0d, #a98325);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
}

.account-menu {
  display: none !important;
  position: absolute;
  top: 52px;
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.96), rgba(10,10,10,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  z-index: 90;
}

.account-menu-actions {
  display: grid;
  gap: 8px;
}

.account-menu-link,
.account-menu button {
  width: 100%;
  text-decoration: none;
  text-align: center;
}

.desktop-side-nav {
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: var(--desktop-rail-width);
  height: min(84vh, 780px);
  z-index: 120;
  display: flex;
  align-items: stretch;
  overflow: visible;
  transition: width 0.34s cubic-bezier(.22,.61,.36,1);
}

.desktop-side-nav:hover {
  width: var(--desktop-rail-expanded);
}

.desktop-side-nav-panel {
  width: 100%;
  height: 100%;
  transition: width 0.34s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  padding: 18px 0 16px;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.desktop-side-links,
.desktop-side-bottom {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: stretch;
}

.desktop-side-links {
  flex: 1;
  padding-top: 2px;
}

.desktop-side-bottom {
  margin-top: auto;
  padding-top: 24px;
}

.desktop-nav-link,
.desktop-nav-button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 18px;
  color: rgba(245,245,245,0.96);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Manrope', sans-serif;
  transition: transform 0.18s ease, opacity 0.18s ease, color 0.18s ease, background 0.18s ease;
  text-align: left;
  position: relative;
  border-radius: 18px;
}

.desktop-side-nav:hover .desktop-nav-link,
.desktop-side-nav:hover .desktop-nav-button {
  width: 100%;
}

.desktop-nav-link:hover,
.desktop-nav-button:hover {
  transform: translateX(2px);
  background:
    linear-gradient(90deg, rgba(212,175,55,0.16), rgba(212,175,55,0.05) 58%, transparent);
}

.desktop-nav-link.active,
.desktop-nav-button.active {
  color: #fff5d2;
  background: transparent;
}

.desktop-nav-link.active::after,
.desktop-nav-link.active::after,
.desktop-nav-button.active::after {
  display: none;
}

.desktop-nav-icon,
.mobile-nav-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.desktop-nav-icon {
  width: 30px;
  height: 30px;
}

.mobile-nav-icon {
  width: 24px;
  height: 24px;
}

.nav-icon-mask {
  width: 100%;
  height: 100%;
  display: block;
  background:
    #B0B0B0 !important;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: none;
  opacity: 0.98;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  pointer-events: none;
  user-select: none;
}

.desktop-nav-link:hover .nav-icon-mask,
.desktop-nav-button:hover .nav-icon-mask,
.mobile-nav-link:hover .nav-icon-mask {
  transform: scale(1.04);
  opacity: 1;
  background: #f5c84b !important;
  filter: none;
}

.desktop-nav-link.active .nav-icon-mask,
.desktop-nav-button.active .nav-icon-mask,
.mobile-nav-link.active .nav-icon-mask {
  background: #FFD76A !important;
  filter: none;
}

.desktop-nav-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1px;
  font-family: 'Manrope', sans-serif;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.26s ease,
    transform 0.34s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
  min-width: 170px;
  max-width: 200px;
  overflow: visible;
  text-overflow: clip;
  text-align: left;
}

.desktop-side-nav:hover .desktop-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.mobile-bottom-nav-wrap {
  display: none;
}

.page-wrap {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: center;
}

.page-title {
  font-size: clamp(32px, 5vw, 40px);
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.7;
}

.empty-card {
  padding: 50px 30px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    linear-gradient(180deg, rgba(24,24,24,0.88) 0%, rgba(17,17,17,0.94) 100%);
  border: 1px solid rgba(212,175,55,0.15);
  backdrop-filter: blur(6px);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.32),
    0 0 35px rgba(212,175,55,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.empty-title {
  font-size: 22px;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.empty-text {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.back-link {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,215,122,0.26);
  font-weight: 500;
}

.back-link:hover {
  opacity: 0.8;
}

.metal-btn {
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(180deg, #fbfbfb 0%, #d6d6d6 16%, #b6b6b6 35%, #8b8b8b 52%, #d2d2d2 72%, #f4f4f4 100%);
  color: #151515;
  padding: 13px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.72),
    inset 0 -2px 3px rgba(0,0,0,0.18),
    0 10px 22px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  backdrop-filter: blur(2px);
  font-family: 'Manrope', sans-serif;
}

.metal-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.metal-btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.metal-btn .icon {
  color: #6a560c;
  margin-right: 7px;
  font-size: 15px;
}

@media (max-width: 760px) {
  body {
    padding: 0 14px calc(var(--mobile-bottom-nav-height) + 18px);
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.50) 0%, rgba(7, 7, 7, 0.76) 42%, rgba(7, 7, 7, 0.86) 100%),
      radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 26%),
      url("../../bg-mobile-final-1080x1920.webp");
    background-size: cover, auto, 100% auto;
    background-position: center top, center top, center top;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-attachment: scroll, scroll, scroll;
  }

  .desktop-side-nav {
    display: none;
  }

  .mobile-bottom-nav-wrap {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--mobile-bottom-nav-height);
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(212,175,55,0.08);
    box-shadow: 0 -8px 28px rgba(0,0,0,0.28);
    z-index: 130;
  }

  .mobile-bottom-nav {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2px;
    padding: 8px 8px 10px;
  }

  .mobile-nav-link {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    color: #f4f4f4;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    font-family: 'Manrope', sans-serif;
    padding: 6px 2px;
    background: transparent;
  }

  .mobile-nav-link.hidden {
    display: none !important;
  }

  .mobile-nav-link.active {
    color: #fff5d2;
  }

  .mobile-nav-label {
    line-height: 1;
  }

  .header-bar {
    grid-template-columns: 90px 1fr 42px;
    min-height: 68px;
    padding: 6px 8px 2px 6px;
  }

  .header-left {
    justify-content: flex-start;
    margin-left: -2px;
  }


  .currency-badge {
    min-height: 40px;
    width: max-content;
    min-width: 80px;
    max-width: none;
    padding: 0 12px 0 10px;
    gap: 8px;
    flex: 0 0 auto;
    flex-shrink: 0;
  }

  .currency-badge-icon {
    width: 24px;
    height: 24px;
  }

  .currency-badge-value {
    font-size: 14px;
    white-space: nowrap;
  }

  .header-logo {
    width: min(200px, 40vw);
  }

  .header-icon-btn,
  .header-avatar-btn {
    width: 38px;
    height: 38px;
  }

  .account-menu {
  display: none !important;
    top: 48px;
    right: 0;
  }

  .page-wrap {
    margin-top: 48px;
  }

  .empty-card {
    padding: 36px 20px;
  }
}


/* v8 header + mobile account menu refinements */
.account-menu:not(.hidden) {
  display: block !important;
}

.header-logo {
  width: min(216px, 33.75vw);
}

@media (max-width: 768px) {
  .header-wrap .site-shell > header,
  .header-wrap .site-header,
  .header-wrap header {
    grid-template-columns: 72px 1fr 72px;
    gap: 8px;
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-center {
    justify-content: center;
  }

  .header-right {
    justify-content: flex-end;
  }

  .header-logo-link {
    width: 100%;
    justify-content: center;
  }

  .header-logo {
    width: min(150px, 46vw);
    margin: 0 auto;
  }

  .account-menu {
    top: 50px;
    right: 0;
    min-width: 180px;
    padding: 8px;
  }

  .account-menu-actions {
    gap: 6px;
  }

  .account-menu .metal-btn,
  .account-menu .account-menu-link {
    min-height: 42px;
    border-radius: 14px;
    font-size: 14px;
  }
}


/* v10 unified mobile header + upward account menu */
@media (max-width: 768px) {
  .header-wrap .site-shell > header,
  .header-wrap .site-header,
  .header-wrap header {
    grid-template-columns: 72px 1fr 72px;
    gap: 8px;
  }

  .header-left {
    justify-content: flex-start;
  }

  .header-center {
    justify-content: center;
  }

  .header-right {
    justify-content: flex-end;
  }

  .header-logo-link {
    width: 100%;
    justify-content: center;
    transform: none;
  }

  .header-logo {
    width: min(150px, 46vw);
    margin: 0 auto;
  }

  .account-menu {
    top: auto;
    bottom: 50px;
    right: 0;
    min-width: 180px;
    padding: 8px;
  }

  .account-menu-actions {
    gap: 6px;
  }

  .account-menu .metal-btn,
  .account-menu .account-menu-link {
    min-height: 42px;
    border-radius: 14px;
    font-size: 14px;
  }
}


/* v11 mobile account menu visibility fix */
@media (max-width: 768px) {
  .header-right {
    overflow: visible;
  }

  .account-menu {
    top: 50px;
    bottom: auto;
    right: 0;
    left: auto;
    min-width: 176px;
    max-width: min(220px, calc(100vw - 20px));
    transform: none;
  }
}


/* v13 remove notifications shortcut from avatar popup */
#accountNotificationsLink {
  display: none !important;
}


/* v22 mobile background force */
@media (max-width: 768px) {
  body {
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.46) 0%, rgba(7, 7, 7, 0.72) 45%, rgba(7, 7, 7, 0.84) 100%),
      radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 30%),
      url("../../bg-mobile-final-1080x1920.webp") !important;
    background-size: cover, auto, 100% auto !important;
    background-position: center top, center top, center top !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-attachment: scroll, scroll, scroll !important;
  }
}


@media (max-width: 768px) {
  body {
    background-size: cover, auto, 100% auto !important;
    background-position: center top, center top, center top !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-attachment: scroll, scroll, scroll !important;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 768px) {
    body {
      background-size: cover, auto, cover !important;
      background-position: center top, center top, center top !important;
      background-attachment: scroll, scroll, scroll !important;
    }
  }
}


.notifications-list {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.notification-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  text-align: left;
  padding: 22px 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    linear-gradient(180deg, rgba(24,24,24,0.88) 0%, rgba(17,17,17,0.94) 100%);
  border: 1px solid rgba(212,175,55,0.15);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.24),
    0 0 35px rgba(212,175,55,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.notification-card.unread {
  border-color: rgba(244,215,122,0.42);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.28),
    0 0 35px rgba(212,175,55,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.notification-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(244,215,122,0.08);
  border: 1px solid rgba(244,215,122,0.15);
}

.notification-content {
  min-width: 0;
}

.notification-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.notification-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
}

.notification-time {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.notification-body {
  margin: 0;
  color: rgba(245,245,245,0.92);
  line-height: 1.7;
}

.notification-reward {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.24);
  color: #f7e6ac;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .notification-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
    border-radius: 20px;
  }

  .notification-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 22px;
  }

  .notification-topline {
    flex-direction: column;
    gap: 4px;
  }

  .notification-title {
    font-size: 18px;
  }

  .notification-time {
    white-space: normal;
  }
}


.notifications-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.notification-card {
  --swipe-x: 0px;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  text-align: left;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(18,18,18,0.95), rgba(10,10,10,0.92));
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  transform: translateX(var(--swipe-x));
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.notification-card.unread {
  border-color: rgba(212,175,55,0.4);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28), 0 0 0 1px rgba(212,175,55,0.16) inset;
}

.notification-card.is-deleting {
  opacity: 0.45;
  pointer-events: none;
}

.notification-card.is-swiping {
  transition: none;
}

.notification-card.swipe-delete-ready {
  box-shadow: 0 18px 42px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,90,90,0.22) inset;
}

.notification-swipe-hint {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 110px;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(140,14,14,0.96), rgba(93,6,6,0.96));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.notification-card .notification-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.18);
}

.notification-content {
  min-width: 0;
}

.notification-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.notification-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.notification-time {
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  white-space: nowrap;
}

.notification-body {
  margin: 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
}

.notification-reward {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.22);
  color: #f4d77a;
  font-weight: 700;
}

.notification-delete-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, transform 0.16s ease;
}

.notification-delete-btn:hover {
  background: rgba(255,255,255,0.16);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .notification-card {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 18px 18px;
  }

  .notification-swipe-hint {
    display: flex;
  }

  .notification-delete-btn {
    display: none;
  }

  .notification-topline {
    flex-direction: column;
    gap: 6px;
  }

  .notification-time {
    white-space: normal;
  }
}


.notification-avatar-link {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 10px 24px rgba(0,0,0,0.18);
  flex: 0 0 54px;
}

.notification-avatar,
.notification-avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar-fallback {
  background: linear-gradient(180deg, rgba(212,175,55,0.28), rgba(212,175,55,0.12));
  color: #f9e7a3;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.notification-user-link,
.notification-track-name {
  color: #f4d77a;
  font-weight: 700;
}

.notification-user-link {
  text-decoration: none;
  border-bottom: 1px solid rgba(244,215,122,0.4);
}

.notification-user-link:hover {
  color: #fff0b8;
  border-bottom-color: rgba(255,240,184,0.7);
}

/* PREMIUM UI V3 - shared visual polish */
:root{--premium-bg:#050507;--premium-surface:rgba(18,18,22,.74);--premium-border:rgba(255,255,255,.105);--premium-gold:#f5c84b;--premium-muted:rgba(255,255,255,.68)}
body{background:radial-gradient(circle at 50% -10%,rgba(245,200,75,.12),transparent 34%),radial-gradient(circle at 88% 20%,rgba(146,74,255,.09),transparent 28%),#050507!important;color:#fff!important}
.logo-slogan,.site-slogan,.slogan,[class*="slogan"]{color:#fff!important;text-shadow:0 0 18px rgba(255,255,255,.16)!important}
.auth-card,.auth-panel-wrap,.hero-card,.panel-card,.dashboard-card,.metrics-card,.priority-card,.store-hero-card,.store-balance-card,.store-card,.empty-card,.state-card,.check-card,.playlist-card,main section:not(.desktop-side-nav-panel){background:rgba(18,18,22,.74)!important;border-color:rgba(255,255,255,.105)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 70px rgba(0,0,0,.50),0 0 42px rgba(245,200,75,.08)!important;backdrop-filter:blur(20px) saturate(1.18)!important;-webkit-backdrop-filter:blur(20px) saturate(1.18)!important}
.auth-card:hover,.hero-card:hover,.panel-card:hover,.dashboard-card:hover,.store-card:hover,.playlist-card:hover{border-color:rgba(245,200,75,.38)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 28px 78px rgba(0,0,0,.54),0 0 48px rgba(245,200,75,.15)!important}

/* ============================================================
   Notifications visual reset — lighter index/artist-style glass
   Scope: notifications page cards only. No layout/spacing changes.
   ============================================================ */
:root {
  --notifications-glass-border: rgba(255, 255, 255, .18);
  --notifications-glass-border-hover: rgba(245, 200, 75, .44);
  --notifications-glass-bg: rgba(255, 255, 255, .072);
  --notifications-glass-shadow: rgba(0, 0, 0, .26);
}

/* Empty notification state + real notification cards */
.page-wrap .empty-card,
.page-wrap .notification-card {
  border: 1px solid var(--notifications-glass-border) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(255,255,255,.035),
    0 18px 42px var(--notifications-glass-shadow),
    0 0 34px rgba(255,255,255,.035) !important;
  backdrop-filter: blur(22px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.18) !important;
}

/* Unread state keeps only a subtle accent, not a heavy gold container */
.page-wrap .notification-card.unread {
  border-color: rgba(245, 200, 75, .34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(255,255,255,.035),
    0 18px 42px rgba(0,0,0,.28),
    0 0 26px rgba(245,200,75,.08) !important;
}

/* Icon/avatar/reward chips: neutral glass base with restrained gold accent */
.page-wrap .notification-card .notification-icon,
.page-wrap .notification-avatar-link,
.page-wrap .notification-reward {
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 10px 24px rgba(0,0,0,.20) !important;
  backdrop-filter: blur(14px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.12) !important;
}

.page-wrap .notification-reward {
  color: rgba(255, 236, 173, .94) !important;
}

/* Delete button: same neutral glass-button language */
.page-wrap .notification-delete-btn {
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(255,255,255,.9) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 10px 22px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(14px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.12) !important;
}

.page-wrap .notification-delete-btn:hover {
  border-color: var(--notifications-glass-border-hover) !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.24), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(245,200,75,.075)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 14px 30px rgba(0,0,0,.30),
    0 0 22px rgba(245,200,75,.14) !important;
}

/* Back link in empty state follows the same neutral glass button system */
.page-wrap .back-link {
  border: 1px solid rgba(255,255,255,.16) !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)) !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -14px 28px rgba(0,0,0,.18),
    0 14px 30px rgba(0,0,0,.28),
    0 0 0 rgba(245,200,75,0) !important;
  backdrop-filter: blur(16px) saturate(1.16) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.16) !important;
}

.page-wrap .back-link:hover,
.page-wrap .back-link:focus-visible {
  border-color: var(--notifications-glass-border-hover) !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.24), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(245,200,75,.075)) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    0 18px 38px rgba(0,0,0,.34),
    0 0 28px rgba(245,200,75,.16) !important;
}


/* ============================================================
   Notifications — exact artist page container glass match
   Source style matched to artist.css .tune-card.
   Scope: notifications page only. No HTML/layout/global changes.
   ============================================================ */
.page-wrap .notification-card {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-top: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 20px !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 32px rgba(0,0,0,0.28) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}

.page-wrap .notification-card.unread {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-top: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 32px rgba(0,0,0,0.28) !important;
}

.page-wrap .notification-card.swipe-delete-ready {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 32px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,90,90,0.18) inset !important;
}

.page-wrap .notification-card .notification-icon,
.page-wrap .notification-avatar-link,
.page-wrap .notification-reward {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-top: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 24px rgba(0,0,0,0.22) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}

.page-wrap .notification-reward {
  color: rgba(255,255,255,0.88) !important;
}

.page-wrap .notification-delete-btn {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-top: 1px solid rgba(255,255,255,0.22) !important;
  color: rgba(255,255,255,0.88) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 24px rgba(0,0,0,0.22) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}

.page-wrap .notification-delete-btn:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(212,175,55,0.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 8px 24px rgba(0,0,0,0.22),
    0 0 16px rgba(212,175,55,0.15) !important;
}

/* ============================================================
   Notifications filled-state fix — remove dark wrapper rectangle
   Scope: notifications page only. Keeps layout/HTML unchanged.
   ============================================================ */
.page-wrap #notificationsList,
.page-wrap .notifications-list {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Filled notification uses the same visual surface as the empty state. */
.page-wrap #notificationsList .notification-card,
.page-wrap .notifications-list .notification-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
    linear-gradient(180deg, rgba(24,24,24,0.88) 0%, rgba(17,17,17,0.94) 100%) !important;
  border: 1px solid rgba(212,175,55,0.15) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.32),
    0 0 35px rgba(212,175,55,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

.page-wrap #notificationsList .notification-card.unread,
.page-wrap .notifications-list .notification-card.unread {
  border-color: rgba(212,175,55,0.15) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.32),
    0 0 35px rgba(212,175,55,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

/* ============================================================
   Notifications filled card — glass surface after rectangle fix
   Scope: filled notification cards only. No layout/HTML/global changes.
   ============================================================ */
.page-wrap #notificationsList .notification-card,
.page-wrap .notifications-list .notification-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035)) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-top-color: rgba(255,255,255,0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(255,255,255,0.035),
    0 18px 42px rgba(0,0,0,0.26) !important;
  backdrop-filter: blur(22px) saturate(1.18) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.18) !important;
}

.page-wrap #notificationsList .notification-card.unread,
.page-wrap .notifications-list .notification-card.unread {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035)) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-top-color: rgba(255,255,255,0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(255,255,255,0.035),
    0 18px 42px rgba(0,0,0,0.26) !important;
}

.page-wrap #notificationsList .notification-card .notification-icon,
.page-wrap .notifications-list .notification-card .notification-icon,
.page-wrap #notificationsList .notification-avatar-link,
.page-wrap .notifications-list .notification-avatar-link,
.page-wrap #notificationsList .notification-reward,
.page-wrap .notifications-list .notification-reward {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.045)) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-top-color: rgba(255,255,255,0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 8px 22px rgba(0,0,0,0.18) !important;
  backdrop-filter: blur(18px) saturate(1.16) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.16) !important;
}

.page-wrap #notificationsList .notification-reward,
.page-wrap .notifications-list .notification-reward {
  color: rgba(255,255,255,0.92) !important;
}

/* Sidebar icon progress-bar visual match start */
/* Matches the main progress bar treatment without changing button backgrounds. */
.nav-icon-mask {
  position: relative !important;
  overflow: visible !important;
  background:
    #B0B0B0 !important;
  filter: none;
  opacity: 1 !important;
}

.nav-icon-mask::before {
  content: "";
  position: absolute;
  inset: -1px;
  display: block;
  background:
    #B0B0B0 !important;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: blur(6px);
  opacity: 0.34;
  pointer-events: none;
  z-index: -1;
}

.desktop-nav-link:hover .nav-icon-mask,
.desktop-nav-button:hover .nav-icon-mask,
.mobile-nav-link:hover .nav-icon-mask,
.desktop-nav-link.active .nav-icon-mask,
.desktop-nav-button.active .nav-icon-mask,
.mobile-nav-link.active .nav-icon-mask {
  background: #FFD76A !important;
  filter: none;
}
/* Sidebar icon progress-bar visual match end */
