.rating-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem;animation:fadeIn .3s ease}.rating-modal{background:linear-gradient(135deg,#fff,#f8f9fa);border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.5);max-width:500px;width:100%;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease;position:relative}.rating-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid rgba(0,0,0,.1);background:rgba(255,255,255,.8);border-radius:20px 20px 0 0}.rating-modal-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#333}.rating-modal-body{padding:1.5rem}.existing-rating-hint{font-size:.9rem;color:#666;font-style:italic}.rating-section{margin-bottom:1.5rem}.rating-label{display:block;font-size:1rem;font-weight:600;color:#333;margin-bottom:.75rem}.stars-container{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.star-container{position:relative;cursor:pointer;transition:transform .2s ease}.star-container:hover{transform:scale(1.1)}.star{font-size:2.5rem;user-select:none;transition:all .2s ease;display:inline-block}.star-full{width:2.5rem;height:2.5rem;position:relative;overflow:hidden}.star.star-full{color:#ddd}.star.star-full.active{color:#ffc107!important}.star.star-full.active.hover,.star.star-full.hover:not(.active){color:#ffd700!important}.star-half{position:absolute;top:0;left:0;width:50%;overflow:hidden;pointer-events:none}.star-half,.star-half.active{color:#ffc107}.rating-display-value{font-size:1.5rem;font-weight:700;color:#333;min-width:3rem;text-align:center}.comment-section{margin-bottom:1.5rem}.comment-label{display:block;font-size:1rem;color:#333;margin-bottom:.75rem}.comment-textarea{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:12px;font-size:.95rem;font-family:inherit;resize:vertical;transition:all .3s ease;background:#fff}.comment-textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px rgba(0,123,255,.1)}.comment-textarea::placeholder{color:#999}.error-message{padding:.75rem 1rem;background:#fee;border:1px solid #fcc;border-radius:12px;color:#c33;font-size:.9rem;margin-bottom:1rem}.rating-modal-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn,.submit-btn{padding:.75rem 1.5rem;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;border:none}.cancel-btn{background:#f0f0f0}.cancel-btn:hover:not(:disabled){background:#e0e0e0;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.1)}.submit-btn{background:linear-gradient(135deg,#007bff,#0056b3);color:white;box-shadow:0 4px 12px rgba(0,123,255,.3)}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,123,255,.4)}.submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.my-purchases-page{height:100vh;height:100dvh;background:linear-gradient(135deg,var(--theme-accent-color,#007bff) 0,var(--theme-accent-hover,#0056b3) 100%);display:flex;flex-direction:column;overflow:hidden;color:var(--theme-text-primary,#333);position:relative}.my-purchases-page:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 50%,rgba(120,119,198,.3),transparent 50%),radial-gradient(circle at 80% 80%,rgba(255,119,198,.2),transparent 50%);pointer-events:none;z-index:0}.purchases-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;background:rgba(255,255,255,.15);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);box-shadow:0 4px 20px rgba(0,0,0,.1);z-index:100;border-bottom:1px solid rgba(255,255,255,.2);position:relative}.purchases-header h1{margin:0;font-size:1.25rem;font-weight:700;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.2);letter-spacing:-.5px}.back-btn{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);color:#fff;padding:.5rem .75rem;border-radius:12px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;line-height:1}.back-btn:hover{background:rgba(255,255,255,.3);transform:translateX(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.purchases-content{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0) + 2rem);position:relative;z-index:1}@media (max-width:768px){.purchases-header{padding:.375rem .75rem}.purchases-header h1{font-size:1.1rem}.purchases-tab{padding:.5rem .2rem;font-size:clamp(.65rem,2.5vw,.8rem)}}@media (max-width:480px){.purchases-header{padding:.375rem .75rem}.purchases-header h1{font-size:1.1rem}.purchases-content{padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0) + 2rem)}.purchases-tab{padding:.45rem .15rem;font-size:clamp(.6rem,3vw,.75rem)}}@media (max-width:360px){.purchases-tab{padding:.4rem .1rem;font-size:clamp(.55rem,3.5vw,.7rem)}}.purchases-error,.purchases-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 1rem;text-align:center;color:#fff}.purchases-error{gap:1rem}.purchases-error p{margin:0;font-size:1rem;text-shadow:0 1px 2px rgba(0,0,0,.2)}.purchases-error button{padding:.75rem 1.5rem;background:rgba(255,255,255,.25);backdrop-filter:blur(10px);color:white;border:1px solid rgba(255,255,255,.3);border-radius:12px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 12px rgba(0,0,0,.1)}.purchases-error button:hover{background:rgba(255,255,255,.35);transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.15)}.loading-spinner{border:4px solid rgba(255,255,255,.3);border-top-color:#fff}.purchases-tabs{display:flex;gap:0;margin-bottom:1.5rem;background:rgba(255,255,255,.15);backdrop-filter:blur(10px);padding:0;border-radius:16px;border:1px solid rgba(255,255,255,.2)}.purchases-tab{flex:1;padding:.5rem .25rem;background:transparent;border:none;border-radius:12px;color:rgba(255,255,255,.8);font-size:clamp(.7rem,2vw,.85rem);font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;gap:.5rem}.purchases-tab:hover{background:rgba(255,255,255,.1);color:#fff}.purchases-tab.active{background:rgba(255,255,255,.3);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}.tab-text{font-weight:600}.tab-count{font-size:.85rem;opacity:.8}.orders-list{gap:1rem}.no-orders,.orders-list{display:flex;flex-direction:column}.no-orders{align-items:center;justify-content:center;padding:4rem 1rem;text-align:center;color:rgba(255,255,255,.9);background:rgba(255,255,255,.15);backdrop-filter:blur(20px);border-radius:18px;border:1px solid rgba(255,255,255,.2)}.no-orders-icon{font-size:4rem;margin-bottom:1rem;opacity:.7}.no-orders p{margin:.5rem 0;font-size:1rem;text-shadow:0 1px 2px rgba(0,0,0,.2)}.no-orders p:first-of-type{font-size:1.1rem;font-weight:600}.order-item{background:rgba(255,255,255,.25);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border:1px solid rgba(255,255,255,.3);border-radius:18px;padding:1.25rem;box-shadow:0 8px 32px rgba(0,0,0,.1),inset 0 1px 0 rgba(255,255,255,.6);transition:all .3s cubic-bezier(.4,0,.2,1)}.order-item:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.6)}.order-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.order-product-info{flex:1}.order-product-name{font-size:1.1rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2);margin-bottom:.5rem}.order-product-meta{display:flex;gap:1rem;flex-wrap:wrap}.order-meta-item{display:flex;gap:.5rem;align-items:center;font-size:.9rem;color:rgba(255,255,255,.9)}.meta-label{opacity:.7}.meta-value{font-weight:600}.order-amount{font-size:1.25rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2);white-space:nowrap}.order-item-body{flex-direction:column}.order-item-body,.order-time-info{display:flex;gap:1rem}.time-item{display:flex;flex-direction:column;gap:.25rem}.time-label{font-size:.8rem;color:rgba(255,255,255,.7)}.time-value{font-size:.9rem;color:rgba(255,255,255,.9);font-weight:600}.time-full{font-size:.75rem;color:rgba(255,255,255,.6);display:none}.order-rating-section{padding-top:1rem;border-top:1px solid rgba(255,255,255,.2);display:flex;flex-direction:column;gap:.75rem}.order-rating-display{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.stars{display:flex;gap:2px;font-size:1.1rem;filter:drop-shadow(0 1px 2px rgba(0,0,0,.1))}.star{line-height:1}.star,.star.full,.star.half{color:#ffc107}.star.half{opacity:.5}.star.empty{color:rgba(255,255,255,.4)}.rating-value{font-size:1rem;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}.rating-time{font-size:.85rem;color:rgba(255,255,255,.7)}.rating-comment{padding:.75rem;background:rgba(255,255,255,.1);border-radius:12px;border:1px solid rgba(255,255,255,.2);display:flex;gap:.5rem}.comment-label{font-size:.85rem;color:rgba(255,255,255,.7);font-weight:600;white-space:nowrap}.comment-text{font-size:.9rem;color:rgba(255,255,255,.9);flex:1}.modify-rating-btn,.rate-btn{padding:.75rem 1.5rem;background:rgba(255,255,255,.25);backdrop-filter:blur(10px);color:white;border:1px solid rgba(255,255,255,.3);border-radius:12px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 12px rgba(0,0,0,.1);align-self:flex-start}.modify-rating-btn:hover,.rate-btn:hover{background:rgba(255,255,255,.35);transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.15)}.product-request-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--theme-overlay-bg,rgba(0,0,0,.5));display:flex;align-items:center;justify-content:center;z-index:1000;backdrop-filter:blur(4px);animation:fadeIn .2s ease}.product-request-modal{background:var(--theme-bg-primary,#ffffff);border-radius:12px;box-shadow:0 20px 40px var(--theme-shadow-heavy,rgba(0,0,0,.2)),0 8px 16px var(--theme-shadow-light,rgba(0,0,0,.1));border:1px solid var(--theme-border-color,rgba(0,0,0,.1));width:90%;max-width:500px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:modalSlideIn .3s ease-out}.product-request-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--theme-border-color,#e5e7eb);background:var(--theme-bg-secondary,#f8f9fa)}.product-request-modal-header h3{margin:0;font-size:18px;font-weight:600;color:var(--theme-text-primary,#1f1f1f)}.product-request-modal-close{background:none;border:none;color:var(--theme-text-secondary,#6c757d);font-size:28px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s;line-height:1}.product-request-modal-close:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05));color:var(--theme-text-primary,#1f1f1f)}.product-request-modal-close:disabled{opacity:.5;cursor:not-allowed}.product-request-modal-form{padding:24px;display:flex;flex-direction:column;gap:20px;overflow-y:auto;flex:1}.product-request-modal-error{background:var(--theme-error-bg,#fee);color:var(--theme-error-text,#c33);padding:12px 16px;border-radius:8px;border:1px solid var(--theme-error-border,#fcc);font-size:14px}.product-request-modal-field{display:flex;flex-direction:column;gap:8px}.product-request-modal-field label{font-size:14px;font-weight:500;color:var(--theme-text-primary,#1f1f1f)}.product-request-modal-field input,.product-request-modal-field textarea{padding:12px;border:1px solid var(--theme-border-color,#e5e7eb);border-radius:8px;font-size:14px;font-family:inherit;background:var(--theme-bg-primary,#ffffff);color:var(--theme-text-primary,#1f1f1f);transition:all .2s}.product-request-modal-field input:focus,.product-request-modal-field textarea:focus{outline:none;border-color:var(--theme-accent-color,#007bff);box-shadow:0 0 0 3px var(--theme-accent-color-light,rgba(0,123,255,.1))}.product-request-modal-field input:disabled,.product-request-modal-field textarea:disabled{opacity:.6;cursor:not-allowed;background:var(--theme-bg-secondary,#f8f9fa)}.product-request-modal-field textarea{resize:vertical;min-height:80px}.product-request-modal-actions{display:flex;gap:12px;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--theme-border-color,#e5e7eb)}.product-request-modal-cancel,.product-request-modal-submit{padding:10px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.product-request-modal-cancel{background:var(--theme-bg-secondary,#f8f9fa);color:var(--theme-text-primary,#1f1f1f)}.product-request-modal-cancel:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05))}.product-request-modal-submit{background:var(--theme-accent-color,#007bff);color:#ffffff}.product-request-modal-submit:hover:not(:disabled){background:var(--theme-accent-hover,#0056b3);transform:translateY(-1px);box-shadow:0 4px 8px var(--theme-shadow-light,rgba(0,0,0,.1))}.product-request-modal-cancel:disabled,.product-request-modal-submit:disabled{opacity:.6;cursor:not-allowed;transform:none}.accept-request-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--theme-overlay-bg,rgba(0,0,0,.5));display:flex;align-items:center;justify-content:center;z-index:1000;backdrop-filter:blur(4px);animation:fadeIn .2s ease}.accept-request-modal{background:var(--theme-bg-primary,#ffffff);border-radius:12px;box-shadow:0 20px 40px var(--theme-shadow-heavy,rgba(0,0,0,.2)),0 8px 16px var(--theme-shadow-light,rgba(0,0,0,.1));border:1px solid var(--theme-border-color,rgba(0,0,0,.1));width:90%;max-width:450px;overflow:hidden;display:flex;flex-direction:column;animation:modalSlideIn .3s ease-out}.accept-request-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--theme-border-color,#e5e7eb);background:var(--theme-bg-secondary,#f8f9fa)}.accept-request-modal-header h3{font-size:18px;font-weight:600;color:var(--theme-text-primary,#1f1f1f);flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 12px 0 0}.accept-request-modal-close{background:none;border:none;color:var(--theme-text-secondary,#6c757d);font-size:28px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s;line-height:1;flex-shrink:0}.accept-request-modal-close:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05));color:var(--theme-text-primary,#1f1f1f)}.accept-request-modal-close:disabled{opacity:.5;cursor:not-allowed}.accept-request-modal-form{padding:24px;display:flex;flex-direction:column;gap:20px}.accept-request-modal-error{background:var(--theme-error-bg,#fee);color:var(--theme-error-text,#c33);padding:12px 16px;border-radius:8px;border:1px solid var(--theme-error-border,#fcc);font-size:14px}.accept-request-modal-field{display:flex;flex-direction:column;gap:8px}.accept-request-modal-field label{font-size:14px;font-weight:500;color:var(--theme-text-primary,#1f1f1f)}.accept-request-modal-field input{padding:12px;border:1px solid var(--theme-border-color,#e5e7eb);border-radius:8px;font-size:16px;font-family:inherit;background:var(--theme-bg-primary,#ffffff);color:var(--theme-text-primary,#1f1f1f);transition:all .2s}.accept-request-modal-field input:focus{outline:none;border-color:var(--theme-accent-color,#007bff);box-shadow:0 0 0 3px var(--theme-accent-color-light,rgba(0,123,255,.1))}.accept-request-modal-field input:disabled{opacity:.6;cursor:not-allowed;background:var(--theme-bg-secondary,#f8f9fa)}.accept-request-modal-hint{margin:0;font-size:12px;color:var(--theme-text-secondary,#666);line-height:1.5}.accept-request-modal-description{font-size:14px;color:var(--theme-text-primary,#1f1f1f);line-height:1.6;white-space:pre-wrap;word-wrap:break-word;min-height:60px;max-height:200px;overflow-y:auto}.accept-request-modal-description,.accept-request-modal-price{padding:12px;background:var(--theme-bg-secondary,#f8f9fa);border:1px solid var(--theme-border-color,#e5e7eb);border-radius:8px}.accept-request-modal-price{font-size:18px;font-weight:600;color:var(--theme-accent-color,#007bff);text-align:center}.accept-request-modal-actions{display:flex;gap:12px;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--theme-border-color,#e5e7eb)}.accept-request-modal-cancel,.accept-request-modal-submit{padding:10px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.accept-request-modal-cancel{background:var(--theme-bg-secondary,#f8f9fa);color:var(--theme-text-primary,#1f1f1f)}.accept-request-modal-cancel:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05))}.accept-request-modal-submit{background:var(--theme-accent-color,#007bff);color:#ffffff}.accept-request-modal-submit:hover:not(:disabled){background:var(--theme-accent-hover,#0056b3);transform:translateY(-1px);box-shadow:0 4px 8px var(--theme-shadow-light,rgba(0,0,0,.1))}.accept-request-modal-cancel:disabled,.accept-request-modal-submit:disabled{opacity:.6;cursor:not-allowed;transform:none}.create-product-from-request-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--theme-overlay-bg,rgba(0,0,0,.5));display:flex;align-items:center;justify-content:center;z-index:1000;backdrop-filter:blur(4px);animation:fadeIn .2s ease}.create-product-from-request-modal{background:var(--theme-bg-primary,#ffffff);border-radius:12px;box-shadow:0 20px 40px var(--theme-shadow-heavy,rgba(0,0,0,.2)),0 8px 16px var(--theme-shadow-light,rgba(0,0,0,.1));border:1px solid var(--theme-border-color,rgba(0,0,0,.1));width:90%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:modalSlideIn .3s ease-out}.create-product-from-request-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--theme-border-color,#e5e7eb);background:var(--theme-bg-secondary,#f8f9fa)}.create-product-from-request-modal-header h3{margin:0;font-size:18px;font-weight:600;color:var(--theme-text-primary,#1f1f1f);flex:1}.create-product-from-request-modal-close{background:none;border:none;color:var(--theme-text-secondary,#6c757d);font-size:28px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s;line-height:1;flex-shrink:0}.create-product-from-request-modal-close:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05));color:var(--theme-text-primary,#1f1f1f)}.create-product-from-request-modal-close:disabled{opacity:.5;cursor:not-allowed}.create-product-from-request-modal-form{padding:24px;display:flex;flex-direction:column;gap:20px;overflow-y:auto}.create-product-from-request-modal-error{background:var(--theme-error-bg,#fee);color:var(--theme-error-text,#c33);padding:12px 16px;border-radius:8px;border:1px solid var(--theme-error-border,#fcc);font-size:14px}.create-product-from-request-modal-field{display:flex;flex-direction:column;gap:8px}.create-product-from-request-modal-field label{font-size:14px;font-weight:500;color:var(--theme-text-primary,#1f1f1f)}.create-product-from-request-modal-field input,.create-product-from-request-modal-field textarea{padding:12px;border:1px solid var(--theme-border-color,#e5e7eb);border-radius:8px;font-size:14px;font-family:inherit;background:var(--theme-bg-primary,#ffffff);color:var(--theme-text-primary,#1f1f1f);transition:all .2s}.create-product-from-request-modal-field textarea{resize:vertical;min-height:100px}.create-product-from-request-modal-field input:focus,.create-product-from-request-modal-field textarea:focus{outline:none;border-color:var(--theme-accent-color,#007bff);box-shadow:0 0 0 3px var(--theme-accent-color-light,rgba(0,123,255,.1))}.create-product-from-request-modal-field input:disabled,.create-product-from-request-modal-field textarea:disabled{opacity:.6;cursor:not-allowed;background:var(--theme-bg-secondary,#f8f9fa)}.create-product-from-request-modal-hint{margin:0;font-size:12px;color:var(--theme-text-secondary,#666);line-height:1.5}.create-product-from-request-modal-request-description{font-size:14px;color:var(--theme-text-primary,#1f1f1f);line-height:1.6;white-space:pre-wrap;word-wrap:break-word;max-height:150px;overflow-y:auto}.create-product-from-request-modal-fixed-price,.create-product-from-request-modal-request-description{padding:12px;background:var(--theme-bg-secondary,#f8f9fa);border:1px solid var(--theme-border-color,#e5e7eb);border-radius:8px}.create-product-from-request-modal-fixed-price{font-size:20px;font-weight:600;color:var(--theme-accent-color,#007bff);text-align:center}.create-product-from-request-modal-actions{display:flex;gap:12px;justify-content:flex-end;padding-top:8px;border-top:1px solid var(--theme-border-color,#e5e7eb)}.create-product-from-request-modal-cancel,.create-product-from-request-modal-submit{padding:10px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.create-product-from-request-modal-cancel{background:var(--theme-bg-secondary,#f8f9fa);color:var(--theme-text-primary,#1f1f1f)}.create-product-from-request-modal-cancel:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05))}.create-product-from-request-modal-submit{background:var(--theme-accent-color,#007bff);color:#ffffff}.create-product-from-request-modal-submit:hover:not(:disabled){background:var(--theme-accent-hover,#0056b3);transform:translateY(-1px);box-shadow:0 4px 8px var(--theme-shadow-light,rgba(0,0,0,.1))}.create-product-from-request-modal-cancel:disabled,.create-product-from-request-modal-submit:disabled{opacity:.6;cursor:not-allowed;transform:none}.review-product-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--theme-overlay-bg,rgba(0,0,0,.5));display:flex;align-items:center;justify-content:center;z-index:1000;backdrop-filter:blur(4px);animation:fadeIn .2s ease}.review-product-modal{background:var(--theme-bg-primary,#ffffff);border-radius:12px;box-shadow:0 20px 40px var(--theme-shadow-heavy,rgba(0,0,0,.2)),0 8px 16px var(--theme-shadow-light,rgba(0,0,0,.1));border:1px solid var(--theme-border-color,rgba(0,0,0,.1));width:90%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:modalSlideIn .3s ease-out}.review-product-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--theme-border-color,#e5e7eb);background:var(--theme-bg-secondary,#f8f9fa)}.review-product-modal-header h3{margin:0;font-size:18px;font-weight:600;color:var(--theme-text-primary,#1f1f1f);flex:1}.review-product-modal-close{background:none;border:none;color:var(--theme-text-secondary,#6c757d);font-size:28px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s;line-height:1;flex-shrink:0}.review-product-modal-close:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05));color:var(--theme-text-primary,#1f1f1f)}.review-product-modal-close:disabled{opacity:.5;cursor:not-allowed}.review-product-modal-content{padding:24px;overflow-y:auto;flex:1}.review-product-modal-error{background:var(--theme-error-bg,#fee);color:var(--theme-error-text,#c33);padding:12px 16px;border-radius:8px;border:1px solid var(--theme-error-border,#fcc);font-size:14px;margin-bottom:20px}.review-product-modal-section{margin-bottom:24px}.review-product-modal-section h4{margin:0 0 12px;font-size:16px;font-weight:600;color:var(--theme-text-primary,#1f1f1f)}.review-product-modal-description{padding:12px;background:var(--theme-bg-secondary,#f8f9fa);border:1px solid var(--theme-border-color,#e5e7eb);border-radius:8px;font-size:14px;color:var(--theme-text-primary,#1f1f1f);line-height:1.6;white-space:pre-wrap;word-wrap:break-word}.review-product-modal-product{padding:16px;background:var(--theme-bg-secondary,#f8f9fa);border:2px solid var(--theme-accent-color,#007bff);border-radius:8px}.review-product-modal-product-name{font-size:18px;font-weight:600;color:var(--theme-text-primary,#1f1f1f);margin-bottom:12px}.review-product-modal-product-description{font-size:14px;color:var(--theme-text-secondary,#666);line-height:1.6;margin-bottom:12px;white-space:pre-wrap;word-wrap:break-word}.review-product-modal-product-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:12px}.review-product-modal-tag{padding:.25rem .75rem;background:var(--theme-bg-primary,white);color:var(--theme-text-secondary,#666);border-radius:12px;font-size:.75rem;border:1px solid var(--theme-border-color,#e5e7eb)}.review-product-modal-product-price{font-size:18px;font-weight:600;color:var(--theme-accent-color,#007bff);padding-top:12px;border-top:1px solid var(--theme-border-color,#e5e7eb)}.review-product-modal-price-warning{font-size:14px;font-weight:400;color:var(--theme-warning-color,#ff9800);margin-left:8px}.review-product-modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid var(--theme-border-color,#e5e7eb)}.review-product-modal-approve,.review-product-modal-reject{padding:10px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.review-product-modal-reject{background:var(--theme-bg-secondary,#f8f9fa);color:var(--theme-text-primary,#1f1f1f)}.review-product-modal-reject:hover:not(:disabled){background:var(--theme-bg-hover,rgba(0,0,0,.05))}.review-product-modal-approve{background:var(--theme-success-color,#28a745);color:#ffffff}.review-product-modal-approve:hover:not(:disabled){background:var(--theme-success-hover,#218838);transform:translateY(-1px);box-shadow:0 4px 8px var(--theme-shadow-light,rgba(0,0,0,.1))}.review-product-modal-approve:disabled,.review-product-modal-reject:disabled{opacity:.6;cursor:not-allowed;transform:none}.review-product-modal-hint{margin:16px 0 0;font-size:12px;color:var(--theme-text-secondary,#666);text-align:center;line-height:1.5}.product-requests-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--theme-overlay-bg,rgba(0,0,0,.5));display:flex;align-items:center;justify-content:center;z-index:1000;backdrop-filter:blur(4px);animation:fadeIn .2s ease;padding:1rem;overflow-y:auto}.product-requests-modal{background:var(--theme-bg-primary,#ffffff);border-radius:12px;box-shadow:0 20px 40px var(--theme-shadow-heavy,rgba(0,0,0,.2)),0 8px 16px var(--theme-shadow-light,rgba(0,0,0,.1));border:1px solid var(--theme-border-color,rgba(0,0,0,.1));width:90%;max-width:600px;max-height:calc(100vh - 2rem);display:flex;flex-direction:column;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.product-requests-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid var(--theme-border-color,#e5e7eb);background:var(--theme-bg-secondary,#f8f9fa);border-radius:12px 12px 0 0;flex-shrink:0}.product-requests-modal-title{margin:0;font-size:1.2rem;font-weight:600;color:var(--theme-text-primary,#1f1f1f)}.product-requests-modal-close{background:none;border:none;color:var(--theme-text-secondary,#6c757d);font-size:28px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s;line-height:1}.product-requests-modal-close:hover{background:var(--theme-bg-hover,rgba(0,0,0,.05));color:var(--theme-text-primary,#1f1f1f)}.product-requests-tabs{display:flex;border-bottom:2px solid var(--theme-border-color,#e5e7eb);padding:0;background:var(--theme-bg-secondary,#f8f9fa);gap:0}.product-requests-tab{flex:1;padding:.5rem .25rem;background:none;border:none;border-bottom:3px solid transparent;cursor:pointer;font-size:clamp(.7rem,2vw,.85rem);font-weight:500;color:var(--theme-text-secondary,#666);transition:all .2s ease;position:relative;margin-bottom:-2px;white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis}.product-requests-tab:hover{color:var(--theme-text-primary,#333);background:var(--theme-bg-primary,white)}.product-requests-tab.active{color:var(--theme-accent-color,#007bff);border-bottom-color:var(--theme-accent-color,#007bff);background:var(--theme-bg-primary,white)}.product-requests-modal-content{padding:1rem 1.5rem;overflow-y:auto;flex:1}.product-requests-empty{padding:3rem 1rem;text-align:center;color:var(--theme-text-secondary,#666)}.product-requests-list{display:flex;flex-direction:column;gap:1rem}.product-request-card{background:var(--theme-bg-secondary,#f8f9fa);border:1px solid var(--theme-border-color,#e1e5e9);border-radius:12px;padding:1rem;transition:all .3s ease;position:relative}.product-request-card:hover{box-shadow:0 4px 12px var(--theme-shadow-light,rgba(0,0,0,.1));border-color:var(--theme-accent-color,#007bff)}.product-request-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;gap:1rem}.product-request-name{margin:0;font-size:1rem;font-weight:600;color:var(--theme-text-primary,#333);flex:1}.product-request-status{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:500;white-space:nowrap}.product-request-status.status-pending{background:#fff3cd;color:#856404}.product-request-status.status-accepted{background:#d1ecf1;color:#0c5460}.product-request-status.status-approved,.product-request-status.status-completed{background:#d4edda;color:#155724}.product-request-status.status-rejected{background:#f8d7da;color:#721c24}.product-request-price{margin:.5rem 0;padding:.5rem;background:var(--theme-bg-primary,white);color:var(--theme-accent-color,#007bff);border-radius:8px;font-size:.95rem;font-weight:600;text-align:center}.product-request-description{margin:.5rem 0;color:var(--theme-text-secondary,#666);font-size:.9rem;line-height:1.5}.product-request-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}.product-request-tag{padding:.25rem .5rem;background:var(--theme-bg-primary,white);color:var(--theme-text-secondary,#666);border-radius:12px;font-size:.75rem}.product-request-meta{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.75rem;font-size:.85rem;color:var(--theme-text-tertiary,#999)}.product-request-acceptor,.product-request-date,.product-request-requester{display:flex;align-items:center}.accept-request-btn{margin-top:.75rem;padding:.5rem 1.5rem;background:var(--theme-accent-color,#007bff);color:white;border:none;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease}.accept-request-btn:hover{background:var(--theme-accent-hover,#0056b3);transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,123,255,.3)}.create-product-btn{margin-top:.75rem;padding:.5rem 1.5rem;background:var(--theme-success-color,#28a745);color:white;border:none;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease}.create-product-btn:hover{background:var(--theme-success-hover,#218838);transform:translateY(-1px);box-shadow:0 2px 8px rgba(40,167,69,.3)}.review-product-btn{margin-top:.75rem;padding:.5rem 1.5rem;background:var(--theme-warning-color,#ffc107);color:var(--theme-text-primary,#1f1f1f);border:none;border-radius:8px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .3s ease}.review-product-btn:hover{background:var(--theme-warning-hover,#e0a800);transform:translateY(-1px);box-shadow:0 2px 8px rgba(255,193,7,.3)}.product-request-own-indicator{margin-top:.75rem;padding:.5rem;background:var(--theme-bg-primary,white);color:var(--theme-text-secondary,#666);border-radius:8px;font-size:.85rem;text-align:center}.visit-store-btn{margin-top:.75rem;padding:.5rem 1rem;background:var(--theme-accent-color,#007bff);color:white;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;width:100%}.visit-store-btn:hover{background:var(--theme-accent-hover,#0056b3);transform:translateY(-1px);box-shadow:0 2px 8px color-mix(in srgb,var(--theme-accent-color,#007bff) 30%,transparent)}.visit-store-btn:active{transform:translateY(0)}@media (max-width:768px){.product-requests-modal{width:95%;max-height:90vh}.product-requests-modal-overlay{padding:.5rem}.product-requests-tabs{padding:0}.product-requests-tab{padding:.5rem .2rem;font-size:clamp(.65rem,2.5vw,.8rem)}}@media (max-width:480px){.product-requests-tab{padding:.45rem .15rem;font-size:clamp(.6rem,3vw,.75rem)}}@media (max-width:360px){.product-requests-tab{padding:.4rem .1rem;font-size:clamp(.55rem,3.5vw,.7rem)}}.reviews-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:99999;padding:1rem;animation:fadeIn .3s ease;overflow-y:auto}.reviews-modal{background:linear-gradient(135deg,#fff,#f8f9fa);border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.5);max-width:600px;width:100%;max-height:80vh;overflow:hidden;display:flex;flex-direction:column;animation:slideUp .3s ease;position:relative;z-index:100000}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.reviews-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid rgba(0,0,0,.1);background:rgba(255,255,255,.8)}.reviews-modal-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#333}.close-btn{background:transparent;font-size:2rem;width:2.5rem;height:2.5rem;border-radius:12px;transition:all .2s ease;line-height:1}.close-btn:hover{background:rgba(0,0,0,.05);color:#333}.reviews-modal-body{flex:1;overflow-y:auto;padding:1.5rem}.product-info{margin-bottom:1.5rem;padding:1rem;background:rgba(0,123,255,.1);border-radius:12px;border:1px solid rgba(0,123,255,.2)}.product-name{font-size:1.1rem;font-weight:700;color:#333;margin-bottom:.5rem}.reviews-count{font-size:.9rem;color:#666}.no-reviews,.reviews-error,.reviews-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center}.reviews-loading{color:#666}.loading-spinner{border:4px solid rgba(0,123,255,.3);border-top-color:#007bff;animation:spin .8s linear infinite}.reviews-error{color:#c33;gap:1rem}.reviews-error button{padding:.75rem 1.5rem;background:#007bff;color:white;border:none;border-radius:12px;cursor:pointer;font-size:.95rem;font-weight:600;transition:all .3s ease}.reviews-error button:hover{background:#0056b3;transform:translateY(-2px)}.no-reviews{color:#999}.no-reviews-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.no-reviews p{margin:.5rem 0;font-size:1rem}.no-reviews p:first-of-type{font-size:1.1rem;font-weight:600}.reviews-list{display:flex;flex-direction:column;gap:1rem}.review-item{padding:1rem;background:#fff;border-radius:12px;border:1px solid #e0e0e0;transition:all .3s ease}.review-item:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.review-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:1rem}.reviewer-info{flex:1;display:flex;flex-direction:column;gap:.5rem}.reviewer-name{font-weight:600;color:#333;font-size:.95rem}.review-stars{display:flex;gap:2px;font-size:.9rem}.review-stars .star{line-height:1}.review-stars .star.full{color:#ffc107}.review-stars .star.half{color:#ffc107;opacity:.5}.review-stars .star.empty{color:#ddd}.review-time{font-size:.85rem;color:#999;white-space:nowrap}.review-comment{font-size:.95rem;color:#555;line-height:1.6;margin-bottom:.5rem;word-wrap:break-word}.review-full-time{font-size:.75rem;color:#999;padding-top:.5rem;border-top:1px solid #f0f0f0}.product-card{background:var(--theme-bg-primary,#ffffff);border-radius:16px;border:1px solid var(--theme-border-light,#e5e7eb);overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;display:flex;flex-direction:column;height:100%;box-shadow:0 1px 3px rgba(0,0,0,.1)}.product-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.12);border-color:var(--theme-accent-color,#007bff)}.delete-product-btn-icon{position:absolute;top:.75rem;right:.75rem;width:28px;height:28px;padding:0;border:none;border-radius:50%;cursor:pointer;transition:all .2s ease;background:rgba(239,68,68,.1);color:#ef4444;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:300;line-height:1;z-index:10;backdrop-filter:blur(8px)}.delete-product-btn-icon:hover{background:rgba(239,68,68,.2);transform:scale(1.1)}.delete-product-btn-icon:active{transform:scale(.95)}.product-header{padding:1.25rem 1.25rem 1rem;border-bottom:1px solid var(--theme-border-light,#f3f4f6)}.product-name{margin:0 0 .75rem;font-size:1.125rem;font-weight:600;color:var(--theme-text-primary,#111827);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-price{font-size:1.35rem;font-weight:700;color:var(--theme-accent-color,#007bff);letter-spacing:-.5px;line-height:1}.product-description{padding:1rem 1.25rem;font-size:.875rem;color:var(--theme-text-secondary,#6b7280);line-height:1.6;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.2rem;background:none;border:none;width:100%;text-align:left;cursor:pointer;transition:color .2s ease}.product-description:focus,.product-description:hover{color:var(--theme-text-primary,#374151)}.product-meta{padding:.75rem 1.25rem;border-top:1px solid var(--theme-border-light,#f3f4f6);border-bottom:1px solid var(--theme-border-light,#f3f4f6);background:var(--theme-bg-secondary,#f9fafb);display:flex;flex-direction:column;gap:.75rem}.product-rating-section{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.product-card .stars,.product-rating-section .stars{display:flex;gap:1px;font-size:.65rem!important;align-items:center;line-height:1}.product-card .star,.product-rating-section .star{line-height:1;color:#e5e7eb;font-size:inherit}.product-card .star.full,.product-rating-section .star.full{color:#ffc107}.product-card .star.half,.product-rating-section .star.half{color:#ffc107;opacity:.5}.product-card .star.empty,.product-rating-section .star.empty{color:#e5e7eb}.rating-value{font-size:.875rem;font-weight:600;color:var(--theme-text-primary,#111827)}.rating-no-rating{font-size:.875rem;color:var(--theme-text-tertiary,#9ca3af);font-style:italic}.view-reviews-btn{padding:.25rem .625rem;font-size:.75rem;border:1px solid var(--theme-border-color,#d1d5db);border-radius:6px;cursor:pointer;transition:all .2s ease;background:var(--theme-bg-primary,#ffffff);color:var(--theme-text-secondary,#6b7280);font-weight:500}.view-reviews-btn:hover{border-color:var(--theme-accent-color,#007bff);color:var(--theme-accent-color,#007bff);background:rgba(0,123,255,.05)}.product-tags{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tag{color:var(--theme-accent-color,#007bff);background:rgba(0,123,255,.1);border-radius:8px;border:1px solid rgba(0,123,255,.2);transition:all .2s ease}.tag,.tag-more{display:inline-block;padding:.25rem .625rem;font-size:.75rem;font-weight:500}.tag-more{color:var(--theme-text-tertiary,#9ca3af);background:var(--theme-bg-secondary,#f3f4f6);border-radius:8px}.product-seller{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--theme-text-secondary,#6b7280)}.seller-icon{font-size:.875rem;opacity:.7}.seller-name{font-weight:500;color:var(--theme-text-primary,#374151)}.product-actions{padding:1rem 1.25rem}.add-to-cart-btn{width:100%;padding:.875rem 1.25rem;font-size:.9375rem;font-weight:600;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,var(--theme-accent-color,#007bff) 0,var(--theme-accent-hover,#0056b3) 100%);color:white;box-shadow:0 2px 8px rgba(0,123,255,.25);display:flex;align-items:center;justify-content:center;gap:.5rem}.add-to-cart-btn .btn-icon{font-size:1rem;line-height:1}.add-to-cart-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,123,255,.35)}.add-to-cart-btn:active:not(:disabled){transform:translateY(0)}.add-to-cart-btn.disabled,.add-to-cart-btn:disabled{opacity:.6;cursor:not-allowed;background:var(--theme-bg-secondary,#f3f4f6)!important;color:var(--theme-text-tertiary,#9ca3af)!important;box-shadow:none!important}.add-to-cart-btn.disabled:hover{transform:none!important}.add-to-cart-btn.in-cart{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 8px rgba(16,185,129,.3)}.add-to-cart-btn.in-cart:hover:not(:disabled){box-shadow:0 4px 12px rgba(16,185,129,.4)}.add-to-cart-btn-compact{padding:.375rem .75rem;border:none;border-radius:8px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .3s ease;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);white-space:nowrap;display:flex;align-items:center;justify-content:center;background:var(--theme-accent-color,#007bff);background:linear-gradient(135deg,var(--theme-accent-color,#007bff) 0,var(--theme-accent-hover,#0056b3) 100%);border:1px solid var(--theme-accent-color,#007bff);color:#fff;box-shadow:0 2px 8px color-mix(in srgb,var(--theme-accent-color,#007bff) 30%,transparent)}.add-to-cart-btn-compact:hover:not(:disabled){background:var(--theme-accent-hover,#0056b3);background:linear-gradient(135deg,var(--theme-accent-hover,#0056b3) 0,var(--theme-accent-color,#007bff) 100%);transform:translateY(-1px);box-shadow:0 4px 12px color-mix(in srgb,var(--theme-accent-color,#007bff) 40%,transparent)}.add-to-cart-btn-compact.disabled{opacity:.6;cursor:not-allowed;background:var(--theme-bg-secondary,#f3f4f6)!important;color:var(--theme-text-tertiary,#9ca3af)!important;box-shadow:none!important}.add-to-cart-btn-compact.disabled:hover{transform:none!important}.add-to-cart-btn-compact.in-cart{box-shadow:0 2px 8px rgba(16,185,129,.3);cursor:not-allowed}.add-to-cart-btn-compact.in-cart,.add-to-cart-btn-compact.in-cart:disabled{background:linear-gradient(135deg,#10b981,#059669)!important;border-color:#10b981!important;color:#fff!important}.add-to-cart-btn-compact.in-cart:disabled{opacity:1}.add-to-cart-btn-compact.in-cart:hover:disabled{box-shadow:0 2px 8px rgba(16,185,129,.3);transform:none}@media (max-width:768px){.product-header{padding:1rem 1rem .875rem}.product-name{font-size:1rem;margin-bottom:.625rem}.product-price{font-size:1.25rem}.product-description{padding:.875rem 1rem;font-size:.8125rem;min-height:3.9rem}.product-meta{padding:.625rem 1rem;gap:.625rem}.product-actions{padding:.875rem 1rem}.add-to-cart-btn{padding:.75rem 1rem;font-size:.875rem}.delete-product-btn-icon{top:.625rem;right:.625rem;width:24px;height:24px;font-size:1.125rem}}@media (max-width:480px){.product-card{border-radius:12px}.product-header{padding:.875rem .875rem .75rem}.product-name{font-size:.9375rem;margin-bottom:.5rem;-webkit-line-clamp:2}.product-price{font-size:1.15rem}.product-description{padding:.75rem .875rem;font-size:.8125rem;-webkit-line-clamp:2;min-height:2.6rem}.product-meta{padding:.5rem .875rem;gap:.5rem}.product-card .stars,.product-rating-section .stars{font-size:.6rem!important}.rating-value{font-size:.8125rem}.tag{padding:.2rem .5rem;font-size:.6875rem}.product-actions{padding:.75rem .875rem}.add-to-cart-btn{padding:.6875rem .875rem;font-size:.8125rem}.delete-product-btn-icon{top:.5rem;right:.5rem;width:22px;height:22px;font-size:1rem}}.store-view-page{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;color:var(--theme-text-primary,#333)}.store-view-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem;z-index:100;border-bottom:1px solid var(--theme-border-light,rgba(0,0,0,.1))}.store-view-header h1{margin:0;font-size:1.25rem;font-weight:600;color:var(--theme-text-primary,#333)}.store-stats-container{margin:1rem;padding:1rem;border:1px solid var(--theme-border-color,#e1e5e9);border-radius:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem}.store-stat-item{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0}@media (max-width:768px){.store-stats-container{padding:.75rem;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}}@media (max-width:480px){.store-stats-container{padding:.75rem;gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(80px,1fr))}}.stat-content{width:100%;text-align:center;min-width:0}.stat-value{font-size:clamp(.75rem,1.8vw,1.25rem);font-weight:800;color:var(--theme-text-primary,#333);margin-bottom:.375rem;word-break:break-word;line-height:1.2;overflow-wrap:break-word;max-width:100%}.stat-label{font-size:clamp(.7rem,1.5vw,.8rem);color:var(--theme-text-secondary,#666);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-stars{gap:1px;line-height:1}.store-stars .star{font-size:inherit}.store-stars .star.empty{color:rgba(224,224,224,.6)}.products-grid{padding-bottom:calc(2rem + env(safe-area-inset-bottom, 0))}@media (max-width:768px){.store-view-header{padding:.375rem}.store-view-header h1{font-size:1.1rem}.products-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.shopping-search-section{padding:.5rem .8rem}.shopping-search-box{gap:.4rem}.shopping-search-box input{padding:.4rem .8rem;font-size:.9rem}}@media (max-width:480px){.products-grid{grid-template-columns:1fr}.shopping-search-section{padding:.4rem .6rem}.shopping-search-box{gap:.3rem}.shopping-search-box input{padding:.35rem .6rem;font-size:.85rem;border-radius:16px}}@media (max-width:400px){.shopping-search-section{padding:.3rem .5rem}.shopping-search-box{gap:.25rem}.shopping-search-box input{padding:.3rem .5rem;font-size:.8rem;border-radius:14px}.store-view-header{padding:.375rem}.store-view-header h1{font-size:1.1rem}}.leaderboards-modal__backdrop{position:fixed;z-index:1000;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));box-sizing:border-box}.leaderboards-modal{background:var(--modal-background,#fff);color:var(--modal-foreground,#1f2933);border-radius:16px;box-shadow:0 24px 48px rgba(15,23,42,.24);width:min(960px,100%);max-height:calc(100vh - max(2rem, env(safe-area-inset-top)) - max(2rem, env(safe-area-inset-bottom)));display:flex;flex-direction:column;overflow:hidden;margin:auto}.leaderboards-modal__header{position:relative;padding:1.5rem 2.5rem 1rem;border-bottom:1px solid rgba(118,132,160,.12);display:flex;flex-direction:column;gap:1rem}.leaderboards-modal__category-group{display:flex;gap:.4rem;flex-wrap:nowrap;overflow:hidden;justify-content:space-between}.leaderboards-modal__category-btn{padding:clamp(.3rem,.8vw,.45rem) clamp(.5rem,1.2vw,1rem);border-radius:10px;border:1px solid rgba(118,132,160,.3);background:rgba(118,132,160,.06);color:inherit;font-size:clamp(.72rem,1.6vw,.92rem);cursor:pointer;transition:all .2s ease;white-space:nowrap;flex:1 1 0;min-width:0}.leaderboards-modal__category-btn:hover{border-color:rgba(118,132,160,.6);background:rgba(118,132,160,.12)}.leaderboards-modal__category-btn--active{border-color:var(--accent-color,#2563eb);background:color-mix(in srgb,var(--accent-color,#2563eb) 16%,transparent);box-shadow:inset 0 0 0 1px var(--accent-color,#2563eb)}.leaderboards-modal__header h2{margin:0;font-size:1.5rem;font-weight:600}.leaderboards-modal__range-group{display:flex;gap:.4rem;flex-wrap:nowrap;justify-content:space-between}.leaderboards-modal__range-btn{padding:clamp(.3rem,.8vw,.45rem) clamp(.5rem,1.2vw,1rem);border-radius:10px;border:1px solid rgba(118,132,160,.3);background:rgba(118,132,160,.06);color:inherit;font-size:clamp(.72rem,1.6vw,.92rem);transition:all .2s ease;cursor:pointer;white-space:nowrap;flex:1 1 0;min-width:0}.leaderboards-modal__range-btn:hover{border-color:rgba(118,132,160,.6);background:rgba(118,132,160,.12)}.leaderboards-modal__range-btn--active{border-color:var(--accent-color,#2563eb);background:color-mix(in srgb,var(--accent-color,#2563eb) 16%,transparent);box-shadow:inset 0 0 0 1px var(--accent-color,#2563eb)}.leaderboards-modal__close{position:absolute;top:1.5rem;right:2rem;background:transparent;border:none;font-size:1.75rem;line-height:1;cursor:pointer;color:inherit}.leaderboards-modal__content{overflow-y:auto;padding:1.5rem 2.5rem calc(2.5rem + env(safe-area-inset-bottom))}.leaderboards-modal__error,.leaderboards-modal__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;min-height:320px;color:rgba(47,57,72,.8)}.leaderboards-modal__spinner{width:48px;height:48px;border-radius:50%;border:4px solid rgba(37,99,235,.2);border-top:4px solid var(--accent-color,#2563eb);animation:leaderboards-modal-spin .8s linear infinite}@keyframes leaderboards-modal-spin{to{transform:rotate(1turn)}}.leaderboards-modal__retry{padding:.6rem 1.5rem;border-radius:8px;border:none;background:var(--accent-color,#2563eb);color:#fff;cursor:pointer;font-size:.95rem;transition:transform .2s ease}.leaderboards-modal__retry:hover{transform:translateY(-1px)}.leaderboards-modal__single-section{display:grid;gap:1.25rem}.leaderboards-modal__single-section header,.leaderboards-modal__single-section section{background:rgba(118,132,160,.06);border-radius:16px;padding:1.25rem 1.5rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.leaderboards-modal__single-section header h3{margin:0;font-size:1.1rem;font-weight:600}.leaderboards-modal__single-section header p{margin:.25rem 0 0;font-size:.9rem;color:rgba(47,57,72,.7)}.leaderboards-modal__list{display:flex;flex-direction:column;gap:.5rem}.leaderboards-modal__row{display:flex;align-items:center;gap:1.25rem;padding:.85rem 1rem;border-radius:12px;border:none;background:rgba(255,255,255,.65);color:inherit;cursor:pointer;text-align:left;transition:transform .2s ease,box-shadow .2s ease}.leaderboards-modal__row:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.12)}.leaderboards-modal__rank{width:32px;height:32px;border-radius:50%;background:rgba(37,99,235,.12);color:var(--accent-color,#2563eb);display:flex;align-items:center;justify-content:center;font-weight:600}.leaderboards-modal__rank--1{background:rgba(249,115,22,.18);color:#f97316}.leaderboards-modal__rank--2{background:rgba(79,70,229,.18);color:#4f46e5}.leaderboards-modal__rank--3{background:rgba(16,185,129,.18);color:#10b981}.leaderboards-modal__store-name{flex:1;font-size:1rem;font-weight:500;color:rgba(15,23,42,.88);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboards-modal__metrics{display:flex;flex-direction:column;gap:.25rem;align-items:flex-end;min-width:140px}.leaderboards-modal__metric-primary{font-size:1rem;font-weight:600;color:rgba(15,23,42,.9)}.leaderboards-modal__metric-secondary{font-size:.85rem;color:rgba(47,57,72,.7)}.leaderboards-modal__empty{padding:1rem;text-align:center;font-size:.95rem;color:rgba(47,57,72,.7);background:rgba(15,23,42,.04);border-radius:12px}@media (max-width:768px){.leaderboards-modal__backdrop{padding:max(.75rem,env(safe-area-inset-top)) max(.75rem,env(safe-area-inset-right)) max(.75rem,env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left))}.leaderboards-modal{width:100%;max-height:calc(100vh - max(1.5rem, env(safe-area-inset-top)) - max(1.5rem, env(safe-area-inset-bottom)))}.leaderboards-modal__header{padding:1.25rem 1.75rem 1rem}.leaderboards-modal__content{padding:1.25rem 1.75rem calc(2rem + env(safe-area-inset-bottom))}.leaderboards-modal__row{flex-wrap:wrap;gap:.75rem}.leaderboards-modal__metrics{width:100%;align-items:flex-start}}.shopping-page{height:100vh;height:100dvh;background:linear-gradient(135deg,var(--theme-accent-color,#007bff) 0,var(--theme-accent-hover,#0056b3) 100%);display:flex;flex-direction:column;overflow:hidden;color:var(--theme-text-primary,#333)}.shopping-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem;background:var(--theme-header-bg,rgba(255,255,255,.95));backdrop-filter:blur(10px);box-shadow:0 2px 10px var(--theme-shadow-light,rgba(0,0,0,.1));z-index:100;border-bottom:1px solid var(--theme-border-light,rgba(0,0,0,.1))}.shopping-header h1{margin:0;font-size:1.25rem;font-weight:600;color:var(--theme-text-primary,#333)}.back-btn{background:none;border:none;font-size:1.5rem;color:var(--theme-text-secondary,#666);cursor:pointer;padding:.5rem;border-radius:50%;transition:all .3s ease}.back-btn:hover{background:var(--theme-bg-secondary,rgba(0,0,0,.1));color:var(--theme-text-primary,#333)}.header-icon-btn{position:relative;background:none;border:none;cursor:pointer;padding:.5rem;border-radius:50%;transition:all .3s ease;color:var(--theme-text-secondary,#666);display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem}.header-icon-btn:hover{background:var(--theme-bg-secondary,rgba(0,0,0,.1));color:var(--theme-text-primary,#333)}.header-icon-btn svg{width:20px;height:20px;flex-shrink:0}.header-text-btn{position:relative;background:var(--theme-accent-color,#007bff);border:none;font-size:.75rem;cursor:pointer;padding:.375rem .75rem;border-radius:16px;transition:all .3s ease;color:white;display:flex;align-items:center;justify-content:center;font-weight:500;white-space:nowrap}.header-text-btn:hover{background:var(--theme-accent-hover,#0056b3);transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,123,255,.3)}.cart-btn{position:relative}.store-menu-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;background:var(--theme-bg-primary,white);border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.15),0 0 0 1px var(--theme-border-light,rgba(0,0,0,.1));padding:.5rem;min-width:160px;z-index:1000;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid var(--theme-border-light,rgba(0,0,0,.1))}.store-menu-item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:none;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;color:var(--theme-text-primary,#333);font-size:.9rem;text-align:left}.store-menu-item:hover{background:var(--theme-bg-secondary,rgba(0,0,0,.05))}.store-menu-item svg{width:18px;height:18px;flex-shrink:0}.store-menu-item span{flex:1}.cart-badge{position:absolute;top:0;right:0;background:var(--theme-accent-color,#ff4757);color:white;font-size:.7rem;padding:.2rem .4rem;border-radius:10px;min-width:18px;text-align:center}.shopping-search-section{padding:.3rem 1rem;background:var(--theme-bg-secondary,rgba(255,255,255,.9));backdrop-filter:blur(10px);border-bottom:1px solid var(--theme-border-light,rgba(0,0,0,.1));display:flex;justify-content:center;align-items:center;gap:.5rem}.shopping-search-box{gap:.5rem;max-width:600px;flex:1}.shopping-search-box,.sort-selector{display:flex;align-items:center}.sort-select{padding:.375rem .75rem;background:var(--theme-bg-primary,white);border:1px solid var(--theme-border-color,#e1e5e9);border-radius:16px;font-size:.75rem;color:var(--theme-text-primary,#333);cursor:pointer;transition:all .3s ease;outline:none;font-weight:500;min-width:100px}.sort-select:hover{background:var(--theme-bg-secondary,rgba(0,0,0,.02))}.sort-select:focus,.sort-select:hover{border-color:var(--theme-accent-color,#007bff)}.sort-select:focus{box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent-color,#007bff) 20%,transparent)}.request-product-btn{padding:.375rem .75rem;background:var(--theme-accent-color,#007bff);border:none;font-size:.75rem;cursor:pointer;border-radius:16px;transition:all .3s ease;color:white;display:flex;align-items:center;justify-content:center;font-weight:500;white-space:nowrap;flex-shrink:0}.request-product-btn:hover{background:var(--theme-accent-hover,#0056b3);transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,123,255,.3)}.leaderboard-btn{padding:.375rem .75rem;border-radius:16px;border:1px solid var(--theme-border-color,#e1e5e9);background:var(--theme-bg-primary,#ffffff);color:var(--theme-accent-color,#007bff);font-size:.75rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;font-weight:500;white-space:nowrap;flex-shrink:0}.leaderboard-btn:hover{background:color-mix(in srgb,var(--theme-accent-color,#007bff) 8%,transparent);border-color:color-mix(in srgb,var(--theme-accent-color,#007bff) 35%,var(--theme-border-color,#e1e5e9));transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,123,255,.18)}.shopping-search-box input{flex:1;padding:.5rem 1rem;border:2px solid var(--theme-border-color,#e1e5e9);border-radius:20px;font-size:.95rem;outline:none;transition:border-color .3s ease;background:var(--theme-bg-primary,white);color:var(--theme-text-primary,#333);min-width:0}.shopping-search-box input:focus{border-color:var(--theme-accent-color,#007bff)}.shopping-search-box input::placeholder{color:var(--theme-text-tertiary,#999)}.products-container{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0) + 2rem);background:var(--theme-bg-primary,transparent)}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:var(--theme-text-primary,white)}.loading-spinner{width:40px;height:40px;border-top:4px solid var(--theme-border-light,rgba(255,255,255,.3));border:4px solid var(--theme-border-light,rgba(255,255,255,.3));border-top-color:var(--theme-accent-color,#007bff);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.no-products{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:var(--theme-text-primary,white);text-align:center}.no-products-icon{font-size:3rem;margin-bottom:1rem;opacity:.8}.products-grid,.stores-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;padding-bottom:2rem}.load-more-container{padding:2rem 1rem;margin-top:1rem}.load-more-btn,.load-more-container{display:flex;justify-content:center;align-items:center}.load-more-btn{gap:.5rem;padding:.75rem 2rem;background:var(--theme-accent-color,#007bff);color:white;border:none;border-radius:24px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px rgba(0,123,255,.3)}.load-more-btn:hover:not(:disabled){background:var(--theme-accent-hover,#0056b3);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,123,255,.4)}.load-more-btn:disabled{opacity:.6;cursor:not-allowed}.loading-more{display:flex;align-items:center;gap:.75rem;color:var(--theme-text-secondary,#666);font-size:.9rem}.loading-spinner-small{width:20px;height:20px;border:2px solid var(--theme-border-light,rgba(255,255,255,.3));border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.load-more-tip,.no-more-tip{color:var(--theme-text-tertiary,#999);font-size:.875rem;text-align:center}.no-more-tip{opacity:.7}.store-card{background:var(--theme-bg-primary,white);border-radius:16px;padding:1.5rem;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px var(--theme-shadow-light,rgba(0,0,0,.1));border:1px solid var(--theme-border-light,rgba(0,0,0,.1));display:flex;flex-direction:column;gap:1rem;min-height:120px;justify-content:center}.store-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px var(--theme-shadow-medium,rgba(0,0,0,.15));border-color:var(--theme-accent-color,#007bff)}.store-name{font-size:1.25rem;font-weight:600;color:var(--theme-text-primary,#333);margin:0;text-align:center}.store-info{display:flex;flex-direction:column;gap:.75rem;align-items:center}.store-product-count{display:flex;align-items:baseline;justify-content:center;gap:.5rem;color:var(--theme-text-secondary,#666)}.count-number{font-size:1.5rem;font-weight:700;color:var(--theme-accent-color,#007bff)}.count-label{font-size:.9rem}.store-rating{justify-content:center;gap:.5rem}.store-rating,.store-stars{display:flex;align-items:center}.store-stars{gap:.1rem}.store-stars .star{font-size:.9rem;line-height:1;color:var(--theme-border-light,#ddd)}.store-stars .star.full{color:#ffc107}.store-stars .star.half{color:#ffc107;opacity:.5}.store-stars .star.empty{color:var(--theme-border-light,#ddd)}.store-rating-value{font-size:.875rem;font-weight:600;color:var(--theme-text-primary,#333)}.store-no-rating{font-size:.875rem;color:var(--theme-text-tertiary,#999)}@media (max-width:768px){.shopping-header{padding:.375rem}.shopping-header h1{font-size:1.1rem}.products-grid,.stores-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.store-card{padding:1.25rem;min-height:100px}.store-name{font-size:1.1rem}.count-number{font-size:1.3rem}.shopping-search-section{padding:.5rem .8rem;flex-wrap:wrap;gap:.4rem}.shopping-search-box{gap:.4rem;min-width:0;flex:1 1 auto}.shopping-search-box input{padding:.4rem .8rem;font-size:.9rem}.sort-selector{flex-shrink:0}.sort-select{min-width:90px}.leaderboard-btn,.request-product-btn,.sort-select{font-size:.7rem;padding:.35rem .6rem}}@media (max-width:480px){.products-grid,.stores-grid{grid-template-columns:1fr}.store-card{padding:1rem;min-height:90px}.store-name{font-size:1rem}.count-number{font-size:1.2rem}.shopping-search-section{padding:.4rem .6rem;flex-wrap:wrap;gap:.3rem}.shopping-search-box{gap:.3rem;min-width:0;flex:1 1 100%}.shopping-search-box input{padding:.35rem .6rem;font-size:.85rem;border-radius:16px}.sort-selector{flex:1 1 auto;min-width:0}.sort-select{width:100%;min-width:80px;font-size:.7rem;padding:.35rem .5rem}.leaderboard-btn,.request-product-btn{flex:1 1 auto;font-size:.7rem;padding:.35rem .5rem;white-space:nowrap}}@media (max-width:400px){.shopping-search-section{padding:.3rem .5rem}.shopping-search-box{gap:.25rem}.shopping-search-box input{padding:.3rem .5rem;font-size:.8rem;border-radius:14px}.shopping-header{padding:.375rem}.shopping-header h1{font-size:1.1rem}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:10000;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.api-settings-modal{background:white;border-radius:12px;width:90%;max-width:500px;max-height:90vh;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.3)}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e0e0e0;background-color:#f8f9fa}.modal-header h2{margin:0;font-size:18px;font-weight:600;color:#1f1f1f}.close-btn{background:none;border:none;font-size:24px;color:#666;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s}.close-btn:hover{background-color:#f0f0f0}.modal-body{padding:20px;max-height:calc(90vh - 140px);overflow-y:auto}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#333;font-size:14px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:8px;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px rgba(0,123,255,.1)}.form-group textarea{resize:vertical;min-height:100px}.field-hint{display:block;margin-top:6px;font-size:12px;color:#666;font-style:italic;line-height:1.4}.user-info-display{display:flex;align-items:center;gap:12px;padding:12px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e0e0e0}.user-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #e0e0e0}.user-details{flex:1}.username{font-size:16px;font-weight:600;color:#1f1f1f;margin-bottom:4px}.privacy-btn{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:16px;padding:4px 12px;font-size:12px;cursor:pointer;transition:all .2s ease}.privacy-btn:hover{background:#e9ecef}.privacy-btn.public{color:#007bff;border-color:#007bff}.privacy-btn.private{color:#6c757d;border-color:#6c757d}.images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px;margin-top:8px}.image-container{position:relative;aspect-ratio:1/1;border-radius:8px;overflow:hidden;background:#f8f9fa}.preview-image{width:100%;height:100%;object-fit:cover}.remove-image-btn{position:absolute;top:4px;right:4px;width:20px;height:20px;border:none;background:rgba(0,0,0,.7);color:white;border-radius:50%;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center}.tag-input-container{display:flex;gap:8px;margin-bottom:8px}.tag-input-container input{flex:1;margin:0}.add-tag-btn{background:#007bff;color:white;border:none;border-radius:8px;padding:12px 16px;font-size:14px;cursor:pointer;transition:background-color .2s ease;white-space:nowrap}.add-tag-btn:hover:not(:disabled){background:#0056b3}.add-tag-btn:disabled{background:#6c757d;cursor:not-allowed}.tags-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.tag-item{gap:4px;background:rgba(0,123,255,.1);color:#007bff;padding:4px 8px;border-radius:12px}.remove-tag-btn,.tag-item{display:flex;align-items:center;font-size:12px}.remove-tag-btn{background:none;border:none;color:inherit;cursor:pointer;padding:0;width:16px;height:16px;justify-content:center;border-radius:50%}.remove-tag-btn:hover{background:rgba(0,123,255,.2)}.action-buttons{display:flex;gap:8px;margin-top:8px}.action-btn{flex:1;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;padding:12px;font-size:14px;color:#6c757d;cursor:pointer;transition:all .2s ease}.action-btn:hover:not(:disabled){background:#e9ecef;color:#1f1f1f}.action-btn:disabled{opacity:.5;cursor:not-allowed}.modal-footer{display:flex;gap:10px;padding:20px;border-top:1px solid #e0e0e0;background-color:#f8f9fa}.cancel-btn,.save-btn{flex:1;padding:12px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.cancel-btn{background-color:#f8f9fa;color:#666;border:1px solid #ddd}.cancel-btn:hover:not(:disabled){background-color:#e9ecef}.cancel-btn:disabled{opacity:.6;cursor:not-allowed}.save-btn{background-color:#007bff;color:white}.save-btn:hover:not(:disabled){background-color:#0056b3}.save-btn:disabled{opacity:.6;cursor:not-allowed}.modal-body::-webkit-scrollbar{width:6px}.modal-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.modal-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.modal-body::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (max-width:768px){.modal-overlay{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.api-settings-modal{width:95%;max-height:95vh}.modal-body,.modal-footer,.modal-header{padding:16px}.user-avatar{width:36px;height:36px}.username{font-size:15px}.images-grid{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px}.action-buttons{flex-direction:row;gap:6px;flex-wrap:wrap}.action-btn{flex:1;min-width:0;font-size:13px;padding:10px 8px}}@media (max-width:480px){.modal-overlay{padding:0;align-items:stretch}.api-settings-modal{width:100%;height:100vh;max-height:100vh;border-radius:0;box-shadow:none;height:100dvh;max-height:100dvh}.modal-header{padding:max(12px,env(safe-area-inset-top)) 12px 12px}.modal-body{max-height:calc(100dvh - 140px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.modal-body,.modal-footer{padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.user-avatar{width:32px;height:32px}.username{font-size:14px}.images-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:4px}.action-btn{flex:none;width:auto;min-width:120px;text-align:center}}@supports (height:100dvh){@media (max-width:480px){.api-settings-modal{height:100dvh;max-height:100dvh}.modal-body{max-height:calc(100dvh - 140px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}}}.theme-dark .api-settings-modal{background:#1a1a1a;border-color:#404040}.theme-dark .modal-header{background-color:#2a2a2a;border-bottom-color:#404040}.theme-dark .modal-header h2{color:#ffffff}.theme-dark .close-btn{color:#cccccc}.theme-dark .close-btn:hover{background-color:#404040}.theme-dark .modal-body{background:#1a1a1a}.theme-dark .form-group label{color:#ffffff}.theme-dark .form-group input,.theme-dark .form-group select,.theme-dark .form-group textarea{background:#2a2a2a;border-color:#404040;color:#ffffff}.theme-dark .form-group input:focus,.theme-dark .form-group select:focus,.theme-dark .form-group textarea:focus{background:#1a1a1a}.theme-dark .field-hint{color:#999999}.theme-dark .user-info-display{background-color:#2a2a2a;border-color:#404040}.theme-dark .user-avatar{border-color:#404040}.theme-dark .username{color:#ffffff}.theme-dark .privacy-btn{background:#2a2a2a;border-color:#404040}.theme-dark .privacy-btn:hover{background:#404040}.theme-dark .image-container{background:#2a2a2a}.theme-dark .action-btn{background:#2a2a2a;border-color:#404040}.theme-dark .action-btn:hover:not(:disabled){background:#404040}.theme-dark .modal-footer{background-color:#2a2a2a;border-top-color:#404040}.theme-dark .cancel-btn{background-color:#2a2a2a;color:#cccccc;border-color:#404040}.theme-dark .cancel-btn:hover:not(:disabled){background-color:#404040}@media (prefers-reduced-motion:reduce){.action-btn,.add-tag-btn,.cancel-btn,.close-btn,.privacy-btn,.save-btn{transition:none}}@media (prefers-contrast:high){.api-settings-modal{border:2px solid #000000}.form-group input,.form-group select,.form-group textarea,.modal-footer,.modal-header,.user-info-display{border-width:2px}.user-avatar{border-width:3px}}.action-btn:focus,.add-tag-btn:focus,.cancel-btn:focus,.close-btn:focus,.form-group input:focus,.form-group select:focus,.form-group textarea:focus,.privacy-btn:focus,.remove-image-btn:focus,.remove-tag-btn:focus,.save-btn:focus{outline:2px solid #007bff;outline-offset:2px}.action-btn:focus:not(:focus-visible),.add-tag-btn:focus:not(:focus-visible),.cancel-btn:focus:not(:focus-visible),.close-btn:focus:not(:focus-visible),.form-group input:focus:not(:focus-visible),.form-group select:focus:not(:focus-visible),.form-group textarea:focus:not(:focus-visible),.privacy-btn:focus:not(:focus-visible),.remove-image-btn:focus:not(:focus-visible),.remove-tag-btn:focus:not(:focus-visible),.save-btn:focus:not(:focus-visible){outline:none}.post-images{display:grid;gap:4px;border-radius:8px;overflow:hidden;margin-bottom:12px}.post-images-single{grid-template-columns:1fr}.post-images-single .post-image-container{aspect-ratio:16/9}.post-images-double{grid-template-columns:1fr 1fr}.post-images-double .post-image-container{aspect-ratio:1/1}.post-images-triple{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.post-images-triple .post-image-container:first-child{grid-column:1/-1;aspect-ratio:16/9}.post-images-triple .post-image-container:not(:first-child){aspect-ratio:1/1}.post-images-quad{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.post-images-quad .post-image-container{aspect-ratio:1/1}.post-images-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.post-images-grid .post-image-container{aspect-ratio:1/1}.post-image-container{position:relative;cursor:pointer;overflow:hidden;background:var(--theme-bg-secondary,#f8f9fa);transition:transform .2s ease}.post-image-container:hover{transform:scale(1.02)}.post-image{width:100%;height:100%;object-fit:cover;display:block}.image-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s ease}.post-image-container:hover .image-overlay{opacity:1}.image-count{color:white;font-size:12px;font-weight:600;background:rgba(0,0,0,.7);padding:4px 8px;border-radius:12px}.image-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.9);z-index:10000;animation:fadeIn .2s ease-out}.image-modal,.image-modal-content{display:flex;align-items:center;justify-content:center}.image-modal-content{position:relative;max-width:90vw;max-height:90vh}.modal-image{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}.modal-close-btn{position:absolute;top:-40px;right:0;width:32px;height:32px;border:none;background:rgba(255,255,255,.2);color:white;border-radius:50%;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.modal-close-btn:hover{background:rgba(255,255,255,.3)}.modal-nav-btn{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:none;background:rgba(255,255,255,.2);color:white;border-radius:50%;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.modal-nav-btn:hover{background:rgba(255,255,255,.3)}.modal-prev-btn{left:-50px}.modal-next-btn{right:-50px}.modal-indicators{position:absolute;bottom:-30px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.modal-indicator{width:8px;height:8px;border:none;border-radius:50%;background:rgba(255,255,255,.3);cursor:pointer;transition:background-color .2s ease}.modal-indicator.active{background:white}.modal-indicator:hover{background:rgba(255,255,255,.6)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (max-width:768px){.post-images{gap:2px}.modal-nav-btn{width:36px;height:36px;font-size:20px}.modal-prev-btn{left:-40px}.modal-next-btn{right:-40px}}@media (max-width:480px){.post-images-grid{grid-template-columns:repeat(auto-fit,minmax(80px,1fr))}.modal-nav-btn{width:32px;height:32px;font-size:18px}.modal-prev-btn{left:-30px}.modal-next-btn{right:-30px}.modal-close-btn{top:-30px;width:28px;height:28px;font-size:18px}}.theme-dark .post-image-container{background:var(--theme-bg-secondary,#2a2a2a)}@media (prefers-reduced-motion:reduce){.image-overlay,.modal-close-btn,.modal-indicator,.modal-nav-btn,.post-image-container{transition:none!important}.post-image-container:hover{transform:none!important}.image-modal{animation:none!important}}@media (prefers-contrast:high){.post-image-container{border:1px solid var(--theme-border-color,#000000)}.modal-close-btn,.modal-nav-btn{border:1px solid white}}.modal-close-btn:focus,.modal-indicator:focus,.modal-nav-btn:focus,.post-image-container:focus{outline:2px solid var(--theme-accent-color,#007bff);outline-offset:2px}.modal-close-btn:focus:not(:focus-visible),.modal-indicator:focus:not(:focus-visible),.modal-nav-btn:focus:not(:focus-visible),.post-image-container:focus:not(:focus-visible){outline:none}