/* Extra first deposit bonus — YaarWin layout, DailyWin gold accents */
#dw-fdb-root {
  --dw-gold: #C79744;
  --dw-gold-hi: #EDD188;
  --dw-brown: #8F5206;
  --dw-orange: #C79744; /* DW gold in place of YaarWin orange */
  --dw-act: linear-gradient(90deg, #EDD188, #C79744);
  position: fixed;
  inset: 0;
  z-index: 100080;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 14px 24px;
  background: rgba(0, 0, 0, 0.55);
  font-family: "Roboto", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  box-sizing: border-box;
}
#dw-fdb-root.is-open { display: flex; }
#dw-fdb-root * { box-sizing: border-box; }

.dw-fdb-wrap {
  width: min(360px, 90vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* White card like YaarWin */
.dw-fdb-card {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 560px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.dw-fdb-head {
  flex-shrink: 0;
  text-align: center;
  padding: 16px 14px 10px;
  background: #fff;
}
.dw-fdb-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.25;
}
.dw-fdb-sub {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: #999;
  line-height: 1.3;
}

.dw-fdb-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 12px 8px;
  -webkit-overflow-scrolling: touch;
}

/* Soft grey rows like YaarWin */
.dw-fdb-item {
  background: #f6f6f6;
  border-radius: 10px;
  padding: 12px 12px 10px;
  margin-bottom: 10px;
}
.dw-fdb-item:last-child { margin-bottom: 6px; }

.dw-fdb-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.dw-fdb-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}
.dw-fdb-item-name .amt {
  color: var(--dw-gold);
  font-weight: 700;
}
.dw-fdb-item-reward {
  font-size: 14px;
  font-weight: 700;
  color: var(--dw-gold);
  white-space: nowrap;
}
.dw-fdb-item-desc {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.4;
  color: #9a9a9a;
  font-weight: 400;
}
.dw-fdb-item-desc .hl { color: #888; }

.dw-fdb-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dw-fdb-prog {
  flex: 1;
  min-width: 0;
  position: relative;
}
.dw-fdb-prog-bar {
  height: 18px;
  border-radius: 999px;
  background: #ebebeb;
  overflow: hidden;
  position: relative;
}
.dw-fdb-prog-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dw-gold-hi), var(--dw-gold));
  opacity: 0.85;
}
.dw-fdb-prog-txt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  pointer-events: none;
}

/* Outline Deposit — gold border (DW) like YaarWin orange outline */
.dw-fdb-dep-btn {
  flex: 0 0 auto;
  border: 1px solid var(--dw-gold);
  background: #fff;
  color: var(--dw-gold);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  min-width: 72px;
  -webkit-tap-highlight-color: transparent;
}
.dw-fdb-dep-btn:active { background: #fff8e8; }

.dw-fdb-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 14px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}
.dw-fdb-remind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}
.dw-fdb-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #bbb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: transparent;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  background: #fff;
}
.dw-fdb-remind.is-on .dw-fdb-check {
  border-color: var(--dw-gold);
  background: var(--dw-gold);
  color: #fff;
}
.dw-fdb-remind-txt {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  line-height: 1.2;
}

/* Activity — gold pill (DW) instead of YaarWin green */
.dw-fdb-act {
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--dw-act);
  color: var(--dw-brown);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(199, 151, 68, 0.35);
}

/* Close X below card — gold ring like YaarWin green ring */
.dw-fdb-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--dw-gold-hi);
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: 300;
}
.dw-fdb-close:active { opacity: 0.75; }

.dw-fdb-empty {
  text-align: center;
  color: #999;
  padding: 28px 12px;
  font-size: 13px;
}
