/* Challenge Tab UI Styles */
.ch-paywall{padding:4px 0 24px}
.ch-pw-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#0d1a0e,#111d11,#0a160b);border:1px solid rgba(198,168,90,.2);border-radius:20px;padding:28px 20px 24px;text-align:center;margin-bottom:16px}
.ch-pw-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(198,168,90,.07),transparent 70%);pointer-events:none}
.ch-pw-crown{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,rgba(198,168,90,.15),rgba(198,168,90,.06));border:1px solid rgba(198,168,90,.25);display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 16px;box-shadow:0 0 28px rgba(198,168,90,.12)}
.ch-pw-title{font-family:'Cormorant SC',serif;font-size:22px;font-weight:500;background:linear-gradient(135deg,#C6A85A,#D9C27A);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:6px;letter-spacing:-.01em}
.ch-pw-sub{font-size:13px;color:#748A80;line-height:1.5;max-width:280px;margin:0 auto}
.ch-preview-grid{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.ch-preview-card{display:flex;align-items:center;gap:12px;background:#0d1a0e;border:1px solid rgba(201,168,76,.1);border-radius:14px;padding:14px;position:relative;overflow:hidden}
.ch-preview-card::after{content:'';position:absolute;inset:0;background:rgba(5,12,5,.55);border-radius:14px;backdrop-filter:blur(1.5px)}
.ch-preview-ico{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;border:1px solid rgba(255,255,255,.06);position:relative;z-index:1}
.ch-preview-body{flex:1;min-width:0;position:relative;z-index:1}
.ch-preview-name{font-family:'Cormorant SC',serif;font-size:14px;font-weight:500;color:#EAE6DE;margin-bottom:3px}
.ch-preview-meta{font-size:11px;color:#748A80}
.ch-preview-lock{position:relative;z-index:1;width:28px;height:28px;border-radius:8px;background:rgba(198,168,90,.1);border:1px solid rgba(198,168,90,.18);display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0}
.ch-features{background:#0a160b;border:1px solid rgba(34,197,94,.12);border-radius:14px;padding:16px;margin-bottom:16px}
.ch-feat-title{font-family:'Cormorant SC',serif;font-size:11px;font-weight:500;color:#748A80;text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px}
.ch-feat-row{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.ch-feat-row:last-child{margin-bottom:0}
.ch-feat-dot{width:22px;height:22px;border-radius:6px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px}
.ch-feat-txt{font-size:13px;color:#EAE6DE;line-height:1.4}
.ch-feat-txt span{color:#748A80;font-size:11px}
.ch-upgrade-btn{width:100%;padding:15px;border-radius:14px;border:none;cursor:pointer;background:linear-gradient(110deg,#7A5C1E,#C6A85A,#EDDC90,#C6A85A,#7A5C1E);background-size:220% 100%;animation:chGold 3.5s ease-in-out infinite;color:#060D08;font-family:'Cormorant SC',serif;font-size:15px;font-weight:600;letter-spacing:.04em;box-shadow:0 6px 28px rgba(198,168,90,.3);transition:transform .18s,box-shadow .18s;display:flex;align-items:center;justify-content:center;gap:8px}
.ch-upgrade-btn:hover{transform:translateY(-2px);box-shadow:0 10px 36px rgba(198,168,90,.45)}
.ch-upgrade-btn:active{transform:scale(.97)}
@keyframes chGold{0%,100%{background-position:0% 0}50%{background-position:100% 0}}
.ch-price-note{text-align:center;font-family:'Cormorant SC',serif;font-size:11px;color:#344A3E;letter-spacing:.05em;text-transform:uppercase;margin-top:10px}
.ch-select{padding:4px 0 24px}
.ch-section-hd{font-family:'Cormorant SC',serif;font-size:11px;font-weight:500;color:#748A80;text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px;border-left:2px solid rgba(198,168,90,.4);padding-left:8px}
.ch-prog-card{background:#0d1a0e;border:1px solid rgba(201,168,76,.1);border-radius:18px;padding:18px;margin-bottom:12px;cursor:pointer;transition:border-color .2s,transform .18s;position:relative;overflow:hidden}
.ch-prog-card:hover{border-color:rgba(198,168,90,.3);transform:translateY(-2px)}
.ch-prog-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--ch-primary,#C6A85A);opacity:0;transition:opacity .2s}
.ch-prog-card:hover::before,.ch-prog-card.ch-active-prog::before{opacity:1}
.ch-prog-card.ch-active-prog{border-color:rgba(198,168,90,.35)}
.ch-prog-header{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.ch-prog-ico{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;border:1px solid rgba(255,255,255,.06)}
.ch-prog-name{font-family:'Cormorant SC',serif;font-size:16px;font-weight:500;color:#EAE6DE;margin-bottom:3px;line-height:1.2}
.ch-prog-meta{display:flex;gap:6px;flex-wrap:wrap}
.ch-pill{font-family:'Cormorant SC',serif;font-size:9px;font-weight:500;letter-spacing:.07em;text-transform:uppercase;padding:2px 8px;border-radius:5px}
.ch-prog-desc{font-size:12px;color:#748A80;line-height:1.55;margin-bottom:12px}
.ch-prog-stats{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.ch-stat-chip{display:flex;align-items:center;gap:5px;font-size:11px;padding:4px 8px;border-radius:7px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03);color:#748A80}
.ch-prog-start-btn{width:100%;padding:12px;border-radius:12px;border:none;cursor:pointer;font-family:'Cormorant SC',serif;font-size:13px;font-weight:500;letter-spacing:.04em;transition:all .2s}
.ch-prog-start-btn.gold{background:linear-gradient(110deg,#7A5C1E,#C6A85A,#EDDC90,#C6A85A,#7A5C1E);background-size:220% 100%;animation:chGold 4s ease-in-out infinite;color:#060D08;box-shadow:0 4px 18px rgba(198,168,90,.25)}
.ch-prog-start-btn.ghost{background:rgba(198,168,90,.07);border:1px solid rgba(198,168,90,.2);color:#C6A85A}
.ch-prog-start-btn:hover{transform:translateY(-1px)}
.ch-active{padding:4px 0 24px}
.ch-active-header{background:linear-gradient(145deg,#0d1a0e,#111d11);border:1px solid rgba(201,168,76,.15);border-radius:18px;padding:18px;margin-bottom:16px;position:relative;overflow:hidden}
.ch-active-header::after{content:'';position:absolute;bottom:-30px;right:-20px;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,var(--ch-glow,rgba(198,168,90,.18)),transparent 70%);pointer-events:none}
.ch-active-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.ch-active-ico{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0;border:1px solid rgba(255,255,255,.07)}
.ch-active-name{font-family:'Cormorant SC',serif;font-size:17px;font-weight:500;color:#EAE6DE;margin-bottom:4px;line-height:1.2}
.ch-active-day{font-family:'Cormorant SC',serif;font-size:12px;color:var(--ch-primary,#C6A85A);letter-spacing:.03em}
.ch-progress-section{margin-bottom:4px}
.ch-progress-meta{display:flex;justify-content:space-between;font-family:'Cormorant SC',serif;font-size:9px;font-weight:500;color:#344A3E;text-transform:uppercase;letter-spacing:.07em;margin-bottom:6px}
.ch-progress-track{height:7px;background:rgba(255,255,255,.06);border-radius:4px;overflow:hidden;margin-bottom:8px}
.ch-progress-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,var(--ch-primary,#C6A85A),var(--ch-primary2,#D9C27A));transition:width .6s cubic-bezier(.4,0,.2,1)}
.ch-week-dots{display:flex;gap:4px;flex-wrap:wrap}
.ch-wdot{width:20px;height:20px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:10px;transition:all .2s}
.ch-wdot.done{background:rgba(40,160,108,.2);border:1px solid rgba(40,160,108,.35)}
.ch-wdot.today{border:2px solid var(--ch-primary,#C6A85A);background:rgba(198,168,90,.1)}
.ch-wdot.locked{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.ch-today-card{border-radius:16px;padding:16px;margin-bottom:16px;border:1px solid var(--ch-border,rgba(40,160,108,.25));background:var(--ch-bg,rgba(40,160,108,.05));position:relative;overflow:hidden}
.ch-today-badge{font-family:'Cormorant SC',serif;font-size:9px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--ch-primary,#28A06C);margin-bottom:10px;display:flex;align-items:center;gap:6px}
.ch-today-badge::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--ch-primary,#28A06C);animation:chPulse 2s ease-in-out infinite}
@keyframes chPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.7)}}
.ch-today-title{font-family:'Cormorant SC',serif;font-size:18px;font-weight:500;color:#EAE6DE;margin-bottom:5px;letter-spacing:-.01em}
.ch-today-desc{font-size:12px;color:#748A80;line-height:1.5;margin-bottom:12px}
.ch-today-meta{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.ch-tag{font-family:'Cormorant SC',serif;font-size:10px;font-weight:500;padding:3px 9px;border-radius:6px;letter-spacing:.04em}
.ch-done-stamp{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:12px;background:rgba(40,160,108,.08);border:1px solid rgba(40,160,108,.2);font-family:'Cormorant SC',serif;font-size:13px;font-weight:500;color:#28A06C}
.ch-complete-btn{width:100%;padding:13px;border-radius:12px;border:none;cursor:pointer;font-family:'Cormorant SC',serif;font-size:14px;font-weight:500;letter-spacing:.04em;transition:all .18s;display:flex;align-items:center;justify-content:center;gap:8px}
.ch-complete-btn:hover{transform:translateY(-1px)}
.ch-timeline{margin-bottom:16px}
.ch-tl-hd{font-family:'Cormorant SC',serif;font-size:11px;font-weight:500;color:#748A80;text-transform:uppercase;letter-spacing:.1em;margin-bottom:10px;border-left:2px solid rgba(198,168,90,.4);padding-left:8px}
.ch-tl-item{display:flex;align-items:flex-start;gap:10px;padding:9px 10px;border-radius:10px;margin-bottom:5px;background:#0a160b;border:1px solid rgba(201,168,76,.07);transition:border-color .15s}
.ch-tl-item.tl-done{background:rgba(40,160,108,.04);border-color:rgba(40,160,108,.12)}
.ch-tl-item.tl-today{border-color:rgba(198,168,90,.28);background:rgba(198,168,90,.04)}
.ch-tl-num{width:24px;height:24px;border-radius:7px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-family:'Cormorant SC',serif;font-size:10px;font-weight:500}
.ch-tl-num.done{background:rgba(40,160,108,.15);color:#28A06C}
.ch-tl-num.today{background:rgba(198,168,90,.15);color:#C6A85A}
.ch-tl-num.locked{background:rgba(255,255,255,.04);color:#344A3E}
.ch-tl-body{flex:1;min-width:0}
.ch-tl-title{font-size:12px;font-weight:400;color:#EAE6DE;margin-bottom:2px}
.ch-tl-title.tl-done{color:#344A3E;text-decoration:line-through}
.ch-tl-meta{font-size:10px;color:#344A3E}
.ch-tl-xp{font-family:'Cormorant SC',serif;font-size:11px;color:#748A80;flex-shrink:0;margin-top:2px}
.ch-tl-xp.done{color:#28A06C}
.ch-show-all-btn{width:100%;padding:10px;border-radius:10px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.06);color:#344A3E;font-family:'Cormorant SC',serif;font-size:12px;cursor:pointer;transition:all .2s;letter-spacing:.04em}
.ch-show-all-btn:hover{background:rgba(255,255,255,.05);color:#748A80}
.ch-quit-btn{width:100%;padding:11px;border-radius:12px;background:rgba(194,72,72,.07);border:1px solid rgba(194,72,72,.18);color:#C24848;font-family:'Cormorant SC',serif;font-size:12px;cursor:pointer;transition:all .2s;letter-spacing:.04em;margin-top:6px}
.ch-quit-btn:hover{background:rgba(194,72,72,.13)}
.ch-stats-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:16px}
.ch-stat-box{background:#0d1a0e;border:1px solid rgba(201,168,76,.1);border-radius:12px;padding:12px 8px;text-align:center}
.ch-stat-val{font-family:'Cormorant SC',serif;font-size:20px;font-weight:500;color:#C6A85A;line-height:1;margin-bottom:4px}
.ch-stat-lbl{font-family:'Cormorant SC',serif;font-size:9px;color:#344A3E;text-transform:uppercase;letter-spacing:.08em}
