@media (min-width: 960px) {
  html.cv-desktop-mode .cv-desktop-notification-bell {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--cv-web-line, rgba(244,239,230,.15));
    border-radius: 50%;
    color: rgba(244,239,230,.74);
    background: rgba(255,255,255,.035);
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
  }
  html.cv-desktop-mode .cv-desktop-notification-bell:hover {
    color: var(--cv-web-cream, #f4efe6);
    border-color: rgba(230,200,111,.48);
    background: rgba(230,200,111,.08);
    transform: translateY(-1px);
  }
  html.cv-desktop-mode .cv-desktop-notification-bell svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  html.cv-desktop-mode .cv-desktop-notification-bell > span {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #050505;
    border-radius: 999px;
    color: #12110d;
    background: var(--cv-web-gold, #e6c86f);
    font-size: 8px;
    font-weight: 1000;
    line-height: 1;
  }
  html.cv-desktop-mode .cv-desktop-notification-bell[hidden],
  html.cv-desktop-mode .cv-desktop-notification-bell > span[hidden] {
    display: none !important;
  }
  html.cv-desktop-mode .cv-desktop-notification-bell.has-unread::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(230,200,111,.32);
    border-radius: 50%;
    animation: cv-notification-ring 2.3s ease-out infinite;
    pointer-events: none;
  }
  @keyframes cv-notification-ring {
    0%, 42% { opacity: 0; transform: scale(.82); }
    55% { opacity: .72; }
    88%, 100% { opacity: 0; transform: scale(1.32); }
  }

  html.cv-desktop-mode .cv-desktop-notification-backdrop {
    position: fixed;
    z-index: 19980;
    inset: 76px 0 0;
    border: 0;
    opacity: 0;
    visibility: hidden;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(3px);
    cursor: default;
    transition: opacity .25s ease, visibility .25s ease;
  }
  html.cv-desktop-mode .cv-desktop-notification-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
  html.cv-desktop-mode .cv-desktop-notification-drawer {
    position: fixed;
    z-index: 20000;
    top: 88px;
    right: clamp(18px,3vw,48px);
    bottom: 24px;
    width: min(400px, calc(100vw - 48px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(244,239,230,.16);
    border-radius: 8px 30px 8px 8px;
    opacity: 0;
    visibility: hidden;
    color: var(--cv-web-cream, #f4efe6);
    background:
      radial-gradient(circle at 94% 0, rgba(230,200,111,.14), transparent 28%),
      #0d0d0c;
    box-shadow: 0 40px 120px rgba(0,0,0,.62);
    transform: translateX(28px) scale(.985);
    transform-origin: top right;
    transition: opacity .25s ease, visibility .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
  }
  html.cv-desktop-mode .cv-desktop-notification-drawer.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  html.cv-desktop-v2-shell .cv-desktop-notification-backdrop { inset:64px 0 0; }
  html.cv-desktop-v2-shell .cv-desktop-notification-drawer { top:76px; right:24px; bottom:20px; }
  .cv-desktop-notification-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px 25px 16px;
  }
  .cv-desktop-notification-head small {
    color: var(--cv-web-gold, #e6c86f);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: .2em;
  }
  .cv-desktop-notification-head h2 {
    margin: 6px 0 0;
    color: var(--cv-web-cream, #f4efe6);
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.045em;
  }
  .cv-desktop-notification-head button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(244,239,230,.13);
    border-radius: 50%;
    color: rgba(244,239,230,.72);
    background: rgba(255,255,255,.035);
    font-size: 20px;
    cursor: pointer;
  }
  .cv-desktop-notification-tools {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 16px 10px;
    padding: 0 10px 0 9px;
    border-top: 1px solid rgba(244,239,230,.09);
    border-bottom: 1px solid rgba(244,239,230,.09);
    color: rgba(244,239,230,.45);
    font-size: 10px;
    font-weight: 850;
  }
  .cv-desktop-notification-tools button {
    border: 0;
    color: var(--cv-web-gold-light, #f4dc96);
    background: transparent;
    font: inherit;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
  }
  .cv-desktop-notification-list {
    flex: 1;
    overflow: auto;
    padding: 0 16px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(230,200,111,.28) transparent;
  }
  .cv-desktop-notification-card {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 39px minmax(0,1fr) 7px;
    gap: 12px;
    align-items: start;
    margin: 8px 0;
    padding: 13px;
    border: 1px solid rgba(244,239,230,.09);
    border-radius: 6px 18px 6px 6px;
    color: inherit;
    background: rgba(255,255,255,.025);
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
  }
  .cv-desktop-notification-card:hover {
    border-color: rgba(230,200,111,.28);
    background: rgba(255,255,255,.045);
    transform: translateX(-2px);
  }
  .cv-desktop-notification-card.is-unread {
    border-color: rgba(230,200,111,.22);
    background: linear-gradient(120deg, rgba(230,200,111,.075), rgba(255,255,255,.022));
  }
  .cv-desktop-notification-card > i,
  .cv-desktop-notification-toast > i {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(230,200,111,.24);
    border-radius: 50%;
    color: var(--cv-web-gold-light, #f4dc96);
    background: rgba(230,200,111,.08);
    font-style: normal;
    font-size: 16px;
    font-weight: 950;
  }
  .cv-desktop-notification-card > i.kind-generation_refund,
  .cv-desktop-notification-toast.kind-generation_refund > i {
    color: #8fe2ca;
    border-color: rgba(86,210,173,.24);
    background: rgba(86,210,173,.08);
  }
  .cv-desktop-notification-card > span { min-width: 0; }
  .cv-desktop-notification-card b,
  .cv-desktop-notification-card em,
  .cv-desktop-notification-card small {
    display: block;
    font-style: normal;
  }
  .cv-desktop-notification-card b { color: #f4efe6; font-size: 12px; font-weight: 950; }
  .cv-desktop-notification-card em { margin-top: 5px; color: rgba(244,239,230,.60); font-size: 10.5px; font-weight: 650; line-height: 1.45; }
  .cv-desktop-notification-card small { margin-top: 8px; color: rgba(244,239,230,.31); font-size: 8.5px; font-weight: 800; }
  .cv-desktop-notification-card > u {
    width: 7px;
    height: 7px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--cv-web-gold, #e6c86f);
    box-shadow: 0 0 15px rgba(230,200,111,.55);
    text-decoration: none;
  }
  .cv-desktop-notification-empty {
    min-height: 280px;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 32px;
    text-align: center;
  }
  .cv-desktop-notification-empty i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(230,200,111,.22);
    border-radius: 50%;
    color: var(--cv-web-gold, #e6c86f);
    background: rgba(230,200,111,.06);
    font-style: normal;
  }
  .cv-desktop-notification-empty b { margin-top: 15px; font-size: 15px; }
  .cv-desktop-notification-empty span { max-width: 250px; margin-top: 8px; color: rgba(244,239,230,.42); font-size: 10px; line-height: 1.55; }

  .cv-desktop-notification-toasts {
    position: fixed;
    z-index: 21000;
    top: 92px;
    right: clamp(18px,3vw,48px);
    width: min(390px, calc(100vw - 48px));
    display: grid;
    gap: 10px;
    pointer-events: none;
  }
  .cv-desktop-notification-toast {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr) 20px;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid rgba(230,200,111,.24);
    border-radius: 7px 22px 7px 7px;
    opacity: 0;
    color: #f4efe6;
    background:
      radial-gradient(circle at 96% 0, rgba(230,200,111,.14), transparent 38%),
      rgba(13,13,12,.97);
    box-shadow: 0 25px 75px rgba(0,0,0,.48);
    transform: translateX(30px) scale(.98);
    pointer-events: auto;
    cursor: pointer;
    transition: opacity .28s ease, transform .34s cubic-bezier(.2,.8,.2,1);
  }
  .cv-desktop-notification-toast.show { opacity: 1; transform: none; }
  .cv-desktop-notification-toast span { min-width: 0; text-align: left; }
  .cv-desktop-notification-toast small,
  .cv-desktop-notification-toast b,
  .cv-desktop-notification-toast em { display: block; font-style: normal; }
  .cv-desktop-notification-toast small { color: #e6c86f; font-size: 7px; font-weight: 950; letter-spacing: .18em; }
  .cv-desktop-notification-toast b { margin-top: 3px; color: #f4efe6; font-size: 12px; }
  .cv-desktop-notification-toast em { margin-top: 4px; overflow: hidden; color: rgba(244,239,230,.56); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
  .cv-desktop-notification-toast > u { color: rgba(244,239,230,.36); font-size: 15px; text-decoration: none; }

}

@media (prefers-reduced-motion: reduce) {
  .cv-desktop-notification-bell.has-unread::after { animation: none !important; }
  .cv-desktop-notification-toast,
  .cv-desktop-notification-drawer,
  .cv-desktop-notification-backdrop { transition-duration: .01ms !important; }
}
