/* L5 deposit / withdraw wizard (Poolmrkt-style) */
body[data-landing="5"] #cash-box .modal-card.l5-cash-modal {
  width: min(680px, calc(100vw - 28px));
  padding: 12px 24px 22px;
}
@media (min-width: 768px) {
  body[data-landing="5"] #cash-box .modal-card.l5-cash-modal {
    width: min(680px, 100%);
  }
}
body[data-landing="5"] .l5-cash-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] #cash-l5-shell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body[data-landing="5"] .l5-cash-step {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body[data-landing="5"] .l5-cash-step:last-of-type {
  border-bottom: none;
}
body[data-landing="5"] .l5-cash-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] .l5-cash-step-head > span:last-child {
  flex: 1;
  min-width: 0;
}
body[data-landing="5"] .l5-cash-step.active .l5-cash-step-head {
  color: #fafafa;
}
body[data-landing="5"] .l5-cash-step-n {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] .l5-cash-step.done .l5-cash-step-n {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 14px;
}
body[data-landing="5"] .l5-cash-step.active .l5-cash-step-n {
  background: #0f5fff;
  color: #fff;
}
body[data-landing="5"] .l5-cash-method-cards {
  display: flex;
  gap: 12px;
  width: 100%;
}
body[data-landing="5"] .l5-cash-method {
  flex: 1;
  width: 100%;
  max-width: none;
  min-height: 118px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: #141417;
  cursor: default;
  text-align: left;
  color: #fafafa;
  overflow: hidden;
}
body[data-landing="5"] .l5-cash-method-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 0.55s ease;
  will-change: transform;
}
body[data-landing="5"] .l5-cash-method:hover .l5-cash-method-bg {
  transform: scale(1.1);
}
body[data-landing="5"] .l5-cash-method.on .l5-cash-method-bg {
  animation: l5-cash-method-drift 9s ease-in-out infinite;
}
@keyframes l5-cash-method-drift {
  0%,
  100% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.14) translate3d(-2%, 0, 0);
  }
}
body[data-landing="5"] .l5-cash-method-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(20, 20, 23, 0.94) 0%,
    rgba(20, 20, 23, 0.72) 42%,
    rgba(20, 20, 23, 0.28) 100%
  );
}
body[data-landing="5"] .l5-cash-method-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
  min-width: 0;
  max-width: 72%;
}
body[data-landing="5"] .l5-cash-method.on {
  border-color: #0f5fff;
  box-shadow: inset 0 0 0 1px rgba(15, 95, 255, 0.35);
}
body[data-landing="5"] .l5-cash-method.on .l5-cash-method-overlay {
  background: linear-gradient(
    105deg,
    rgba(15, 95, 255, 0.22) 0%,
    rgba(20, 20, 23, 0.78) 48%,
    rgba(20, 20, 23, 0.32) 100%
  );
}
body[data-landing="5"] .l5-cash-method.on::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0f5fff;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
body[data-landing="5"] .l5-cash-method b {
  font-size: 14px;
  font-weight: 700;
}
body[data-landing="5"] .l5-cash-method small {
  font-size: 12px;
  color: var(--l4-mute, #a1a1aa);
  font-weight: 500;
}
body[data-landing="5"] .l5-cash-select-wrap {
  position: relative;
  width: 100%;
}
body[data-landing="5"] .l5-cash-select-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
body[data-landing="5"] .l5-cash-select-wrap.l5-has-select-icon .l5-cash-select {
  padding-left: 46px;
}
body[data-landing="5"] .l5-cash-select {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.35);
  color: #fafafa;
  padding: 0 40px 0 14px;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a1a1aa'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
body[data-landing="5"] .l5-cash-pay-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 480px) {
  body[data-landing="5"] .l5-cash-pay-panel {
    flex-direction: row;
    align-items: flex-start;
  }
}
body[data-landing="5"] .l5-cash-qr-wrap {
  flex-shrink: 0;
  width: 180px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body[data-landing="5"] .l5-cash-qr-wrap[data-state="loading"] .l5-cash-qr {
  display: none !important;
}
body[data-landing="5"] .l5-cash-qr-wrap[data-state="ready"] .l5-cash-qr-loading {
  display: none;
}
body[data-landing="5"] .l5-cash-qr-wrap[data-state="ready"] .l5-cash-qr {
  display: block !important;
}
body[data-landing="5"] .l5-cash-qr-wrap[data-state="empty"] {
  display: none;
}
body[data-landing="5"] .l5-cash-qr-loading {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  position: relative;
}
body[data-landing="5"] .l5-cash-qr-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #0f5fff;
  animation: l5-cash-spin 0.8s linear infinite;
}
@keyframes l5-cash-spin {
  to { transform: rotate(360deg); }
}
body[data-landing="5"] .l5-cash-qr {
  flex-shrink: 0;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}
body[data-landing="5"] .l5-cash-qr img {
  display: block;
  width: 160px;
  height: 160px;
}
body[data-landing="5"] .l5-cash-addr-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body[data-landing="5"] .l5-cash-addr-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fafafa;
}
body[data-landing="5"] .l5-cash-pay-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
body[data-landing="5"] .l5-cash-pay-icon-fallback {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fafafa;
}
body[data-landing="5"] .l5-cash-addr-input {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fafafa;
  padding: 0 12px;
  font-size: 12px;
  font-family: ui-monospace, monospace;
}
body[data-landing="5"] .l5-cash-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fafafa;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
body[data-landing="5"] .l5-cash-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
body[data-landing="5"] .l5-cash-notes {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] .l5-cash-note-row {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
body[data-landing="5"] .l5-cash-note-row .l5-cash-ico {
  margin-top: 2px;
}
body[data-landing="5"] .l5-cash-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body[data-landing="5"] .l5-cash-field input {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #fafafa;
  padding: 0 14px;
  font-size: 14px;
}
body[data-landing="5"] .l5-cash-amt-wrap {
  position: relative;
}
body[data-landing="5"] .l5-cash-amt-wrap input {
  padding-right: 72px;
}
body[data-landing="5"] .l5-cash-max {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  background: #0f5fff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
body[data-landing="5"] .l5-cash-amt-meta {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] .l5-cash-summary {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
body[data-landing="5"] .l5-cash-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] .l5-cash-summary b {
  color: #fafafa;
  font-weight: 600;
}
body[data-landing="5"] .l5-cash-withdraw-go {
  margin-top: 16px;
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: #0f5fff;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
body[data-landing="5"] .l5-cash-withdraw-go:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
body[data-landing="5"] .l5-cash-modal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 12px;
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] .l5-cash-foot-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body[data-landing="5"] .l5-cash-modal-foot button {
  border: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}
body[data-landing="5"] .l5-cash-modal-foot button:hover {
  color: #fafafa;
}
body[data-landing="5"] .l5-cash-auto-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--l4-mute, #a1a1aa);
}
body[data-landing="5"] .l5-cash-status {
  font-size: 12px;
  color: #93c5fd;
  margin: 0;
}
