@import"https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap";.quests-page{--quest-bg:#1a1a1c;--quest-card:#242428;--quest-card-hover:#2a2a2f;--quest-border:hsla(0,0%,100%,.06);--quest-accent:#a78bfa;--quest-accent-glow:rgba(167,139,250,.2);--quest-success:#34d399;--quest-success-glow:rgba(52,211,153,.2);--quest-gold:#fbbf24;--quest-gold-glow:rgba(251,191,36,.2);--quest-text:#f0f0f0;--quest-text-muted:#888;--quest-font:"Outfit",-apple-system,BlinkMacSystemFont,sans-serif;font-family:var(--quest-font);min-height:100vh;background:var(--quest-bg);padding:2rem 1.5rem;color:var(--quest-text)}@media(min-width:768px){.quests-page{padding:3rem 4rem}}.quests-error,.quests-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:1rem;color:var(--quest-text-muted)}.quests-error svg,.quests-loading svg{color:var(--quest-accent)}.quests-error h2,.quests-error p,.quests-loading h2,.quests-loading p{margin:0;font-weight:400}.loading-spinner{color:var(--quest-accent)}.retry-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:var(--quest-card);border:1px solid var(--quest-border);border-radius:8px;color:var(--quest-text);font-family:inherit;font-size:.9rem;cursor:pointer;transition:all .2s ease}.retry-btn:hover{background:var(--quest-card-hover);border-color:var(--quest-accent)}.quests-hero{text-align:center;margin-bottom:3rem;padding:2rem;background:linear-gradient(135deg,var(--quest-card) 0,rgba(167,139,250,.08) 100%);border:1px solid var(--quest-border);border-radius:20px;position:relative;overflow:hidden}.quests-hero:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,var(--quest-accent-glow) 0,transparent 60%);opacity:.3;animation:heroGlow 8s ease-in-out infinite}@keyframes heroGlow{0%,to{transform:translate(0) scale(1)}50%{transform:translate(10%,10%) scale(1.1)}}.quests-hero .hero-content{position:relative;z-index:1}.quests-hero .hero-icon{display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;background:linear-gradient(135deg,var(--quest-accent) 0,#8b5cf6 100%);border-radius:50%;margin-bottom:1rem;box-shadow:0 8px 32px var(--quest-accent-glow)}.quests-hero .hero-icon svg{color:#fff}.quests-hero h1{font-size:2.5rem;font-weight:700;margin:0 0 .5rem;background:linear-gradient(135deg,#fff 0,var(--quest-accent) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.quests-hero .hero-subtitle{color:var(--quest-text-muted);margin:0;font-size:1.1rem}.quests-hero .hero-stats{display:flex;align-items:center;justify-content:center;gap:2rem;margin-top:2rem;position:relative;z-index:1}.quests-hero .stat{display:flex;flex-direction:column;align-items:center;gap:.25rem}.quests-hero .stat-value{font-size:2rem;font-weight:700;color:var(--quest-accent)}.quests-hero .stat-label{font-size:.85rem;color:var(--quest-text-muted);text-transform:uppercase;letter-spacing:.05em}.quests-hero .stat-divider{width:1px;height:40px;background:var(--quest-border)}.quotas-section{margin-bottom:2.5rem}.quotas-section h2{font-size:1.2rem;font-weight:600;margin:0 0 1rem;color:var(--quest-text-muted);text-transform:uppercase;letter-spacing:.08em}.quotas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:1rem;gap:1rem}.quota-card{background:var(--quest-card);border:1px solid var(--quest-border);border-radius:12px;padding:1.25rem;transition:all .2s ease}.quota-card:hover{border-color:hsla(0,0%,100%,.12);transform:translateY(-2px)}.quota-card .quota-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem}.quota-card .quota-icon{font-size:1.2rem}.quota-card .quota-title{font-size:.9rem;font-weight:500}.quota-card .quota-bar{height:6px;background:hsla(0,0%,100%,.1);border-radius:3px;overflow:hidden;margin-bottom:.5rem}.quota-card .quota-fill{height:100%;background:linear-gradient(90deg,var(--quest-accent) 0,#c4b5fd 100%);border-radius:3px}.quota-card .quota-text{font-size:.85rem;color:var(--quest-text-muted);margin:0;text-align:right}.quota-card.gallery-quota .gallery-bar{position:relative;height:8px;background:hsla(0,0%,100%,.06)}.quota-card.gallery-quota .gallery-bar .quota-limit-marker{position:absolute;top:0;left:0;height:100%;background:rgba(167,139,250,.25);border-radius:4px}.quota-card.gallery-quota .gallery-bar .quota-fill{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,var(--quest-accent) 0,#c4b5fd 100%);border-radius:4px}.quota-card.gallery-quota .quota-max-hint{font-size:.75rem;color:hsla(0,0%,100%,.3);margin-left:.25rem}.locked-templates{display:flex;align-items:center;gap:.5rem;margin-top:1rem;padding:.75rem 1rem;background:hsla(0,0%,100%,.03);border-radius:8px;font-size:.85rem;color:var(--quest-text-muted)}.locked-templates svg{opacity:.5}.quests-section{margin-bottom:2.5rem}.quests-section h2{display:flex;align-items:center;gap:.5rem;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.quests-section.claimable h2,.quests-section.claimable h2 .section-icon{color:var(--quest-gold)}.quests-section.active h2,.quests-section.active h2 .section-icon{color:var(--quest-accent)}.quests-section.completed h2,.quests-section.completed h2 .section-icon{color:var(--quest-success)}.quests-section.referral h2,.quests-section.referral h2 .section-icon{color:#60a5fa}.referral-content{margin-top:1rem}.referral-card{display:grid;grid-template-columns:1fr auto 1fr;grid-gap:2rem;gap:2rem;padding:1.5rem;background:var(--quest-card);border:1px solid var(--quest-border);border-radius:16px}@media(max-width:768px){.referral-card{grid-template-columns:1fr;gap:1.5rem}}.referral-divider{width:1px;background:var(--quest-border)}@media(max-width:768px){.referral-divider{width:100%;height:1px}}.referral-code-section,.referral-input-section{display:flex;flex-direction:column;gap:.75rem}.referral-label{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--quest-text-muted);margin:0}.referral-code-box{display:flex;align-items:center;gap:.75rem}.referral-code{font-family:Fira Code,monospace;font-size:1.5rem;font-weight:700;letter-spacing:.15em;color:#60a5fa;background:rgba(96,165,250,.1);padding:.75rem 1.25rem;border-radius:12px;border:1px dashed rgba(96,165,250,.3)}.copy-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1rem;background:hsla(0,0%,100%,.08);border:1px solid var(--quest-border);border-radius:8px;color:var(--quest-text);font-family:inherit;font-size:.85rem;cursor:pointer;transition:all .2s ease}.copy-btn:hover{background:hsla(0,0%,100%,.12);border-color:hsla(0,0%,100%,.2)}.copy-btn svg{width:16px;height:16px}.referral-stats{font-size:.9rem}.referral-desc,.referral-stats{color:var(--quest-text-muted);margin:0}.referral-desc{font-size:.85rem;line-height:1.5}.referral-desc strong{color:var(--quest-success)}.referral-input-box{display:flex;align-items:center;gap:.75rem}.referral-input-box input{flex:1 1;padding:.875rem 1rem;background:hsla(0,0%,100%,.05);border:1px solid var(--quest-border);border-radius:12px;color:var(--quest-text);font-family:Fira Code,monospace;font-size:1rem;letter-spacing:.1em;text-transform:uppercase;transition:all .2s ease}.referral-input-box input::placeholder{color:var(--quest-text-muted);text-transform:none;letter-spacing:normal}.referral-input-box input:focus{outline:none;border-color:#60a5fa;background:rgba(96,165,250,.05)}.referral-input-box input:disabled{opacity:.5}.redeem-btn{padding:.875rem 1.5rem;background:linear-gradient(135deg,#60a5fa,#3b82f6);border:none;border-radius:12px;color:#fff;font-family:inherit;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.redeem-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 16px rgba(96,165,250,.3)}.redeem-btn:disabled{opacity:.5;cursor:not-allowed}.referral-error{color:#f87171;background:hsla(0,91%,71%,.1)}.referral-error,.referral-success{font-size:.85rem;margin:0;padding:.5rem .75rem;border-radius:8px}.referral-success{color:var(--quest-success);background:rgba(52,211,153,.1)}.referral-used{font-size:.9rem;color:var(--quest-text-muted);margin:0;padding:.75rem 1rem;background:hsla(0,0%,100%,.03);border-radius:8px}.referral-used strong{color:var(--quest-text);font-family:Fira Code,monospace;letter-spacing:.1em}.quests-list{display:flex;flex-direction:column;gap:1rem}.quests-list.compact{gap:.5rem}.quest-card{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:var(--quest-card);border:1px solid var(--quest-border);border-radius:16px;transition:all .25s ease;position:relative;overflow:hidden}.quest-card:hover{background:var(--quest-card-hover);border-color:hsla(0,0%,100%,.1);transform:translateY(-2px)}.quest-card.claimable{border-color:var(--quest-gold);box-shadow:0 4px 20px var(--quest-gold-glow)}.quest-card.claimable:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,transparent 0,var(--quest-gold-glow) 100%);pointer-events:none}.quest-card.completed{opacity:.7}.quest-card.completed .quest-content h3{text-decoration:line-through;-webkit-text-decoration-color:var(--quest-success);text-decoration-color:var(--quest-success)}.quest-card.celebrating{animation:celebratePulse .5s ease}@keyframes celebratePulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.quest-icon-wrapper{position:relative;width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:hsla(0,0%,100%,.05);border-radius:50%;flex-shrink:0}.quest-icon-wrapper.completed{background:linear-gradient(135deg,var(--quest-success) 0,#10b981 100%)}.quest-icon-wrapper.completed .quest-icon-svg,.quest-icon-wrapper.completed svg{color:#fff!important}.quest-icon-wrapper .quest-icon-svg{width:24px;height:24px;color:var(--quest-accent);position:relative;z-index:2}.quest-icon-wrapper .progress-ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.quest-icon-wrapper .progress-ring-bg{stroke:hsla(0,0%,100%,.08)}.quest-icon-wrapper .progress-ring-fill{stroke:var(--quest-accent);stroke-dasharray:100;stroke-dashoffset:100}.quest-content{flex:1 1;min-width:0}.quest-content h3{font-size:1rem;font-weight:600;margin:0 0 .25rem}.quest-content .quest-desc{font-size:.85rem;color:var(--quest-text-muted);margin:0 0 .75rem}.quest-content .quest-reward{font-size:.8rem;color:var(--quest-accent);margin:0;opacity:.9}.quest-content .quest-progress-bar{height:4px;background:hsla(0,0%,100%,.1);border-radius:2px;overflow:hidden;margin-bottom:.25rem}.quest-content .quest-progress-fill{height:100%;background:linear-gradient(90deg,var(--quest-accent) 0,#c4b5fd 100%);border-radius:2px}.quest-content .quest-progress-text{font-size:.75rem;color:var(--quest-text-muted);margin:0}.quest-badge .reward-preview{font-size:.75rem;color:var(--quest-text-muted);padding:.5rem .75rem;background:hsla(0,0%,100%,.05);border-radius:6px;white-space:nowrap}.claim-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:linear-gradient(135deg,var(--quest-gold) 0,#f59e0b 100%);border:none;border-radius:10px;color:#1a1a1c;font-family:inherit;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;position:relative;z-index:2}.claim-btn:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 16px var(--quest-gold-glow)}.claim-btn:disabled{opacity:.7;cursor:not-allowed}.celebration-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:var(--quest-success-glow);pointer-events:none}.celebration-overlay svg{color:var(--quest-success);animation:sparkle .6s ease-out}@keyframes sparkle{0%{transform:scale(0) rotate(0deg);opacity:0}50%{transform:scale(1.5) rotate(180deg);opacity:1}to{transform:scale(1) rotate(1turn);opacity:1}}@media(max-width:640px){.quests-page{padding:1rem}.quests-hero{padding:1.5rem 1rem}.quests-hero h1{font-size:2rem}.quests-hero .hero-icon{width:64px;height:64px}.quests-hero .hero-icon svg{width:28px;height:28px}.quest-card{flex-wrap:wrap;gap:.75rem}.quest-card .quest-badge{width:100%}.quest-card .quest-badge .reward-preview{display:block;text-align:center}.claim-btn{width:100%;justify-content:center}}