#dw-deposit-root {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: #1a1c2e;
  display: none;
  flex-direction: column;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #f5f5f5;
  overflow: hidden;
}
#dw-deposit-root.is-open { display: flex; }
html.dw-deposit-active #root,
html.dw-deposit-active #app {
  visibility: hidden !important;
  pointer-events: none !important;
}
html.dw-deposit-active body { overflow: hidden !important; }

.dw-dep-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(90deg, #EDD188, #C79744);
  flex-shrink: 0;
  color: #252628;
}
.dw-dep-back {
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  color: #252628;
  font-weight: 700;
}
.dw-dep-title {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
}
.dw-dep-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 28px;
}
.dw-dep-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.dw-dep-tab {
  border: 1px solid #4F5163;
  background: #252628;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #EDD188;
}
.dw-dep-tab.active {
  background: linear-gradient(180deg, #EDD188, #C79744);
  border-color: #C79744;
  color: #252628;
}
.dw-dep-card {
  background: #252628;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #3A3D50;
}
.dw-dep-label {
  font-size: 12px;
  font-weight: 700;
  color: #c9c9c9;
  margin-bottom: 6px;
}
.dw-dep-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.dw-dep-amt {
  border: 1px solid #4F5163;
  background: #3A3D50;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: #eee;
}
.dw-dep-amt.active {
  border-color: #EDD188;
  background: rgba(237, 209, 136, .15);
  color: #EDD188;
}
.dw-dep-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #4F5163;
  background: #1a1c2e;
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  outline: none;
}
.dw-dep-input:focus { border-color: #EDD188; }
.dw-dep-btn {
  width: 100%;
  margin-top: 12px;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  background: linear-gradient(90deg, #EDD188, #C79744);
  color: #252628;
}
.dw-dep-btn-secondary {
  background: #3A3D50;
  color: #EDD188;
  border: 1px solid #C79744;
}
.dw-dep-btn:disabled { opacity: .6; cursor: wait; }
.dw-dep-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #9a9a9a;
  line-height: 1.4;
}
.dw-dep-bank-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #3A3D50;
  font-size: 13px;
}
.dw-dep-bank-row span:first-child { color: #aaa; }
.dw-dep-bank-row span:last-child { color: #EDD188; font-weight: 700; text-align: right; word-break: break-all; }
.dw-dep-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dw-dep-app {
  border: 1px solid #4F5163;
  background: #1a1c2e;
  border-radius: 10px;
  padding: 10px 6px;
  cursor: pointer;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.dw-dep-app.active { border-color: #EDD188; background: rgba(237,209,136,.12); }
.dw-dep-app img { width: 36px; height: 36px; object-fit: contain; }
.dw-dep-qr {
  text-align: center;
  margin: 12px 0;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}
.dw-dep-qr img { width: min(260px, 80vw); height: auto; }
.dw-dep-pay-amount {
  font-size: 28px;
  font-weight: 800;
  color: #EDD188;
  margin-bottom: 8px;
}
.dw-dep-msg {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}
.dw-dep-msg.ok { background: rgba(29, 209, 116, .15); color: #1dd174; }
.dw-dep-msg.err { background: rgba(237, 46, 55, .15); color: #ff6b6b; }
.dw-dep-empty {
  text-align: center;
  color: #aaa;
  padding: 24px 12px;
  font-size: 14px;
  line-height: 1.5;
}
