/* =====================================================================
   DAILY TRADE — "Earn Points" quests drawer
   Matches the dark gold / glass tokens already used by the Mystery
   Packs module (dtm-*) and the site's --gold/--gold2 variables.
   ===================================================================== */
.dtq-earn-btn{display:inline-flex;align-items:center;gap:7px;margin-inline-start:10px;padding:7px 14px;border-radius:999px;border:1px solid rgba(191,149,63,.55);background:linear-gradient(135deg,rgba(191,149,63,.22),rgba(252,246,186,.1));color:var(--gold2,#FCF6BA);font-size:12px;font-weight:900;letter-spacing:.02em;cursor:pointer;transition:transform .2s,box-shadow .2s,filter .2s}
.dtq-earn-btn:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 10px 26px rgba(191,149,63,.2)}
.dtq-earn-btn i{font-size:11px}

.dtq-modal-card{width:min(720px,94vw);max-height:88vh;overflow:hidden;display:flex;flex-direction:column;border-radius:24px;border:1px solid rgba(191,149,63,.4);background:linear-gradient(150deg,rgba(20,20,26,.97),rgba(8,8,12,.97));box-shadow:0 40px 120px rgba(0,0,0,.7)}
.dtq-head{padding:22px 22px 16px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.dtq-head-title{display:flex;flex-direction:column;gap:4px}
.dtq-head-title h2{margin:0;font-size:clamp(20px,3vw,26px);font-weight:900;color:#fff}
.dtq-head-title p{margin:0;color:var(--muted,#9a9aa5);font-size:13px;font-weight:600;max-width:420px}
.dtq-head-balance{display:flex;align-items:center;gap:8px;padding:9px 14px;border-radius:14px;background:rgba(191,149,63,.12);border:1px solid rgba(191,149,63,.35);color:#fff;font-weight:900;white-space:nowrap}
.dtq-head-balance i{color:var(--gold2,#FCF6BA)}
.dtq-close{width:38px;height:38px;flex:0 0 auto;border-radius:50%;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;cursor:pointer;font-size:16px}

.dtq-tabs{display:flex;gap:8px;padding:14px 22px 0;flex-wrap:wrap}
.dtq-tab{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:#c7c7d1;padding:8px 16px;border-radius:999px;font-weight:800;font-size:13px;cursor:pointer;transition:.2s}
.dtq-tab.is-active{background:linear-gradient(135deg,var(--gold2,#FCF6BA),var(--gold,#BF953F));color:#0a0a0a;border-color:transparent}

.dtq-streak-strip{display:flex;gap:6px;padding:16px 22px 0;flex-wrap:wrap}
.dtq-streak-pip{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:900;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#8a8a95}
.dtq-streak-pip.is-lit{background:linear-gradient(135deg,var(--gold2,#FCF6BA),var(--gold,#BF953F));color:#0a0a0a;border-color:transparent}
.dtq-streak-pip.is-bonus{outline:2px solid rgba(16,185,129,.55)}

.dtq-body{flex:1;overflow-y:auto;padding:16px 22px 22px;scrollbar-width:thin}
.dtq-body::-webkit-scrollbar{width:6px}
.dtq-body::-webkit-scrollbar-thumb{background:rgba(191,149,63,.35);border-radius:99px}

.dtq-row{display:flex;align-items:center;gap:14px;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(155deg,rgba(255,255,255,.045),rgba(255,255,255,.015));margin-bottom:10px}
.dtq-row-icon{flex:0 0 auto;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(191,149,63,.14);border:1px solid rgba(191,149,63,.35);color:var(--gold2,#FCF6BA)}
.dtq-row-body{flex:1 1 auto;min-width:0}
.dtq-row-title{font-weight:900;color:#fff;font-size:14px}
.dtq-row-desc{color:var(--muted,#9a9aa5);font-size:12px;font-weight:600;margin-top:2px}
.dtq-row-reward{flex:0 0 auto;font-weight:900;color:var(--gold2,#FCF6BA);font-size:13px;white-space:nowrap}
.dtq-btn{flex:0 0 auto;border:0;border-radius:12px;padding:9px 14px;font-weight:900;font-size:12px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;transition:.2s}
.dtq-btn.is-claim{background:linear-gradient(135deg,var(--gold2,#FCF6BA),var(--gold,#BF953F));color:#0a0a0a}
.dtq-btn.is-claim:hover{filter:brightness(1.06);transform:translateY(-1px)}
.dtq-btn.is-go{background:rgba(191,149,63,.16);color:var(--gold2,#FCF6BA);border:1px solid rgba(191,149,63,.4)}
.dtq-btn.is-done{background:rgba(16,185,129,.14);color:#6ee7b7;border:1px solid rgba(16,185,129,.35);cursor:default}
.dtq-btn.is-static{background:rgba(255,255,255,.06);color:#9a9aa5;border:1px solid rgba(255,255,255,.1);cursor:default}
.dtq-empty{text-align:center;color:var(--muted,#9a9aa5);padding:30px 0;font-weight:700}

/* Brief highlight on the Community Payout Wall anchor when a user lands
   there from the "Submit Payout Proof" quest CTA — see
   scrollToPayoutWall()/maybeAutoOpenPayoutCertModal() in dt-quests.js. */
.dtq-highlight-target{animation:dtq-pulse 1.3s ease-out 2}
@keyframes dtq-pulse{
  0%{box-shadow:0 0 0 0 rgba(191,149,63,.55)}
  70%{box-shadow:0 0 0 18px rgba(191,149,63,0)}
  100%{box-shadow:0 0 0 0 rgba(191,149,63,0)}
}

html[dir="rtl"] .dtq-row-reward{text-align:left}
@media(max-width:640px){
  .dtq-modal-card{max-height:94vh;border-radius:18px}
  .dtq-head{padding:18px}
  .dtq-row{flex-wrap:wrap}
  .dtq-row-reward{order:3;width:100%;text-align:start}
}
