/* ==========================================================================
   UG IN THE BOX · Resident Evil 4 Tactical Cart Drawer & Fly Engine
   Aesthetic: Apple Restraint + RE4 Item Chest Inventory + Obsidian Matte (Zero Neon)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header Cart Capsule & Interactive Badge
   -------------------------------------------------------------------------- */
.ah-cart-capsule {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: var(--ah-header-control, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--ah-header-edge, rgba(229, 227, 218, 0.12));
  color: var(--ah-header-pearl, #e5e3da);
  cursor: pointer;
  padding: 0;
  margin: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  box-sizing: border-box;
}

.ah-cart-capsule:hover {
  background: var(--ah-header-control-hover, rgba(255, 255, 255, 0.10));
  border-color: var(--ah-header-edge-strong, rgba(229, 227, 218, 0.22));
  color: var(--ah-header-pearl, #e5e3da);
  transform: scale(1.05);
}

.ah-cart-capsule:active {
  transform: scale(0.92);
}

.ah-cart-icon {
  display: block;
  pointer-events: none;
}

/* Tactical Amber RE4 Inventory Badge */
.ah-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 980px;
  background: #d4a373; /* Authentic RE muted amber */
  color: #0b0c0e;
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 0 1.5px #0d0e12;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Apple Spring Pulse when item enters cart */
.ah-cart-capsule.is-spring-bounce {
  animation: ahCartBounce 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-cart-icon.is-spring-bounce {
  animation: ahCartIconBounce 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ahCartIconBounce {
  0% { transform: scale(1); }
  42% { transform: scale(1.28); color: #d4a373; }
  74% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

@keyframes ahCartBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); color: #d4a373; border-color: rgba(212, 163, 115, 0.6); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.ah-cart-badge.is-badge-pulse {
  animation: ahBadgePulse 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ahBadgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); background: #f2f0e8; }
  100% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   2. RE4 Item Chest Slide-Over Drawer & Backdrop
   -------------------------------------------------------------------------- */
.tp-cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.tp-cart-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tp-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background:
    /* Top-Left Bolt Rivet */
    radial-gradient(circle 2px at 14px 14px, #e5e3da 0%, #4a4b52 70%, transparent 100%),
    /* Top-Right Bolt Rivet */
    radial-gradient(circle 2px at calc(100% - 14px) 14px, #e5e3da 0%, #4a4b52 70%, transparent 100%),
    /* Bottom-Left Bolt Rivet */
    radial-gradient(circle 2px at 14px calc(100% - 14px), #e5e3da 0%, #4a4b52 70%, transparent 100%),
    /* Bottom-Right Bolt Rivet */
    radial-gradient(circle 2px at calc(100% - 14px) calc(100% - 14px), #e5e3da 0%, #4a4b52 70%, transparent 100%),
    /* Item Chest Obsidian Gradient */
    linear-gradient(180deg, #13141a 0%, #0a0b0e 100%);
  border-left: 1px solid rgba(229, 227, 218, 0.16);
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.85), inset 1px 0 0 rgba(255, 255, 255, 0.04);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  overflow: hidden;
}

.tp-cart-drawer[hidden] { display: none; }

.tp-cart-drawer.is-open {
  transform: translateX(0);
}

/* Corner Reticle Ticks (Tactical RE4 Chest) */
.tp-cart-drawer::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid rgba(229, 227, 218, 0.28);
  border-left: 1.5px solid rgba(229, 227, 218, 0.28);
  pointer-events: none;
  z-index: 3;
}

.tp-cart-drawer::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-bottom: 1.5px solid rgba(229, 227, 218, 0.28);
  border-left: 1.5px solid rgba(229, 227, 218, 0.28);
  pointer-events: none;
  z-index: 3;
}

/* Drawer Header */
.tp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(229, 227, 218, 0.10);
  background: rgba(19, 20, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
}

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

.tp-drawer-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tp-drawer-eyebrow {
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: #d4a373;
  font-weight: 700;
}

.tp-drawer-title {
  margin: 0;
  font-family: var(--ah-display, "Anuphan", sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.tp-drawer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 227, 218, 0.12);
  color: #8e8d85;
  cursor: pointer;
  padding: 0;
  transition: all 0.18s ease;
}

.tp-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: scale(1.06);
}

.tp-drawer-close-btn:active {
  transform: scale(0.92);
}

/* Drawer Scrollable Body */
.tp-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  scrollbar-gutter: stable;
}

.tp-drawer-status {
  min-height: 0;
  margin: 0;
  color: #a8a79f;
  font-size: 12px;
  line-height: 1.45;
}

.tp-drawer-status:empty {
  display: none;
}

.tp-drawer-status.is-error,
.tp-drawer-item-feedback {
  color: #e6a29a;
}

/* Empty State inside Drawer */
.tp-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 20px;
  color: #8e8d85;
}

.tp-drawer-empty-glyph {
  font-size: 36px;
  opacity: 0.4;
  margin-bottom: 12px;
  font-family: var(--ah-mono, monospace);
}

.tp-drawer-empty-text {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: #e5e3da;
}

.tp-drawer-empty-hint {
  font-size: 12.5px;
  color: #71717a;
  line-height: 1.5;
  max-width: 240px;
}

/* Drawer Item Card (RE4 Mini Item Chest Cell) */
.tp-drawer-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 227, 218, 0.10);
  border-radius: 12px;
  transition: border-color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.tp-drawer-item[aria-busy="true"] {
  opacity: 0.82;
  pointer-events: none;
  border-color: rgba(229, 227, 218, 0.24);
}

.tp-drawer-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(229, 227, 218, 0.20);
}

