.navigation-container{min-height:100vh;background:var(--sage-50);display:flex;flex-direction:column}.top-header{position:sticky;top:0;z-index:100;background:var(--white);border-bottom:1px solid var(--sage-100);padding:12px 16px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #6b80690d}.logo-container{display:flex;align-items:center;gap:12px}.logo{height:40px;width:auto;object-fit:contain}.logo-text{font-size:14px;font-weight:600;color:var(--sage-700);line-height:1.2}.main-content{flex:1;padding-bottom:80px;overflow-y:auto}.bottom-navigation{position:fixed;bottom:0;left:0;right:0;background:var(--white);border-top:1px solid var(--sage-100);padding:8px 0;padding-bottom:calc(8px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:1000;box-shadow:0 -2px 8px #6b806914}.nav-tab{display:flex;flex-direction:column;align-items:center;padding:8px 4px;color:var(--gray-400);text-decoration:none;font-size:11px;font-weight:500;transition:all .2s ease;min-width:60px;text-align:center}.nav-tab:hover{color:var(--sage-500)}.nav-tab.active{color:var(--sage-600)}.nav-tab.active .nav-icon{transform:scale(1.1)}.nav-icon{font-size:20px;margin-bottom:4px;transition:transform .2s ease}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:.3px}@media (min-width: 768px){.navigation-container{max-width:768px;margin:0 auto}.top-header{padding:16px 24px}.logo{height:48px}.logo-text{font-size:16px}.nav-tab{padding:12px 8px;min-width:80px}.nav-icon{font-size:24px}.nav-label{font-size:11px}}.profile-button-container,.profile-button,.profile-dropdown,.profile-dropdown *{font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif!important}.profile-button{background:none;border:none;cursor:pointer;font-size:1.5rem;color:#333;padding-right:12px}.profile-dropdown{position:absolute;right:2px;top:60px;background-color:#fff;border:1px solid #ccc;border-radius:15px;box-shadow:0 4px 8px #0000001a;list-style:none;padding:5px;margin:0}.profile-dropdown.hidden{display:none}.profile-dropdown li{padding:8px 12px}.profile-dropdown li button{background:none;border:none;color:#3c3c3c;cursor:pointer;text-align:center;letter-spacing:1px}.profile-dropdown li button:hover{text-decoration:underline}.trial-banner{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:16px 20px;margin:16px 16px 0;border-radius:16px;box-shadow:0 4px 16px #6b80694d;position:relative;overflow:hidden;animation:trial-glow 3s ease-in-out infinite}@keyframes trial-glow{0%,to{box-shadow:0 4px 16px #6b80694d}50%{box-shadow:0 6px 24px #6b806966}}.trial-content{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:2}.trial-info{display:flex;align-items:center;gap:12px;flex:1}.trial-icon{font-size:24px;animation:sparkle 2s ease-in-out infinite}@keyframes sparkle{0%,to{transform:scale(1) rotate(0);opacity:1}50%{transform:scale(1.1) rotate(5deg);opacity:.8}}.trial-text h4{font-size:16px;font-weight:700;margin:0 0 4px;text-transform:uppercase;letter-spacing:.5px}.trial-text p{font-size:13px;margin:0;opacity:.9;font-weight:500}.trial-upgrade-btn{background:var(--white);color:var(--sage-600);border:none;border-radius:20px;padding:10px 16px;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;box-shadow:0 2px 8px #0000001a}.trial-upgrade-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026;background:var(--sage-50)}.trial-upgrade-btn:active{transform:translateY(0)}.trial-progress{position:absolute;bottom:0;left:0;right:0;height:4px;background:#fff3;overflow:hidden}.trial-progress-bar{height:100%;background:linear-gradient(90deg,var(--white),rgba(255,255,255,.8));transition:width 1s ease;border-radius:0 4px 4px 0;box-shadow:0 0 8px #ffffff4d}.trial-banner:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent);animation:shimmer 3s ease-in-out infinite}@keyframes shimmer{0%,to{left:-100%}50%{left:100%}}@media (max-width: 480px){.trial-banner{margin:12px;padding:12px 16px}.trial-content{gap:12px}.trial-icon{font-size:20px}.trial-text h4{font-size:14px}.trial-text p{font-size:12px}.trial-upgrade-btn{padding:8px 12px;font-size:11px}}@media (min-width: 768px){.trial-banner{margin:20px 24px 0;padding:20px 24px}.trial-text h4{font-size:18px}.trial-text p{font-size:14px}.trial-upgrade-btn{padding:12px 20px;font-size:14px}}.trial-banner.urgent{background:linear-gradient(135deg,#ff6b6b,#ff5252);animation:urgent-pulse 1.5s ease-in-out infinite}@keyframes urgent-pulse{0%,to{transform:scale(1);box-shadow:0 4px 16px #ff6b6b4d}50%{transform:scale(1.02);box-shadow:0 6px 24px #ff6b6b80}}.trial-banner.urgent .trial-upgrade-btn{animation:button-glow 1s ease-in-out infinite}@keyframes button-glow{0%,to{box-shadow:0 2px 8px #0000001a}50%{box-shadow:0 4px 16px #ffffff4d}}.welcome-container{min-height:100vh;background-color:#d2ddbf;display:flex;justify-content:center;align-items:center;position:relative;overflow:hidden}.flowers{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.welcome-card{background:#ffffffd9;border-radius:24px;padding:40px 28px;width:100%;max-width:400px;box-shadow:0 8px 32px #1f26872e;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.18);z-index:2;transition:box-shadow .3s}.welcome-card:hover{box-shadow:0 12px 36px #1f268738}.welcome-header{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:2rem}.welcome-header img{max-width:100%;height:90px}.welcome-header p{color:#666;font-size:22px}.welcome-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{color:#333;font-size:.9rem;font-weight:bolder}.form-group input{padding:12px;border:1px solid #ddd;border-radius:8px;font-size:1rem;transition:border-color .3s ease}.form-group input:focus{outline:none;border-color:#9baf88;box-shadow:0 0 0 2px #b3e5fc55}.primary-button{background-color:#000;color:#fff;padding:14px;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:background-color .3s ease}.primary-button:hover{background-color:#333}.demo-button{border:1px solid #000;color:#fff;padding:14px;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:background-color .3s ease}.demo-button:hover{background-color:#333}.secondary-button{background:none;border:none;color:#666;font-size:.9rem;cursor:pointer;margin-top:20px;text-decoration:underline}.error-message{color:#dc3545;font-size:.85rem;margin-top:4px}.awakening-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#d2ddbf;z-index:100;display:flex;align-items:center;justify-content:center;transition:background 2s}.awakening-pulse.pulse,.awakening-eye{width:30vw;height:30vw;max-width:160px;max-height:160px;min-width:80px;min-height:80px}.awakening-pulse.pulse{background:radial-gradient(circle,#b3e5fc 60%,#0a1a1f);border-radius:50%;animation:pulse 1.5s infinite;opacity:.8}@keyframes pulse{0%{transform:scale(1);opacity:.8}50%{transform:scale(1.2);opacity:1}to{transform:scale(1);opacity:.8}}.awakening-eye{position:absolute;width:30vw;height:30vw;max-width:160px;max-height:160px;min-width:80px;min-height:80px;background:#fff;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%) scaleY(1);opacity:1;z-index:101;box-shadow:0 0 40px 10px #b3e5fc88,0 0 #b3e5fc44;animation:eye-glow 3s ease-in-out;transition:border-radius 1.2s cubic-bezier(.77,0,.18,1),height 1.2s cubic-bezier(.77,0,.18,1),opacity .7s}@keyframes eye-glow{0%{box-shadow:0 0 #b3e5fc00,0 0 #b3e5fc00;opacity:.7}50%{box-shadow:0 0 80px 30px #b3e5fcbb,0 0 #b3e5fc44;opacity:1}to{box-shadow:0 0 40px 10px #b3e5fc88,0 0 #b3e5fc44;opacity:1}}.awakening-bg.form{opacity:0;pointer-events:none;display:none;transition:opacity 1s}.welcome-card{opacity:0;transform:translateY(40px) scale(.98);transition:opacity .8s .2s,transform .8s .2s}.welcome-card.visible{opacity:1;transform:translateY(0) scale(1)}.awakening-hello{position:absolute;top:38%;left:50%;transform:translate(-50%,-50%);font-size:2.2rem;color:#4a5a2c;font-weight:600;opacity:0;z-index:102;animation:hello-float 3.5s ease-in-out .5s forwards,hello-glow 3s ease-in-out .5s forwards;transition:opacity 1s;pointer-events:none;text-shadow:0 0 20px #b3e5fc88,0 0 40px #b3e5fc44}@keyframes hello-float{0%{opacity:0;transform:translate(-50%,-60%)}20%{opacity:1}80%{opacity:1}to{opacity:0;transform:translate(-50%,-80%)}}@keyframes hello-glow{0%{text-shadow:0 0 0px #b3e5fc00,0 0 0px #b3e5fc00;opacity:.7}50%{text-shadow:0 0 40px #b3e5fcbb,0 0 80px #b3e5fc44;opacity:1}to{text-shadow:0 0 20px #b3e5fc88,0 0 40px #b3e5fc44;opacity:1}}.awakening-bg.open .awakening-hello,.awakening-bg.form .awakening-hello{opacity:0}@media (max-width: 500px){.form-group input,.primary-button,.secondary-button{font-size:1.1rem;padding:16px}}.CircularProgressbar{width:100%;vertical-align:middle}.CircularProgressbar .CircularProgressbar-path{stroke:#3e98c7;stroke-linecap:round;-webkit-transition:stroke-dashoffset .5s ease 0s;transition:stroke-dashoffset .5s ease 0s}.CircularProgressbar .CircularProgressbar-trail{stroke:#d6d6d6;stroke-linecap:round}.CircularProgressbar .CircularProgressbar-text{fill:#3e98c7;font-size:20px;dominant-baseline:middle;text-anchor:middle}.CircularProgressbar .CircularProgressbar-background{fill:#d6d6d6}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-background{fill:#3e98c7}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-text{fill:#fff}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-path{stroke:#fff}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-trail{stroke:transparent}.dashboard-page{padding:16px 16px 80px;min-height:100vh;background:var(--sage-50);max-width:428px;margin:0 auto}.welcome-section{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:24px 20px;border-radius:20px;margin-bottom:24px;text-align:center;box-shadow:0 4px 20px #6b806933}.welcome-section h1{font-size:24px;font-weight:700;margin-bottom:8px;text-shadow:0 2px 4px rgba(0,0,0,.1)}.welcome-section p{font-size:16px;opacity:.9;font-weight:400}.progress-bars{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:24px}.progress-bar{background:var(--white);border-radius:20px;padding:24px 20px;text-align:center;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100);transition:transform .2s ease,box-shadow .2s ease}.progress-bar:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.progress-bar h2{font-size:18px;font-weight:600;color:var(--sage-700);margin-bottom:8px}.goal-text{font-size:14px;color:var(--gray-500);margin-bottom:4px}.current-text{font-size:16px;font-weight:600;color:var(--sage-600);margin-bottom:16px}.progress-bar .CircularProgressbar{width:100px;height:100px;margin:16px auto}.CircularProgressbar .CircularProgressbar-path{stroke:var(--sage-500)!important;stroke-linecap:round;transition:stroke-dashoffset .5s ease 0s}.CircularProgressbar .CircularProgressbar-trail{stroke:var(--sage-100)!important;stroke-linecap:round}.CircularProgressbar .CircularProgressbar-text{fill:var(--sage-700)!important;font-size:20px!important;font-weight:700!important}.progress-bar:nth-child(1) .CircularProgressbar .CircularProgressbar-path{stroke:var(--sage-500)!important}.progress-bar:nth-child(2) .CircularProgressbar .CircularProgressbar-path{stroke:var(--sage-600)!important}.progress-bar:nth-child(3) .CircularProgressbar .CircularProgressbar-path{stroke:var(--mint)!important}.track-button{background:var(--sage-500);color:var(--white);border:none;border-radius:12px;padding:12px 24px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;width:100%;margin-top:16px}.track-button:hover{background:var(--sage-600);transform:translateY(-1px)}.track-button:active{transform:translateY(0)}.notification-bar{background:linear-gradient(135deg,var(--warning) 0%,#e6b866 100%);color:var(--white);padding:16px 20px;border-radius:12px;margin-bottom:16px;text-align:center;box-shadow:0 2px 8px #d4a57433}.notification-bar p{font-size:14px;font-weight:500;margin:0}.celebration-bar{background:linear-gradient(135deg,var(--sage-500) 0%,var(--mint) 100%);color:var(--white);padding:20px;border-radius:16px;margin-bottom:16px;text-align:center;box-shadow:0 4px 16px #6b806933;animation:celebrate .5s ease}.celebration-bar p{font-size:16px;font-weight:600;margin:0}.affirmation-bar{background:linear-gradient(135deg,var(--mint) 0%,var(--sage-400) 100%);color:var(--white);padding:24px 20px;border-radius:16px;margin-bottom:24px;text-align:center;box-shadow:0 4px 16px #a8d5ba4d}.affirmation-bar p{font-size:12px;text-transform:uppercase;letter-spacing:1px;opacity:.9;margin-bottom:12px;font-weight:500}.affirmation-bar h2{font-size:16px;font-style:italic;line-height:1.4;margin:0;font-weight:500}.quick-stats{display:flex;flex-direction:column;gap:12px}.stat-item{background:var(--white);border-radius:12px;padding:20px 24px;box-shadow:0 2px 4px #6b80690d;border:1px solid var(--sage-100);transition:transform .2s ease;display:flex;justify-content:space-between;align-items:center;min-height:60px;gap:12px}.stat-item:hover{transform:translateY(-1px)}.stat-number{font-size:28px;font-weight:700;color:var(--sage-600);line-height:1}.stat-label{font-size:14px;color:var(--gray-500);font-weight:500;text-align:right;line-height:1.3}@media (max-width: 480px){.quick-stats{gap:8px}.stat-item{padding:16px 20px;min-height:50px}.stat-number{font-size:24px}.stat-label{font-size:13px}}@media (min-width: 768px){.quick-stats{gap:16px}.stat-item{padding:24px 28px;min-height:70px}.stat-number{font-size:32px}.stat-label{font-size:16px}}@media (min-width: 768px){.dashboard-page{max-width:768px;padding:24px 32px}.progress-bars{grid-template-columns:repeat(3,1fr);gap:20px}.welcome-section{padding:32px 24px}.welcome-section h1{font-size:28px}.welcome-section p{font-size:18px}}@media (min-width: 1024px){.dashboard-page{max-width:1024px}.progress-bars{gap:24px}.progress-bar{padding:32px 24px}}@media (prefers-color-scheme: dark){.dashboard-page{background:var(--sage-900)}.progress-bar,.stat-item{background:var(--sage-800);border-color:var(--sage-700)}}.premium-analytics{margin-top:32px;padding:24px 20px;background:linear-gradient(135deg,var(--sage-50) 0%,var(--white) 100%);border-radius:20px;border:2px solid var(--sage-200);box-shadow:0 4px 16px #6b80691a}.premium-analytics h2{font-size:22px;font-weight:700;color:var(--sage-700);margin-bottom:20px;text-align:center;text-transform:uppercase;letter-spacing:.5px}.analytics-preview{display:grid;grid-template-columns:1fr;gap:24px}.chart-preview{background:var(--white);border-radius:16px;padding:20px;border:1px solid var(--sage-100);box-shadow:0 2px 8px #6b806914}.chart-preview h3{font-size:18px;font-weight:600;color:var(--sage-600);margin-bottom:16px;display:flex;align-items:center;gap:8px}.mock-chart{height:200px;background:var(--sage-50);border-radius:12px;padding:20px;display:flex;align-items:flex-end;justify-content:center;position:relative;overflow:hidden}.chart-bars{display:flex;align-items:flex-end;gap:8px;height:100%;width:100%;max-width:280px}.bar{background:linear-gradient(180deg,var(--sage-500) 0%,var(--sage-600) 100%);border-radius:4px 4px 0 0;flex:1;min-height:20px;transition:all .3s ease;animation:bar-grow 1.5s ease-out;position:relative}@keyframes bar-grow{0%{height:0;opacity:0}to{opacity:1}}.bar:hover{background:linear-gradient(180deg,var(--sage-400) 0%,var(--sage-500) 100%);transform:scaleY(1.05)}.bar:nth-child(1){animation-delay:.1s}.bar:nth-child(2){animation-delay:.2s}.bar:nth-child(3){animation-delay:.3s}.bar:nth-child(4){animation-delay:.4s}.bar:nth-child(5){animation-delay:.5s}.bar:nth-child(6){animation-delay:.6s}.bar:nth-child(7){animation-delay:.7s}.insights-preview{background:var(--white);border-radius:16px;padding:20px;border:1px solid var(--sage-100);box-shadow:0 2px 8px #6b806914}.insights-preview h3{font-size:18px;font-weight:600;color:var(--sage-600);margin-bottom:16px;display:flex;align-items:center;gap:8px}.insight-card{background:linear-gradient(135deg,var(--sage-50) 0%,var(--sage-50) 100%);border-radius:12px;padding:16px;margin-bottom:12px;border-left:4px solid var(--sage-400);position:relative;transition:all .3s ease}.insight-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #6b806926;border-left-color:var(--sage-500)}.insight-card:last-child{margin-bottom:0}.insight-card p{font-size:14px;color:var(--gray-700);margin:0;line-height:1.5;font-style:italic}.insight-card:before{content:"💡";position:absolute;top:12px;right:12px;font-size:16px;opacity:.6}.analytics-premium-badge{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-left:auto}.analytics-premium-badge:before{content:"💎";font-size:14px}.ai-analytics-coming-soon{margin:2rem 0;padding:2rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:16px;border:2px dashed var(--sage-300);position:relative;overflow:hidden}.ai-analytics-coming-soon:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 80%,rgba(120,119,198,.1) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(255,107,107,.1) 0%,transparent 50%);pointer-events:none}.ai-analytics-coming-soon h2{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;color:var(--sage-700);font-size:1.5rem;position:relative;z-index:1}.coming-soon-badge{background:linear-gradient(45deg,#ff6b6b,#4ecdc4);color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;animation:pulse 2s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.coming-soon-preview{position:relative;z-index:1}.ai-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:2rem}.ai-feature-card{background:#fff;padding:1.5rem;border-radius:12px;border:1px solid var(--sage-200);box-shadow:0 2px 8px #0000001a;transition:transform .2s ease}.ai-feature-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.ai-feature-card .feature-icon{font-size:2rem;margin-bottom:.5rem}.ai-feature-card h3{color:var(--sage-700);margin-bottom:.5rem;font-size:1.1rem}.ai-feature-card p{color:var(--sage-600);font-size:.9rem;line-height:1.4}.coming-soon-mockup{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #0000001a;margin-bottom:2rem;border:1px solid var(--sage-200)}.mockup-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--sage-200)}.mockup-title{font-weight:600;color:var(--sage-700)}.mockup-status{display:flex;align-items:center;gap:.5rem;color:var(--sage-500);font-size:.85rem}.status-dot{width:8px;height:8px;background:#4ecdc4;border-radius:50%;animation:blink 1.5s infinite}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:.3}}.ai-message{display:flex;gap:1rem;margin-bottom:1rem}.ai-avatar{font-size:1.5rem;flex-shrink:0}.message-bubble{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem;border-radius:16px 16px 16px 4px;font-size:.9rem;line-height:1.4;position:relative}.insight-preview{display:flex;flex-direction:column;gap:.5rem}.insight-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;background:var(--sage-50);border-radius:8px;font-size:.9rem;color:var(--sage-600)}.insight-icon{font-size:1.1rem}.coming-soon-cta{text-align:center;padding:2rem;background:#fff;border-radius:12px;border:1px solid var(--sage-200)}.coming-soon-cta h3{color:var(--sage-700);margin-bottom:.5rem}.coming-soon-cta p{color:var(--sage-600);margin-bottom:1rem;max-width:500px;margin-left:auto;margin-right:auto}.tech-stack{display:flex;justify-content:center;gap:.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.tech-badge{background:var(--sage-100);color:var(--sage-700);padding:.25rem .75rem;border-radius:20px;font-size:.75rem;font-weight:500}.notify-button{background:var(--sage-300);color:var(--sage-600);border:none;padding:.75rem 2rem;border-radius:25px;font-weight:600;cursor:not-allowed;display:flex;align-items:center;gap:.5rem;margin:0 auto;opacity:.7}.button-icon{font-size:1rem}.trial-modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#1e1e1ea6;z-index:9999;display:flex;align-items:center;justify-content:center}.trial-modal{background:#fff;border-radius:18px;box-shadow:0 8px 32px #0000002e;padding:2.5rem 2rem 2rem;max-width:350px;width:90%;text-align:center;animation:popIn .25s cubic-bezier(.4,2,.6,1) both}.trial-modal h2{margin-bottom:.5rem;color:#3e98c7;font-size:1.5rem}.trial-modal p{margin-bottom:1.5rem;color:#444}.trial-modal .primary-button{background:#3e98c7;color:#fff;border:none;border-radius:8px;padding:.7rem 1.5rem;font-size:1rem;font-weight:600;cursor:pointer;margin-bottom:1rem;transition:background .2s}.trial-modal .primary-button:hover{background:#357ca5}.trial-modal-actions{display:flex;flex-direction:column;gap:.5rem}.trial-modal .secondary-button,.trial-modal .link-button{background:none;border:none;color:#3e98c7;font-size:1rem;cursor:pointer;padding:.3rem 0;border-radius:6px;transition:background .2s}.trial-modal .secondary-button:hover,.trial-modal .link-button:hover{background:#f0f8ff}@media (max-width: 768px){.ai-features-grid{grid-template-columns:1fr}.tech-stack{flex-direction:column;align-items:center}.ai-message{flex-direction:column;text-align:center}}.soft-card{background:linear-gradient(135deg,var(--sage-100) 0%,var(--sage-50) 100%);border-radius:16px;border:1.5px solid var(--sage-300);box-shadow:0 2px 10px #6b80691a;padding:22px 24px;margin:32px 0 0}.ai-recommendations{margin-bottom:0}.ai-recommendations h2{font-size:1.22rem;color:var(--sage-800);margin-bottom:14px;font-weight:800;letter-spacing:.03em;text-shadow:0 1px 2px rgba(107,128,105,.08)}.recommendation-item{font-size:1.04rem;color:var(--sage-900);margin-bottom:12px;padding:10px 0 8px;border-bottom:1px solid var(--sage-200);font-weight:600;line-height:1.5}.recommendation-item:last-child{border-bottom:none}.recommendation-action{margin-top:4px;font-size:.97rem;color:var(--mint);font-weight:700}.ai-coach-section{margin-top:24px;padding:16px 12px}.ai-coach-title-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.ai-coach-title{font-size:1.08rem;margin-bottom:0}.ai-coach-premium-badge{background:linear-gradient(90deg,var(--mint),var(--sage-400));color:var(--white);font-size:.78rem;font-weight:700;border-radius:8px;padding:2px 10px;margin-left:4px;letter-spacing:.04em;box-shadow:0 1px 4px #6b80691a;text-transform:uppercase}.ai-coach-avatar{font-size:2rem;width:40px;height:40px}.ai-coach-bubble{font-size:.95rem;padding:8px 12px}.ai-coach-type-tag{font-size:.75rem;padding:2px 7px}.ai-coach-avatar-row{display:flex;align-items:flex-start;gap:18px}.ai-coach-avatar{font-size:2.5rem;background:linear-gradient(135deg,var(--mint) 0%,var(--sage-200) 100%);border-radius:50%;width:56px;height:56px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #6b80691a;margin-top:2px;flex-shrink:0}.ai-coach-chat{flex:1;display:flex;flex-direction:column;gap:.5em}.ai-coach-chat-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}.ai-coach-message{display:flex;align-items:flex-end;gap:10px;position:relative}.ai-coach-bubble{background:linear-gradient(135deg,var(--sage-50) 0%,var(--mint) 100%);color:var(--sage-900);padding:14px 18px;border-radius:16px 16px 16px 4px;font-size:1.04rem;font-weight:600;line-height:1.5;box-shadow:0 2px 8px #6b806914;max-width:100%;word-break:break-word;position:relative}.ai-coach-label{color:var(--sage-600);font-weight:700;margin-right:.5em}.ai-coach-type-tag{background:var(--sage-200);color:var(--sage-700);font-size:.85rem;font-weight:700;border-radius:8px;padding:2px 10px;margin-left:8px;margin-bottom:2px;align-self:flex-end}.ai-coach-action{margin-top:8px;font-size:.97rem;color:var(--mint);font-weight:700;background:var(--mint-50, #e6f9f3);border-radius:8px;padding:6px 12px;display:inline-block}.ai-coach-action-label{color:var(--sage-600);font-weight:700;margin-right:.4em}.ai-coach-empty{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.ai-coach-bubble-empty{background:linear-gradient(135deg,var(--sage-50) 0%,var(--sage-200) 100%);color:var(--sage-700);font-style:italic;font-weight:500;opacity:.85}.ai-coach-tip{color:var(--mint);font-size:.98rem;font-weight:700;margin-top:2px;margin-left:2px}@media (max-width: 600px){.ai-coach-section{padding:16px 8px}.ai-coach-avatar{font-size:2rem;width:40px;height:40px}.ai-coach-bubble{font-size:.98rem;padding:10px 12px}.ai-coach-type-tag{font-size:.78rem;padding:2px 7px}}.workout-page{padding:16px 16px 80px;min-height:100vh;background:var(--sage-50);max-width:428px;margin:0 auto}.workout-card{background:var(--white);border-radius:20px;padding:24px 20px;margin-bottom:24px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.workout-title{font-size:22px;font-weight:700;color:var(--sage-700);margin-bottom:20px;text-align:center}.workout-form{display:flex;flex-direction:column;gap:16px}select.form-input{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8069' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.workout-log{background:var(--white);border-radius:20px;padding:24px 20px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.no-workouts{text-align:center;color:var(--gray-500);font-style:italic;padding:40px 20px;background:var(--sage-50);border-radius:12px;border:2px dashed var(--sage-200)}.log-item{background:var(--sage-50);border-radius:16px;padding:20px;margin-bottom:12px;border:1px solid var(--sage-100);transition:all .2s ease}.workout-info{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin-bottom:16px;align-items:center}.workout-title-display{font-size:16px;font-weight:600;color:var(--sage-700);grid-column:1 / 2}.workout-type{background:var(--sage-500);color:var(--white);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px;grid-column:2 / 3;grid-row:1;justify-self:end}.workout-duration{font-size:14px;color:var(--sage-600);font-weight:600;grid-column:1 / 2}.workout-calories{font-size:14px;color:var(--sage-600);font-weight:500;grid-column:2 / 3;justify-self:end}.workout-notes{grid-column:1 / -1;font-size:14px;color:var(--gray-600);font-style:italic;line-height:1.4;margin-top:4px}.workout-actions{display:flex;gap:8px}.edit-button,.delete-button{flex:1;padding:10px 16px;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none}.workout-loading{display:flex;justify-content:center;align-items:center;min-height:50vh;color:var(--sage-500);font-size:16px;font-weight:500}@media (min-width: 768px){.workout-page{max-width:768px;padding:24px 32px}.workout-card,.workout-log{padding:32px 28px}.form-row{gap:16px}.workout-title{font-size:24px}.log-title{font-size:22px}}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.log-item:first-child{animation:slideIn .3s ease}.meditation-page{padding:16px 16px 80px;min-height:100vh;background:var(--sage-50);max-width:428px;margin:0 auto}.session-interface{position:fixed;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,var(--sage-600) 0%,var(--sage-700) 100%);color:var(--white);z-index:2000;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px;text-align:center}.session-header{margin-bottom:40px}.session-header h2{font-size:24px;font-weight:700;margin-bottom:12px;text-shadow:0 2px 4px rgba(0,0,0,.2)}.session-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.session-soundscape{font-size:1.1rem;background:#fff3;padding:.5rem 1rem;border-radius:2rem}.wake-lock-status{font-size:.9rem;padding:.3rem .8rem;border-radius:1rem;font-weight:500}.wake-lock-active{background:#4caf504d;color:#4caf50;border:1px solid rgba(76,175,80,.5)}.wake-lock-inactive{background:#ff98004d;color:#ff9800;border:1px solid rgba(255,152,0,.5)}.wake-lock-unsupported{background:#9e9e9e4d;color:#9e9e9e;border:1px solid rgba(158,158,158,.5)}.session-timer{display:flex;flex-direction:column;align-items:center;margin:2rem 0}.time-display{font-size:2rem;font-weight:700;margin-bottom:1rem;text-align:center}.current-time{color:#4caf50;font-size:48px;font-weight:700;line-height:1;text-shadow:0 2px 4px rgba(0,0,0,.2)}.target-time{color:#666;font-size:1.5rem;opacity:.8;margin-left:8px}.progress-ring{width:200px;height:200px;border-radius:50%;position:relative;display:flex;align-items:center;justify-content:center;background:#f0f0f0;overflow:hidden}.meditation-progress-fill{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;background:conic-gradient(#4caf50,#eee 0deg);transition:background .5s ease}.progress-ring:after{content:"";position:absolute;top:20px;left:20px;right:20px;bottom:20px;background:#fff;border-radius:50%;z-index:1}.session-status{margin-bottom:40px}.deep-state-indicator{background:linear-gradient(45deg,gold,orange);color:#333;padding:1rem;border-radius:1rem;margin:1rem 0;font-weight:700;animation:glow 2s ease-in-out infinite alternate}@keyframes glow{0%{box-shadow:0 0 20px #ffd7004d}to{box-shadow:0 0 30px #ffd70099}}.neurological-info{background:#ffffff1a;padding:1rem;border-radius:.5rem;margin-top:1rem;font-style:italic}.neurological-info p{font-size:14px;opacity:.9;font-style:italic;line-height:1.4}.session-controls{display:flex;gap:1rem;justify-content:center;margin-top:2rem}.pause-btn,.stop-btn{padding:.8rem 1.5rem;border:none;border-radius:2rem;font-size:1rem;font-weight:700;cursor:pointer;transition:all .3s ease}.pause-btn{background:#ffa726;color:#fff}.pause-btn:hover{background:#ff9800;transform:translateY(-2px)}.stop-btn{background:#ef5350;color:#fff}.stop-btn:hover{background:#f44336;transform:translateY(-2px)}.quick-start{margin-bottom:32px}.meditation-title{font-size:28px;font-weight:700;color:var(--sage-700);text-align:center;margin-bottom:8px}.subtitle{font-size:16px;color:var(--sage-500);text-align:center;margin-bottom:24px;font-style:italic}.quick-start-grid{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:32px}.meditation-type{background:var(--white);border-radius:20px;padding:24px 20px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100);transition:all .2s ease;position:relative}.meditation-type:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.meditation-type.premium{border:2px solid var(--sage-300);background:linear-gradient(135deg,var(--white) 0%,var(--sage-50) 100%)}.type-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.type-icon{font-size:24px;margin-right:12px}.type-header h3{font-size:18px;font-weight:600;color:var(--sage-700);flex:1}.premium-badge{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:4px 12px;border-radius:12px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.type-description{font-size:14px;color:var(--gray-600);line-height:1.4;margin-bottom:16px}.duration-options{display:flex;gap:8px;flex-wrap:wrap}.duration-btn{background:var(--sage-100);color:var(--sage-700);border:1px solid var(--sage-200);border-radius:20px;padding:8px 16px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.duration-btn:hover:not(:disabled){background:var(--sage-500);color:var(--white);transform:translateY(-1px)}.duration-btn:disabled{opacity:.5;cursor:not-allowed}.soundscape-section{margin-bottom:32px}.soundscape-section h3{font-size:20px;font-weight:600;color:var(--sage-700);margin-bottom:16px;text-align:center}.soundscape-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.soundscape-option{background:var(--white);border-radius:16px;padding:16px 12px;text-align:center;border:1px solid var(--sage-100);transition:all .2s ease;position:relative;display:flex;flex-direction:column;gap:8px;min-height:140px;pointer-events:none}.soundscape-option .soundscape-content{cursor:pointer;pointer-events:auto;flex:1;display:flex;flex-direction:column;gap:8px;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.soundscape-option:hover{transform:translateY(-2px);border-color:var(--sage-300);box-shadow:0 4px 12px #6b80691a}.soundscape-option.selected{border-color:var(--sage-500);background:var(--sage-50);box-shadow:0 4px 12px #6b806933}.soundscape-option.selected .soundscape-content{background:var(--sage-100);border-radius:8px;padding:8px;margin:-8px}.soundscape-option.premium{border:2px solid var(--sage-300);padding-top:24px}.soundscape-icon{font-size:32px;display:block;margin-bottom:4px}.soundscape-header{pointer-events:none}.soundscape-option h4{font-size:14px;font-weight:600;color:var(--sage-700);margin:0 0 4px;line-height:1.2}.soundscape-description{font-size:12px;color:var(--gray-500);margin:0 0 4px;line-height:1.3;flex:1}.neurological-note{font-size:10px;color:var(--sage-500);font-style:italic;line-height:1.2;margin-top:auto}.soundscape-option .premium-badge{position:absolute;top:8px;right:8px;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:3px 8px;border-radius:10px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;z-index:10}.meditation-card{background:var(--white);border-radius:20px;padding:24px 20px;margin-bottom:24px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.form-title{font-size:20px;font-weight:600;color:var(--sage-700);margin-bottom:20px;text-align:center}.meditation-form{display:flex;flex-direction:column;gap:16px}.form-textarea{resize:vertical;min-height:80px}.log-button{flex:1;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);border:none;border-radius:12px;padding:14px 20px;font-weight:600;font-size:16px;cursor:pointer;transition:all .2s ease}.log-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #6b806933}.meditation-log{background:var(--white);border-radius:20px;padding:24px 20px;margin-bottom:24px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.log-title small{display:block;font-size:12px;color:var(--sage-500);font-weight:400;margin-top:4px;opacity:.8}.no-sessions{text-align:center;color:var(--gray-500);font-style:italic;padding:40px 20px;background:var(--sage-50);border-radius:12px;border:2px dashed var(--sage-200)}.no-sessions small{display:block;margin-top:8px;font-size:12px;color:var(--sage-400)}.log-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}.log-item{background:linear-gradient(135deg,var(--sage-50) 0%,#f8faf8 100%);border-radius:16px;padding:20px;border:1px solid var(--sage-100);transition:all .3s ease;position:relative;box-sizing:border-box;display:flex;flex-direction:column}.log-item:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);border-radius:4px 0 0 4px}.meditation-info{width:100%;overflow:visible}.meditation-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px;width:100%;flex-wrap:wrap}.meditation-type{font-size:16px;font-weight:600;color:var(--sage-700);flex:1;min-width:0;word-wrap:break-word}.meditation-time{font-size:12px;color:var(--gray-500);text-align:right;flex-shrink:0;line-height:1.3;white-space:nowrap}.meditation-time small{display:block;font-size:10px;color:var(--sage-400);margin-top:2px}.meditation-details{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;align-items:center;justify-content:flex-start;width:100%}.meditation-duration{background:var(--sage-500);color:var(--white);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap}.meditation-soundscape{background:var(--sage-100);color:var(--sage-700);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500;white-space:nowrap}.deep-state-badge{background:linear-gradient(135deg,gold,orange);color:#333;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600;animation:pulse 2s infinite;white-space:nowrap}.mood-change{background:var(--sage-100);color:var(--sage-700);padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500;white-space:nowrap}.meditation-notes{font-size:13px;color:var(--gray-600);font-style:italic;line-height:1.4;margin-top:8px;padding:12px;background:#6b80690d;border-radius:8px;border-left:3px solid var(--sage-300);width:100%;box-sizing:border-box;word-wrap:break-word}.meditation-actions{display:flex;gap:8px;margin-top:16px;width:100%}.edit-button,.delete-button{flex:1;padding:10px 16px;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;text-align:center;white-space:nowrap}.edit-button{background:var(--sage-100);color:var(--sage-700);border:1px solid var(--sage-200)}.delete-button{background:#c67b7b1a;color:var(--error);border:1px solid rgba(198,123,123,.2)}.recommended-videos{background:var(--white);border-radius:20px;padding:24px 20px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.recommended-title{font-size:20px;font-weight:600;color:var(--sage-700);margin-bottom:20px;text-align:center}.video-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.video-tile{background:var(--sage-50);border-radius:12px;padding:16px 12px;text-align:center;text-decoration:none;color:var(--sage-700);transition:all .2s ease;border:1px solid var(--sage-100)}.video-tile:hover{transform:translateY(-2px);background:var(--sage-100);box-shadow:0 4px 8px #6b80691a}.video-thumbnail{font-size:32px;margin-bottom:8px}.video-title{font-size:12px;font-weight:500;line-height:1.3;margin:0}.meditation-loading{display:flex;justify-content:center;align-items:center;min-height:50vh;color:var(--sage-500);font-size:16px;font-weight:500}.premium-meditation-features{background:linear-gradient(135deg,var(--sage-600) 0%,var(--sage-700) 100%);color:var(--white);border-radius:20px;padding:24px 20px;margin-bottom:24px;box-shadow:0 4px 16px #6b806933;position:relative;overflow:hidden}.premium-meditation-features:before{content:"";position:absolute;top:-50%;right:-50%;width:100px;height:100px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%}.premium-meditation-features h3{font-size:20px;font-weight:700;text-align:center;margin:0 0 12px;text-shadow:0 1px 2px rgba(0,0,0,.1)}.premium-meditation-features p{font-size:14px;text-align:center;margin-bottom:20px;opacity:.9;line-height:1.4}.premium-meditation-features ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.premium-meditation-features li{background:#ffffff1a;padding:16px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.15);transition:all .3s ease;font-size:14px;line-height:1.4}.premium-meditation-features li:hover{background:#ffffff26;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}@media (min-width: 768px){.premium-meditation-features{padding:32px 24px}.premium-meditation-features h3{font-size:24px;margin-bottom:16px}.premium-meditation-features p{font-size:16px;margin-bottom:24px}.premium-meditation-features ul{grid-template-columns:repeat(2,1fr);gap:16px}.premium-meditation-features li{padding:20px;font-size:15px}}@media (min-width: 1024px){.premium-meditation-features ul{grid-template-columns:repeat(3,1fr)}}.timezone-note{text-align:center;color:var(--sage-500);margin-bottom:16px;font-size:14px;font-style:italic}.premium-overlay{display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;background:#ffffffb3;border-radius:12px;pointer-events:none;z-index:5}.soundscape-instructions{text-align:center;margin-bottom:20px;padding:15px;background:var(--sage-50);border-radius:12px;border:1px solid var(--sage-200)}.soundscape-instructions p{margin:0 0 10px;color:var(--sage-700);font-weight:500}.no-soundscape-warning{background:#fff3cd;color:#856404;padding:10px 15px;border-radius:8px;border:1px solid #ffeaa7;font-weight:600;font-size:14px}.duration-btn.disabled{background:var(--gray-300);color:var(--gray-500);cursor:not-allowed;opacity:.6}.duration-btn.disabled:hover{background:var(--gray-300);transform:none}.quick-start-grid h3{text-align:center;color:var(--sage-700);margin-bottom:20px;font-size:18px;font-weight:600}.soundscape-section{margin-bottom:30px}.soundscape-section h3{text-align:center;color:var(--sage-700);margin-bottom:15px;font-size:18px;font-weight:600}.premium-gate{position:relative;width:100%}.premium-lock{background:linear-gradient(135deg,#6b80690d,#ffffffe6);border:2px dashed var(--sage-300);border-radius:20px;padding:40px 32px;text-align:center;position:relative;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);transition:all .3s ease}.premium-lock:hover{border-color:var(--sage-500);background:linear-gradient(135deg,#6b806914,#fffffff2);transform:translateY(-2px);box-shadow:0 8px 24px #6b806926}.lock-icon{font-size:48px;margin-bottom:20px;color:var(--sage-400);filter:drop-shadow(0 2px 4px rgba(107,128,105,.2));animation:gentle-bounce 2s ease-in-out infinite}@keyframes gentle-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.premium-lock h3{font-size:24px;font-weight:700;color:var(--sage-700);margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px}.premium-lock p{font-size:16px;color:var(--gray-600);margin:0 0 28px;line-height:1.5}.unlock-button{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);border:none;border-radius:25px;padding:16px 32px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 4px 12px #6b80694d;position:relative;overflow:hidden}.unlock-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6b806966;background:linear-gradient(135deg,var(--sage-600) 0%,var(--sage-700) 100%)}.unlock-button:active{transform:translateY(0);box-shadow:0 2px 8px #6b80694d}.unlock-button:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.unlock-button:hover:before{left:100%}.premium-gate.compact .premium-lock{padding:24px 20px}.premium-gate.compact .lock-icon{font-size:32px;margin-bottom:16px}.premium-gate.compact h3{font-size:18px;margin-bottom:8px}.premium-gate.compact p{font-size:14px;margin-bottom:20px}.premium-gate.compact .unlock-button{padding:12px 24px;font-size:14px}.premium-gate.inline{display:inline-block;width:auto}.premium-gate.inline .premium-lock{padding:16px 24px;border-radius:12px;display:flex;align-items:center;gap:12px;text-align:left}.premium-gate.inline .lock-icon{font-size:24px;margin:0;animation:none}.premium-gate.inline h3{font-size:14px;margin:0}.premium-gate.inline p{font-size:12px;margin:0}.premium-gate.inline .unlock-button{padding:8px 16px;font-size:12px;margin-left:auto}.premium-gate.overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.premium-gate.overlay .premium-lock{max-width:400px;margin:20px;background:var(--white);border:none;box-shadow:0 20px 40px #0000004d}@media (max-width: 480px){.premium-lock{padding:32px 24px}.lock-icon{font-size:40px;margin-bottom:16px}.premium-lock h3{font-size:20px}.premium-lock p{font-size:14px;margin-bottom:24px}.unlock-button{padding:14px 28px;font-size:14px}}@media (min-width: 768px){.premium-lock{padding:48px 40px}.lock-icon{font-size:56px;margin-bottom:24px}.premium-lock h3{font-size:28px;margin-bottom:16px}.premium-lock p{font-size:18px;margin-bottom:32px}.unlock-button{padding:18px 36px;font-size:18px}}.premium-gate.feature-tease{position:relative}.premium-gate.feature-tease:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent 30%,rgba(107,128,105,.1) 50%,transparent 70%);animation:tease-shimmer 3s ease-in-out infinite;pointer-events:none;border-radius:20px}@keyframes tease-shimmer{0%,to{transform:translate(-100%) rotate(45deg)}50%{transform:translate(100%) rotate(45deg)}}.premium-badge-overlay{position:absolute;top:-8px;right:-8px;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:6px 12px;border-radius:12px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 8px #6b80694d;z-index:10}.premium-badge-overlay:before{content:"💎";margin-right:4px}.water-page{padding:16px 16px 80px;min-height:100vh;background:var(--sage-50);max-width:428px;margin:0 auto}.water-progress{background:linear-gradient(135deg,var(--mint) 0%,var(--sage-500) 100%);color:var(--white);padding:24px 20px;border-radius:20px;margin-bottom:24px;text-align:center;box-shadow:0 4px 20px #a8d5ba4d}.water-progress h2{font-size:22px;font-weight:700;margin-bottom:16px;text-shadow:0 2px 4px rgba(0,0,0,.1)}.progress-info{margin-bottom:16px}.progress-text{font-size:18px;font-weight:600;margin-bottom:12px;display:block}.water-progress-bar{width:100%;height:12px;background:#ffffff4d;border-radius:20px;overflow:hidden;position:relative}.water-progress-fill{height:100%;background:linear-gradient(90deg,var(--white) 0%,rgba(255,255,255,.9) 100%);border-radius:20px;transition:width .5s ease;box-shadow:0 2px 4px #0000001a}.goal-achieved{background:#fff3;padding:12px 16px;border-radius:15px;font-size:16px;font-weight:600;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:celebrate .5s ease}@keyframes celebrate{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.quick-add-section{background:var(--white);border-radius:20px;padding:20px;margin-bottom:24px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.quick-add-section h3{font-size:18px;font-weight:600;color:var(--sage-700);margin-bottom:16px;text-align:center}.quick-add-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.quick-add-btn{background:linear-gradient(135deg,var(--sage-100) 0%,var(--sage-200) 100%);color:var(--sage-700);border:1px solid var(--sage-200);border-radius:16px;padding:16px 12px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;text-align:center;line-height:1.2}.quick-add-btn:hover:not(:disabled){background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);transform:translateY(-2px);box-shadow:0 4px 12px #6b806933}.quick-add-btn:active{transform:translateY(0)}.quick-add-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.quick-add-btn small{display:block;font-size:11px;opacity:.8;margin-top:2px}.water-card{background:var(--white);border-radius:20px;padding:24px 20px;margin-bottom:24px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.water-title{font-size:22px;font-weight:700;color:var(--sage-700);margin-bottom:20px;text-align:center}.water-form{display:flex;flex-direction:column;gap:16px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-label{display:block;font-size:14px;font-weight:600;color:var(--sage-700);margin-bottom:8px}select.form-input{background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8069' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.form-buttons{display:flex;gap:12px;margin-top:8px}.log-button{flex:1;background:linear-gradient(135deg,var(--mint) 0%,var(--sage-500) 100%);color:var(--white);border:none;border-radius:12px;padding:14px 20px;font-weight:600;font-size:16px;cursor:pointer;transition:all .2s ease}.log-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #a8d5ba4d}.log-button:active{transform:translateY(0)}.log-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.cancel-button{background:var(--sage-100);color:var(--sage-700);border:1px solid var(--sage-200);border-radius:12px;padding:14px 20px;font-weight:600;font-size:16px;cursor:pointer;transition:all .2s ease}.cancel-button:hover:not(:disabled){background:var(--sage-200);transform:translateY(-1px)}.water-log{background:var(--white);border-radius:20px;padding:24px 20px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.log-title{font-size:20px;font-weight:600;color:var(--sage-700);margin-bottom:20px;text-align:center}.no-intake{text-align:center;color:var(--gray-500);font-style:italic;padding:40px 20px;background:var(--sage-50);border-radius:12px;border:2px dashed var(--sage-200)}.log-list{list-style:none;padding:0;margin:0}.log-item{background:var(--sage-50);border-radius:16px;padding:20px;margin-bottom:12px;border:1px solid var(--sage-100);transition:all .2s ease;display:flex;justify-content:space-between;align-items:center;gap:16px}.log-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #6b80691a;border-color:var(--sage-200)}.log-item:last-child{margin-bottom:0}.water-info{flex:1;display:flex;flex-direction:column;gap:4px}.water-amount{font-size:18px;font-weight:700;color:var(--sage-700)}.water-type{font-size:14px;color:var(--sage-600);font-weight:500;text-transform:capitalize}.water-notes{font-size:13px;color:var(--gray-600);font-style:italic}.water-actions{display:flex;gap:8px;flex-shrink:0}.edit-button,.delete-button{padding:8px 16px;border-radius:10px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none}.edit-button{background:var(--sage-100);color:var(--sage-700)}.edit-button:hover:not(:disabled){background:var(--sage-200);transform:translateY(-1px)}.delete-button{background:#c67b7b1a;color:var(--error)}.delete-button:hover:not(:disabled){background:#c67b7b33;transform:translateY(-1px)}.edit-button:disabled,.delete-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.water-loading{display:flex;justify-content:center;align-items:center;min-height:50vh;color:var(--sage-500);font-size:16px;font-weight:500}@media (min-width: 768px){.water-page{max-width:768px;padding:24px 32px}.water-card,.water-log,.quick-add-section{padding:32px 28px}.quick-add-buttons{grid-template-columns:repeat(4,1fr);gap:16px}.form-row{gap:16px}.water-title{font-size:24px}.log-title{font-size:22px}.water-progress h2{font-size:24px}}.water-amount:after{content:"💧";margin-left:8px;opacity:.7}.water-type[data-type=tea]:before{content:"🍵 "}.water-type[data-type=coffee]:before{content:"☕ "}.water-type[data-type=juice]:before{content:"🧃 "}.water-type[data-type=sports_drink]:before{content:"🥤 "}@keyframes waterDrop{0%{opacity:0;transform:translateY(-20px) scale(.8)}50%{transform:translateY(5px) scale(1.05)}to{opacity:1;transform:translateY(0) scale(1)}}.log-item:first-child{animation:waterDrop .4s ease}.sentiment-feedback{margin-top:12px;font-size:1.1rem;font-weight:500;color:var(--sage-600);background:var(--sage-50);border-radius:8px;padding:10px 16px}.keywords{font-size:.95rem;color:var(--sage-700);margin-top:4px}.sentiment-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#6b80692e;z-index:1000;display:flex;align-items:center;justify-content:center}.sentiment-modal{background:linear-gradient(135deg,var(--sage-50) 0%,var(--white) 100%);border-radius:18px;box-shadow:0 6px 32px #6b80692e;padding:32px 28px 24px;min-width:260px;max-width:90vw;text-align:center;border:1.5px solid var(--sage-200)}.sentiment-message{font-size:1.13rem;color:var(--sage-800);font-weight:700;margin-bottom:18px;display:block}.close-modal-btn{margin-top:18px;background:linear-gradient(135deg,var(--mint) 0%,var(--sage-400) 100%);color:var(--white);border:none;border-radius:10px;padding:8px 22px;font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s,transform .2s}.close-modal-btn:hover{background:linear-gradient(135deg,var(--sage-500) 0%,var(--mint) 100%);transform:translateY(-2px)}.goals-page{padding:16px 16px 80px;min-height:100vh;background:var(--sage-50);max-width:428px;margin:0 auto}.weekly-header{text-align:center;margin-bottom:32px;padding:24px 20px;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);border-radius:20px;color:var(--white);box-shadow:0 4px 16px #6b806933}.goals-title{font-size:28px;font-weight:700;margin-bottom:8px}.goals-subtitle{font-size:16px;opacity:.9;margin-bottom:20px}.week-info{display:flex;justify-content:space-between;align-items:center;background:#ffffff26;border-radius:12px;padding:12px 16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.week-label{font-size:14px;font-weight:500}.days-remaining{font-size:14px;font-weight:600;background:#fff3;padding:4px 12px;border-radius:20px}.weekly-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:32px}.weekly-ring{text-align:center;background:var(--white);border-radius:20px;padding:20px 16px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100);transition:all .2s ease}.weekly-ring:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.ring-container{position:relative;display:inline-block;margin-bottom:16px}.progress-ring{transform:rotate(-90deg);transition:all .3s ease;filter:drop-shadow(0 2px 4px rgba(107,128,105,.1))}.ring-background{stroke:var(--sage-100);transition:stroke .3s ease}.ring-progress{transition:stroke-dashoffset 1.5s ease-in-out;stroke-linecap:round}.ring-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.ring-value{display:block;font-size:20px;font-weight:700;color:var(--sage-600);line-height:1;margin-bottom:2px}.ring-goal{display:block;font-size:11px;color:var(--gray-400);line-height:1;margin-bottom:6px;font-weight:500}.ring-label{display:block;font-size:10px;color:var(--sage-500);text-transform:uppercase;font-weight:600;letter-spacing:.8px}.ring-percentage{font-size:16px;font-weight:700;color:var(--sage-600);background:var(--sage-50);padding:6px 12px;border-radius:20px;border:1px solid var(--sage-100);display:inline-block;margin-top:8px}.weekly-ring:nth-child(1) .ring-progress{stroke:var(--sage-500)}.weekly-ring:nth-child(2) .ring-progress{stroke:var(--mint)}.weekly-ring:nth-child(3) .ring-progress{stroke:var(--sage-600)}.weekly-ring.completed .ring-progress{animation:pulse-ring 2s ease-in-out infinite}@keyframes pulse-ring{0%,to{stroke-width:8;opacity:1}50%{stroke-width:10;opacity:.8}}.achievement-gallery{margin-bottom:32px}.section-title{font-size:20px;font-weight:600;color:var(--sage-700);margin-bottom:16px;text-align:center}.no-achievements{text-align:center;padding:40px 20px;background:var(--white);border-radius:16px;border:2px dashed var(--sage-200)}.no-achievement-icon{font-size:48px;display:block;margin-bottom:16px}.no-achievements p{color:var(--gray-500);font-size:16px;margin:0}.achievements-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:20px}.achievement-card{background:var(--white);border-radius:16px;padding:20px 16px;text-align:center;box-shadow:0 2px 8px #6b806914;border:2px solid transparent;transition:all .2s ease;position:relative;overflow:hidden}.achievement-card.bronze{border-color:#cd7f32;background:linear-gradient(135deg,#fff8e1,#fff)}.achievement-card.silver{border-color:silver;background:linear-gradient(135deg,#f5f5f5,#fff)}.achievement-card.gold{border-color:gold;background:linear-gradient(135deg,#fffbf0,#fff)}.achievement-card.diamond{border-color:var(--sage-500);background:linear-gradient(135deg,var(--sage-50) 0%,#FFFFFF 100%);animation:shimmer 2s ease-in-out infinite}@keyframes shimmer{0%,to{opacity:1}50%{opacity:.95}}.achievement-icon{font-size:32px;margin-bottom:8px}.achievement-info h4{font-size:14px;font-weight:700;color:var(--sage-700);margin:0 0 4px;text-transform:uppercase;letter-spacing:.5px}.achievement-info p{font-size:12px;color:var(--gray-500);margin:0 0 8px;text-transform:uppercase}.achievement-percentage{font-size:16px;font-weight:700;color:var(--sage-600)}.premium-overlay{position:absolute;top:8px;right:8px}.premium-badge{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:4px 8px;border-radius:8px;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.streak-section{margin-bottom:32px}.streak-card{background:var(--white);border-radius:16px;padding:24px 20px;display:flex;align-items:center;gap:20px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.streak-icon{font-size:40px;filter:drop-shadow(0 2px 4px rgba(255,165,0,.3))}.streak-info{flex:1}.streak-number{display:block;font-size:32px;font-weight:700;color:var(--sage-600);line-height:1}.streak-label{font-size:14px;color:var(--gray-500);text-transform:uppercase;font-weight:500;letter-spacing:.5px}.streak-next{text-align:right;font-size:12px;color:var(--gray-500)}.premium-hint{display:block;background:var(--sage-100);color:var(--sage-600);padding:2px 8px;border-radius:8px;font-size:10px;font-weight:600;text-transform:uppercase;margin-top:4px}.premium-cta-card{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);border-radius:20px;padding:28px 24px;color:var(--white);text-align:center;box-shadow:0 8px 24px #6b80694d;position:relative;overflow:hidden;margin-bottom:32px}.premium-cta-card:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,.1) 50%,transparent 70%);animation:shine 3s ease-in-out infinite}@keyframes shine{0%,to{transform:translate(-100%)}50%{transform:translate(100%)}}.cta-header{margin-bottom:24px}.cta-header h3{font-size:24px;font-weight:700;margin:0 0 8px}.cta-price{font-size:20px;font-weight:600;background:#fff3;padding:8px 16px;border-radius:20px;display:inline-block}.premium-features{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:28px}.feature-item{display:flex;align-items:center;gap:12px;background:#ffffff1a;padding:12px 16px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.feature-icon{font-size:20px}.upgrade-button{background:var(--white);color:var(--sage-600);border:none;border-radius:25px;padding:16px 32px;font-size:18px;font-weight:700;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #00000026;text-transform:uppercase;letter-spacing:.5px}.upgrade-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0003}.upgrade-button:active{transform:translateY(0)}.reward-marketplace{margin-bottom:32px}.rewards-grid{display:grid;grid-template-columns:1fr;gap:16px}.reward-item{background:var(--white);border-radius:16px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100);transition:all .2s ease}.reward-item:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.reward-icon{font-size:32px;background:var(--sage-50);width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid var(--sage-100)}.reward-info{flex:1}.reward-info h4{font-size:16px;font-weight:600;color:var(--sage-700);margin:0 0 4px}.reward-info p{font-size:14px;color:var(--gray-500);margin:0 0 8px}.reward-cost{background:var(--sage-500);color:var(--white);padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600}.weekly-challenges{margin-bottom:32px}.challenge-card{background:var(--white);border-radius:16px;padding:24px 20px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100);margin-bottom:16px}.challenge-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;flex-wrap:wrap;gap:12px;min-height:40px}.challenge-header h3{font-size:18px;font-weight:600;color:var(--sage-700);margin:0;flex:1;min-width:0}.challenge-reward{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);padding:6px 12px;border-radius:12px;font-size:12px;font-weight:600;flex-shrink:0;white-space:nowrap;align-self:flex-start}.challenge-description{font-size:14px;color:var(--gray-600);margin:0 0 20px;line-height:1.5;clear:both;width:100%}.challenge-progress{margin-bottom:20px}.challenge-bar{background:#6b80691a;height:8px;border-radius:4px;overflow:hidden;margin-bottom:8px;position:relative}.challenge-fill{background:linear-gradient(90deg,var(--sage-400) 0%,var(--sage-500) 100%);height:100%;border-radius:4px;transition:width .3s ease;position:relative;z-index:1;box-shadow:0 2px 4px #6b806933;min-width:4px}.challenge-status{font-size:12px;color:var(--sage-600);font-weight:500;margin-top:8px;display:block}.challenge-premium{text-align:center;padding:12px;background:var(--sage-50);border-radius:8px;border:1px dashed var(--sage-200)}.challenge-premium span{font-size:12px;color:var(--sage-500);font-style:italic}.goals-loading{display:flex;justify-content:center;align-items:center;min-height:50vh;color:var(--sage-500);font-size:16px;font-weight:500}.custom-goals-section{margin-top:32px;padding:24px 20px;background:linear-gradient(135deg,var(--sage-50) 0%,var(--white) 100%);border-radius:20px;border:2px solid var(--sage-200)}.custom-goals-form{display:grid;gap:24px}.goal-slider{background:var(--white);border-radius:16px;padding:20px;border:1px solid var(--sage-100);box-shadow:0 2px 8px #6b806914;transition:all .3s ease}.goal-slider:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f;border-color:var(--sage-300)}.goal-slider label{display:block;font-size:16px;font-weight:600;color:var(--sage-700);margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.goal-range{width:100%;height:8px;border-radius:4px;background:var(--sage-100);outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;margin-bottom:12px;position:relative}.goal-range::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);cursor:pointer;box-shadow:0 2px 8px #6b80694d;transition:all .2s ease}.goal-range::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 4px 12px #6b806966}.goal-range::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);cursor:pointer;border:none;box-shadow:0 2px 8px #6b80694d}.goal-slider span{display:block;font-size:14px;color:var(--gray-600);font-weight:500;text-align:center;background:var(--sage-50);padding:8px 16px;border-radius:20px;border:1px solid var(--sage-100)}.save-goals-btn{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);border:none;border-radius:25px;padding:16px 32px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 4px 12px #6b80694d;margin-top:8px}.save-goals-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6b806966;background:linear-gradient(135deg,var(--sage-600) 0%,var(--sage-700) 100%)}.save-goals-btn:active{transform:translateY(0)}.diamond-achievements{margin-top:32px}.diamond-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:16px}.achievement-card.diamond{background:linear-gradient(135deg,#e8f4fd,#fff);border:2px solid #3B82F6;box-shadow:0 4px 16px #3b82f633;animation:diamond-glow 3s ease-in-out infinite}@keyframes diamond-glow{0%,to{box-shadow:0 4px 16px #3b82f633}50%{box-shadow:0 6px 24px #3b82f64d}}.achievement-card.diamond .achievement-icon{font-size:48px;animation:diamond-sparkle 2s ease-in-out infinite}@keyframes diamond-sparkle{0%,to{transform:scale(1) rotate(0)}50%{transform:scale(1.1) rotate(5deg)}}.premium-challenges{margin-bottom:32px}.challenge-preview{display:grid;grid-template-columns:1fr;gap:16px;margin-top:20px}.challenge-card.premium{background:var(--white);border-radius:16px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100);transition:all .2s ease;position:relative;overflow:hidden}.challenge-card.premium:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.challenge-card.premium:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--sage-500),var(--sage-600),var(--sage-500))}.challenge-card.premium .challenge-icon{font-size:32px;background:var(--sage-50);width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid var(--sage-100);flex-shrink:0}.challenge-card.premium .challenge-content{flex:1}.challenge-card.premium .challenge-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px;flex-wrap:wrap;gap:8px}.challenge-card.premium .challenge-header h3{font-size:16px;font-weight:600;color:var(--sage-700);margin:0;flex:1;min-width:0}.challenge-card.premium .challenge-reward{background:var(--sage-500);color:var(--white);padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;flex-shrink:0;white-space:nowrap}.challenge-card.premium p{margin:0 0 8px;line-height:1.4;color:var(--gray-600);font-size:14px}.challenge-participants{margin-top:8px;padding:8px 12px;background:var(--sage-50);border-radius:12px;border:1px solid var(--sage-100);display:inline-block}.challenge-participants span{font-size:12px;color:var(--sage-600);font-weight:600}.game-stats-section{margin-bottom:32px}.game-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.game-stat-card{background:linear-gradient(135deg,var(--sage-50) 0%,var(--white) 100%);border-radius:16px;padding:20px;border:1px solid var(--sage-200);display:flex;align-items:center;gap:16px;box-shadow:0 2px 8px #6b80691a}.game-stat-card .stat-icon{font-size:32px;background:var(--sage-100);padding:12px;border-radius:12px}.stat-number{font-size:24px;font-weight:700;color:var(--sage-700)}.stat-label{font-size:14px;color:var(--sage-500);font-weight:500}@media (max-width: 480px){.achievements-grid,.challenge-preview{grid-template-columns:1fr}.challenge-card.premium{flex-direction:column;text-align:center;gap:12px}.challenge-card.premium .challenge-icon{width:50px;height:50px;font-size:24px}.weekly-progress{grid-template-columns:1fr;gap:16px}.weekly-ring{display:flex;align-items:center;gap:20px;text-align:left;padding:20px}.ring-container{margin-bottom:0;flex-shrink:0}.progress-ring{width:100px;height:100px}.ring-content{position:static;transform:none;flex:1;text-align:left;margin-left:16px}.ring-value{font-size:24px}.ring-goal{font-size:12px}.ring-label{font-size:11px;margin-bottom:8px}.ring-percentage{margin-top:0;font-size:14px;padding:4px 10px}.custom-goals-section{padding:20px 16px;margin-top:24px}.goal-slider{padding:16px}.goal-slider label{font-size:14px}.save-goals-btn{padding:14px 28px;font-size:14px}.diamond-gallery{grid-template-columns:1fr;gap:12px}}@media (min-width: 768px){.goals-page{max-width:768px;padding:24px 32px}.achievements-grid{grid-template-columns:repeat(3,1fr)}.challenge-preview{grid-template-columns:repeat(2,1fr)}.challenge-card.premium{padding:24px 20px}.challenge-card.premium .challenge-icon{width:70px;height:70px;font-size:36px}.premium-features,.rewards-grid{grid-template-columns:repeat(2,1fr)}.weekly-progress{gap:24px}.weekly-ring{padding:24px 20px}.progress-ring{width:140px;height:140px}.ring-value{font-size:22px}.ring-goal{font-size:12px}.ring-label{font-size:11px}.ring-percentage{font-size:18px;padding:8px 16px}.custom-goals-section{padding:32px 28px}.custom-goals-form{gap:32px}.goal-slider{padding:24px}.diamond-gallery,.challenge-preview{grid-template-columns:repeat(2,1fr);gap:20px}}.achievement-card.diamond{position:relative}.achievement-card.diamond:after{content:"✨";position:absolute;top:8px;left:8px;font-size:16px;animation:sparkle 2s ease-in-out infinite}@keyframes sparkle{0%,to{opacity:.7;transform:scale(1)}50%{opacity:1;transform:scale(1.1)}}.points-balance{font-size:1.2rem;font-weight:600;color:var(--sage-600);margin-bottom:16px;display:flex;align-items:center;gap:8px}.claim-btn,.redeem-btn{padding:2px 6px;font-size:.75rem;border-radius:6px}.profile-page{padding:16px 16px 80px;min-height:100vh;background:var(--sage-50);max-width:428px;margin:0 auto}.profile-card{background:var(--white);border-radius:20px;padding:24px 20px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.profile-header{text-align:center;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--sage-100)}.profile-title{font-size:24px;font-weight:700;color:var(--sage-700);margin-bottom:8px}.profile-subtitle{font-size:14px;color:var(--sage-500);font-style:italic;margin:0}.success-message{background:#6b80691a;color:var(--sage-700);padding:12px 16px;border-radius:12px;margin-bottom:20px;font-size:14px;text-align:center;border:1px solid rgba(107,128,105,.2)}.error-message{background:#c67b7b1a;color:var(--error);padding:12px 16px;border-radius:12px;margin-bottom:20px;font-size:14px;text-align:center;border:1px solid rgba(198,123,123,.2)}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.form-section{margin-bottom:32px;padding:20px;background:var(--sage-50);border-radius:16px;border:1px solid var(--sage-100)}.section-title{font-size:18px;font-weight:600;color:var(--sage-700);margin-bottom:8px;display:flex;align-items:center;gap:8px}.section-title:before{content:"•";color:var(--sage-500);font-size:20px}.section-description{font-size:13px;color:var(--gray-500);margin-bottom:20px;line-height:1.4}.profile-form{display:flex;flex-direction:column}.form-row{display:grid;grid-template-columns:1fr;gap:16px;margin-bottom:16px}.form-group{display:flex;flex-direction:column}.form-label{display:block;font-size:14px;font-weight:600;color:var(--sage-700);margin-bottom:8px;line-height:1.3}.form-input{width:100%;padding:14px 16px;border:1px solid var(--sage-200);border-radius:12px;font-size:16px;background:var(--white);transition:all .2s ease;color:var(--gray-800)}.form-input:focus{outline:none;border-color:var(--sage-500);box-shadow:0 0 0 3px #6b80691a;transform:translateY(-1px)}.form-input::placeholder{color:var(--gray-400)}.goals-grid{display:grid;grid-template-columns:1fr;gap:20px}.goal-group{background:var(--white);padding:16px;border-radius:12px;border:1px solid var(--sage-200);transition:all .2s ease}.goal-group:hover{border-color:var(--sage-300);transform:translateY(-1px);box-shadow:0 2px 8px #6b806914}.goal-icon{font-size:20px;margin-right:8px;vertical-align:middle}.input-help{font-size:11px;color:var(--gray-500);margin-top:4px;font-style:italic}.form-actions{display:flex;gap:12px;margin-top:24px;padding-top:24px;border-top:1px solid var(--sage-100)}.save-button{flex:2;background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);border:none;border-radius:12px;padding:14px 20px;font-weight:600;font-size:16px;cursor:pointer;transition:all .2s ease}.save-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #6b806933}.save-button:active{transform:translateY(0)}.save-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.reset-button{flex:1;background:var(--sage-100);color:var(--sage-700);border:1px solid var(--sage-200);border-radius:12px;padding:14px 20px;font-weight:600;font-size:16px;cursor:pointer;transition:all .2s ease}.reset-button:hover:not(:disabled){background:var(--sage-200);transform:translateY(-1px)}.reset-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.profile-stats{margin-top:32px;padding:20px;background:var(--sage-50);border-radius:16px;border:1px solid var(--sage-100)}.stats-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}.stat-item{background:var(--white);padding:16px 20px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--sage-200);transition:all .2s ease;min-height:60px}.stat-item:hover{transform:translateY(-1px);box-shadow:0 2px 8px #6b80690d}.stat-label{font-size:14px;color:var(--gray-600);font-weight:500;text-align:left;flex:1}.stat-value{font-size:16px;color:var(--sage-700);font-weight:700;text-align:right;min-width:80px}.profile-loading,.profile-error{display:flex;justify-content:center;align-items:center;min-height:50vh;color:var(--sage-500);font-size:16px;font-weight:500;text-align:center}.profile-error{color:var(--error)}.subscription-section{margin-top:32px;padding-top:32px;border-top:2px solid var(--sage-100)}.subscription-section h2{font-size:24px;font-weight:700;color:var(--sage-700);margin-bottom:20px;text-align:center}.premium-status,.free-status{display:flex;justify-content:center}.status-card{background:var(--white);border-radius:20px;padding:32px 28px;text-align:center;box-shadow:0 4px 16px #6b80691a;border:2px solid transparent;transition:all .3s ease;max-width:400px;width:100%}.status-card.premium{border-color:var(--sage-500);background:linear-gradient(135deg,var(--sage-50) 0%,var(--white) 100%);position:relative;overflow:hidden}.status-card.premium:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--sage-500),var(--sage-600),var(--sage-500));animation:premium-glow 2s ease-in-out infinite}@keyframes premium-glow{0%,to{opacity:1}50%{opacity:.7}}.status-card.free{border-color:var(--gray-200);background:var(--gray-50)}.status-card h3{font-size:28px;font-weight:700;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.status-card.premium h3{color:var(--sage-600);background:linear-gradient(135deg,var(--sage-500),var(--sage-700));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.status-card.free h3{color:var(--gray-600)}.status-card p{font-size:16px;color:var(--gray-600);margin-bottom:24px;line-height:1.5}.upgrade-btn{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:var(--white);border:none;border-radius:25px;padding:16px 32px;font-size:18px;font-weight:700;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 4px 12px #6b80694d;position:relative;overflow:hidden}.upgrade-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6b806966;background:linear-gradient(135deg,var(--sage-600) 0%,var(--sage-700) 100%)}.upgrade-btn:active{transform:translateY(0)}.upgrade-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.upgrade-btn:hover:before{left:100%}.cancel-btn{background:var(--gray-500);color:var(--white);border:none;border-radius:25px;padding:12px 24px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.5px}.cancel-btn:hover{background:var(--gray-600);transform:translateY(-1px)}.premium-benefits{margin-top:20px;padding:20px;background:var(--sage-50);border-radius:16px;border:1px solid var(--sage-100)}.premium-benefits h4{font-size:16px;font-weight:600;color:var(--sage-700);margin-bottom:16px;text-align:center}.benefits-list{display:grid;grid-template-columns:1fr;gap:8px}.benefit-item{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--gray-700)}.benefit-icon{color:var(--sage-500);font-weight:700}.keep-premium-btn{background:var(--sage-600);color:#fff;border:none;border-radius:12px;padding:16px 24px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;width:100%;margin-top:16px}.keep-premium-btn:hover{background:var(--sage-700);transform:translateY(-1px)}.keep-premium-btn:active{transform:translateY(0);background:var(--sage-800)}@media (max-width: 480px){.keep-premium-btn{padding:14px 20px;font-size:15px}}@media (min-width: 480px){.form-row{grid-template-columns:1fr 1fr}.goals-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr;gap:16px}}@media (min-width: 768px){.profile-page{max-width:768px;padding:24px 32px}.profile-card{padding:32px 28px}.goals-grid{grid-template-columns:repeat(3,1fr);gap:16px}.profile-title{font-size:28px}.form-section{padding:24px}.goal-group{padding:20px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:16px}.stat-item{flex-direction:column;text-align:center;padding:20px;min-height:80px;justify-content:center}.stat-label{text-align:center;margin-bottom:8px;flex:none}.stat-value{text-align:center;font-size:18px;min-width:auto}.subscription-section{margin-top:40px;padding-top:40px}.status-card{padding:40px 36px}.benefits-list{grid-template-columns:repeat(2,1fr);gap:12px}}.goal-group[data-goal=exercise]{border-left:4px solid var(--sage-500)}.goal-group[data-goal=water]{border-left:4px solid var(--mint)}.goal-group[data-goal=meditation]{border-left:4px solid var(--sage-600)}.form-input:invalid{border-color:#c67b7b80}.form-input:valid{border-color:var(--sage-300)}.form-section{animation:fadeInUp .3s ease}.form-section:nth-child(2){animation-delay:.1s}.form-section:nth-child(3){animation-delay:.2s}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.form-input:focus-visible{outline:2px solid var(--sage-500);outline-offset:2px}@media (max-width: 767px){.form-input,.save-button,.reset-button{min-height:48px}.goal-group{padding:20px 16px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--sage-50);color:var(--gray-800);line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.container{max-width:428px;margin:0 auto;padding:0 16px;min-height:100vh}.card{background:var(--white);border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px #6b806914;border:1px solid var(--sage-100)}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.card-title{font-size:18px;font-weight:600;color:var(--sage-700)}.card-subtitle{font-size:14px;color:var(--gray-500);margin-top:4px}.progress-ring{position:relative;width:120px;height:120px;margin:0 auto}.progress-ring svg{transform:rotate(-90deg);width:100%;height:100%}.progress-ring circle{fill:none;stroke-width:8;stroke-linecap:round}.progress-background{stroke:var(--sage-100)}.progress-foreground{stroke:var(--sage-500);stroke-dasharray:283;stroke-dashoffset:283;transition:stroke-dashoffset .5s ease}.progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.progress-score{font-size:24px;font-weight:700;color:var(--sage-700);line-height:1}.progress-label{font-size:12px;color:var(--gray-500);text-transform:uppercase;letter-spacing:.5px}.btn{background:var(--sage-500);color:var(--white);border:none;border-radius:12px;padding:12px 24px;font-weight:600;font-size:16px;cursor:pointer;transition:all .2s ease;width:100%;margin-top:8px}.btn:hover{background:var(--sage-600);transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-secondary{background:var(--sage-100);color:var(--sage-700)}.btn-secondary:hover{background:var(--sage-200)}.form-input{width:100%;padding:12px 16px;border:1px solid var(--sage-200);border-radius:12px;font-size:16px;background:var(--white);transition:border-color .2s ease}.form-input:focus{outline:none;border-color:var(--sage-500);box-shadow:0 0 0 3px #6b80691a}.form-label{display:block;font-size:14px;font-weight:500;color:var(--sage-700);margin-bottom:6px}.form-input,.form-textarea,.notes-textarea,.note-title-input,.search-input{font-family:SF Pro Text,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.status-good{color:var(--sage-500)}.status-warning{color:var(--warning)}.status-error{color:var(--error)}@media (min-width: 768px){.container{max-width:768px;padding:0 32px}.card{padding:24px}}.loading{display:flex;justify-content:center;align-items:center;min-height:200px;color:var(--sage-500);font-size:16px}.monster-tamer-game{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);border-radius:20px;padding:24px;color:#fff;min-height:400px;position:relative;overflow:hidden;box-shadow:0 10px 30px #6b80694d}.monster-tamer-game:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:shimmer 6s ease-in-out infinite;pointer-events:none;z-index:1}.monster-tamer-game{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);border-radius:20px;padding:24px;color:#fff;min-height:400px;position:relative;overflow:hidden;box-shadow:0 10px 30px #6b80694d;contain:layout style paint}@keyframes shimmer{0%,to{transform:rotate(0)}50%{transform:rotate(180deg)}}.game-menu{text-align:center;position:relative;z-index:10}.game-header h2{font-size:28px;font-weight:700;margin-bottom:8px;text-shadow:0 2px 4px rgba(0,0,0,.3)}.game-header p{opacity:.9;margin-bottom:24px;font-size:16px}.player-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:24px}.stat{background:#ffffff26;padding:12px;border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;gap:8px;font-weight:600}.stat-icon{font-size:18px}.encounter-btn{background:linear-gradient(135deg,var(--mint) 0%,var(--sage-400) 100%);color:#fff;border:none;padding:16px 32px;border-radius:25px;font-size:18px;font-weight:700;cursor:pointer;transition:all .3s ease;margin-bottom:32px;box-shadow:0 4px 15px #6b806966}.encounter-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #6b806999;background:linear-gradient(135deg,var(--sage-400) 0%,var(--sage-500) 100%)}.encounter-btn:disabled{background:#fff3;cursor:not-allowed;transform:none;box-shadow:none}.tamed-collection h3{margin-bottom:16px;font-size:18px}.tamed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.tamed-monster{background:#ffffff1a;padding:12px;border-radius:12px;text-align:center;border:1px solid rgba(255,255,255,.2);transition:all .3s ease}.tamed-monster:hover{background:#fff3;transform:translateY(-2px)}.tamed-monster .monster-icon{font-size:24px;display:block;margin-bottom:8px}.tamed-monster .monster-name{font-size:12px;opacity:.9}.no-tamed{grid-column:1 / -1;opacity:.7;font-style:italic;padding:20px}.monster-encounter{text-align:center;position:relative;z-index:10}.encounter-scene{margin-bottom:32px}.monster{position:relative;margin-bottom:24px;display:inline-block}.monster.small .monster-icon{font-size:48px}.monster.medium .monster-icon{font-size:64px}.monster.large .monster-icon{font-size:80px}.monster.boss .monster-icon{font-size:96px}.monster-icon{display:block;animation:monsterFloat 3s ease-in-out infinite;filter:drop-shadow(0 4px 8px rgba(0,0,0,.3))}@keyframes monsterFloat{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-10px) scale(1.05)}}.monster-shake{position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle,rgba(255,0,0,.3) 0%,transparent 70%);border-radius:50%;animation:anxiety-pulse 2s ease-in-out infinite}@keyframes anxiety-pulse{0%,to{transform:scale(.8);opacity:.3}50%{transform:scale(1.2);opacity:.6}}.encounter-text h3{font-size:24px;margin-bottom:12px;color:var(--mint);text-shadow:0 2px 4px rgba(0,0,0,.3)}.encounter-text p{margin-bottom:8px;opacity:.9}.calmness-drop{color:#ff6b6b!important;font-weight:600;animation:shake .5s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.taming-options{display:flex;gap:16px;justify-content:center}.tame-btn{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:#fff;border:none;padding:14px 24px;border-radius:20px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:8px;box-shadow:0 4px 12px #6b806966}.tame-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #6b806999;background:linear-gradient(135deg,var(--sage-400) 0%,var(--sage-500) 100%)}.run-btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:14px 24px;border-radius:20px;cursor:pointer;transition:all .3s ease}.run-btn:hover{background:#ffffff4d;transform:translateY(-1px)}.taming-technique{text-align:center;position:relative;z-index:10;max-width:600px;margin:0 auto}.technique-header h3{font-size:22px;margin-bottom:16px;color:var(--mint)}.anxiety-progress{background:#fff3;height:8px;border-radius:4px;margin:0 auto 32px;overflow:hidden;max-width:400px;position:relative}.anxiety-progress-fill{background:linear-gradient(90deg,var(--sage-400) 0%,var(--mint) 100%);height:100%;border-radius:4px;transition:width .3s ease;box-shadow:0 0 10px #6b806980;max-width:100%}.technique-visual{margin-bottom:32px;position:relative;display:flex;justify-content:center}.monster-calming{position:relative;display:inline-block;max-width:200px}.monster-calming .monster-icon{font-size:64px;display:block;transition:all .5s ease;animation:calmingFloat 4s ease-in-out infinite}@keyframes calmingFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.technique-visual.breathing .monster-icon{animation:breathe 4s ease-in-out infinite}@keyframes breathe{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.calming-aura{position:absolute;top:-20px;left:-20px;right:-20px;bottom:-20px;background:radial-gradient(circle,rgba(107,128,105,.3) 0%,transparent 70%);border-radius:50%;animation:aura-pulse 3s ease-in-out infinite;pointer-events:none}@keyframes aura-pulse{0%,to{transform:scale(.8);opacity:.4}50%{transform:scale(1.2);opacity:.8}}.technique-instructions{display:flex;flex-direction:column;gap:12px;max-width:500px;margin:0 auto}.instruction{background:#ffffff1a;padding:16px;border-radius:12px;border:1px solid rgba(255,255,255,.2);transition:all .3s ease;opacity:.5;position:relative}.instruction.active{background:#6b80694d;border-color:var(--sage-400);opacity:1;transform:scale(1.02);box-shadow:0 4px 12px #6b80694d}.instruction.completed{background:#6b806933;opacity:.8;border-color:#6b806980}.victory-screen{text-align:center;position:relative;z-index:10}.victory-animation{margin-bottom:24px;position:relative}.tamed-monster{position:relative;display:inline-block}.tamed-monster .monster-icon{font-size:80px;display:block;animation:victoryBounce 1s ease-in-out infinite}.monster-icon.happy{filter:brightness(1.2)}@keyframes victoryBounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-15px) scale(1.1)}}.sparkles{position:absolute;top:-20px;left:50%;transform:translate(-50%);font-size:20px;animation:sparkle 2s ease-in-out infinite}@keyframes sparkle{0%,to{opacity:0;transform:translate(-50%) translateY(0)}50%{opacity:1;transform:translate(-50%) translateY(-10px)}}.victory-text h3{font-size:28px;margin-bottom:12px;color:var(--mint);text-shadow:0 2px 4px rgba(0,0,0,.3)}.victory-text p{margin-bottom:24px;font-size:18px;opacity:.9}.rewards{display:flex;flex-direction:column;gap:8px;margin-bottom:32px}.reward{background:linear-gradient(135deg,#fff3,#ffffff1a);padding:12px;border-radius:20px;font-weight:600;border:1px solid rgba(255,255,255,.3);animation:rewardGlow 2s ease-in-out infinite alternate}@keyframes rewardGlow{0%{box-shadow:0 0 5px #ffffff80}to{box-shadow:0 0 20px #6b8069cc}}.victory-actions{display:flex;gap:16px;justify-content:center}.continue-btn,.sanctuary-btn{padding:14px 24px;border:none;border-radius:20px;font-weight:600;cursor:pointer;transition:all .3s ease}.continue-btn{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:#fff;box-shadow:0 4px 12px #6b806966}.sanctuary-btn{background:linear-gradient(135deg,var(--mint) 0%,var(--sage-400) 100%);color:#fff;box-shadow:0 4px 12px #6b806966}.continue-btn:hover,.sanctuary-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #6b806999}.sanctuary-view{text-align:center;position:relative;z-index:10;max-width:100%}.sanctuary-header{margin-bottom:32px}.sanctuary-header h2{font-size:28px;margin-bottom:8px;color:var(--mint);text-shadow:0 2px 4px rgba(0,0,0,.3)}.sanctuary-header p{opacity:.9;margin-bottom:16px}.back-to-menu-btn{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:10px 20px;border-radius:20px;cursor:pointer;transition:all .3s ease;font-size:14px}.back-to-menu-btn:hover{background:#ffffff4d;transform:translateY(-1px)}.sanctuary-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:32px}.sanctuary-stat{background:#ffffff26;padding:16px;border-radius:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;gap:12px}.sanctuary-stat .stat-icon{font-size:24px;background:#fff3;padding:8px;border-radius:12px}.sanctuary-stat .stat-info{display:flex;flex-direction:column;text-align:left}.sanctuary-stat .stat-number{font-size:20px;font-weight:700;color:#fff}.sanctuary-stat .stat-label{font-size:12px;opacity:.8}.sanctuary-garden{margin-bottom:32px}.sanctuary-garden h3{font-size:20px;margin-bottom:16px;color:var(--mint)}.garden-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px;max-width:600px;margin:0 auto}.garden-companion{position:relative}.companion-spot{background:#ffffff1a;border:2px solid rgba(255,255,255,.2);border-radius:16px;padding:16px;text-align:center;transition:all .3s ease;min-height:120px;display:flex;flex-direction:column;justify-content:center;position:relative}.companion-spot:hover{background:#fff3;transform:translateY(-2px)}.companion-icon{font-size:32px;display:block;margin-bottom:8px;animation:companionFloat 3s ease-in-out infinite}@keyframes companionFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.companion-aura{position:absolute;top:-5px;left:-5px;right:-5px;bottom:-5px;background:radial-gradient(circle,rgba(107,128,105,.2) 0%,transparent 70%);border-radius:20px;animation:companionAura 4s ease-in-out infinite}@keyframes companionAura{0%,to{opacity:.3;transform:scale(.95)}50%{opacity:.6;transform:scale(1.05)}}.companion-name{font-size:12px;font-weight:600;margin-bottom:4px}.companion-effect{font-size:10px;opacity:.8;font-style:italic}.garden-companion.empty .companion-spot{background:#ffffff0d;border:2px dashed rgba(255,255,255,.3)}.empty-spot{font-size:32px;opacity:.5;margin-bottom:8px}.spot-label{font-size:10px;opacity:.6}.empty-garden{grid-column:1 / -1;padding:40px;background:#ffffff0d;border:2px dashed rgba(255,255,255,.3);border-radius:16px;text-align:center}.empty-garden-icon{font-size:48px;margin-bottom:16px;display:block}.empty-garden p{margin-bottom:8px;font-size:16px}.empty-garden small{opacity:.7;font-size:12px}.sanctuary-upgrades{margin-bottom:32px}.sanctuary-upgrades h3{font-size:20px;margin-bottom:16px;color:var(--mint)}.upgrades-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.upgrade-card{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;transition:all .3s ease}.upgrade-card.available{border-color:var(--sage-400);background:#6b806933}.upgrade-card.available:hover{transform:translateY(-2px);box-shadow:0 4px 12px #6b80694d}.upgrade-card.locked{opacity:.6}.upgrade-icon{font-size:32px;background:#ffffff1a;padding:12px;border-radius:12px;flex-shrink:0}.upgrade-info{flex:1;text-align:left}.upgrade-info h4{font-size:16px;margin-bottom:4px;color:#fff}.upgrade-info p{font-size:12px;opacity:.8;margin-bottom:4px}.upgrade-cost{font-size:12px;color:var(--mint);font-weight:600}.upgrade-btn{background:linear-gradient(135deg,var(--sage-500) 0%,var(--sage-600) 100%);color:#fff;border:none;padding:8px 16px;border-radius:12px;cursor:pointer;font-size:12px;font-weight:600;transition:all .3s ease}.upgrade-btn:hover{background:linear-gradient(135deg,var(--sage-400) 0%,var(--sage-500) 100%);transform:translateY(-1px)}.upgrade-locked{font-size:18px;opacity:.5}.daily-affirmations{margin-bottom:32px}.daily-affirmations h3{font-size:20px;margin-bottom:16px;color:var(--mint)}.affirmation-card{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:20px;max-width:500px;margin:0 auto}.affirmation-text{font-size:16px;font-style:italic;margin-bottom:12px;line-height:1.5}.affirmation-author{font-size:12px;opacity:.8;text-align:right}.sanctuary-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}.meditation-btn{background:linear-gradient(135deg,var(--mint) 0%,var(--sage-400) 100%);color:#fff;border:none;padding:14px 20px;border-radius:20px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #6b806966}.meditation-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #6b806999}@media (max-width: 480px){.monster-tamer-game{padding:16px}.player-stats,.sanctuary-stats{grid-template-columns:1fr;gap:8px}.taming-options,.victory-actions,.sanctuary-actions{flex-direction:column;align-items:center}.garden-grid{grid-template-columns:repeat(2,1fr)}.upgrades-grid{grid-template-columns:1fr}.monster.boss .monster-icon{font-size:72px}.monster.large .monster-icon{font-size:60px}}.games-page{padding:1rem;max-width:1200px;margin:0 auto;min-height:100vh;background:linear-gradient(135deg,#f8fffe,#f0f4f3,#e8f0ef);position:relative;z-index:1;contain:layout style}.games-header{text-align:center;margin-bottom:2.5rem;padding:3rem 2rem;background:linear-gradient(135deg,var(--sage-50) 0%,rgba(255,255,255,.9) 50%,var(--sage-100) 100%);border-radius:24px;border:1px solid var(--sage-200);box-shadow:0 8px 32px #6b80691f;position:relative;overflow:hidden}.games-header:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(107,128,105,.05) 0%,transparent 70%);animation:float 6s ease-in-out infinite;pointer-events:none;z-index:0;overflow:hidden}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(2deg)}}.games-title{color:var(--sage-700);font-size:2.5rem;font-weight:800;margin-bottom:.75rem;text-shadow:0 2px 4px rgba(107,128,105,.1);position:relative;z-index:1}.games-subtitle{color:var(--sage-600);font-size:1.2rem;margin:0;font-weight:500;position:relative;z-index:1}.game-stats-section{margin-bottom:2rem}.section-title{color:var(--sage-700);font-size:1.5rem;font-weight:700;margin-bottom:1rem}.game-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1rem}.game-stat-card{background:var(--white);padding:1.5rem;border-radius:12px;border:1px solid var(--sage-200);box-shadow:0 2px 8px #6b806914;display:flex;align-items:center;gap:1rem;transition:transform .2s ease}.game-stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.stat-icon{font-size:2rem;flex-shrink:0}.stat-info{display:flex;flex-direction:column}.stat-number{color:var(--sage-700);font-size:1.5rem;font-weight:700;line-height:1}.stat-label{color:var(--sage-600);font-size:.9rem;margin-top:.25rem}.available-games{margin-bottom:2rem}.game-section{background:var(--white);border-radius:12px;border:1px solid var(--sage-200);box-shadow:0 2px 8px #6b806914;overflow:hidden}.game-container{margin-top:1.5rem;padding:1.5rem;background:var(--sage-50);border-radius:12px;border:1px solid var(--sage-200)}.game-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem;padding:1.5rem}.game-title{color:var(--sage-700);font-size:1.5rem;font-weight:700;margin:0;text-shadow:0 1px 2px rgba(107,128,105,.1)}.game-status{background:linear-gradient(135deg,var(--sage-500),var(--sage-600));color:var(--white);padding:.5rem 1.25rem;border-radius:25px;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 4px 12px #6b80694d}.game-description{color:var(--sage-600);line-height:1.6;margin-bottom:2rem;font-size:1.05rem;padding:0 1.5rem}.daily-challenges{margin-bottom:2rem}.challenge-card{background:var(--white);padding:1.5rem;border-radius:12px;border:1px solid var(--sage-200);box-shadow:0 2px 8px #6b806914;display:flex;align-items:center;gap:1rem;margin-bottom:1rem;transition:transform .2s ease}.challenge-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.challenge-icon{font-size:2rem;flex-shrink:0}.challenge-content{flex:1}.challenge-content h3{color:var(--sage-700);font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.challenge-content p{color:var(--sage-600);font-size:.9rem;margin-bottom:.75rem}.challenge-progress{width:100%}.daily-challenge-bar{background:#6b80691a;height:8px;border-radius:4px;overflow:hidden;position:relative}.daily-challenge-fill{background:linear-gradient(90deg,var(--sage-400) 0%,var(--sage-500) 100%);height:100%;border-radius:4px;transition:width .3s ease;position:relative;z-index:1;box-shadow:0 2px 4px #6b806933;min-width:4px}.challenge-reward{background:linear-gradient(135deg,var(--sage-500),var(--sage-600));color:var(--white);padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;flex-shrink:0}.challenge-card:nth-child(2){margin-top:1rem}.game-achievements{margin-top:2rem}.achievements-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.achievement-card{background:var(--white);padding:1.5rem;border-radius:12px;border:1px solid var(--sage-200);box-shadow:0 2px 8px #6b806914;display:flex;align-items:center;gap:1rem;transition:transform .2s ease}.achievement-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.achievement-card.bronze{border-left:4px solid #CD7F32}.achievement-card.silver{border-left:4px solid #C0C0C0}.achievement-card.gold{border-left:4px solid #FFD700}.achievement-icon{font-size:2rem;flex-shrink:0}.achievement-info h4{color:var(--sage-700);font-size:.9rem;font-weight:600;margin-bottom:.25rem}.achievement-info p{color:var(--sage-600);font-size:.8rem;margin:0}.coming-soon-games{margin-top:2rem}.game-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.game-preview-card{background:var(--white);padding:1.5rem;border-radius:12px;border:1px solid var(--sage-200);box-shadow:0 2px 8px #6b806914;text-align:center;position:relative;transition:transform .2s ease}.game-preview-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #6b80691f}.game-preview-icon{font-size:3rem;margin-bottom:1rem;display:block}.game-preview-card h4{color:var(--sage-700);font-size:1.2rem;font-weight:600;margin-bottom:.75rem}.game-preview-card p{color:var(--sage-600);font-size:.9rem;line-height:1.5;margin-bottom:1rem}.coming-soon-badge{background:linear-gradient(135deg,var(--sage-400),var(--sage-500));color:var(--white);padding:.5rem 1rem;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stats-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.refresh-stats-btn{background:#6b80691a;border:1px solid rgba(107,128,105,.2);color:var(--sage-700);padding:8px 12px;border-radius:8px;cursor:pointer;font-size:14px;transition:all .3s ease}.refresh-stats-btn:hover{background:#6b806933;box-shadow:0 2px 8px #6b806926}.claim-btn,.redeem-btn{background:linear-gradient(135deg,var(--mint) 0%,var(--sage-400) 100%);color:var(--white);border:none;padding:2px 6px;font-size:.75rem;font-weight:700;box-shadow:0 2px 8px #6b80691a;cursor:pointer;transition:all .2s ease;letter-spacing:.01em;margin-top:2px;margin-bottom:1px}.claim-btn:hover:not(:disabled),.redeem-btn:hover:not(:disabled){background:linear-gradient(135deg,var(--sage-500) 0%,var(--mint) 100%);transform:translateY(-1px);box-shadow:0 3px 10px #6b806921}.claim-btn:active,.redeem-btn:active{transform:translateY(0)}.claim-btn:disabled,.redeem-btn:disabled{background:var(--sage-100);color:var(--sage-400);cursor:not-allowed;opacity:.7}.challenge-status{font-size:.85rem;color:var(--sage-600);margin-top:4px;font-weight:500}.welcome-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#1e1e1e73;z-index:9999;display:flex;align-items:center;justify-content:center}.welcome-modal{background:linear-gradient(135deg,var(--sage-50) 0%,var(--white) 100%);border-radius:18px;box-shadow:0 8px 32px #6b80692e;padding:2.5rem 2rem 2rem;max-width:370px;width:95%;text-align:center;animation:popIn .25s cubic-bezier(.4,2,.6,1) both}@keyframes popIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.welcome-modal h2{margin-bottom:.5rem;color:#3e98c7;font-size:1.7rem}.welcome-intro{color:var(--sage-700);font-size:1.1rem;margin-bottom:1.2rem}.modal-section{margin-bottom:1.2rem}.modal-section.premium{background:linear-gradient(90deg,var(--mint) 0%,var(--sage-100) 100%);border-radius:12px;padding:.7rem .5rem;margin-bottom:1.2rem}.feature-list{list-style:none;padding:0;margin:.5rem 0 0;text-align:left}.feature-list li{font-size:1.01rem;color:var(--sage-800);margin-bottom:.4rem;display:flex;align-items:center;gap:.5em}.feature-list.premium li{color:var(--forest);font-weight:600}.modal-section.help{font-size:.98rem;color:var(--sage-600);margin-bottom:1.2rem}.welcome-modal-btn{background:linear-gradient(135deg,var(--mint) 0%,var(--sage-400) 100%);color:var(--white);border:none;border-radius:10px;padding:.8rem 2rem;font-size:1.1rem;font-weight:700;cursor:pointer;margin-top:.5rem;transition:background .2s,transform .2s}.welcome-modal-btn:hover{background:linear-gradient(135deg,var(--sage-500) 0%,var(--mint) 100%);transform:translateY(-2px)}html,body{margin:0;padding:0;overflow-x:hidden;width:100%;height:100%}:root{--sage-50: #f6f7f6;--sage-100: #e8ebe8;--sage-200: #d1d7d1;--sage-300: #b0bdb0;--sage-400: #8a9d8a;--sage-500: #6b8069;--sage-600: #556b54;--sage-700: #465746;--sage-800: #3a473a;--sage-900: #2f3a2f;--mint: #a8d5ba;--forest: #4a6741;--cream: #faf9f7;--warm-gray: #8b8680;--success: #6b8069;--warning: #d4a574;--error: #c67b7b;--info: #7ba3c4;--white: #ffffff;--black: #1a1a1a;--gray-50: #fafafa;--gray-100: #f5f5f5;--gray-200: #e5e5e5;--gray-300: #d4d4d4;--gray-400: #a3a3a3;--gray-500: #737373;--gray-600: #525252;--gray-700: #404040;--gray-800: #262626;--gray-900: #171717}
