:root{--user-primary-color:#f97316;--user-primary-dark:#ea580c;--user-secondary-color:#6b7280;--user-background:linear-gradient(135deg,#fff7ed 0%,#fed7aa 100%);--user-white:var(--cozy-surface);--user-gray-50:var(--cozy-surface-raised);--user-gray-100:var(--cozy-surface-soft);--user-gray-200:#eaded2;--user-gray-300:#d9c8b8;--user-gray-400:#9ca3af;--user-gray-500:#6b7280;--user-gray-600:#4b5563;--user-gray-700:#374151;--user-gray-800:#1f2937;--user-green-500:#22c55e;--user-red-500:#ef4444;--user-blue-500:#3b82f6;--user-yellow-500:#f59e0b;--user-purple-500:#8b5cf6;--user-shadow:var(--cozy-shadow);--user-shadow-lg:var(--cozy-shadow-lg);--user-radius:var(--cozy-radius-card);--user-radius-sm:12px}body{background:var(--user-background);font-family:var(--font-cozy-sans),"Trebuchet MS",sans-serif;margin:0;padding:0}.user-app-container{flex-direction:column;min-height:100vh;display:flex}.user-main-content{flex:1;width:100%;max-width:550px;min-height:calc(100vh - 131px);margin:0 auto;padding:12px}.user-profile-card{border-radius:var(--user-radius);box-shadow:var(--user-shadow-lg);border:1px solid var(--user-gray-200);background:linear-gradient(rgba(255,253,248,.88),rgba(255,253,248,.88)) -320px 0;margin-top:8px;overflow:hidden}.user-profile-header{background:linear-gradient(135deg,var(--user-primary-color),#f59e0b);color:#fff;text-align:center;flex-direction:column;align-items:center;padding:16px 20px;display:flex}.user-profile-avatar-section{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex}.user-profile-basic-info{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:16px;width:100%;display:flex}.user-profile-center{flex-direction:column;flex:1;align-items:center;gap:8px;width:65%;display:flex}.user-profile-avatar{flex-direction:column;align-items:center;gap:8px;display:flex;position:relative}.user-avatar-image{object-fit:cover;width:80px;height:80px;box-shadow:var(--user-shadow-lg);border:4px solid rgba(255,255,255,.8);border-radius:50%}.user-avatar-placeholder{width:80px;height:80px;color:var(--user-primary-color);box-shadow:var(--user-shadow-lg);background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(255,255,255,.7));border:4px solid rgba(255,255,255,.8);border-radius:50%;justify-content:center;align-items:center;font-size:32px;font-weight:700;display:flex}.user-profile-name{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2);margin:0;font-size:20px;font-weight:700}.user-profile-actions-right{flex-flow:column wrap;justify-content:flex-end;align-items:flex-start;gap:8px;width:135px;display:flex}.user-public-toggle-container{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:20px;align-items:center;gap:8px;min-width:140px;padding:6px 12px;transition:all .2s;display:flex}.user-public-toggle-container:hover{background:rgba(255,255,255,.25)}.user-account-management-section{background:snow;border:1px solid rgba(185,28,28,.2);justify-content:space-between;align-items:center;gap:20px;display:flex}.user-account-management-section .user-section-title{margin-bottom:6px}.user-account-management-section p{color:var(--user-gray-600);margin:0;font-size:14px;line-height:1.5}.user-delete-account-link{color:#b91c1c;font:inherit;cursor:pointer;background:#fff;border:1px solid #b91c1c;border-radius:12px;flex:none;padding:11px 16px;font-size:14px;font-weight:750}.user-delete-account-link:hover{background:#fef2f2}@media (max-width:640px){.user-account-management-section{flex-direction:column;align-items:stretch}.user-delete-account-link{width:100%}}.user-toggle-switch{width:44px;height:24px;position:relative}.user-toggle-switch input{opacity:0;width:0;height:0}.user-toggle-slider{cursor:pointer;background-color:rgba(255,255,255,.3);border-radius:24px;transition:all .4s;position:absolute;top:0;bottom:0;left:0;right:0}.user-toggle-slider:before{content:"";background-color:#fff;border-radius:50%;width:16px;height:16px;transition:all .4s;position:absolute;bottom:4px;left:4px;box-shadow:0 1px 3px rgba(0,0,0,.2)}.user-toggle-switch input:checked+.user-toggle-slider{background-color:rgba(16,185,129,.8)}.user-toggle-switch input:checked+.user-toggle-slider:before{transform:translate(20px)}.user-toggle-label{color:#fff;white-space:nowrap;font-size:12px;font-weight:500}.user-toggle-icon{filter:drop-shadow(0 1px 1px rgba(0,0,0,.2));font-size:14px}.user-action-button{color:#fff;cursor:pointer;white-space:nowrap;background:rgba(255,255,255,.2);border:none;border-radius:8px;align-items:center;gap:6px;width:100%;padding:6px 12px;font-size:12px;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.user-action-button:hover{background:rgba(255,255,255,.3);transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.user-action-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.user-action-button .btn-icon{font-size:12px}.user-action-button.copied{background:rgba(16,185,129,.3);border-color:rgba(16,185,129,.5)}.user-action-button.copied:hover{background:rgba(16,185,129,.4)}.user-section{margin-bottom:24px;padding:16px}.user-section:last-child{margin-bottom:0}.user-section-title{color:var(--user-gray-800);align-items:center;gap:8px;margin:0 0 16px;font-size:20px;font-weight:600;display:flex}.user-accordion-section{border:1px solid var(--user-gray-200);margin-bottom:24px;padding:12px}.user-accordion-section .user-section-title{margin-bottom:0}.user-section-title.clickable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;justify-content:space-between;align-items:center;margin-bottom:0;padding:12px 0;display:flex}.user-section-title.clickable:hover{opacity:.8}.user-accordion-icon{width:18px;height:18px;color:var(--user-gray-500);flex-shrink:0;justify-content:center;align-items:center;font-size:12px;transition:transform .3s;display:inline-flex}.user-accordion-icon.open{transform:rotate(180deg)}.user-stats-grid{grid-template-columns:repeat(3,1fr);display:grid}.user-stat-card{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:16px 12px;transition:all .2s;display:flex}.user-stat-card:hover{box-shadow:var(--user-shadow);border-color:var(--user-primary-color);transform:translateY(-2px)}.user-stat-icon{color:var(--user-primary-color);font-size:24px}.user-stat-content{flex-direction:column;gap:4px;display:flex}.user-stat-value{color:var(--user-primary-color);font-size:24px;font-weight:700;line-height:1}.user-stat-label{color:var(--user-gray-600);font-size:12px;font-weight:600;line-height:1.2}.user-subscription-status{border-radius:var(--user-radius-sm);background:var(--user-white);border:1px solid var(--user-gray-200);padding:16px}.user-subscription-status.active{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:#bae6fd}.user-subscription-status.inactive{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:#cbd5e1}.user-subscription-status.expired{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#fecaca}.user-premium-info{align-items:center;gap:16px;margin-bottom:16px;display:flex}.user-premium-icon{flex-shrink:0;font-size:40px}.user-premium-details{flex:1}.user-premium-details h4{color:var(--user-gray-800);margin:0 0 8px;font-size:18px;font-weight:700}.user-expiry-date{color:var(--user-gray-700);margin:0 0 4px;font-size:14px}.user-expiry-date strong{color:var(--user-primary-color)}.user-expiry-days{color:var(--user-green-500);margin:0;font-size:13px;font-weight:600}.user-premium-expired{align-items:center;gap:16px;display:flex}.user-expired-icon{color:var(--user-red-500);flex-shrink:0;font-size:40px}.user-expired-details{flex:1}.user-expired-details h4{color:var(--user-gray-800);margin:0 0 8px;font-size:18px;font-weight:700}.user-expired-details p{color:var(--user-gray-700);margin:0 0 12px;font-size:14px}.user-subscription-actions{flex-direction:row;gap:10px;margin-top:12px;display:flex}.user-btn-manage-subscription{background:linear-gradient(135deg,var(--user-primary-color),#f59e0b);color:#fff;border-radius:var(--user-radius-sm);cursor:pointer;border:none;justify-content:center;align-items:center;gap:6px;width:100%;padding:8px 12px;font-size:14px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 4px 12px rgba(249,115,22,.3)}.user-btn-manage-subscription:hover{background:linear-gradient(135deg,var(--user-primary-dark),#d97706);transform:translateY(-1px);box-shadow:0 6px 16px rgba(249,115,22,.4)}.user-btn-manage-subscription:disabled{cursor:not-allowed;opacity:.65;transform:none}.user-btn-manage-subscription .user-icon{font-size:16px}.user-btn-renew{color:#fff;border-radius:var(--user-radius-sm);cursor:pointer;background:linear-gradient(135deg,#10b981,#059669);border:none;padding:12px 24px;font-size:14px;font-weight:600;transition:all .2s;box-shadow:0 4px 12px rgba(16,185,129,.3)}.user-btn-renew:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 6px 16px rgba(16,185,129,.4)}.user-preferences-section{background:linear-gradient(135deg,rgba(240,249,255,.8),rgba(224,242,254,.4));border:1px solid #bae6fd}.user-preferences-grid{flex-direction:column;gap:16px;display:flex}.user-preference-item{flex-direction:column;gap:8px;display:flex}.user-preference-label{color:var(--user-gray-700);font-size:16px;font-weight:600}.user-preference-button{background:var(--user-white);border:1px solid var(--user-gray-300);cursor:pointer;text-align:left;border:none;border-radius:12px;align-items:center;gap:12px;width:100%;padding:12px 16px;transition:all .2s;display:flex}.user-preference-button:hover{background:var(--user-gray-50);border-color:var(--user-gray-400);transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.05)}.user-preference-button span:first-child{text-align:center;width:24px;font-size:18px}.user-preference-button span:nth-child(2){color:var(--user-gray-800);flex:1;font-size:14px}.user-preference-current{color:var(--user-primary-color);background:rgba(249,115,22,.1);border-radius:6px;padding:4px 8px;font-size:13px;font-weight:600}.user-preference-select{border:1px solid var(--user-gray-300);background:var(--user-white);color:var(--user-gray-800);cursor:pointer;border:1px solid var(--user-gray-300);border-radius:12px;width:100%;padding:10px 12px;font-size:15px;transition:all .2s}.user-preference-select:focus{border-color:var(--user-primary-color);outline:none;box-shadow:0 0 0 3px rgba(249,115,22,.1)}.user-preference-select:hover{border-color:var(--user-gray-400)}.user-preference-dropdown{position:relative}.user-picker-trigger{border:1px solid var(--user-gray-300);min-height:46px}.user-picker-trigger:hover{border-color:var(--user-gray-400)}.user-picker-trigger[aria-expanded=true]{border-color:rgba(249,115,22,.35);border-bottom-right-radius:0;border-bottom-left-radius:0}.user-picker-trigger .user-preference-current{flex-shrink:0}.user-picker-chevron{width:auto;color:var(--user-gray-400);font-size:22px;line-height:1;transition:transform .2s}.user-picker-chevron.open{transform:rotate(90deg)}.user-preference-dropdown-menu{z-index:40;overscroll-behavior:contain;background:var(--user-white);border:1px solid var(--user-gray-200);border-top-color:rgba(249,115,22,.35);border-radius:0 0 12px 12px;flex-direction:column;max-height:min(280px,52vh);padding:8px;animation:.16s user-dropdownIn;display:flex;position:absolute;top:calc(100% - 1px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 36px rgba(15,23,42,.18)}@keyframes user-dropdownIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.user-preference-dropdown-option{width:100%;color:var(--user-gray-800);cursor:pointer;text-align:left;background:0 0;border:1px solid transparent;border-radius:10px;align-items:center;gap:10px;padding:8px;transition:background .2s,border-color .2s;display:flex}.user-preference-dropdown-option:hover,.user-preference-dropdown-option.selected{background:rgba(249,115,22,.06);border-color:rgba(249,115,22,.26)}.user-preference-dropdown-symbol{flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;font-size:17px;font-weight:700;display:inline-flex}.user-picker-trigger .user-country-flag-wrap,.user-preference-dropdown-option .user-country-flag-wrap{flex:0 0 34px;width:34px;height:28px;padding:0}.user-country-flag{border-radius:4px;width:28px;height:auto;display:block}.user-preference-dropdown-name{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px;font-weight:600;line-height:1.25}.user-preference-dropdown-code{background:var(--user-gray-100);color:var(--user-gray-600);border-radius:999px;flex:none;padding:4px 8px;font-size:12px;font-weight:700}.user-preference-dropdown-check{width:16px;color:var(--user-primary-color);text-align:center;flex:0 0 16px;font-weight:800}.user-measurement-row{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.user-measurement-input{border:1px solid var(--user-gray-300);background:#fff;border-radius:12px;flex:1 1 0;min-width:0;padding:10px}.user-height-feet-inputs{flex:1 1 0;gap:8px;min-width:0;display:flex}.user-height-feet-input{max-width:100px}.user-measurement-toggle{white-space:nowrap;flex:none;gap:4px;display:flex}.user-measurement-toggle button{white-space:nowrap;flex:none}.user-btn-primary{background:linear-gradient(135deg,var(--user-primary-color),#f59e0b);color:#fff;border-radius:var(--user-radius-sm);cursor:pointer;border:none;justify-content:center;align-items:center;gap:8px;width:100%;padding:12px;font-size:16px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 4px 12px rgba(249,115,22,.3)}.user-btn-primary:hover:not(:disabled){background:linear-gradient(135deg,var(--user-primary-dark),#d97706);transform:translateY(-1px);box-shadow:0 6px 16px rgba(249,115,22,.4)}.user-btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.user-btn-secondary{background:var(--user-gray-100);color:var(--user-gray-700);border:1px solid var(--user-gray-300);cursor:pointer;border:1px solid var(--user-gray-300);border-radius:12px;flex:1;padding:12px 16px;font-size:14px;font-weight:600;transition:all .2s}.user-btn-secondary:hover{background:var(--user-gray-200)}.user-error-card{background:var(--user-white);border-radius:var(--user-radius);box-shadow:var(--user-shadow);text-align:center;border:1px solid var(--user-gray-200);padding:32px}.user-error-icon{margin-bottom:20px;font-size:48px}.user-error-card h3{color:var(--user-gray-800);margin-bottom:12px;font-size:20px}.user-error-card p{color:var(--user-gray-600);margin-bottom:24px;line-height:1.6}@keyframes user-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes user-fadeIn{0%{opacity:0}to{opacity:1}}.user-highlight-card{background:var(--user-white);border:1px solid var(--user-gray-200);border-radius:var(--user-radius-sm);flex-direction:row;align-items:stretch;margin-bottom:12px;transition:all .2s;display:flex;overflow:hidden}.user-highlight-card-image-container{background:var(--user-gray-100);flex-shrink:0;justify-content:center;align-items:center;width:180px;height:180px;display:flex;position:relative;overflow:hidden}.user-highlight-card-image{object-fit:cover;width:100%;height:100%}.user-highlight-card-image.user-recipe-image-placeholder,.user-collage-image.user-recipe-image-placeholder{background:linear-gradient(135deg,var(--user-gray-50),var(--user-gray-200));color:var(--user-gray-400);justify-content:center;align-items:center;display:flex}.user-recipe-image-placeholder .app-ui-icon{opacity:.8}.user-highlight-image-prep-time-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#1e293b;pointer-events:none;z-index:5;background:rgba(255,255,255,.7);border-radius:20px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;font-style:italic;font-weight:500;line-height:1.2;display:inline-flex;position:absolute;bottom:8px;left:8px}.user-highlight-card-content{flex-direction:column;flex:1;gap:6px;padding:10px 12px;display:flex}.user-highlight-card-title{color:var(--user-gray-800);margin:0;font-size:16px;font-weight:700;line-height:1.3}.user-highlight-card-ingredients{color:var(--user-gray-600);font-size:13px;line-height:1.3;transition:max-height .36s,color .2s;position:relative;overflow:hidden}.user-highlight-card-ingredients.is-collapsible{cursor:pointer}.user-highlight-card-ingredients.is-collapsible:hover{color:var(--user-gray-700)}.user-highlight-card-ingredients-content{opacity:.96;transform-origin:top;transition:opacity .28s,transform .36s;transform:translateY(-2px)}.user-highlight-card-ingredients.expanded{overflow:visible}.user-highlight-card-ingredients.expanded .user-highlight-card-ingredients-content{opacity:1;transform:translateY(0)}.user-highlight-card-ingredients-overlay{pointer-events:none;opacity:1;background:linear-gradient(rgba(251,252,254,0),rgba(251,252,254,.98));height:24px;transition:opacity .25s;position:absolute;bottom:0;left:0;right:0}.user-highlight-card-ingredients.expanded .user-highlight-card-ingredients-overlay{opacity:0}.user-highlight-card-label{color:var(--user-gray-700);font-weight:600}.user-highlight-card-meta{align-items:center;gap:8px;margin-top:4px;margin-left:auto;display:flex}.user-highlight-card-view-btn{background:linear-gradient(135deg,var(--user-blue-500),#2563eb);color:#fff;cursor:pointer;border:none;border-radius:20px;padding:4px 12px;font-size:14px;font-weight:600;transition:all .2s}.user-highlight-card-view-btn:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px)}.user-highlight-card-remove-btn{color:var(--user-red-500);cursor:pointer;background:rgba(239,68,68,.1);border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;margin-left:auto;transition:all .2s;display:flex}.user-highlight-card-remove-btn:hover{background:var(--user-red-500);color:#fff}.user-highlight-card-nutrition{color:var(--user-primary-color);flex-wrap:wrap;gap:8px;margin-top:auto;font-size:12px;font-weight:500;display:flex}.user-highlight-card-nutrition span{align-items:center;gap:2px;display:inline-flex}.user-btn-add-highlight{width:100%;color:var(--user-yellow-500);cursor:pointer;background:linear-gradient(135deg,rgba(245,158,11,.1),rgba(217,119,6,.05));border:1px dashed rgba(245,158,11,.5);border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:600;transition:all .2s;display:flex}.user-btn-add-highlight:hover:not(:disabled){border-color:var(--user-yellow-500);background:linear-gradient(135deg,rgba(245,158,11,.2),rgba(217,119,6,.1))}.user-btn-add-highlight:disabled{opacity:.5;cursor:not-allowed}.user-btn-add-highlight span:first-child{font-size:18px;font-weight:700}.user-max-highlights-message{color:var(--user-gray-700);text-align:center;background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.3);border-radius:12px;padding:12px 16px;font-size:14px}.user-no-highlights{text-align:center;padding:24px 16px}.user-no-highlights p{color:var(--user-gray-600);margin:0}.user-no-highlights .user-hint{color:var(--user-gray-500);margin-top:4px;font-size:13px}.user-loading-highlights{text-align:center;color:var(--user-gray-600);padding:24px 16px;font-size:14px}.user-modal-overlay{z-index:1000;box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:max(20px,env(safe-area-inset-top))20px max(20px,env(safe-area-inset-bottom));background:rgba(0,0,0,.5);justify-content:center;align-items:flex-start;animation:.2s user-fadeIn;display:flex;position:fixed;top:0;bottom:0;left:0;right:0;overflow-y:auto}.user-modal-overlay.closing{opacity:0;transition:opacity .2s}.user-modal-overlay.closing .user-modal-content{opacity:0;transition:transform .2s,opacity .2s;transform:scale(.95)}.user-modal-content{background:var(--user-white);border-radius:var(--user-radius);box-shadow:var(--user-shadow-lg);flex-direction:column;flex-shrink:0;width:100%;max-width:400px;max-height:calc(100dvh - 40px);margin-top:auto;margin-bottom:auto;animation:.3s user-modalSlideIn;display:flex;overflow:hidden}@keyframes user-modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.user-modal-header{border-bottom:1px solid var(--user-gray-200);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.user-modal-header h3{color:var(--user-gray-800);margin:0;font-size:18px}.user-modal-close{color:var(--user-gray-500);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px;font-size:20px;line-height:1}.user-modal-close:hover{background:var(--user-gray-100);color:var(--user-gray-700)}.user-modal-body{flex:1;padding:20px;overflow-y:auto}.user-modal-footer{border-top:1px solid var(--user-gray-200);gap:12px;padding:16px 20px;display:flex}.user-recipe-options-grouped{flex-direction:column;gap:8px;display:flex}.user-recipe-group{border:1px solid var(--user-gray-200);background:var(--user-white);border-radius:12px;overflow:hidden}.user-recipe-group-header{cursor:pointer;background:var(--user-gray-50);-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:8px;padding:12px 16px;transition:background .2s;display:flex}.user-recipe-group-header:hover{background:var(--user-gray-100)}.user-recipe-group-icon{text-align:center;width:28px;font-size:18px}.user-recipe-group-title{color:var(--user-gray-800);text-transform:capitalize;flex:1;font-weight:600}.user-recipe-group-count{color:var(--user-gray-500);background:var(--user-gray-100);border-radius:20px;padding:2px 6px;font-size:13px}.user-recipe-group-toggle{width:18px;height:18px;color:var(--user-gray-500);flex-shrink:0;justify-content:center;align-items:center;font-size:12px;transition:transform .3s;display:inline-flex}.user-recipe-group-toggle.open{transform:rotate(180deg)}.user-recipe-group-items{border-top:1px solid var(--user-gray-200);flex-direction:column;padding:8px;display:flex}.user-recipe-option{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 6px;transition:all .2s;display:flex}.user-recipe-option:hover:not(:disabled){background:var(--user-gray-50)}.user-recipe-option:disabled{cursor:not-allowed;opacity:.45}.user-recipe-option.selected{border-left:3px solid var(--user-primary-color);background:rgba(249,115,22,.05)}.user-recipe-option-title{color:var(--user-gray-800);flex:1;font-size:14px}.user-recipe-option-check{color:var(--user-primary-color);font-size:16px;font-weight:700}.user-planner-options{flex-direction:column;gap:8px;display:flex}.user-planner-option{border:1px solid var(--user-gray-200);cursor:pointer;border:1px solid var(--user-gray-200);border-radius:8px;padding:12px 16px;transition:all .2s}.user-planner-option:hover{border-color:var(--user-gray-300);background:var(--user-gray-50)}.user-planner-option.selected{border-color:var(--user-blue-500);background:rgba(59,130,246,.05)}.user-planner-option-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.user-planner-option-title{color:var(--user-gray-800);font-size:14px;font-weight:600}.user-planner-option-check{color:var(--user-blue-500);font-size:16px;font-weight:700}.user-planner-option-subtitle{color:var(--user-gray-600);font-size:13px}.user-no-available-recipes,.user-no-available-planners{text-align:center;color:var(--user-gray-600);padding:24px}.user-no-available-recipes .user-hint,.user-no-available-planners .user-hint{color:var(--user-gray-500);margin-top:4px;font-size:13px}.user-planner-highlight-card{border-radius:12px;margin-bottom:16px;transition:all .2s}.user-template-collage{border-radius:12px;justify-content:center;align-items:center;gap:2px;width:100%;height:130px;margin-bottom:12px;display:flex;overflow:hidden}.user-collage-item{background:var(--user-gray-100);flex:1;justify-content:center;align-items:center;height:130px;display:flex;overflow:hidden}.user-collage-image{object-fit:cover;width:100%;height:100%;display:block}.user-collage-placeholder{background:var(--user-gray-100);width:100%;height:100%;color:var(--user-gray-400);justify-content:center;align-items:center;font-size:32px;display:flex}.user-template-card-info{text-align:center;margin-bottom:16px}.user-template-card-name{color:var(--user-gray-800);margin:0 0 8px;font-size:18px;font-weight:600}.user-template-nutrition-summary{text-align:center;background:var(--user-gray-100);border:1px solid var(--user-gray-200);width:auto;color:var(--user-gray-700);white-space:nowrap;scrollbar-width:thin;border-radius:20px;max-width:100%;padding:6px 8px;font-size:13px;font-weight:500;display:inline-block;overflow-x:auto}.user-nut-icon{margin-right:2px;font-size:14px}.user-template-nutrition-placeholder{color:var(--user-gray-500);white-space:nowrap;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.user-loading-spinner-small{border:2px solid rgba(0,0,0,.1);border-top-color:var(--user-primary-color);border-radius:50%;width:16px;height:16px;animation:1s linear infinite user-spin}.user-planner-actions{gap:8px;margin-top:16px;display:flex}.user-btn-change-planner{color:var(--user-gray-700);border:1px solid var(--user-gray-300);cursor:pointer;border:1px solid var(--user-gray-300);background:linear-gradient(135deg,rgba(107,114,128,.1),rgba(75,85,99,.05));border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:10px 12px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.user-btn-change-planner:hover{border-color:var(--user-gray-400);background:linear-gradient(135deg,rgba(107,114,128,.2),rgba(75,85,99,.1));transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.05)}.user-btn-view-planner{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:10px 12px;font-size:13px;font-weight:600;transition:all .2s;display:flex}.user-btn-view-planner:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 12px rgba(37,99,235,.3)}.user-no-planner-highlight{text-align:center;background:var(--user-gray-50);border:1px solid var(--user-gray-200);border-radius:12px;margin-bottom:16px;padding:24px 16px}.user-no-planner-highlight p{color:var(--user-gray-600);margin:0}.user-select-planner-label{justify-content:center;align-items:center;gap:6px;display:inline-flex}.user-select-planner-icon{flex:none;width:18px;height:23px}.user-no-planner-highlight .user-hint{color:var(--user-gray-500);margin-top:4px;font-size:13px}.user-no-planner-highlight.clickable{cursor:pointer}.user-no-planner-highlight.clickable:hover{background:var(--user-gray-100);border-color:var(--user-gray-300)}.user-name-editable{width:100%;max-width:230px;margin-top:8px}.user-name-display{border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:4px 8px;transition:background-color .2s;display:flex;position:relative}.user-name-display:hover{background:rgba(255,255,255,.1)}.user-name-edit-btn{cursor:pointer;color:#fff;opacity:.9;filter:drop-shadow(0 1px 2px rgba(0,0,0,.3));background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;padding:4px;font-size:18px;line-height:1;transition:all .2s;display:flex}.user-name-edit-btn:hover{opacity:1;color:#fff;background:rgba(255,255,255,.1)}.user-name-input-wrapper{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:rgba(255,255,255,.15);border:2px solid rgba(255,255,255,.3);border-radius:12px;align-items:center;gap:4px;padding:4px 8px;animation:2s infinite user-inputShimmer;display:flex}@keyframes user-inputShimmer{0%{border-color:rgba(255,255,255,.3)}50%{border-color:rgba(255,255,255,.6)}to{border-color:rgba(255,255,255,.3)}}.user-name-input{color:#fff;text-align:center;letter-spacing:.5px;background:0 0;border:none;flex:1;min-width:0;padding:4px 0;font-family:inherit;font-size:20px;font-weight:700}.user-name-input:focus{outline:none}.user-name-input::placeholder{color:rgba(255,255,255,.6)}.user-name-save-btn{color:#fff;cursor:pointer;opacity:.9;background:rgba(16,185,129,.9);border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:4px 8px;font-size:16px;font-weight:700;line-height:1;transition:all .2s;display:flex}.user-name-save-btn:hover:not(:disabled){opacity:1;background:#10b981;transform:scale(1.05)}.user-name-save-btn:disabled{opacity:.5;cursor:not-allowed;background:rgba(107,114,128,.5)}.skeleton{--skeleton-base:var(--cozy-skeleton-base);--skeleton-highlight:var(--cozy-skeleton-highlight);background:linear-gradient(100deg,var(--skeleton-base)20%,var(--skeleton-highlight)46%,var(--skeleton-base)72%);background-size:200% 100%;border-radius:12px;animation:2.2s ease-in-out infinite skeleton-shimmer}.skeleton-text{border-radius:999px;width:100%;height:1em}.skeleton-image{--skeleton-base:var(--cozy-skeleton-image);--skeleton-highlight:#fff0df;border-radius:16px}.skeleton-icon{--skeleton-base:#e8d5c6;border-radius:50%}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (max-width:550px){.user-main-content{padding:0}.user-profile-card{border-radius:0;margin-top:0}.user-section{padding:12px}.user-stat-card{padding:12px 8px}.user-stat-value{font-size:20px}.user-preference-button{padding:10px 12px}.user-premium-info,.user-premium-expired{gap:12px}.user-premium-icon,.user-expired-icon{font-size:32px}.user-premium-details h4,.user-expired-details h4{font-size:16px}.user-planner-actions{gap:8px}.user-btn-change-planner,.user-btn-view-planner{width:100%}.user-profile-basic-info{flex-direction:row;align-items:center;gap:16px}.user-profile-actions-right{justify-content:center}.user-public-toggle-container{min-width:auto}.user-toggle-label{font-size:11px}.user-highlight-card{flex-direction:column}.user-highlight-card-meta{flex-wrap:wrap}.user-highlight-card-remove-btn{margin-left:0}.user-name-editable{max-width:180px}.user-profile-name,.user-name-input{font-size:18px}.user-name-edit-btn,.user-name-save-btn{width:28px;height:28px;font-size:16px}.user-highlight-card-image-container{width:100%;height:230px}}@media (max-width:380px){.user-highlight-card-image-container{height:200px}.user-profile-avatar-section{gap:12px}.user-btn-manage-subscription,.user-btn-renew{font-size:13px}.user-preference-button{text-align:center;gap:8px}.user-preference-button span:nth-child(2){text-align:center}.user-picker-trigger,.user-picker-trigger span:nth-child(2){text-align:left}.user-preference-current{align-self:center}.user-profile-actions-right{flex-direction:column;align-items:stretch}.user-name-editable{max-width:160px}.user-profile-name,.user-name-input{font-size:16px}.user-name-edit-btn,.user-name-save-btn{width:26px;height:26px;font-size:14px}.user-name-input-wrapper{padding:3px 6px}}body.modal-open{overflow:hidden}.user-reward-toast{z-index:10001;background:var(--user-gray-900,#111827);max-width:min(420px,100vw - 32px);color:var(--user-white,#fff);text-align:center;border-radius:8px;padding:12px 16px;font-size:14px;font-weight:600;animation:.2s userRewardToastIn;position:fixed;top:18px;left:50%;transform:translate(-50%);box-shadow:0 14px 32px rgba(15,23,42,.22)}.user-reward-toast.is-closing{animation:.25s forwards userRewardToastOut}@keyframes userRewardToastIn{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}@keyframes userRewardToastOut{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-8px)}}.user-rewards-content{background:var(--user-white);border:1px solid var(--user-gray-200);border-radius:var(--user-radius-sm);flex-direction:column;margin-top:8px;display:flex}.user-reward-item{padding:16px}.user-reward-item+.user-reward-item{border-top:1px solid var(--user-gray-200)}.user-reward-header{align-items:center;gap:8px;margin-bottom:12px;display:flex}.user-reward-icon{font-size:24px}.user-reward-title{color:var(--user-gray-800);font-size:18px;font-weight:700}.user-reward-description{color:var(--user-gray-600);margin:0 0 16px;font-size:14px;line-height:1.4}.user-reward-progress{width:50%}.user-reward-progress-bar{background:var(--user-gray-200);border-radius:8px;height:8px;margin-bottom:8px;overflow:hidden}.user-reward-progress-fill{background:var(--user-primary-color);border-radius:8px;width:0%;height:100%;transition:width .3s}.user-reward-progress-text{color:var(--user-gray-600);text-align:center;font-size:13px}.user-btn-claim-reward{color:#fff;cursor:pointer;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;width:100%;margin-top:8px;padding:10px 16px;font-size:14px;font-weight:600;transition:all .2s}.user-btn-claim-reward:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px)}.user-btn-claim-reward:disabled{opacity:.6;cursor:not-allowed}.user-reward-rules{color:var(--user-gray-700);align-self:center;width:50%;font-size:14px}.user-reward-rules p{line-height:1.4}.user-reward-premium-active{color:var(--user-gray-700);font-size:14px}.user-reward-hint{color:var(--user-gray-600);background:var(--user-gray-100);border-radius:8px;margin:12px 0;padding:8px 12px;font-size:13px;font-style:italic}.user-reward-progress-label{text-align:center}.user-reward-complete-check{color:var(--user-primary-color);font-size:18px;font-weight:800;line-height:1}.user-reward-task-row{flex-direction:row;justify-content:space-between;gap:6px;margin-top:12px;display:flex}.user-reward-task-rule p{align-items:center;gap:6px;margin:0;display:flex}@media (max-width:550px){.user-reward-task-row{flex-direction:column}.user-reward-task-row .user-reward-rules,.user-reward-task-row .user-reward-progress{width:100%}}.user-highlight-card-mobile-header{display:none}@media (max-width:550px){.user-highlight-card-image-container{position:relative}.user-highlight-card-mobile-header{border-radius:var(--user-radius-sm)var(--user-radius-sm)0 0;pointer-events:none;z-index:2;background:linear-gradient(rgba(0,0,0,.6) 0%,transparent 100%);justify-content:space-between;align-items:flex-start;gap:8px;padding:12px;display:flex;position:absolute;top:0;left:0;right:0}.user-highlight-card-mobile-title{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.5);pointer-events:auto;white-space:normal;word-break:break-word;flex:1;margin:0;font-size:18px;font-weight:700}.user-highlight-card-mobile-remove-btn{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;cursor:pointer;pointer-events:auto;background:rgba(0,0,0,.5);border:none;border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:16px;transition:all .2s;display:flex}.user-highlight-card-mobile-remove-btn:hover{background:rgba(0,0,0,.7);transform:scale(1.05)}.user-highlight-card-content .user-highlight-card-title,.user-highlight-card-meta .user-highlight-card-remove-btn{display:none}.user-highlight-card-content{padding:10px 12px}.user-highlight-card{margin-bottom:16px}}
