/* A compact two-stage quest, in the existing purple and gold palette. */

.task2-panel{border-color:#b98bd0;position:relative;overflow:hidden}.task2-panel::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#8f4ac4,#ffe29c,#8f4ac4)}
.task2-panel .section-title{gap:10px;align-items:flex-start}.task2-panel h2{margin:4px 0;font-size:22px}.task2-panel .badge{white-space:normal;text-align:center;flex-shrink:0;max-width:42%;font-size:12px}
.task2-panel p{font-size:14px;line-height:1.7}.task2-panel .task-status-copy{padding:12px 14px;border-radius:14px;background:#170d2380;color:#f3e5f8}
.task2-panel .task-clock{margin:16px 0;padding:18px 10px;text-align:center;border:1px solid #eed89b40;border-radius:18px;background:radial-gradient(ellipse at top,#65407f60,#190e27)}
.task2-panel .task-clock strong{display:block;font-size:42px;letter-spacing:2px;font-variant-numeric:tabular-nums;color:#ffe19a;margin:8px 0}.task2-panel .task-clock small{display:block;font-size:12px;color:#d6bfdd}
.task2-panel .task-step{margin:14px 0;padding:16px;border:1px solid #8d66934d;border-radius:18px;background:#150c2380}.task2-panel .task-step.complete{border-color:#debd6866;background:linear-gradient(135deg,#69532930,#150c23)}
.task-step-heading{display:flex;gap:10px;align-items:center}.task-step-heading>b{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#794a9850;color:#ffe29a;flex-shrink:0}.task-step-heading h3{font-size:15px;margin:0;color:#f8ebff}
.task-dots{display:flex;gap:10px;margin:14px 0}.task-dots span{flex:1;display:grid;place-items:center;height:38px;border:1px solid #9a73ad66;border-radius:12px;color:#b49ac9;font-weight:700;background:#130d20}.task-dots span.earned{background:linear-gradient(135deg,#ffebb0,#dda83d);color:#45284e;box-shadow:0 3px 14px #eec37330;border-color:#fff2b7}
.task2-panel .task-done{color:#ffe29a;font-weight:700}.task2-panel .task-bank summary{cursor:pointer;color:#ffe29a;padding:10px 0}.task2-panel .task-bank summary::marker{color:#dda83d}
.task2-panel .task-bank form{margin-top:12px}.task-bank label{display:block;font-size:13px;color:#d9c5e6;margin-bottom:14px}.task-bank input,.task-bank select{display:block;box-sizing:border-box;width:100%;margin-top:7px;min-height:46px;padding:12px;color:#fff;background:#140d22;border:1px solid #9a6eaf;border-radius:12px;font:inherit;font-size:16px}.task-bank select option{background:#21112e;color:#fff}
.task-bank .task-bank-summary{overflow-wrap:anywhere;color:#f8df9d;font-weight:600}.task2-panel button{width:100%;min-height:46px}.task2-panel button:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.4)}
.task2-panel .task-keep{padding-left:12px;border-left:2px solid #e5c172;color:#d5bddf}.task2-panel[data-state=expired] .task-status-copy{background:#91521f2b;border:1px solid #eeb86755}.task2-panel[data-state=submitted] .task-status-copy{color:#e9dcaf}
.task2-panel .task-restart-copy{font-size:12px;color:#d6bddf;margin-bottom:12px}.task-invite-progress{padding:18px;border:1px solid #caac744d;border-radius:20px;background:linear-gradient(120deg,#452553,#24132c);margin:16px 0}.task-invite-progress strong{display:block;color:#ffe19a}.task-invite-progress p{font-size:13px;line-height:1.6}.task-invite-progress button{width:100%}
@media(max-width:380px){.task2-panel h2{font-size:19px}.task2-panel .task-step{padding:12px}.task-dots{gap:6px}.task2-panel .task-clock strong{font-size:36px}}

/* Progressive disclosure: show actions first and keep conditions one tap away. */
.compact-conditions{margin:12px 0;text-align:left;color:#d8c2e5;font-size:12px;line-height:1.6}
.compact-conditions summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:#f5d983;font-weight:700;list-style:none}
.compact-conditions summary::-webkit-details-marker{display:none}
.compact-conditions summary::after{content:'+';margin-left:auto;font-size:20px}
.compact-conditions[open] summary::after{content:'−'}
.compact-conditions p{margin:0 0 10px!important;font-size:12px!important;line-height:1.7!important}
.welcome-terms .compact-conditions{margin:0}
.welcome-card .welcome-terms{padding-top:0;padding-bottom:0}
.steps li{min-height:70px!important;padding:12px 16px!important;align-items:center}
.steps li h3{margin:0!important}
.rules>.rules-disclosure>summary{min-height:48px;display:flex;align-items:center;font-size:14px;cursor:pointer}
.rules>.rules-disclosure{margin-top:16px}
.rules-content{padding-top:4px}

/* Four short actions instead of instructional cards. */
.steps.reward-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.steps.reward-shortcuts li{padding:0!important;min-height:0!important;display:block;overflow:hidden}
.steps.reward-shortcuts li+li:before{display:none}
.steps.reward-shortcuts li>button{display:flex;align-items:center;gap:8px;width:100%;height:100%;min-height:66px;padding:12px 10px;border:0;border-radius:16px;background:transparent;color:#fff0ca;text-align:left;cursor:pointer;box-shadow:none;font:inherit}
.steps.reward-shortcuts button>b{flex:none;font-size:10px;color:#d6a8ef;border:1px solid #a777c657;border-radius:7px;padding:5px;background:#6c3da13d}
.steps.reward-shortcuts button>[data-t]{font-size:12px;font-weight:750;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.steps.reward-shortcuts .step-arrow{margin-left:auto;color:#e4c183;font-size:15px}
.steps.reward-shortcuts button:hover{background:#995adc20}
.steps.reward-shortcuts button:focus-visible{outline:2px solid #ffdd81;outline-offset:-3px}
@media(min-width:700px){.steps.reward-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}}
