/* ========== Live Offer Toasts (bottom-left) ========== */
.lot-stack {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
  pointer-events: none;
}

.lot-card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111822;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: lotIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 280px;
}

.lot-card.lot-out {
  animation: lotOut 0.3s ease forwards;
}

@keyframes lotIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lotOut {
  to { opacity: 0; transform: translateY(12px) scale(0.96); }
}

.lot-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.lot-body { flex: 1; min-width: 0; }
.lot-time {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 2px;
}
.lot-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}
.lot-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lot-coins {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #fbbf24;
  font-weight: 700;
  font-size: 12px;
}
.lot-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ========== Right Activity Drawer ========== */
.act-drawer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.act-drawer.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.act-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.act-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100%;
  background: #0d131d;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.act-drawer.open .act-drawer-panel {
  transform: translateX(0);
}

.act-drawer-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}
.act-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.act-icon-btn:hover { background: rgba(255,255,255,0.1); color: #e2e8f0; }

.act-tabs {
  flex: 1;
  display: flex;
  background: #141c28;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.act-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.act-tab.active {
  background: #00ca63;
  color: #0b111a;
  font-weight: 700;
}

.act-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
}
.act-drawer-body::-webkit-scrollbar { width: 4px; }
.act-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.act-loading { display: flex; justify-content: center; padding: 40px 0; }
.act-spinner {
  width: 28px; height: 28px;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: #00ca63;
  border-radius: 50%;
  animation: actSpin 0.7s linear infinite;
}
@keyframes actSpin { to { transform: rotate(360deg); } }

.act-empty { text-align: center; padding: 48px 16px; color: #64748b; }
.act-empty i { font-size: 28px; display: block; margin-bottom: 10px; }

.act-list { display: flex; flex-direction: column; gap: 10px; }

.act-card {
  background: #141c28;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.act-card:hover { background: #1a2332; }

.act-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.act-card-time { font-size: 12px; color: #64748b; }
.act-card-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
}

.act-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.act-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #1e293b;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  font-weight: 800; color: #e2e8f0; font-size: 14px;
}
.act-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.act-card-icon.is-ltc { background: #334155; }
.act-card-icon.is-binance { background: #f3ba2f; color: #0b111a; }

.act-card-info { flex: 1; min-width: 0; }
.act-card-title {
  margin: 0;
  font-size: 14px; font-weight: 700; color: #f1f5f9;
}
.act-card-sub {
  margin: 2px 0 0;
  font-size: 12px; color: #64748b;
}
.act-card-coins {
  color: #fbbf24; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px;
}

.act-drawer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.act-btn-clear {
  border: none; background: transparent;
  color: #64748b; font-size: 14px; cursor: pointer; font-family: inherit;
}
.act-btn-clear:hover { color: #94a3b8; }
.act-btn-done {
  border: none; background: #00ca63; color: #0b111a;
  font-weight: 700; font-size: 14px;
  padding: 10px 28px; border-radius: 999px;
  cursor: pointer; font-family: inherit;
}
.act-btn-done:hover { background: #16a34a; }

.act-bell-badge {
  position: absolute; top: -4px; right: -6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: #00ca63; color: #0b111a;
  font-size: 10px; font-weight: 800;
  display: none; align-items: center; justify-content: center;
}
.act-bell-badge.show { display: inline-flex; }

@media (max-width: 480px) {
  .lot-stack { left: 12px; right: 12px; max-width: none; bottom: 16px; }
  .lot-card { min-width: 0; }
}