.tp-drawer-item-thumb {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 9px;
  background: #090a0d;
  border: 1px solid rgba(229, 227, 218, 0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  color: #b3b1a9;
  font-size: 10px;
  font-weight: 600;
}

.tp-drawer-item-thumb.is-ticket {
  background: rgba(212, 163, 115, 0.10);
  border-color: rgba(212, 163, 115, 0.24);
}

.tp-drawer-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-drawer-item-info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tp-drawer-item-type {
  color: #aaa89f;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.tp-drawer-item-event {
  color: #8e8d85;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.tp-drawer-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.tp-drawer-item-price {
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
  font-size: 12px;
  color: #d4a373;
  font-weight: 600;
}

.tp-drawer-item-line-total {
  color: #f2f0e8;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.tp-drawer-item-qty {
  min-width: 22px;
  color: #f2f0e8;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.tp-drawer-item-controls {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tp-drawer-quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 48px;
  padding: 2px;
  border: 1px solid rgba(229, 227, 218, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.tp-drawer-qty-btn,
.tp-drawer-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #e5e3da;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.tp-drawer-qty-btn {
  width: 44px;
  padding: 0;
  font-size: 19px;
  line-height: 1;
}

.tp-drawer-qty-btn:hover:not(:disabled),
.tp-drawer-remove-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(229, 227, 218, 0.15);
}

.tp-drawer-qty-btn:disabled {
  color: #686660;
  cursor: not-allowed;
}

.tp-drawer-remove-btn {
  color: #bcbab2;
  border-color: rgba(229, 227, 218, 0.12);
  font-size: 12px;
}

.tp-drawer-qty-btn:focus-visible,
.tp-drawer-remove-btn:focus-visible,
.tp-drawer-close-btn:focus-visible,
.tp-drawer-checkout-btn:focus-visible {
  outline: 2px solid #d4a373;
  outline-offset: 2px;
}

.tp-drawer-item-feedback {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
}

.tp-drawer-item-feedback:empty {
  display: none;
}

.tp-drawer-item[aria-busy="true"] .tp-drawer-item-feedback {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b8b6aa;
}

.tp-drawer-item[aria-busy="true"] .tp-drawer-item-feedback::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 1.5px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: tp-drawer-action-spin 0.72s linear infinite;
}

.tp-shop-quick-add-btn.is-loading,
.tp-dock-cta-btn.is-loading,
.tp-product-add-button.is-loading,
button.ah-button[aria-busy="true"] {
  justify-content: center;
  gap: 8px;
  cursor: progress;
}

.tp-shop-quick-add-btn.is-loading::before,
button.ah-button[aria-busy="true"]::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1.7px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: tp-drawer-action-spin 0.72s linear infinite;
}

