@import"https://fonts.googleapis.com/css2?family=Reddit+Sans:ital,wght@0,200..900;1,200..900&display=swap";body{margin:0;font-family:Arial,sans-serif;background:rgb(54,54,54);color:#333}*,*:before,*:after{box-sizing:border-box}h1,h2,h3{margin:0;padding:10px 0}.container{max-width:1200px;margin:0 auto;padding:20px}.button{background-color:#007bff;color:#fff;border:none;padding:10px 15px;border-radius:5px;cursor:pointer}.button:hover{background-color:#0056b3}.text-center{text-align:center}.app-layout{display:flex;min-height:100vh}.sidebar{width:220px;background:#ffffff;border-right:1px solid #e6e6e6;display:flex;flex-direction:column;justify-content:space-between;padding:20px;position:fixed;top:0;left:0;bottom:0;z-index:10}.sidebar-top .logo{font-weight:700;font-size:20px;margin-bottom:24px}.sidebar-dark{background:rgb(54,54,54);color:#fff;border-right:none;padding:12px;width:80px;position:fixed;top:0;left:0;bottom:0;z-index:10}.logo-img{width:40px;height:auto;display:block;margin:8px auto 12px}.nav-with-icon .icon{width:24px;height:24px;filter:none}.nav-with-icon{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:8px 6px;color:#fff;background:transparent;border-radius:8px;width:100%;text-decoration:none}.nav-with-icon span{font-size:11px;line-height:1.2;color:#fff!important;display:block;margin-top:2px;text-align:center;width:100%}.nav-with-icon:hover{background:rgba(255,255,255,.06)}.sidebar-bottom .lang-button{background:#fff;color:#222;border:none;padding:6px 8px;border-radius:6px}.sidebar-bottom{position:relative;display:flex;align-items:center;justify-content:center}.settings-button{width:40px;height:40px;border:none;background:transparent;color:#ffffffb3;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.settings-button:hover{background:rgba(255,255,255,.08);color:#ffffffe6}.settings-menu{position:absolute;bottom:50px;left:10px;background:#2d2d2d;border-radius:8px;box-shadow:0 4px 12px #0000004d;min-width:200px;padding:6px;z-index:1000;animation:slideUp .2s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.settings-menu-item{width:100%;background:transparent;border:none;padding:10px 12px;color:#ffffffd9;font-size:14px;text-align:left;cursor:pointer;border-radius:6px;display:flex;align-items:center;gap:10px;transition:background .15s ease}.settings-menu-item:hover{background:rgba(255,255,255,.08)}.settings-menu-item-danger{color:#ff6b6b}.settings-menu-item-danger:hover{background:rgba(255,107,107,.1)}.settings-menu-item-disabled{opacity:.4;cursor:not-allowed}.settings-menu-item-disabled:hover{background:transparent}.settings-menu-icon{font-size:16px;width:20px;text-align:center}.settings-menu-text{flex:1}.settings-menu-value{font-size:12px;color:#ffffff80;font-weight:500}.nav-with-icon.active{background:rgba(255,255,255,.12)}.sidebar-toggle{display:none;background:transparent;border:none;padding:8px;margin-bottom:12px}@media (max-width: 768px){.sidebar{display:none}.sidebar.open,.sidebar.open.sidebar-dark{display:flex;position:fixed;left:0;top:0;bottom:0;z-index:50}.sidebar-toggle{display:inline-flex;align-items:center;justify-content:center}.app-main{margin-left:0}}.sidebar-nav{display:flex;flex-direction:column;gap:8px}.nav-button{text-align:left;padding:10px 12px;border:none;background:transparent;border-radius:6px;cursor:pointer;text-decoration:none}.nav-button:hover{background:#222}.home-title-section{text-align:left;padding:0 10px;width:100%;margin:-18px auto 0;display:flex;align-items:baseline;gap:12px}.home-main-title{font-family:Pacifico,cursive;font-size:36px;font-weight:400;background:linear-gradient(195deg,#667eea 0%,#764ba2 50%,#f093fb 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;padding:0;margin:0;letter-spacing:1px}.home-subtitle{font-size:12px;color:#ffffffb3;margin:0;font-weight:300;letter-spacing:.5px;white-space:nowrap}.app-main{flex:1;padding:24px 16px;margin-left:80px;margin-right:0}.home-hero-card{width:100%;margin-top:8px;border-radius:20px;background:linear-gradient(90deg,#6a82fb 0%,#fc5c7d 100%);box-shadow:0 2px 16px #50507814;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:24px 20px;color:#fff;font-size:1.2rem;position:relative}.hero-top-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;position:relative}.hero-upload-images{display:flex;gap:8px;align-items:center}.hero-sample-img{height:64px;width:auto;opacity:.7;border-radius:8px;cursor:pointer;transition:opacity .2s ease}.hero-sample-img:hover{opacity:1}.hero-img-wrap{position:relative;display:inline-block}.hero-paperclip-icon{position:absolute;top:6px;right:6px;width:22px;height:22px;cursor:pointer;opacity:.5;transition:opacity .3s ease,filter .3s ease;z-index:10}.hero-paperclip-icon.active{opacity:1;transition:opacity .3s ease,filter .3s ease}.hero-bottom-btn{padding:10px 16px;border-radius:8px;border:none;background:rgba(255,255,255,.15);color:#fff;font-size:14px;cursor:pointer;transition:background .2s ease;white-space:nowrap;position:relative;display:inline-flex;align-items:center;justify-content:center}.hero-bottom-btn span{color:#fff;opacity:.7;font-size:15px;font-weight:500;letter-spacing:1px;white-space:nowrap}.hero-bottom-btn:hover{background:rgba(255,255,255,.3)}.hero-clipboard-btn{background:rgba(34,197,94,.2)!important;border:1px solid rgba(34,197,94,.3)!important;animation:pulse 2s ease-in-out infinite}.hero-clipboard-btn:hover{background:rgba(34,197,94,.3)!important;border-color:#22c55e80!important}@keyframes pulse{0%,to{box-shadow:0 0 #22c55e66}50%{box-shadow:0 0 0 8px #22c55e00}}.hero-add-btn{width:48px;height:64px;background:rgba(255,255,255,.2);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,width .2s,height .2s,transform .2s;padding:0;transform:rotate(-10deg);flex-shrink:0}.hero-add-btn:hover{background:rgba(255,255,255,.4);width:54px;height:72px}.hero-add-btn svg{display:block}.hero-input-wrap{width:100%;margin-top:12px;box-sizing:border-box}.hero-prompt-input{width:100%;height:58px;background:transparent;border:none;color:#fff;caret-color:#fff;font-size:14px;padding:10px 5px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;resize:vertical;line-height:1.5;font-family:inherit;overflow-y:auto}.hero-bottom-row{display:flex;gap:12px;align-items:flex-end;margin-top:-12px;width:100%;position:relative;box-sizing:border-box}.hero-prompt-input::placeholder{color:#ffffffbf}.hero-prompt-input:focus{outline:none}.hero-icon-btn{opacity:.5;transition:opacity .3s ease;cursor:pointer;stroke:#fff;fill:#fff}.hero-icon-btn:hover,.hero-icon-btn.active{opacity:1}.delete-btn{opacity:.5;transition:opacity .3s ease}.delete-btn:hover{opacity:1}.hero-bottom-right{display:flex;gap:8px;align-items:center;margin-left:auto}.hero-count{color:#ffffffb3;font-size:14px;white-space:nowrap}.hero-generate-btn{width:60px;height:60px;background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease;opacity:.8;flex-shrink:0}.hero-generate-btn:hover{opacity:1}.hero-generate-btn:disabled{opacity:.5;cursor:not-allowed}.hero-generate-btn svg{width:60px;height:60px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;z-index:10000}.modal{background:rgb(54,54,54);border-radius:8px;box-shadow:0 8px 24px #0009;display:flex;flex-direction:column;overflow:hidden;color:#fff}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.04);background:rgb(54,54,54);background:linear-gradient(90deg,#6a82fb 0%,#fc5c7d 100%)}.modal-title{font-size:16px;font-weight:600;color:#fff}.modal-close{background:none;border:none;color:#fffc;font-size:20px;cursor:pointer;padding:4px 8px}.modal-body{flex:1 1 auto;padding:12px 16px;overflow:auto;background:rgb(72,72,72)}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid rgba(255,255,255,.04)}.modal-btn{min-width:84px;padding:8px 12px;border-radius:6px;border:none;cursor:pointer;font-size:14px}.modal-cancel{background:rgba(255,255,255,.08);color:#fff}.modal-confirm{background:#1296db;color:#fff}.modal-body-upload{display:flex;flex-direction:column;gap:12px;padding:12px 16px;box-sizing:border-box}.modal-search{display:flex;align-items:center;gap:8px;padding:6px 10px;width:350px;height:36px;background:#1a1a1a;border-radius:20px;box-sizing:border-box;border:2px solid transparent;transition:box-shadow .12s,border-color .12s;white-space:nowrap}.modal-search .search-icon{color:#fff;flex:0 0 16px;display:inline-flex;align-items:center;justify-content:center}.modal-search .search-input{background:transparent;border:none;outline:none;color:#fff;font-size:14px;height:100%;line-height:1;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;box-sizing:border-box}.modal-search .search-clear{background:transparent;border:none;color:#ffffffe6;font-size:16px;line-height:1;cursor:pointer;padding:0 6px;height:22px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.modal-search:focus-within{border-color:#1296db;box-shadow:0 0 0 4px #1296db0f}.images-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;align-items:start}.thumb-wrap{display:flex;padding:10px;border-radius:8px;background-color:#353535;flex-direction:column;gap:6px;align-items:stretch;width:100%;box-sizing:border-box}.thumb{position:relative;width:100%;height:0;padding-top:100%;background:rgba(255,255,255,.04);border-radius:8px;overflow:hidden;box-sizing:border-box;transition:transform .12s ease}.thumb.selected:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:2px solid #1296db;border-radius:8px;pointer-events:none;box-sizing:border-box}.thumb img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.thumb-name{font-size:12px;color:#ffffffd9;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thumb-select{position:absolute;top:6px;left:6px;width:18px;height:18px;background:#ffffff;border-radius:3px;border:none;padding:0;display:flex;align-items:center;justify-content:center;opacity:.6;cursor:pointer;transition:opacity .18s ease,background .18s ease}.thumb-select.selected{background:#1296db;opacity:1}.thumb-select svg{display:block}.filter-buttons{display:flex;gap:8px;align-items:center}.upload-btn-wrapper{position:relative}.upload-btn{background:#4a9eff!important}.upload-btn:hover{background:#5ba8ff!important}.upload-dropdown-menu{position:absolute;top:calc(100% + 4px);right:0;background:#2d2d2d;border-radius:6px;box-shadow:0 4px 12px #0000004d;min-width:140px;padding:4px;z-index:1000;animation:slideDown .15s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.upload-dropdown-item{padding:8px 12px;color:#ffffffd9;font-size:13px;cursor:pointer;border-radius:4px;display:flex;align-items:center;transition:background .15s ease}.upload-dropdown-item:hover{background:rgba(255,255,255,.08)}.upload-dropdown-item svg{flex-shrink:0}.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:5px;padding:5px 0}.pagination-btn{padding:8px 16px;border-radius:6px;border:1px solid rgba(255,255,255,.2);background:#2a2a2a;color:#fff;cursor:pointer;font-size:14px;transition:background .2s ease,border-color .2s ease}.pagination-btn:hover:not(:disabled){background:#3a3a3a;border-color:#ffffff4d}.pagination-btn:disabled{opacity:.4;cursor:not-allowed}.pagination-info{font-size:14px;color:#ffffffd9;min-width:120px;text-align:center}.upload-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;box-sizing:border-box;margin-bottom:10px}.right-buttons-group{display:flex;align-items:center;gap:8px}@media (max-width: 1200px){.images-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}@media (max-width: 768px){.images-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}}@media (max-width: 680px){.upload-controls{flex-direction:column;align-items:stretch;gap:10px}.modal-search{width:100%}}.upload-progress-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.7);display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;z-index:10}.progress-circle{width:60px;height:60px;transform:rotate(-90deg)}.progress-bg{fill:none;stroke:#fff3;stroke-width:6}.progress-bar{fill:none;stroke:#1296db;stroke-width:6;stroke-linecap:round;transition:stroke-dashoffset .3s ease}.progress-text{position:absolute;color:#fff;font-size:16px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}.generated-images-container{width:100%;margin-top:24px;border-radius:20px;box-shadow:0 2px 16px #50507814;display:flex;flex-wrap:wrap;color:#fff;font-size:1.2rem;position:relative;gap:16px;align-content:flex-start}.generated-image-item{width:calc((100% - 48px)/4);display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;position:relative;cursor:pointer}.generated-image-item img{width:100%;height:100%;object-fit:cover}.gen-image-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;border-radius:8px;opacity:1;transition:opacity .2s ease}.gen-image-actions{display:flex;gap:16px;align-items:center}.gen-action-btn{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.7);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#333;transition:all .2s ease}.gen-action-btn:hover{background:#fff;transform:scale(1.1)}.gen-action-btn svg{width:24px;height:24px}.image-preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.image-preview-content{position:relative;max-width:90vw;max-height:90vh;display:flex;align-items:center;justify-content:center}.image-preview-content img{max-width:100%;max-height:90vh;border-radius:8px;box-shadow:0 8px 32px #00000080}.preview-close-btn{position:absolute;top:-40px;right:-40px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.9);border:none;cursor:pointer;font-size:20px;color:#333;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.preview-close-btn:hover{background:#fff;transform:scale(1.1)}.generated-actions-container{width:100%;margin-top:16px;display:flex;gap:12px;align-items:center;justify-content:flex-start}.gen-action-button{padding:8px 16px;border-radius:8px;border:none;background:rgba(255,255,255,.15);color:#fff;font-size:14px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;white-space:nowrap;position:relative;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.gen-action-button:hover{background:rgba(255,255,255,.25);transform:translateY(-1px)}.re-edit-btn{background:rgba(106,130,251,.2)}.re-edit-btn:hover{background:rgba(106,130,251,.35)}.regenerate-btn{background:rgba(252,92,125,.2)}.regenerate-btn:hover{background:rgba(252,92,125,.35)}.more-btn{background:rgba(255,255,255,.1);padding:8px 12px;min-width:auto}.more-btn:hover{background:rgba(255,255,255,.2)}.gen-action-dropdown{position:relative;display:inline-block}.dropdown-menu{position:absolute;top:100%;left:0;background:rgba(40,40,40,.95);border:1px solid rgba(255,255,255,.2);border-radius:8px;box-shadow:0 4px 20px #0000004d;z-index:1000;margin-top:4px;min-width:150px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:dropdownFadeIn .15s ease}.gen-action-dropdown .dropdown-menu{background:rgba(54,54,54,.95);min-width:120px}@keyframes dropdownFadeIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.dropdown-item{padding:12px 16px;color:#ffffffe6;cursor:pointer;transition:background-color .2s ease;font-size:14px}.dropdown-item:hover{background:rgba(255,255,255,.1)}.dropdown-item:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.dropdown-item:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.gen-action-dropdown .dropdown-item{padding:10px 16px;color:#fff;display:flex;align-items:center;border-radius:6px;margin:4px}.dropdown-item.delete-item{color:#ff6b6b}.dropdown-item.delete-item:hover{background:rgba(255,107,107,.1)}.gen-action-button svg{width:16px;height:16px;fill:currentColor;flex-shrink:0}@media (max-width: 768px){.generated-actions-container{flex-direction:column;align-items:stretch;gap:8px}.gen-action-button{justify-content:center}.dropdown-menu{left:50%;transform:translate(-50%)}}.bottom-editor{position:fixed;bottom:0;left:0;right:0;background:rgba(40,40,40,.95);box-shadow:0 -4px 20px #00000080;z-index:1000;transform:translateY(0);transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(255,255,255,.1)}.bottom-editor.mini{padding:8px 16px}.bottom-editor-content{position:relative;padding:16px 20px;display:flex;align-items:center;gap:12px;max-width:1200px;margin:0 auto;transition:all .3s ease}.bottom-editor.mini .bottom-editor-content{padding:8px 12px;gap:8px}.bottom-images-overlay{position:fixed;bottom:80px;left:50%;transform:translate(-50%);z-index:1001;transition:all .3s ease}.bottom-images-overlay.mini{bottom:60px}.bottom-images-container{display:flex;gap:8px;justify-content:center;align-items:center}.bottom-img-item{width:48px;height:48px;border-radius:8px;overflow:hidden;background:rgba(255,255,255,.1);transition:all .3s ease;border:2px solid rgba(255,255,255,.2);box-shadow:0 4px 12px #0000004d}.bottom-images-overlay.mini .bottom-img-item{width:32px;height:32px;border-radius:6px}.bottom-img-item img{width:100%;height:100%;object-fit:cover}.bottom-add-btn{width:48px;height:48px;border-radius:8px;background:rgba(255,255,255,.1);border:2px dashed rgba(255,255,255,.3);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s ease;color:#ffffffb3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.bottom-images-overlay.mini .bottom-add-btn{width:32px;height:32px;border-radius:6px}.bottom-add-btn:hover{background:rgba(255,255,255,.2);border-color:#ffffff80;color:#ffffffe6;transform:scale(1.05)}.bottom-add-btn svg{width:20px;height:20px}.bottom-images-overlay.mini .bottom-add-btn svg{width:16px;height:16px}.bottom-delete-btn{z-index:12}.bottom-images-overlay.mini .bottom-delete-btn{width:14px!important;height:14px!important;top:-1px!important;right:-1px!important}.bottom-input-wrap{flex:1;position:relative;min-width:0}.bottom-prompt-input{width:100%;background:rgba(60,60,60,.8);border:1px solid rgba(255,255,255,.15);border-radius:12px;color:#fff;caret-color:#fff;font-size:14px;padding:12px 200px 12px 16px;outline:none;resize:none;font-family:inherit;transition:all .3s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);min-height:48px;line-height:1.4}.bottom-editor.mini .bottom-prompt-input{padding:8px 150px 8px 14px;font-size:13px;border-radius:10px;min-height:36px;line-height:1.3}.bottom-prompt-input::placeholder{color:#fff9}.bottom-prompt-input:focus{background:rgba(80,80,80,.9);border-color:#ffffff4d;box-shadow:0 0 0 2px #ffffff1a}.input-inline-controls{position:absolute;right:5px;top:45%;transform:translateY(-50%);display:flex;align-items:center;gap:6px;height:calc(100% - 16px);max-height:44px}.bottom-editor.mini .input-inline-controls{height:calc(100% - 12px);max-height:36px}.inline-btn{padding:6px 10px;border-radius:6px;border:none;background:rgba(255,255,255,.1);color:#fff;font-size:11px;cursor:pointer;transition:all .2s ease;white-space:nowrap;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);height:28px;display:flex;align-items:center}.bottom-editor.mini .inline-btn{height:24px;padding:4px 8px;font-size:10px}.inline-btn:hover{background:rgba(255,255,255,.2)}.inline-btn span{color:#fff;opacity:.9;font-weight:500}.inline-count{color:#ffffffb3;font-size:11px;white-space:nowrap;margin-right:4px;height:28px;display:flex;align-items:center}.bottom-editor.mini .inline-count{height:24px;font-size:10px}.inline-generate-btn{width:36px;height:36px;background:rgba(106,130,251,.8);border:none;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);flex-shrink:0}.bottom-editor.mini .inline-generate-btn{width:28px;height:28px;border-radius:6px}.inline-generate-btn:hover{background:rgba(106,130,251,1);transform:scale(1.05)}.inline-generate-btn svg{width:18px;height:18px}.bottom-editor.mini .inline-generate-btn svg{width:16px;height:16px}.bottom-close-btn{position:absolute;top:48%;left:-25px;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);border:none;cursor:pointer;font-size:16px;color:#fff;display:flex;align-items:center;justify-content:center;transition:all .2s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:10}.bottom-editor.mini .bottom-close-btn{width:28px;height:28px;font-size:14px;left:-25px;top:45%;z-index:1001;pointer-events:auto}.bottom-close-btn:hover{background:rgba(255,255,255,.2);transform:translateY(-50%) scale(1.1)}.filter-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:0}.filter-group{display:flex;align-items:center;gap:8px}.filter-label{color:#ffffffe6;font-size:14px;min-width:60px}.filter-btn{padding:6px 12px;border-radius:6px;border:none;background:rgba(255,255,255,.15);color:#fff;font-size:12px;cursor:pointer;transition:all .2s ease;white-space:nowrap;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;gap:4px}.filter-btn:hover{background:rgba(106,130,251,.2);transform:translateY(-1px)}.filter-btn.active{background:linear-gradient(90deg,#6a82fb 0%,#fc5c7d 100%);box-shadow:0 2px 8px #0003}.filter-btn.active:hover{background:linear-gradient(90deg,#6a82fb 0%,#fc5c7d 100%);opacity:.9}.filter-btn svg{opacity:.8;width:12px;height:12px}.add-btn{background:rgba(34,197,94,.2)!important;color:#fff!important}.add-btn:hover{background:rgba(34,197,94,.35)!important}.filter-dropdown{position:relative}.search-container{position:relative;margin-left:0;min-width:150px}.search-icon{position:absolute;left:8px;top:50%;transform:translateY(-50%);color:#ffffffb3;width:12px;height:12px}.search-input{width:100%;background:#1a1a1a;border:2px solid rgba(255,255,255,.2);border-radius:20px;outline:none;color:#fff;font-size:14px;padding:6px 8px 6px 24px;box-sizing:border-box}.search-input::placeholder{color:#ffffffb3}.search-input:focus{outline:none;border-color:#1296db;box-shadow:0 0 0 4px #1296db0f}@media (max-width: 768px){.filter-row{flex-direction:column;align-items:flex-start;gap:12px}.filter-group{flex-wrap:wrap;gap:6px}.search-container{width:100%;min-width:auto}.filter-btn{padding:5px 10px;font-size:11px}.search-input{padding:5px 6px 5px 22px;font-size:11px}}@media (max-width: 480px){.filter-btn{padding:4px 8px;font-size:10px}.search-input{padding:4px 6px 4px 20px;font-size:10px}}@media (max-width: 768px){.bottom-editor-content{padding:12px 16px}.bottom-editor.mini .bottom-editor-content{padding:8px 12px}.bottom-prompt-input{padding:12px 120px 12px 14px;font-size:13px;min-height:44px}.bottom-editor.mini .bottom-prompt-input{padding:8px 100px 8px 12px;font-size:12px;min-height:32px}.inline-btn{padding:5px 8px;font-size:10px;height:24px}.bottom-editor.mini .inline-btn{height:20px;padding:3px 6px;font-size:9px}.inline-count{font-size:10px;height:24px}.bottom-editor.mini .inline-count{height:20px;font-size:9px}.inline-generate-btn{width:32px;height:32px}.bottom-editor.mini .inline-generate-btn{width:24px;height:24px}.input-inline-controls{height:calc(100% - 12px);max-height:40px}.bottom-editor.mini .input-inline-controls{height:calc(100% - 8px);max-height:28px}.bottom-img-item{width:40px;height:40px}.bottom-images-overlay.mini .bottom-img-item{width:28px;height:28px}.bottom-add-btn{width:40px;height:40px}.bottom-images-overlay.mini .bottom-add-btn{width:28px;height:28px}.bottom-add-btn svg{width:16px;height:16px}.bottom-images-overlay.mini .bottom-add-btn svg{width:12px;height:12px}.bottom-delete-btn{width:14px!important;height:14px!important;top:-1px!important;right:-1px!important}.bottom-images-overlay.mini .bottom-delete-btn{width:12px!important;height:12px!important;top:0!important;right:0!important}.bottom-images-overlay{bottom:70px}.bottom-images-overlay.mini{bottom:50px}}.image-with-actions{position:relative;overflow:hidden;border-radius:8px;background:rgba(0,0,0,.1);width:100%}.interactive-image{width:100%;height:auto;cursor:pointer;transition:transform .3s ease;display:block}.interactive-image:hover{transform:scale(1.02)}.image-actions{position:absolute;top:8px;right:8px;display:flex;gap:8px;z-index:10;opacity:0;animation:fadeIn .2s ease forwards}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.action-btn{width:36px;height:36px;border-radius:50%;border:none;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0}.action-btn:hover{background:rgba(0,0,0,.8);transform:scale(1.1)}.favorite-btn svg{stroke:#fff;fill:none;transition:fill .2s ease}.favorite-btn.active svg{fill:gold!important;stroke:gold}.favorite-btn:hover svg{stroke:gold}.download-btn:hover{background:rgba(99,102,241,.9)}.image-fullscreen-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:10000;display:flex;align-items:center;justify-content:center;animation:fadeIn .3s ease}.fullscreen-content{position:relative;max-width:95vw;max-height:95vh;display:flex;align-items:center;justify-content:center}.fullscreen-image{max-width:100%;max-height:95vh;object-fit:contain;border-radius:8px;box-shadow:0 20px 60px #00000080}.close-fullscreen-btn{position:absolute;top:-50px;right:-50px;width:48px;height:48px;border-radius:50%;border:none;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-fullscreen-btn:hover{background:rgba(255,255,255,.2);transform:scale(1.1)}.nav-btn{position:absolute;top:50%;transform:translateY(-50%);width:56px;height:56px;border-radius:50%;border:none;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;z-index:10;box-shadow:0 4px 12px #0000004d}.nav-btn:hover{background:rgba(0,0,0,.8);transform:translateY(-50%) scale(1.1)}.nav-btn:active{transform:translateY(-50%) scale(.95)}.prev-btn{left:24px}.next-btn{right:24px}.image-counter{position:absolute;bottom:-50px;left:50%;transform:translate(-50%);background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;padding:8px 16px;border-radius:20px;font-size:14px;font-weight:500;white-space:nowrap}.fullscreen-actions{position:absolute;bottom:20px;right:45%;display:flex;gap:12px}.fullscreen-action-btn{width:44px;height:44px;border-radius:50%;border:none;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.fullscreen-action-btn:hover{background:rgba(255,255,255,.2);transform:scale(1.1)}.fullscreen-action-btn.active svg{fill:gold!important;stroke:gold}@media (max-width: 768px){.action-btn{width:32px;height:32px}.action-btn svg{width:16px;height:16px}.close-fullscreen-btn{top:16px;right:16px;width:40px;height:40px}.nav-btn{width:48px;height:48px}.prev-btn{left:12px}.next-btn{right:12px}.image-counter{bottom:80px}.fullscreen-actions{bottom:16px;right:16px}.fullscreen-action-btn{width:40px;height:40px}}.resolution-selector-wrapper{position:relative;display:inline-block}.resolution-panel{position:absolute;top:calc(100% + 8px);left:0;background:rgba(35,35,40,.95);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:20px;min-width:400px;box-shadow:0 8px 32px #0006;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000}.resolution-panel.position-top{top:auto;bottom:calc(100% + 8px);left:50%;right:auto;transform:translate(-50%)}.resolution-section{margin-bottom:20px}.resolution-section:last-child{margin-bottom:0}.resolution-label{font-size:13px;color:#fff9;margin-bottom:12px;font-weight:500}.ratio-grid{display:inline-flex;background:rgba(255,255,255,.05);border-radius:8px;padding:4px;gap:0}.ratio-btn{background:transparent;border:1px solid transparent;border-radius:6px;padding:5px 10px;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:48px}.ratio-btn:hover{background:rgba(255,255,255,.08);border-color:transparent}.ratio-btn.active{background:rgba(99,102,241,.15);border-color:#6366f1}.ratio-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ratio-icon svg{width:16px;height:16px;color:#ffffff4d}.ratio-btn.active .ratio-icon svg{color:#6366f1}.ratio-rect{background:rgba(255,255,255,.3);border-radius:1px}.ratio-btn.active .ratio-rect{background:rgb(99,102,241)}.ratio-label{font-size:11px;color:#fff9;font-weight:500;white-space:nowrap}.ratio-btn.active .ratio-label{color:#6366f1;font-weight:600}.resolution-buttons{display:flex;gap:8px}.resolution-option-btn{flex:1;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:10px 16px;color:#ffffffb3;font-size:14px;cursor:pointer;transition:all .2s;font-weight:500}.resolution-option-btn:hover{background:rgba(255,255,255,.08);border-color:#fff3}.resolution-option-btn.active{background:rgba(99,102,241,.2);border-color:#6366f1;color:#6366f1}.dimension-inputs{display:flex;align-items:center;gap:8px}.dimension-input-wrapper{flex:1;position:relative;display:flex;align-items:center;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:6px;transition:all .2s;height:36px}.dimension-input-wrapper:focus-within{background:rgba(255,255,255,.08);border-color:#6366f1}.dimension-prefix{font-size:13px;color:#ffffff80;font-weight:500;padding-left:12px;padding-right:6px}.dimension-input-wrapper input{flex:1;background:transparent;border:none;padding:8px 12px 8px 0;color:#ffffffe6;font-size:14px;outline:none;height:100%}.dimension-input-wrapper input::-webkit-inner-spin-button,.dimension-input-wrapper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.dimension-input-wrapper input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.link-btn{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:8px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;width:36px;height:36px}.link-btn:hover{background:rgba(255,255,255,.08);border-color:#fff3}.link-btn.active{background:rgba(99,102,241,.2);border-color:#6366f1}.link-btn svg{width:18px;height:18px;stroke:#ffffffb3}.link-btn.active svg{stroke:#6366f1}.hero-clear-btn{padding:10px 20px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);color:#ffffffe6;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.hero-clear-btn:hover{background:rgba(255,255,255,.12);border-color:#ffffff40;color:#fff}.hero-clear-btn svg{opacity:.7;transition:opacity .2s ease}.hero-clear-btn:hover svg{opacity:1}.generating-text{padding:10px 20px;color:#ffffffb3;font-size:13px;font-weight:500;text-align:center}.clear-btn-container{display:flex;justify-content:center;margin:20px 0}.generation-batches-container{width:100%;padding-bottom:200px}.generation-batch{margin-bottom:30px;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:20px;background:rgba(255,255,255,.02)}.batch-info{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:16px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.05)}.batch-info-left{flex:1;display:flex;gap:12px;align-items:flex-start}.batch-info-right{display:flex;gap:8px;align-items:center;flex-shrink:0}.batch-ref-images{display:flex;gap:6px;align-items:center;flex-shrink:0}.batch-ref-thumb{width:48px;height:48px;border-radius:6px;border:1px solid rgba(255,255,255,.1);overflow:hidden;flex-shrink:0}.batch-ref-thumb img,.batch-ref-thumb .interactive-image{width:100%;height:100%;object-fit:cover}.batch-ref-thumb .image-actions{display:none!important}.batch-ref-more{font-size:11px;color:#fff9;background:rgba(255,255,255,.05);padding:4px 8px;border-radius:4px}.batch-prompt{font-size:14px;color:#fffc;line-height:1.6;word-break:break-word}.batch-meta-tag{font-size:12px;color:#ffffffb3;background:rgba(255,255,255,.05);padding:6px 12px;border-radius:6px;border:1px solid rgba(255,255,255,.08);white-space:nowrap}.batch-images{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.batch-images .generated-image-item{width:100%;overflow:hidden;border-radius:12px;background:rgba(0,0,0,.2)}.batch-images .generated-image-item .batch-generated-image{width:100%}.batch-images .generated-image-item .batch-generated-image .interactive-image{width:100%;height:auto;border-radius:12px;max-height:600px;display:block}.batch-images.single-image .generated-image-item{grid-column:span 2}.batch-images.two-images .generated-image-item,.batch-images.three-images .generated-image-item{grid-column:span 1}.batch-action-btn{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:6px 12px;color:#fffc;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.batch-action-btn:hover{background:rgba(255,255,255,.08);border-color:#fff3;color:#ffffffe6}.batch-action-btn svg{flex-shrink:0}.batch-action-btn.batch-reedit-btn{background:rgba(99,102,241,.1);border-color:#6366f14d;color:#6366f1}.batch-action-btn.batch-reedit-btn:hover{background:rgba(99,102,241,.2);border-color:#6366f180}.batch-dropdown-menu{position:absolute;top:calc(100% + 4px);right:0;background:rgba(30,30,35,.98);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:6px;min-width:160px;box-shadow:0 8px 24px #0006;z-index:1000}.batch-dropdown-item{padding:8px 12px;font-size:13px;color:#fffc;cursor:pointer;border-radius:4px;transition:all .2s;display:flex;align-items:center}.batch-dropdown-item:hover{background:rgba(255,255,255,.08);color:#fffffff2}.batch-dropdown-item.batch-delete-item{color:#ef4444e6}.batch-dropdown-item.batch-delete-item:hover{background:rgba(239,68,68,.1);color:#ef4444}.generated-image-item.placeholder .placeholder-content{width:100%;height:100%;background:radial-gradient(circle at 50% 50%,rgba(99,102,241,.15) 0%,rgba(99,102,241,.05) 50%,rgba(0,0,0,.3) 100%);border-radius:12px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.generated-image-item.placeholder .placeholder-content:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent 30%,rgba(99,102,241,.1) 50%,transparent 70%);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%) translateY(-100%)}to{transform:translate(100%) translateY(100%)}}.placeholder-progress{position:relative;z-index:1}.progress-circle{position:relative;width:80px;height:80px}.progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:20px;font-weight:600;color:#6366f1;text-shadow:0 2px 8px rgba(0,0,0,.3)}.insufficient-credits-dialog{max-width:450px;text-align:center}.credits-warning-icon{margin:0 auto 20px;width:64px;height:64px;border-radius:50%;background:rgba(251,191,36,.1);display:flex;align-items:center;justify-content:center;color:#fbbf24}.credits-comparison{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:20px;margin:24px 0}.credits-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:0 8px}.credits-item:last-child{margin-bottom:0}.credits-item.shortage{margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}.credits-label{font-size:14px;color:#ffffffb3}.credits-value{font-size:20px;font-weight:600;color:#ffffffe6}.credits-value.required{color:#3b82f6}.credits-value.current{color:#fff9}.credits-value.shortage-value{color:#fbbf24}.credits-hint{font-size:13px;color:#fff9;margin:0 0 24px;line-height:1.5}.insufficient-credits-dialog .confirm-btn.confirm{background:linear-gradient(135deg,rgb(59,130,246),rgb(37,99,235));color:#fff}.insufficient-credits-dialog .confirm-btn.confirm:hover{background:linear-gradient(135deg,rgb(37,99,235),rgb(29,78,216))}.image-count-selector{position:relative;display:inline-block}.count-dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;background:rgba(30,30,35,.98);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:4px;min-width:120px;box-shadow:0 4px 12px #0000004d;z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.count-dropdown-item{padding:8px 12px;border-radius:4px;cursor:pointer;font-size:13px;color:#fffc;transition:all .2s;display:flex;align-items:center;justify-content:space-between}.count-dropdown-item:hover{background:rgba(255,255,255,.08);color:#fffffff2}.count-dropdown-item.active{background:rgba(59,130,246,.15);color:#3b82f6;font-weight:500}.count-dropdown-item.active:after{content:"✓";margin-left:8px;font-size:14px}.bottom-count-selector .count-dropdown-menu.bottom-count-dropdown{top:auto;bottom:calc(100% + 4px)}.hero-sample-img-wrapper{display:block;height:64px;width:auto}.hero-sample-img-wrapper .interactive-image{height:64px;width:auto;opacity:.7;object-fit:cover;transition:opacity .2s ease}.hero-sample-img-wrapper:hover .interactive-image{opacity:1}.hero-img-wrap{position:relative;display:inline-block;height:64px}.hero-img-wrap .image-actions{display:none!important}.work-page{color:#fff;padding-top:80px}.work-filters{position:fixed;top:20px;background:rgba(40,40,40,.95);border-radius:12px;padding:12px 16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;box-shadow:0 4px 20px #0000004d;max-width:1200px;width:auto}.work-filters h2{display:none}.filter-btn{padding:10px 18px;font-size:14px}.custom-date-range{display:flex;align-items:center;gap:6px;margin-left:8px;padding:4px 8px;background:rgba(255,255,255,.1);border-radius:6px;border:1px solid rgba(255,255,255,.2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.date-input{padding:4px 6px;border:1px solid rgba(255,255,255,.2);border-radius:3px;font-size:11px;color:#fff;background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);width:100px}.date-input:focus{outline:none;border-color:#fff6}.custom-date-range span{color:#fffc;font-size:11px}.search-input{padding:10px 18px 10px 24px}.work-timeline{display:flex;flex-direction:column;gap:25px}.timeline-item{background:rgba(40,40,40,.95);border-radius:16px;padding:24px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease}.timeline-item:hover{background:rgba(40,40,40,.75);transform:translateY(-2px);box-shadow:0 8px 24px #0000004d}.timeline-date{display:flex;align-items:baseline;gap:12px;margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid rgba(255,255,255,.1)}.date-text{font-size:24px;font-weight:700;color:#fff;margin:0}.time-text{font-size:16px;color:#ffffffb3;font-weight:500}.reference-images{margin-bottom:20px}.reference-images h4{font-size:16px;font-weight:600;color:#ffffffe6;margin:0 0 12px}.ref-images-grid{display:flex;gap:12px;flex-wrap:wrap}.ref-image-item{width:80px;height:80px;border-radius:8px;overflow:hidden;border:2px solid rgba(255,255,255,.2);transition:border-color .2s ease}.ref-image-item:hover{border-color:#fff6}.ref-image-item img,.ref-image-item .interactive-image{width:100%;height:100%;object-fit:cover}.ref-image-item .image-actions{display:none!important}.prompt-section{margin-bottom:20px}.prompt-section h4{font-size:16px;font-weight:600;color:#ffffffe6;margin:0 0 12px}.prompt-text{font-size:15px;line-height:1.5;color:#fffc;background:rgba(255,255,255,.05);padding:16px;border-radius:8px;margin:0;border-left:4px solid #6a82fb}.results-section{margin-bottom:20px}.results-section h4{font-size:16px;font-weight:600;color:#ffffffe6;margin:0 0 16px}.results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.result-image-item{width:100%;height:auto}.generation-actions{margin-top:16px;display:flex;gap:12px;justify-content:flex-start}.work-page .batch-action-btn{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:6px 12px;color:#fffc;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.work-page .batch-action-btn:hover{background:rgba(255,255,255,.08);border-color:#fff3;color:#ffffffe6}.work-page .batch-action-btn svg{flex-shrink:0}.work-page .batch-action-btn.batch-reedit-btn{background:rgba(99,102,241,.1);border-color:#6366f14d;color:#6366f1}.work-page .batch-action-btn.batch-reedit-btn:hover{background:rgba(99,102,241,.2);border-color:#6366f180}.work-page .batch-dropdown-menu{position:absolute;top:calc(100% + 4px);right:0;background:rgba(30,30,35,.98);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:6px;min-width:180px;box-shadow:0 8px 24px #0006;z-index:1000}.work-page .batch-dropdown-item{padding:8px 12px;font-size:13px;color:#fffc;cursor:pointer;border-radius:4px;transition:all .2s;display:flex;align-items:center}.work-page .batch-dropdown-item:hover{background:rgba(255,255,255,.08);color:#fffffff2}.work-page .batch-dropdown-item.batch-delete-item{color:#ef4444e6}.work-page .batch-dropdown-item.batch-delete-item:hover{background:rgba(239,68,68,.1);color:#ef4444}.confirm-dialog>p{margin:0 0 20px;font-size:14px;color:#ffffffb3;line-height:1.6}.work-info{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:16px;margin-bottom:24px}.work-info-item{margin-bottom:8px;font-size:13px;color:#fffc}.work-info-item:last-child{margin-bottom:0}.work-info-item strong{color:#ffffffe6;font-weight:500;margin-right:8px}.delete-options{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.2);border-radius:8px;padding:12px 16px;margin-bottom:24px}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:rgb(239,68,68)}.checkbox-label span{color:#ffffffe6;font-size:14px}@media (max-width: 768px){.work-page{padding:120px 12px 16px}.work-filters{position:fixed;top:10px;left:10px;right:10px;max-width:none;padding:10px 12px}.timeline-item{padding:20px}.date-text{font-size:20px}.time-text{font-size:14px}.results-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.ref-images-grid{justify-content:center}.custom-date-range{flex-direction:row;gap:4px;align-items:center}.date-input{width:80px}}@media (max-width: 480px){.work-page{padding:140px 12px 12px}.work-filters{top:5px;left:5px;right:5px;padding:8px 10px}.timeline-item{padding:16px}.results-grid{grid-template-columns:repeat(2,1fr)}.ref-image-item{width:60px;height:60px}.date-input{width:70px;font-size:10px}}.work-title-section{display:flex;align-items:center;margin-bottom:16px;padding:12px 16px;background:rgba(255,255,255,.05);border-radius:8px;border-left:3px solid rgba(99,102,241,.6)}.work-title-section h4{margin:0;font-size:16px;font-weight:600;color:#fffffff2}.generation-section{margin-bottom:24px;padding:16px;background:rgba(255,255,255,.03);border-radius:8px;border:1px solid rgba(255,255,255,.08)}.generation-index{font-size:13px;font-weight:600;color:#6366f1e6;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1)}.settings-info{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.setting-tag{display:inline-block;padding:4px 12px;font-size:12px;font-weight:500;color:#fffc;background:rgba(99,102,241,.15);border:1px solid rgba(99,102,241,.3);border-radius:12px}.load-more-trigger{padding:40px 0;text-align:center}.loading-spinner{color:#fff9;font-size:14px;font-weight:500}.no-more-data{padding:40px 0;text-align:center;color:#fff6;font-size:14px;font-weight:500}.assets-page{margin:0 auto;color:#fff;padding-top:80px}.assets-filters{position:fixed;top:20px;background:rgba(40,40,40,.95);border-radius:12px;padding:12px 16px;border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;box-shadow:0 4px 20px #0000004d;max-width:1000px;width:auto}.assets-content{width:100%}.assets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.asset-item{background:rgba(40,40,40,.95);border-radius:16px;padding:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease;position:relative}.asset-item:hover{background:rgba(40,40,40,.75);transform:translateY(-2px);box-shadow:0 8px 24px #0000004d}.asset-images-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px;margin-bottom:12px}.asset-image-item{aspect-ratio:1;border-radius:8px;overflow:hidden;border:2px solid rgba(255,255,255,.1);transition:border-color .2s ease}.asset-image-item:hover{border-color:#ffffff4d}.asset-image-item img{width:100%;height:100%;object-fit:cover}.asset-image-single{aspect-ratio:16/9;border-radius:12px;overflow:hidden;margin-bottom:12px;border:2px solid rgba(255,255,255,.1);transition:border-color .2s ease;position:relative;cursor:pointer}.asset-image-single:hover{border-color:#ffffff4d}.asset-image-single img{width:100%;height:100%;object-fit:cover}.asset-category-badge{position:absolute;top:8px;left:8px;padding:4px 10px;background:rgba(102,126,234,.9);color:#fff;font-size:11px;font-weight:500;border-radius:12px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:0 2px 8px #0000004d;z-index:10}.asset-name{font-size:16px;font-weight:600;color:#fff;margin:0 0 6px;padding:0}.asset-description{font-size:13px;color:#fffc;margin:0 0 8px;line-height:1.4}.asset-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}.asset-tag{background:rgba(106,130,251,.2);color:#ffffffe6;padding:3px 6px;border-radius:3px;font-size:10px;font-weight:500}.asset-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.asset-date{font-size:11px;color:#fff9}.favorite-prompt{font-size:13px;color:#fffc;margin:0 0 12px;line-height:1.4;background:rgba(255,255,255,.05);padding:8px;border-radius:6px;border-left:3px solid #6a82fb}.favorite-dates{display:flex;flex-direction:column;gap:4px}.asset-actions{display:flex;gap:8px}.asset-action-btn{width:32px;height:32px;border-radius:50%;border:none;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.asset-action-btn.icon-btn svg{width:16px;height:16px;fill:currentColor}.edit-btn{background:rgba(100,116,139,.15);color:#ffffffb3}.edit-btn:hover{background:rgba(100,116,139,.25);color:#ffffffe6;transform:scale(1.05)}.assets-delete-btn{background:rgba(100,116,139,.15);color:#ffffffb3}.assets-delete-btn:hover{background:rgba(239,68,68,.15);color:#ef4444e6;transform:scale(1.05)}.use-btn{background:rgba(34,197,94,.2);color:#fff}.use-btn:hover{background:rgba(34,197,94,.35);transform:translateY(-1px)}.regenerate-btn{background:rgba(252,92,125,.2);color:#fff}.regenerate-btn:hover{background:rgba(252,92,125,.35);transform:translateY(-1px)}.unfavorite-btn{background:rgba(255,193,7,.2);color:#fff}.unfavorite-btn:hover{background:rgba(255,193,7,.35);transform:translateY(-1px)}.empty-state{text-align:center;padding:60px 20px;color:#ffffffb3}.empty-state p{font-size:18px;margin:0}@media (max-width: 768px){.assets-page{padding:120px 12px 16px}.assets-filters{position:fixed;top:10px;left:10px;right:10px;max-width:none;padding:10px 12px}.assets-grid{grid-template-columns:1fr;gap:16px}.asset-item{padding:16px}.asset-images-grid{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:6px}.asset-actions{flex-direction:column;gap:6px}.asset-action-btn{justify-content:center;width:100%}}@media (max-width: 480px){.assets-page{padding:140px 12px 12px}.assets-filters{top:5px;left:5px;right:5px;padding:8px 10px}.asset-item{padding:12px}.asset-name{font-size:16px}.asset-description{font-size:13px}.asset-images-grid{grid-template-columns:repeat(2,1fr);gap:4px}.asset-action-btn{padding:5px 10px;font-size:11px}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:2000}.edit-modal{background:rgba(40,40,40,.98);border-radius:16px;width:90%;max-width:600px;max-height:90vh;overflow-y:auto;border:1px solid rgba(255,255,255,.15);box-shadow:0 20px 60px #00000080}.modal-header h2{margin:0;font-size:24px;color:#fff;font-weight:600}.modal-close{background:none;border:none;color:#fff9;font-size:32px;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.modal-close:hover{background:rgba(255,255,255,.1);color:#fff}.modal-body{padding:24px}.form-group{margin-bottom:10px}.form-row{display:flex;gap:16px;margin-bottom:10px}.form-row .form-group{margin-bottom:0}.form-group.half-width{flex:1}.type-select{width:100%;padding:10px 16px;background:rgba(20,20,20,.6);border:1px solid transparent;border-radius:8px;color:#fff;font-size:14px;font-family:inherit;transition:all .2s ease;cursor:pointer;box-sizing:border-box}.type-select:hover{background:rgba(20,20,20,.7)}.type-select:focus{outline:none;background:rgba(20,20,20,.8);border-color:#6366f1;box-shadow:0 0 0 4px #6366f10f}.type-select option{background:#1a1a1a;color:#fff}.form-group label{display:block;margin-bottom:8px;color:#ffffffe6;font-size:14px;font-weight:500}.form-group input,.form-group textarea{width:100%;padding:12px 16px;background:rgba(20,20,20,.6);border:1px solid transparent;border-radius:8px;color:#fff;font-size:14px;font-family:inherit;transition:all .2s ease;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus{outline:none;background:rgba(20,20,20,.8);border-color:#6366f1;box-shadow:0 0 0 4px #6366f10f}.form-group textarea{resize:vertical;min-height:100px}.add-notes-btn{padding:10px 16px;background:transparent;border:1px dashed rgba(255,255,255,.3);border-radius:8px;color:#ffffff4d;font-size:14px;cursor:pointer;transition:all .2s ease;width:100%;text-align:left}.add-notes-btn:hover{background:rgba(18,150,219,.1);border-color:#1296db80;color:#1296db}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid rgba(255,255,255,.1)}.btn-cancel,.btn-save{padding:10px 24px;border-radius:8px;border:none;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-cancel{background:rgba(255,255,255,.1);color:#fffc}.btn-cancel:hover{background:rgba(255,255,255,.15);color:#fff}.btn-save{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.btn-save:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.btn-save:active{transform:translateY(0)}.category-suggestions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 0}.category-suggestions small{color:#fff9;font-size:12px;margin-right:4px}.category-chip{display:inline-flex;align-items:center;padding:4px 12px;background:rgba(102,126,234,.2);border:1px solid rgba(102,126,234,.4);border-radius:16px;color:#fff;font-size:12px;cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none}.category-chip:hover{background:rgba(102,126,234,.35);border-color:#667eea99;transform:translateY(-1px)}.category-chip:active{transform:translateY(0)}.tags-text-input{flex:1;min-width:150px;background:transparent;border:none;outline:none;color:#fff;font-size:14px;padding:4px}.tag-preview{display:inline-flex;align-items:center;gap:10px;margin-top:10px;margin-right:5px;padding:10px;background:rgba(20,20,20,.6);border-radius:16px;color:#fff;font-size:13px;white-space:nowrap;animation:tagFadeIn .2s ease}@keyframes tagFadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.tag-remove{background:none;border:none;color:#ffffffb3;font-size:18px;line-height:1;cursor:pointer;padding:0;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.tag-remove:hover{background:rgba(255,255,255,.2);color:#fff}.confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);display:flex;align-items:center;justify-content:center;z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.confirm-dialog{background:rgba(30,30,35,.98);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:32px;max-width:500px;width:90%;box-shadow:0 20px 60px #00000080}.confirm-dialog h3{margin:0 0 12px;font-size:20px;font-weight:600;color:#fff}.confirm-dialog>p{margin:0 0 24px;font-size:14px;color:#ffffffb3;line-height:1.6}.confirm-actions{display:flex;gap:12px;justify-content:flex-end}.confirm-btn{padding:10px 24px;border-radius:8px;border:none;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.confirm-btn.cancel{background:rgba(255,255,255,.08);color:#ffffffe6}.confirm-btn.cancel:hover{background:rgba(255,255,255,.12)}.confirm-btn.confirm{background:rgb(239,68,68);color:#fff}.confirm-btn.confirm:hover{background:rgb(220,38,38)}.image-view-modal{z-index:10000}.image-view-content{background:transparent!important;border:none!important;box-shadow:none!important;max-width:90vw;max-height:90vh;padding:0!important;position:relative}.image-view-content img{max-width:100%;max-height:90vh;object-fit:contain;border-radius:8px}.image-view-content .modal-close{position:absolute;top:-40px;right:0;background:rgba(255,255,255,.2);color:#fff;border:none;width:32px;height:32px;border-radius:50%;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.image-view-content .modal-close:hover{background:rgba(255,255,255,.3);transform:scale(1.1)}.account-page{width:100%;height:100%;overflow-y:auto;background:var(--bg-primary);color:var(--text-primary);display:flex;flex-direction:column}.account-loading{display:flex;align-items:center;justify-content:center;height:100vh;font-size:1.2rem;color:var(--text-secondary)}.account-nav{position:fixed;top:20px;left:50%;transform:translate(-50%);display:flex;gap:8px;padding:12px 16px;background:rgba(40,40,40,.95);border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;box-shadow:0 4px 20px #0000004d}.account-nav .nav-item{display:flex;align-items:center;gap:8px;padding:10px 18px;background:transparent;border:none;border-radius:8px;color:#ffffffb3;font-size:14px;cursor:pointer;transition:all .2s;white-space:nowrap}.account-nav .nav-item svg{flex-shrink:0;opacity:.7}.account-nav .nav-item:hover{background:rgba(255,255,255,.1);color:#ffffffe6}.account-nav .nav-item.active{background:rgba(99,102,241,.2);color:#6366f1}.account-nav .nav-item.active svg{opacity:1}.account-content{max-width:1300px;width:100%;margin:0 auto;padding:100px 20px 40px}.section-title{display:none}.overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}.overview-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px}.overview-card .card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.overview-card .card-header h3{font-size:1.1rem;font-weight:600;margin:0;color:#ffffffe6}.status-badge{padding:4px 12px;border-radius:12px;font-size:.8rem;font-weight:500;text-transform:capitalize}.status-active{background:rgba(34,197,94,.2);color:#22c55e!important}.status-canceled,.status-expired{background:rgba(239,68,68,.2);color:#ef4444}.status-pending{background:rgba(251,191,36,.2);color:#fbbf24}.status-paid{background:rgba(34,197,94,.2);color:#22c55e}.status-failed,.status-refunded{background:rgba(239,68,68,.2);color:#ef4444}.overview-card .card-body{display:flex;flex-direction:column;gap:16px}.plan-name{font-size:1.5rem;font-weight:700;color:#fff}.plan-price{font-size:1.25rem;font-weight:600;color:#6366f1}.plan-info{font-size:.9rem;color:#fff9}.credits-big{font-size:3rem;font-weight:700;color:#fff;text-align:center}.credits-bar{height:8px;background:rgba(255,255,255,.1);border-radius:4px;overflow:hidden}.credits-bar-fill{height:100%;background:linear-gradient(90deg,rgb(99,102,241),rgb(139,92,246));border-radius:4px;transition:width .3s ease}.credits-info{font-size:.9rem;color:#fff9;text-align:center}.stats-card .stat-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.05)}.stats-card .stat-item:last-child{border-bottom:none}.stat-label{color:#ffffffb3;font-size:.95rem}.stat-value{font-size:1.5rem;font-weight:700;color:#fff}.btn-primary{padding:10px 24px;background:rgb(99,102,241);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary:hover{background:rgb(79,70,229)}.btn-secondary{padding:10px 24px;background:rgba(255,255,255,.08);color:#ffffffe6;border:1px solid rgba(255,255,255,.2);border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:rgba(255,255,255,.12)}.btn-link{background:none;border:none;color:#6366f1;cursor:pointer;display:flex;align-items:center;gap:4px;font-size:.9rem;padding:4px 8px;transition:all .2s}.btn-link:hover{color:#4f46e5}.current-subscription{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px;margin-bottom:32px}.current-subscription h3{font-size:1.25rem;font-weight:600;margin:0 0 20px;color:#fff}.subscription-details{display:flex;gap:32px;flex-wrap:wrap}.detail-item{display:flex;align-items:center;gap:12px}.detail-item span{color:#fff9;font-size:.95rem}.detail-item strong{color:#fff;font-weight:500}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff3;transition:.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#6366f1}.toggle-switch input:checked+.toggle-slider:before{transform:translate(20px)}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.plan-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px;display:flex;flex-direction:column;transition:all .3s}.plan-card:hover{border-color:#6366f180;transform:translateY(-4px)}.plan-card.current{border-color:#6366f1;background:rgba(99,102,241,.05)}.plan-header h4{font-size:1.25rem;font-weight:600;margin:0 0 12px;color:#fff}.plan-price{margin-bottom:16px}.price-amount{font-size:2rem;font-weight:700;color:#fff}.price-period{font-size:.9rem;color:#fff9}.plan-credits{padding:12px 16px;background:rgba(99,102,241,.1);border-radius:8px;margin-bottom:20px;text-align:center;color:#6366f1;font-weight:500}.plan-features{list-style:none;padding:0;margin:0 0 24px;flex:1}.plan-features li{display:flex;align-items:center;gap:8px;padding:8px 0;color:#fffc;font-size:.9rem}.plan-features li svg{color:#22c55e;flex-shrink:0}.plan-btn{width:100%;padding:12px;background:rgb(99,102,241);color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.plan-btn:hover:not(:disabled){background:rgb(79,70,229)}.plan-btn.btn-current{background:rgba(255,255,255,.1);cursor:default}.plan-btn:disabled{opacity:.6;cursor:not-allowed}.credits-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:32px}.summary-card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:20px;text-align:center}.summary-label{font-size:.9rem;color:#fff9;margin-bottom:8px}.summary-value{font-size:2rem;font-weight:700;color:#fff}.credits-history{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px}.credits-history h3{font-size:1.25rem;font-weight:600;margin:0 0 20px;color:#fff}.history-table,.invoices-table{width:100%;border-collapse:collapse}.history-table th,.history-table td,.invoices-table th,.invoices-table td{padding:12px 16px;text-align:left;border-bottom:1px solid rgba(255,255,255,.05)}.history-table th,.invoices-table th{color:#fff9;font-size:.9rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.history-table td,.invoices-table td{color:#ffffffe6;font-size:.95rem}.type-badge{padding:4px 10px;border-radius:10px;font-size:.8rem;font-weight:500;text-transform:capitalize}.type-usage{background:rgba(239,68,68,.2);color:#ef4444}.type-purchase,.type-monthly_refresh{background:rgba(34,197,94,.2);color:#22c55e}.type-refund,.type-bonus{background:rgba(99,102,241,.2);color:#6366f1}.amount-positive{color:#22c55e;font-weight:600}.amount-negative{color:#ef4444;font-weight:600}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:100%}.form-section{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px}.form-section h3{font-size:1.1rem;font-weight:600;margin:0 0 20px;color:#fff}.profile-form .btn-primary{grid-column:1 / -1;margin-top:8px}.form-group{margin-bottom:20px}.form-group:last-child{margin-bottom:0}.form-group label{display:block;margin-bottom:8px;color:#fffc;font-size:.9rem;font-weight:500}.form-group input{width:100%;padding:10px 14px;background:rgba(20,20,20,.6);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#fff;font-size:.95rem;transition:all .2s}.form-group input:focus{outline:none;border-color:#6366f1;background:rgba(20,20,20,.7)}.form-group input:read-only{opacity:.6;cursor:not-allowed}.invoices-list{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:24px;overflow-x:auto}@media (max-width: 768px){.account-layout{flex-direction:column}.account-nav{width:100%;border-right:none;border-bottom:1px solid rgba(255,255,255,.1);flex-direction:row;overflow-x:auto;padding:16px 20px}.account-nav .nav-item{flex-shrink:0}.account-content{padding:24px 20px}.overview-grid,.plans-grid{grid-template-columns:1fr}.subscription-details{flex-direction:column;gap:16px}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);padding:2rem}.login-page .login-container{width:100%;max-width:420px;background:white;border-radius:1rem;padding:2.5rem;box-shadow:0 20px 60px #0000004d}.login-page .login-header{text-align:center;margin-bottom:2rem}.login-page .login-title{font-size:1.875rem;font-weight:700;color:#111827;margin:0 0 .5rem}.login-page .login-subtitle{font-size:.9375rem;color:#6b7280;margin:0}.login-page .login-form{margin-bottom:1.5rem}.login-page .form-group{margin-bottom:1.25rem}.login-page .form-label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.5rem}.login-page .form-input{width:100%;padding:.75rem 1rem;font-size:.9375rem;border:2px solid #e5e7eb;border-radius:.5rem;outline:none;transition:all .2s;font-family:inherit;background:white;color:#111827}.login-page .form-input:focus{border-color:#6366f1!important;background:white!important;box-shadow:0 0 0 3px #6366f11a!important}.login-page .form-input::placeholder{color:#9ca3af}.login-page .error-message{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;color:#dc2626;font-size:.875rem;margin-bottom:1.25rem}.login-page .error-message svg{flex-shrink:0}.login-page .login-button{width:100%;padding:.875rem 1.5rem;font-size:1rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border:none;border-radius:.5rem;cursor:pointer;transition:all .2s;font-family:inherit}.login-page .login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px #6366f14d}.login-page .login-button:active:not(:disabled){transform:translateY(0)}.login-page .login-button:disabled{opacity:.6;cursor:not-allowed}.login-page .divider{position:relative;text-align:center;margin:1.5rem 0}.login-page .divider:before{content:"";position:absolute;left:0;top:50%;width:100%;height:1px;background:#e5e7eb}.login-page .divider span{position:relative;display:inline-block;padding:0 1rem;background:white;font-size:.875rem;color:#6b7280}.login-page .social-login{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1.5rem}.login-page .social-button{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.875rem .5rem;background:white;border:2px solid #e5e7eb;border-radius:.5rem;font-size:.8125rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s;font-family:inherit}.login-page .social-button:hover:not(:disabled){border-color:#d1d5db;background:#f9fafb;transform:translateY(-2px)}.login-page .social-button:disabled{opacity:.5;cursor:not-allowed}.login-page .social-button svg{flex-shrink:0}.login-page .social-google:hover:not(:disabled){border-color:#4285f4;background:#f0f7ff}.login-page .social-twitter:hover:not(:disabled){border-color:#000;background:#f9fafb}.login-page .social-github:hover:not(:disabled){border-color:#24292e;background:#f6f8fa}.login-page .login-footer{text-align:center;padding-top:1.5rem;border-top:1px solid #e5e7eb}.login-page .demo-hint{font-size:.875rem;color:#6b7280;margin:0}.login-page .login-page .demo-hint strong{color:#374151;font-weight:600}@media (max-width: 640px){.login-page{padding:1rem}.login-page .login-container{padding:2rem 1.5rem}.login-page .login-title{font-size:1.5rem}.login-page .social-login{grid-template-columns:1fr}.login-page .social-button{flex-direction:row;justify-content:center}}.page-container{min-height:100vh;background:#fff;font-family:Reddit Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.page-container .container{max-width:1200px;margin:0 auto;padding:0 2rem}.page-container .page-header{position:sticky;top:0;background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #e5e7eb;z-index:1000;padding:1rem 0}.page-container .page-header .container{display:flex;justify-content:space-between;align-items:center}.page-container .logo{display:flex;align-items:center;gap:0}.page-container .logo svg{flex-shrink:0}.page-container .logo h1{font-size:1.5rem;font-weight:700;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0}.page-container .nav-menu{display:flex;align-items:center;gap:2rem}.page-container .nav-menu a{text-decoration:none;color:#4b5563;font-weight:500;transition:color .2s}.page-container .nav-menu a:hover{color:#6366f1}.page-container .btn{padding:.625rem 1.5rem;border-radius:.5rem;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s;border:none;outline:none;font-family:inherit}.page-container .btn-primary{background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);color:#fff}.page-container .btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 20px #6366f14d}.page-container .btn-outline{background:transparent;border:2px solid #6366f1;color:#6366f1}.page-container .btn-outline:hover{background:#6366f1;color:#fff}.page-container .btn-large{padding:1rem 2rem;font-size:1.125rem}.page-container .page-container .btn-full{width:100%}.page-container .hero-section{position:relative;padding:4rem 2rem;min-height:400px;display:flex;align-items:center;justify-content:flex-start;background:linear-gradient(135deg,#667eea 0%,#764ba2 50%,#f093fb 100%);background-size:200% 200%;animation:gradientShift 15s ease infinite;overflow:hidden}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.page-container .hero-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.3);z-index:1}.page-container .hero-section .container{position:relative;z-index:2;max-width:1200px;margin:0 auto;width:100%}.page-container .hero-content{max-width:800px}.page-container .hero-title{font-size:3.5rem;font-weight:800;line-height:1.1;margin-bottom:1rem;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.3)}.page-container .banner-slider{position:relative;height:150px;margin-bottom:1.5rem;overflow:hidden}.page-container .banner-slider .slide{position:absolute;top:0;left:0;width:100%;opacity:0;transition:opacity .8s ease-in-out;pointer-events:none}.page-container .banner-slider .slide.active{opacity:1;pointer-events:auto}.page-container .slide-title{font-size:2.5rem;font-weight:700;margin-bottom:.75rem;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.3)}.page-container .slide-description{font-size:1.25rem;color:#fff;line-height:1.8;text-shadow:0 1px 5px rgba(0,0,0,.2)}.page-container .slider-dots{display:flex;gap:.5rem;justify-content:flex-start;margin-bottom:2rem}.page-container .slider-dots .dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.5);border:none;cursor:pointer;transition:all .3s ease;padding:0}.page-container .slider-dots .dot.active{background:#ffffff;width:30px;border-radius:5px}.page-container .hero-title .highlight{display:block;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.page-container .hero-description{font-size:1.25rem;color:#6b7280;line-height:1.8;margin-bottom:2rem}.page-container .cta-buttons{display:flex;gap:1rem;flex-wrap:wrap;justify-content:flex-start}.page-container .section{padding:5rem 2rem}.page-container .section-alt{background:#f9fafb}.page-container .section-title{font-size:2.5rem;font-weight:700;text-align:center;margin-bottom:3rem;color:#111827}.page-container .grid{display:grid;gap:2rem}.page-container .grid-2{grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.page-container .grid-3{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.page-container .grid-4{grid-template-columns:repeat(4,1fr);gap:2rem}.page-container .card{background:white;padding:2rem;border-radius:1rem;box-shadow:0 4px 6px #0000000d;transition:transform .2s,box-shadow .2s}.page-container .card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.page-container .card-horizontal{display:flex;align-items:flex-start;gap:1.25rem;padding:1.5rem}.page-container .card-horizontal .card-icon{font-size:2.5rem;margin-bottom:0;flex-shrink:0;color:#6366f1;display:flex;align-items:center;justify-content:center}.page-container .card-horizontal .card-content{flex:1}.page-container .card-horizontal .card-title{margin-bottom:.5rem;font-size:1.25rem}.page-container .card-horizontal .card-text{font-size:.95rem}.page-container .card-icon{font-size:3rem;margin-bottom:1rem;color:#6366f1;display:flex;align-items:center;justify-content:center}.page-container .card-title{font-size:1.5rem;font-weight:600;margin-bottom:.75rem;color:#111827}.page-container .page-container .card-text{color:#6b7280;line-height:1.6;margin:0}.page-container .steps{display:flex;justify-content:space-between;align-items:center;gap:2rem;max-width:900px;margin:0 auto}.page-container .step{flex:1;text-align:center}.page-container .step-number{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);color:#fff;font-size:1.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}.page-container .step-title{font-size:1.25rem;font-weight:600;margin-bottom:.75rem;color:#111827}.page-container .step-text{color:#6b7280;line-height:1.6;margin:0}.page-container .page-container .step-arrow{font-size:2rem;color:#d1d5db;flex-shrink:0}.page-container .pricing-card{position:relative;background:white;padding:2.5rem;border-radius:1rem;box-shadow:0 4px 6px #0000000d;transition:transform .2s,box-shadow .2s}.page-container .pricing-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.page-container .pricing-featured{border:2px solid #6366f1;transform:scale(1.05)}.page-container .pricing-featured:hover{transform:scale(1.05) translateY(-4px)}.page-container .badge{position:absolute;top:-12px;right:20px;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);color:#fff;padding:.25rem 1rem;border-radius:1rem;font-size:.875rem;font-weight:600}.page-container .pricing-card h3{font-size:1.5rem;font-weight:600;margin-bottom:1rem;color:#111827}.page-container .price{margin-bottom:2rem;display:flex;align-items:baseline;justify-content:center}.page-container .price-currency{font-size:1.5rem;color:#6b7280}.page-container .price-amount{font-size:3rem;font-weight:700;color:#111827}.page-container .price-period{font-size:1rem;color:#6b7280;margin-left:.25rem}.page-container .feature-list{list-style:none;padding:0;margin:0 0 2rem}.page-container .feature-list li{padding:.75rem 0;color:#4b5563;border-bottom:1px solid #f3f4f6}.page-container .feature-list li:last-child{border-bottom:none}.page-container .page-footer{background:#111827;color:#9ca3af;padding:4rem 2rem 2rem}.page-container .footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:3rem;margin-bottom:3rem}.page-container .footer-section{display:flex;flex-direction:column}.page-container .footer-title{color:#fff;font-weight:600;margin-bottom:1rem;font-size:1rem}.page-container .footer-link{display:block;color:#9ca3af;text-decoration:none;margin-bottom:.75rem;transition:color .2s}.page-container .footer-link:hover{color:#6366f1}.page-container .footer-bottom{text-align:center;padding-top:2rem;border-top:1px solid #374151}.page-container .page-container .footer-bottom p{margin:0}@media (max-width: 968px){.page-container .steps{flex-direction:column}.page-container .step-arrow{transform:rotate(90deg)}.page-container .nav-menu{gap:1rem}.page-container .nav-menu a{display:none}.page-container .grid-2,.page-container .grid-3{grid-template-columns:1fr}.page-container .grid-4{grid-template-columns:repeat(2,1fr)}.page-container .example-showcase{grid-template-columns:1fr;gap:3rem}.page-container .example-description{padding-right:0;text-align:center}.page-container .example-main-title{font-size:2rem}.page-container .example-images{height:380px;padding:1.5rem}.page-container .example-img-product,.page-container .example-img-scene{max-width:35%;height:85%}.page-container .example-img-generated{max-width:58%;height:100%}.page-container .example-showcase-reverse{grid-template-columns:1fr;gap:3rem}.page-container .example-showcase-reverse .example-description{padding-left:0;text-align:center}.page-container .example-images-two .example-img{max-width:48%;height:85%}.page-container .example-prompt{font-size:.875rem;padding:1rem 1.25rem}}.page-container .example-showcase{display:grid;grid-template-columns:1fr 1.5fr;align-items:center}.page-container .example-description{padding-right:2rem}.page-container .example-main-title{font-size:2.5rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem}.page-container .example-main-text{font-size:1.125rem;line-height:1.75;color:#6b7280;margin-bottom:2rem}.page-container .example-description .btn{margin-top:0}.page-container .example-showcase-reverse{grid-template-columns:1.5fr 1fr}.page-container .example-showcase-reverse .example-description{padding-right:0;padding-left:2rem}.page-container .example-display{display:flex;flex-direction:column;gap:1.5rem}.page-container .example-images{position:relative;width:100%;height:450px;display:flex;align-items:center;justify-content:center;padding:2rem;overflow:visible}.page-container .example-images-two .example-img{position:absolute;height:85%;width:auto;max-width:50%}.page-container .example-images-two .example-img-before{left:5%;top:50%;transform:translateY(-50%);z-index:1}.page-container .example-images-two .example-img-after{left:45%;top:45%;transform:translateY(-50%);z-index:2;height:92%;max-width:55%}.page-container .example-images-two:hover .example-img-before{transform:translate(-10px,-50%)}.page-container .example-images-two:hover .example-img-after{transform:translate(10px,-50%) scale(1.02);box-shadow:0 16px 40px #6366f14d}.page-container .example-img{position:absolute;height:100%;width:auto;border-radius:.75rem;overflow:hidden;box-shadow:0 8px 24px #0003;transition:transform .5s cubic-bezier(.4,0,.2,1),box-shadow .5s ease}.page-container .example-img img{width:100%;height:100%;display:block}.page-container .example-img-product{left:1rem;z-index:1;max-width:32%;height:85%;top:50%;transform:translateY(-50%)}.page-container .example-img-generated{left:50%;transform:translate(-50%,-50%);top:50%;z-index:3;max-width:60%;height:100%}.page-container .example-img-scene{right:1rem;z-index:1;max-width:32%;height:85%;top:50%;transform:translateY(-50%)}.page-container .example-images:hover .example-img-product{transform:translate(-40px,-50%);box-shadow:0 12px 32px #00000040}.page-container .example-images:hover .example-img-scene{transform:translate(40px,-50%);box-shadow:0 12px 32px #00000040}.page-container .example-images:hover .example-img-generated{transform:translate(-50%,-50%) scale(1.03);box-shadow:0 16px 40px #6366f159;z-index:4}.page-container .example-label{position:absolute;bottom:.75rem;right:.75rem;padding:.375rem .875rem;background:rgba(99,102,241,.95);color:#fff;font-size:.8125rem;font-weight:600;border-radius:.375rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.page-container .example-prompt{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#ffffff;border:2px solid #e5e7eb;border-radius:.75rem;font-size:.875rem;color:#4b5563;line-height:1.3;box-shadow:0 2px 8px #0000000d}.page-container .prompt-icon{font-size:1rem;flex-shrink:0}.page-container .example-prompt-text{flex:1;font-style:italic}.page-container .example-dots{display:flex;justify-content:center;gap:.75rem;margin-top:.5rem}.page-container .example-dot{width:12px;height:12px;border-radius:50%;background:#d1d5db;border:none;cursor:pointer;transition:all .3s ease;padding:0}.page-container .example-dot:hover{background:#9ca3af;transform:scale(1.2)}.page-container .example-dot.active{background:#6366f1;width:32px;border-radius:6px}@media (max-width: 640px){.page-container .hero-section{padding:3rem 1rem;min-height:300px}.page-container .hero-title{font-size:2.5rem}.page-container .slide-title{font-size:2rem}.page-container .slide-description{font-size:1.125rem}.page-container .section-title{font-size:2rem}.page-container .pricing-featured{transform:scale(1)}.page-container .container{padding:0 1rem}.page-container .section{padding:3rem 1rem}.page-container .grid-4{grid-template-columns:1fr}.page-container .banner-slider{height:160px}.page-container .example-showcase{grid-template-columns:1fr;gap:2.5rem}.page-container .example-description{padding-right:0;text-align:center}.page-container .example-main-title{font-size:1.75rem}.page-container .example-main-text{font-size:1rem}.page-container .example-images{height:300px;padding:1rem}.page-container .example-img-product{left:.5rem;max-width:35%;height:80%}.page-container .example-img-scene{right:.5rem;max-width:35%;height:80%}.page-container .example-img-generated{max-width:55%;height:95%}.page-container .example-images:hover .example-img-product{transform:translate(-20px,-50%)}.page-container .example-images:hover .example-img-scene{transform:translate(20px,-50%)}.page-container .example-showcase-reverse{grid-template-columns:1fr;gap:2.5rem}.page-container .example-showcase-reverse .example-description{padding-left:0;text-align:center}.page-container .example-images-two .example-img{max-width:52%;height:82%}.page-container .example-images-two .example-img-before{left:2%;top:50%}.page-container .example-images-two .example-img-after{left:46%;top:46%;max-width:56%;height:88%}.page-container .example-images-two:hover .example-img-before{transform:translate(-8px,-50%)}.page-container .example-images-two:hover .example-img-after{transform:translate(8px,-50%) scale(1.01)}.page-container .example-label{font-size:.75rem;padding:.25rem .625rem;bottom:.5rem;right:.5rem}.page-container .example-prompt{flex-direction:column;align-items:flex-start;gap:.5rem;font-size:.8125rem;padding:.875rem 1rem}}
