#club91-deposit-root {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: #f4f6f8;
  display: none;
  flex-direction: column;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #222;
  overflow: hidden;
}

#club91-deposit-root.is-open {
  display: flex;
}

html.club91-deposit-active #app {
  visibility: hidden !important;
  pointer-events: none !important;
}

html.club91-deposit-active body {
  overflow: hidden !important;
}

.c91-dep-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #e8ebf0;
  flex-shrink: 0;
}

.c91-dep-back {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  color: #333;
}

.c91-dep-title {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.c91-dep-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 24px;
}

.c91-dep-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.c91-dep-tab {
  border: 1px solid #d5dbe5;
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #444;
}

.c91-dep-tab.active {
  background: linear-gradient(180deg, #ff6b81, #ff9b5b);
  border-color: #ff7a45;
  color: #fff;
}

.c91-dep-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #edf0f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.c91-dep-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}

.c91-dep-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.c91-dep-amt {
  border: 1px solid #d5dbe5;
  background: #fafbfc;
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.c91-dep-amt.active {
  border-color: #ff7a45;
  background: #fff0e8;
  color: #ff6b3d;
}

.c91-dep-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 15px;
}

.c91-dep-qr {
  text-align: center;
  margin: 10px 0;
}

.c91-dep-qr img {
  max-width: 260px;
  width: 100%;
  border-radius: 8px;
}

.c91-dep-bank-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
}

.c91-dep-bank-row span:last-child {
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  word-break: break-all;
}

.c91-dep-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 10px 0;
}

.c91-dep-app {
  border: 1px solid #d5dbe5;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
}

.c91-dep-app img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.c91-dep-app span {
  line-height: 1.2;
}

.c91-dep-app.active {
  border-color: #ff7a45;
  background: #fff0e8;
}

.c91-dep-btn-secondary {
  background: #fff;
  color: #ff6b3d;
  border: 1px solid #ff9b5b;
}

.c91-dep-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #ff6b81, #ff9b5b);
  color: #fff;
  margin-top: 8px;
}

.c91-dep-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.c91-dep-msg {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 10px;
}

.c91-dep-msg.err {
  background: #fde8e8;
  color: #b42318;
}

.c91-dep-msg.ok {
  background: #e8f8ef;
  color: #0f6d3f;
}

.c91-dep-hint {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  line-height: 1.4;
}

.c91-dep-empty {
  text-align: center;
  padding: 40px 16px;
  color: #888;
  font-size: 14px;
}

.c91-dep-pay-card {
  text-align: center;
}

.c91-dep-pay-amount {
  font-size: 32px;
  font-weight: 800;
  color: #ff6b3d;
  margin: 4px 0 12px;
}

.c91-dep-qr-pay img {
  max-width: 300px;
  border: 8px solid #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}