.tp-shop-quick-add-btn.is-loading svg,
.tp-product-add-button.is-loading svg { display: none; }

@keyframes tp-drawer-action-spin { to { transform: rotate(360deg); } }

/* Drawer Footer */
.tp-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(229, 227, 218, 0.10);
  background: rgba(15, 16, 21, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.tp-drawer-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-drawer-subtotal-label {
  font-size: 13px;
  font-weight: 500;
  color: #8e8d85;
}

.tp-drawer-subtotal-val {
  font-family: var(--ah-display, sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.tp-drawer-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: #ffffff;
  color: #090a0d;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.18s ease,
              box-shadow 0.18s ease;
  box-sizing: border-box;
}

.tp-drawer-checkout-btn:hover {
  background: #f2f0e8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.tp-drawer-checkout-btn:active {
  transform: scale(0.97);
}

.tp-drawer-barcode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed rgba(229, 227, 218, 0.12);
  font-family: var(--ah-mono, monospace);
  font-size: 8.5px;
  color: #686660;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   3. Resident Evil "Fly-to-Cart" Parabolic Sprite
   -------------------------------------------------------------------------- */
.tp-re-fly-sprite {
  position: fixed;
  z-index: 999999;
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  border: 2px solid #d4a373; /* RE4 Amber Item Crate Glow */
  box-shadow: 0 0 16px rgba(212, 163, 115, 0.75), 0 12px 28px rgba(0, 0, 0, 0.85);
  background: #090a0d;
  will-change: transform, opacity;
  transition: transform 0.46s cubic-bezier(0.22, 0.72, 0.18, 1),
              opacity 0.46s ease-out;
  display: grid;
  place-items: center;
}

.tp-re-fly-sprite--ticket {
  box-sizing: border-box;
  padding: 8px 10px;
  border-color: rgba(220, 219, 209, 0.72);
  background: linear-gradient(145deg, #292a2d, #111215 72%);
  color: #f1efe7;
  font: 600 11px/1.25 var(--ah-mono, monospace);
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

.tp-re-fly-sprite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile cart: a compact bottom sheet with its own scrollable inventory. */
@media (max-width: 767px) {
  .ah-cart-capsule {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .tp-cart-drawer {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 85vh;
    height: 85dvh;
    max-height: 85dvh;
    min-height: 0;
    border: 0;
    border-top: 1px solid rgba(229, 227, 218, 0.16);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(100%);
  }

  .tp-cart-drawer.is-open {
    transform: translateY(0);
  }

  .tp-cart-drawer::before {
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(229, 227, 218, 0.28);
    transform: translateX(-50%);
  }

  .tp-cart-drawer::after {
    display: none;
  }

  .tp-drawer-header {
    gap: 12px;
    padding: 22px 16px 14px;
  }

  .tp-drawer-body {
    min-height: 0;
    padding: 12px 14px;
    overscroll-behavior: contain;
  }

  .tp-drawer-status {
    overflow-wrap: anywhere;
  }

  .tp-drawer-empty {
    flex: 1;
    min-height: 0;
    padding: 32px 16px;
  }

  .tp-drawer-item {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 10px;
    padding: 10px;
  }

  .tp-drawer-item-thumb {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .tp-drawer-item-info {
    grid-column: 2;
    grid-row: 1;
  }

  .tp-drawer-item-name,
  .tp-drawer-item-event,
  .tp-drawer-item-price,
  .tp-drawer-item-line-total {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .tp-drawer-item-name {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .tp-drawer-item-controls {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .tp-drawer-quantity-control {
    justify-self: start;
  }

  .tp-drawer-remove-btn {
    min-width: 64px;
  }

  .tp-drawer-item-feedback {
    grid-column: 1 / -1;
    grid-row: 3;
    overflow-wrap: anywhere;
  }

  .tp-drawer-footer {
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .tp-drawer-checkout-btn {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-cart-drawer,
  .tp-cart-drawer-backdrop,
  .tp-re-fly-sprite,
  .ah-cart-capsule.is-spring-bounce,
  .ah-cart-icon.is-spring-bounce,
  .ah-cart-badge.is-badge-pulse,
  .tp-drawer-item,
  .tp-drawer-qty-btn,
  .tp-drawer-remove-btn,
  .ah-bell-popover,
  .ah-bell-swipe-row,
  .ah-bell-swipe-card,
  .ah-bell-clear-all,
  .ah-bell-read-all,
  .ah-bell-dismiss-btn,
  .ah-bell-load-more {
    animation: none !important;
    transition: none !important;
  }

  .tp-shop-quick-add-btn.is-loading::before,
  button.ah-button[aria-busy="true"]::before,
  .tp-drawer-item[aria-busy="true"] .tp-drawer-item-feedback::before {
    animation: none !important;
    opacity: .65;
  }
}

/* Customer Bell Dropdown & Apple Glass Popover */
.ah-bell-dropdown {
  position: relative;
  display: inline-block;
}

.ah-bell-dropdown summary {
  list-style: none;
}
.ah-bell-dropdown summary::-webkit-details-marker {
  display: none;
}

.ah-bell-capsule {
  margin: 0;
}

.ah-bell-badge {
  background: #c4514b !important;
  color: #fff !important;
}

/* ==========================================================================
   Apple Tactile Customer Bell Popover & iOS Bottom Sheet Modal
   ========================================================================== */
.ah-bell-sheet-backdrop {
  display: none;
}

.ah-bell-sheet-handle {
  display: none;
}

.ah-bell-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(420px, calc(100vw - 24px));
  max-height: min(680px, calc(100vh - 96px));
  max-height: min(680px, calc(100dvh - 96px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(16, 18, 24, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  z-index: 1000;
  box-sizing: border-box;
  animation: ahBellPopoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-bell-popover-beak {
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: rgba(16, 18, 24, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(45deg);
  border-top-left-radius: 2px;
  z-index: 2;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes ahBellPopoverFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes ahBellSheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes ahBellBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ah-bell-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 8px;
}

.ah-bell-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ah-bell-popover-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.ah-bell-count-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
}

.ah-bell-popover-head-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ah-bell-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  font-family: inherit;
  border: 1px solid transparent;
  white-space: nowrap;
}

.ah-bell-read-all {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}
.ah-bell-read-all:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
}

.ah-bell-clear-all {
  background: rgba(196, 81, 75, 0.08);
  border-color: rgba(196, 81, 75, 0.2);
  color: #c4514b;
}
.ah-bell-clear-all:hover:not(:disabled) {
  background: rgba(196, 81, 75, 0.18);
  color: #e0605a;
  border-color: rgba(196, 81, 75, 0.35);
}

.ah-bell-history-link {
  background: rgba(100, 210, 255, 0.08);
  border-color: rgba(100, 210, 255, 0.2);
  color: #64d2ff;
}
.ah-bell-history-link:hover {
  background: rgba(107, 140, 174, 0.16);
  color: #adc2d9;
  border-color: rgba(107, 140, 174, 0.35);
}

.ah-bell-toolbar-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.ah-bell-toolbar-btn:focus-visible,
.ah-bell-dismiss-btn:focus-visible,
.ah-bell-item:focus-visible {
  outline: 2px solid var(--ah-accent-cyan, #64d2ff);
  outline-offset: 2px;
}

/* A filtered ancestor contains fixed-position children. Release the viewport sheet
   from the header while open, so both backdrop and content use the viewport. */
@media (max-width: 767px) {
  .ah-customer-system .ah-header:has(.ah-bell-dropdown[open]) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 10001;
  }

  .ah-customer-system .ah-header-actions > .ah-bell-dropdown {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
}

/* Mobile iOS Native Bottom Sheet Transform */
@media (max-width: 767px) {
  details.ah-bell-dropdown[open] .ah-bell-sheet-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    animation: ahBellBackdropFade 0.2s ease;
  }

  .ah-bell-popover {
    position: fixed !important;
    inset-inline: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: 84vh !important;
    max-height: 84dvh !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(14, 16, 22, 0.98) !important;
    backdrop-filter: blur(36px) !important;
    -webkit-backdrop-filter: blur(36px) !important;
    border-radius: 24px 24px 0 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-bottom: none !important;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.85) !important;
    padding: 6px 14px calc(24px + env(safe-area-inset-bottom, 16px)) 14px !important;
    z-index: 9999 !important;
    animation: ahBellSheetSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .ah-bell-sheet-handle {
    display: block !important;
    width: 38px;
    height: 5px;
    margin: 4px auto 12px auto;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 99px;
  }

  .ah-bell-popover-beak {
    display: none !important;
  }

  .ah-bell-popover-head {
    padding: 2px 2px 10px;
    gap: 6px;
  }

  .ah-bell-popover-title {
    font-size: 13px;
  }

  .ah-bell-toolbar-btn {
    height: 26px;
    min-height: 26px;
    padding: 0 7px;
    font-size: 10.5px;
  }

  .ah-bell-popover-list {
    max-height: min(440px, 44vh) !important;
    max-height: min(44dvh, 420px) !important;
  }

  .ah-bell-load-more { margin-bottom: 4px; }
}

.ah-bell-popover-all {
  display: none;
}

.ah-bell-action-status {
  margin: 6px 4px 0;
  color: rgba(235, 235, 245, 0.78);
  font-size: 11px;
  line-height: 1.4;
}
.ah-bell-action-status:empty {
  display: none;
}
.ah-bell-action-status.is-error {
  color: var(--tp-status-warning, #c48e59);
}

.ah-bell-popover-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  max-height: min(440px, 50vh);
  max-height: min(440px, 50dvh);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.ah-bell-load-more {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(235, 235, 245, 0.82);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.ah-bell-load-more:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}
.ah-bell-load-more:focus-visible {
  outline: 2px solid var(--ah-accent-cyan, #64d2ff);
  outline-offset: 2px;
}
.ah-bell-load-more:disabled {
  opacity: 0.58;
  cursor: wait;
}
.ah-bell-load-more[hidden] { display: none; }

/* Apple Swipe-to-Dismiss Container */
.ah-bell-swipe-row {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 58px;
  transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
}

.ah-bell-swipe-row.is-dismissed {
  max-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* Background Reveal Action */
.ah-bell-swipe-action {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 72px;
  background: #c4514b;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  gap: 3px;
  border-radius: 0 12px 12px 0;
  z-index: 1;
  pointer-events: none;
}

/* Foreground Swipe Card */
.ah-bell-swipe-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  background: rgba(22, 24, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  transform: translateX(0);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.15s ease,
              border-color 0.15s ease;
  will-change: transform;
}

.ah-bell-swipe-card:hover {
  background: rgba(28, 30, 38, 0.98);
  border-color: rgba(255, 255, 255, 0.14);
}

.ah-bell-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 8px 10px 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
  min-width: 0;
}

/* Apple Micro-Circle Dismiss Button */
.ah-bell-dismiss-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(235, 235, 245, 0.4);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
.ah-bell-dismiss-btn::after {
  content: "";
  position: absolute;
  inset: -8px;
}
.ah-bell-dismiss-btn:hover {
  color: #ffffff;
  background: rgba(196, 81, 75, 0.22);
  border-color: rgba(196, 81, 75, 0.45);
  transform: scale(1.08);
}

.ah-bell-swipe-row.is-read .ah-bell-swipe-card {
  border-color: rgba(255, 255, 255, 0.035);
}
.ah-bell-swipe-row.is-read .ah-bell-item-title {
  color: rgba(245, 245, 247, 0.72);
}

.ah-bell-item-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  flex-shrink: 0;
}

.ah-bell-item-icon--paid {
  background: rgba(122, 147, 116, 0.14);
  color: #7A9374;
  border: 1px solid rgba(122, 147, 116, 0.25);
}

.ah-bell-item-icon--verifying {
  background: rgba(196, 142, 89, 0.14);
  color: #C48E59;
  border: 1px solid rgba(196, 142, 89, 0.25);
}

.ah-bell-item-icon--ticket {
  background: rgba(100, 210, 255, 0.12);
  color: #64d2ff;
  border: 1px solid rgba(100, 210, 255, 0.25);
}

.ah-bell-item-icon--shipping,
.ah-bell-item-icon--pickup {
  background: rgba(229, 227, 218, 0.08);
  color: #e5e3da;
  border: 1px solid rgba(229, 227, 218, 0.18);
}

.ah-bell-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.ah-bell-item-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #f5f5f7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ah-bell-item-desc {
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(235, 235, 245, 0.65);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ah-bell-item-time {
  font-size: 10px;
  font-family: var(--ah-mono, "JetBrains Mono", monospace);
  color: rgba(235, 235, 245, 0.4);
  margin-top: 2px;
}

/* Empty State */
.ah-bell-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 16px;
  gap: 8px;
  color: rgba(235, 235, 245, 0.5);
  font-size: 12px;
  text-align: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}
.ah-bell-empty-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(235, 235, 245, 0.45);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-family: var(--ah-mono, monospace);
}

.ah-bell-filters {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding: 9px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ah-bell-filters button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(235, 235, 245, 0.62);
  font: inherit;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}
.ah-bell-filters button.is-active {
  border-color: var(--ah-vip-brass-border, rgba(196, 161, 106, 0.42));
  background: var(--ah-vip-brass-fill, rgba(196, 161, 106, 0.14));
  color: var(--ah-vip-brass-text, #dfc18d);
}
.ah-bell-filters a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(235, 235, 245, 0.62);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.ah-bell-filters a.is-active {
  border-color: var(--ah-vip-brass-border, rgba(196, 161, 106, 0.42));
  background: var(--ah-vip-brass-fill, rgba(196, 161, 106, 0.14));
  color: var(--ah-vip-brass-text, #dfc18d);
}

/* Cupertino Segmented Track & Pill Buttons for Customer Bell Popover */
.ah-bell-filters.ah-cupertino-segmented-pills {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 3px;
  margin: 8px 4px 6px;
  background: rgba(0, 0, 0, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ah-bell-filters.ah-cupertino-segmented-pills::-webkit-scrollbar {
  display: none;
}
.ah-bell-filters.ah-cupertino-segmented-pills button {
  flex: 1 1 0;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(235, 235, 245, 0.65);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
}
.ah-bell-filters.ah-cupertino-segmented-pills button:hover:not(.is-active) {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}
.ah-bell-filters.ah-cupertino-segmented-pills button.is-active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.ah-notification-history { max-width: 900px; margin: 0 auto; padding: 28px 16px 60px; color: #e9eaf0; }
.ah-notification-history-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.ah-notification-history-head h1 { margin: 4px 0; font-size: clamp(24px, 4vw, 34px); }
.ah-notification-history-head p { color: rgba(235,235,245,.6); }
.ah-notification-kicker { color: #a8a29e !important; font: 11px/1.4 var(--ah-mono, monospace); letter-spacing: .12em; }
.ah-notification-batch { min-height: 44px; padding: 0 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 11px; background: rgba(255,255,255,.06); color: #e5e3da; cursor: pointer; }
/* Touch controls and heading layout inside the viewport sheet. */
@media (max-width: 767px) {
  .ah-bell-popover .ah-bell-popover-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ah-bell-popover .ah-bell-popover-head-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    min-width: 0;
  }

  .ah-bell-popover .ah-bell-toolbar-btn {
    height: auto;
    min-height: 44px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .ah-bell-popover .ah-bell-filters.ah-cupertino-segmented-pills {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
  }

  .ah-bell-popover .ah-bell-filters.ah-cupertino-segmented-pills button {
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .ah-bell-popover .ah-bell-filters.ah-cupertino-segmented-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 14px;
  }
}

.ah-notification-history-list { display: grid; gap: 8px; margin-top: 10px; }
.ah-notification-history-row { display: flex; align-items: center; gap: 10px; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: rgba(27,28,32,.96); }
.ah-notification-history-row.is-unread { border-color: rgba(100,210,255,.25); background: rgba(38,38,40,.98); }
.crew-notifications-popover [data-notification-row].is-unread { background: rgba(100,210,255,.055); }
.crew-notifications-popover [data-notification-row].is-read { opacity: .76; }
.ah-notification-history-link { display: flex; flex: 1; min-width: 0; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.ah-notification-history-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #64d2ff; }
.is-read .ah-notification-history-dot { background: transparent; border: 1px solid rgba(235,235,245,.28); }
.ah-notification-history-copy { display: grid; gap: 3px; min-width: 0; }
.ah-notification-history-copy strong { font-size: 14px; }
.is-read .ah-notification-history-copy strong { color: rgba(235,235,245,.66); font-weight: 400; }
.ah-notification-history-copy span { color: rgba(235,235,245,.62); font-size: 13px; }
.ah-notification-history-copy time { color: rgba(235,235,245,.43); font: 10px var(--ah-mono, monospace); }
.ah-notification-category { color: #b2b5bd; font: 10px var(--ah-mono, monospace); }
.ah-notification-history-row > button { min-width: 44px; min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: #aaaeb7; cursor: pointer; }
.ah-notification-history-empty { display: grid; justify-items: center; gap: 10px; padding: 52px 20px; border: 1px dashed rgba(255,255,255,.12); border-radius: 14px; color: #9ea2aa; text-align: center; }
.ah-notification-pagination { display: flex; justify-content: center; gap: 18px; padding: 22px; }
.ah-notification-pagination a { color: #e5e3da; }
@media (max-width: 639px) { .ah-notification-history-head { align-items: flex-start; flex-direction: column; } .ah-notification-category { display: none; } }
.ah-bell-filters button:focus-visible,
.ah-bell-read-all:focus-visible,
.ah-bell-clear-all:focus-visible,
.ah-bell-dismiss-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,.5);
  outline-offset: 2px;
}
.ah-bell-swipe-row:not(.is-read) .ah-bell-swipe-card {
  background: rgba(28, 30, 38, 0.98);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 2.5px 0 0 #64d2ff, 0 3px 12px rgba(0, 0, 0, 0.35);
}
.ah-bell-swipe-row:not(.is-read):hover .ah-bell-swipe-card {
  background: rgba(32, 35, 44, 0.98);
  border-color: rgba(255, 255, 255, 0.20);
}
.ah-bell-swipe-row:not(.is-read) .ah-bell-item-icon { position: relative; }
.ah-bell-swipe-row:not(.is-read) .ah-bell-item-icon::after {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border: 1.5px solid #14161a;
  border-radius: 50%;
  background: #64d2ff;
  content: "";
}
.ah-bell-swipe-row:not(.is-read) .ah-bell-item-title { font-weight: 700; }
.ah-bell-swipe-row.is-read .ah-bell-item-title { color: rgba(235, 235, 245, 0.68); font-weight: 400; }
.ah-bell-swipe-row.is-read .ah-bell-item-desc { color: rgba(235, 235, 245, 0.48); }

/* Apple Live Real-time Toast Dropdown */
.ah-bell-live-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 980px;
  background: rgba(20, 22, 26, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: min(520px, 92vw);
  animation: ahToastSpringDown 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ahToastSpringDown {
  from { opacity: 0; transform: translate(-50%, -24px) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.ah-bell-live-toast.is-leaving {
  animation: ahToastSpringUp 0.28s ease-in both;
}

@keyframes ahToastSpringUp {
  from { opacity: 1; transform: translate(-50%, 0) scale(1); }
  to { opacity: 0; transform: translate(-50%, -18px) scale(0.94); }
}

.ah-bell-live-toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.ah-bell-live-toast-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ah-bell-live-toast-body strong {
  font-size: 12.5px;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.01em;
}

.ah-bell-live-toast-body p {
  font-size: 11.5px;
  color: rgba(235, 235, 245, 0.7);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ah-bell-live-toast-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--ah-accent-cyan, #64d2ff);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(100, 210, 255, 0.12);
  white-space: nowrap;
  transition: background 0.15s ease;
}
.ah-bell-live-toast-action:hover {
  background: rgba(100, 210, 255, 0.22);
}

.ah-bell-live-toast-close {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.ah-bell-live-toast-close:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .ah-bell-popover,
  .ah-bell-swipe-row,
  .ah-bell-swipe-card,
  .ah-bell-clear-all,
  .ah-bell-read-all,
  .ah-bell-dismiss-btn {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
