/* 任務 screen (daily / weekly quests, tickets) */
.q-modal .sc-panel { box-sizing: border-box; width: min(96vw, calc(860px*var(--m))); height: min(94vh, calc(620px*var(--m))); max-height: 94vh; overflow: hidden; gap: 6px; }
.q-held { display: flex; gap: 8px; margin-left: auto; margin-right: 8px; }
.q-chip { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px 1px 3px; border-radius: 14px; background: rgba(0,0,0,.45); border: 1px solid rgba(244,197,90,.55); color: #fff; font-size: 15px; white-space: nowrap; }
.q-cicon { width: 28px; height: 28px; object-fit: contain; flex: none; }
.q-tabs { display: flex; gap: 8px; justify-content: center; width: 100%; }
.q-tab { position: relative; min-width: 104px; min-height: 44px; opacity: .72; }
.q-tab.on { opacity: 1; filter: brightness(1.15) drop-shadow(0 0 6px rgba(255,215,106,.65)); transform: translateY(-1px); }
.q-tab .sc-blabel { font-size: 17px; }
.q-tdot { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff7a6a, #c8180e); border: 2px solid var(--gold-hi, #ffe9a6); }
.q-body { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; overflow: hidden auto; touch-action: pan-y; }
.q-reset { text-align: center; color: #ffe9b8; font-size: 14px; text-shadow: var(--outline); }
.q-list { display: flex; flex-direction: column; gap: 6px; padding: 0 4px 4px; }
.q-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: linear-gradient(180deg, rgba(118,50,42,.85), rgba(66,28,24,.88)); border: 2px solid rgba(244,197,90,.35); }
.q-row.ready { border-color: #ffd76a; box-shadow: 0 0 12px rgba(255,215,106,.45) inset; }
.q-row.got { opacity: .6; }
.q-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.q-name { font-size: 17px; color: #fff3d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-bar { position: relative; height: 18px; border-radius: 9px; background: rgba(0,0,0,.55); border: 1px solid rgba(244,197,90,.5); overflow: hidden; }
.q-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(180deg, #ffe08a, #e09a22); border-radius: 9px; }
.q-num { position: relative; display: block; text-align: center; font-size: 13px; line-height: 18px; color: #fff; text-shadow: var(--outline); }
.q-rw { display: flex; gap: 4px; flex: none; }
.q-go { flex: none; min-width: 104px; min-height: 44px; }
.q-go .sc-blabel { font-size: 16px; white-space: nowrap; }
.q-items { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 6px; }
.q-item { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(180deg, rgba(118,50,42,.88), rgba(66,28,24,.9)); border: 2px solid rgba(244,197,90,.5); }
.q-ipic { position: relative; width: 104px; height: 104px; border-radius: 16px; background: radial-gradient(circle, rgba(255,215,106,.35), rgba(0,0,0,0) 70%); }
.q-iimg { width: 100%; height: 100%; object-fit: contain; }
.q-icount { position: absolute; right: -6px; bottom: -2px; font-size: 20px; color: #fff; }
.q-itx { text-align: center; display: flex; flex-direction: column; gap: 3px; }
.q-iname { font-size: 19px; color: #ffe08a; }
.q-idesc { font-size: 14px; color: #fff3d6; line-height: 1.35; }
.q-ionly { font-size: 13px; color: #f7b98a; }
.q-igo { min-width: 140px; min-height: 44px; }
.sc-badge.q-dot { top: -8px; right: -6px; min-width: 18px; width: 18px; height: 18px; padding: 0; font-size: 12px; line-height: 16px; }
/* request 38: 成就 tab */
.ac-desc { margin-left: 10px; font-size: 13px; color: #f3d9b0; font-weight: 700; }
.ac-gold { border-color: rgba(255,215,106,.85); background: rgba(70,30,10,.6); }
.ac-row.got .q-go .sc-blabel { color: #c9f5b0; }
.uc-ticket.uc-off { filter: grayscale(.85) brightness(.8); }
@media (max-height: 520px) {
  .q-modal .sc-panel { width: 98vw; height: 95vh; max-height: 95vh; gap: 3px; padding: 2px 6px 4px; border-width: 7px; }
  .q-row { padding: 2px 8px; gap: 6px; }
  .q-list { gap: 4px; }
  .q-tab, .q-go { min-height: 40px; }
  .q-tx { gap: 2px; }
  .q-reset { font-size: 12px; }
  .q-iname { font-size: 16px; }
  .q-ionly { font-size: 12px; }
  .q-igo { min-height: 40px; }
  .q-name { font-size: 15px; }
  .q-bar { height: 15px; } .q-num { line-height: 15px; font-size: 12px; }
  .q-cicon { width: 22px; height: 22px; }
  .q-chip { font-size: 13px; }
  .q-ipic { width: 56px; height: 56px; }
  .q-item { padding: 6px 10px; gap: 3px; }
  .q-idesc { font-size: 13px; }
}
