.im-home{isolation:isolate;position:relative}.hc-atmosphere{z-index:-1;pointer-events:none;opacity:.65;height:820px;position:absolute;inset:0 0 auto;overflow:hidden;-webkit-mask-image:linear-gradient(#000 45%,#0000);mask-image:linear-gradient(#000 45%,#0000)}.hc-star-layer{height:2000px;animation:linear infinite hc-stars-drift;position:absolute;inset:-96px 0 auto -96px}.hc-star-layer i{border-radius:50%;position:absolute;left:0}@keyframes hc-stars-drift{to{transform:translateY(-2000px)}}@media (prefers-reduced-motion:reduce){.hc-star-layer{animation:none}}.hc-root{text-align:left;color:#fff;max-width:920px;margin:0 auto;position:relative}.hc-tabs{scrollbar-width:none;background:#171717;border:1px solid #292929;border-radius:24px;justify-content:center;align-items:center;gap:2px;width:max-content;max-width:100%;margin:0 auto 16px;padding:3px;display:flex;overflow-x:auto}.hc-tabs button,.hc-tabs a{color:#999;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:20px;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:7px 11px;font-size:13px;line-height:20px;display:flex}.hc-tabs button[aria-selected=true]{color:#eee;background:#292929}.hc-tabs button:hover,.hc-tabs a:hover{color:#fff;background:#252525}.hc-form{background:#171717;border:1px solid #292929;border-radius:24px;flex-direction:column;gap:0;width:100%;min-height:74px;padding:16px;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.hc-form:focus-within{border-color:#45404c;box-shadow:0 0 0 1px #8b42ff0d}.hc-input-row{align-items:flex-start;gap:8px;min-height:40px;display:flex}.hc-input-row textarea{color:#fff;min-width:0;min-height:36px;max-height:192px;box-shadow:none;resize:vertical;background:0 0;border:0;border-radius:0;outline:none;flex:1;margin:0;padding:8px 14px 8px 0;font-size:14px;line-height:20px}.hc-input-row textarea::placeholder{color:#969696}.hc-upload-wrap{flex-shrink:0;position:relative}.hc-add{cursor:pointer;color:#ddd;background:#242424;border:0;border-radius:16px;place-items:center;width:40px;height:40px;display:grid}.hc-add:hover{background:#303030}.hc-file-menu{z-index:45;background:#222;border:1px solid #383838;border-radius:16px;width:240px;max-width:calc(100vw - 64px);padding:6px;position:absolute;top:48px;left:0;box-shadow:0 12px 30px #0007}.hc-file-menu button{text-align:left;cursor:pointer;color:#eee;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;width:100%;padding:11px 10px;font-size:13px;display:flex}.hc-file-menu button:hover{background:#333}.hc-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.hc-voice,.hc-generate{cursor:pointer;border-radius:50%;place-items:center;width:32px;height:32px;transition:background .2s;display:grid}.hc-voice{color:#ddd;background:0 0;border:1px solid #333}.hc-voice:hover,.hc-voice.is-listening{background:#3d245e;border-color:#9850ff}.hc-generate{color:#fff;background:#913bff;border:0}.hc-generate:hover{background:#a15bff}.hc-generate:disabled{color:#777;cursor:not-allowed;background:#333}.hc-input-row>.hc-actions{padding-top:4px}.hc-bottom{justify-content:space-between;align-items:flex-end;gap:12px;padding-top:32px;display:flex}.hc-parameters{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.hc-chip{color:#c5c5c5;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #303030;border-radius:20px;align-items:center;gap:6px;max-width:100%;min-height:32px;padding:5px 10px;font-size:14px;line-height:20px;display:flex}.hc-chip:hover{background:#252525}.hc-chip img{object-fit:contain;border-radius:50%;width:16px;height:16px}.hc-parameters>.if-select{width:auto;min-width:100px}.hc-references{flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;display:flex}.hc-references>div{border:1px solid #383838;border-radius:12px;width:68px;height:68px;position:relative}.hc-references img,.hc-references video{object-fit:cover;border-radius:11px;width:100%;height:100%}.hc-references button{color:#fff;cursor:pointer;background:#313131;border:1px solid #555;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:-5px;right:-5px}.hc-presets{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin-top:16px;display:flex}.hc-presets button{color:#999;cursor:pointer;background:0 0;border:1px solid #262626;border-radius:20px;align-items:center;gap:5px;padding:5px 9px;font-size:12px;line-height:16px;display:flex}.hc-presets button:hover{color:#eee;background:#242424}.hc-cost{color:#777;text-align:center;margin:10px 0 -8px;font-size:11px;line-height:16px}.hc-cost a{color:#b58adf;text-underline-offset:2px;text-decoration:underline}.hc-source{text-align:left;color:#969696;cursor:pointer;background:0 0;border:0;flex:1;min-height:40px;padding:4px 8px;font-size:14px}.hc-drop{z-index:50;color:#d7bdff;pointer-events:none;background:#25153aee;border:1px dashed #a55bff;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;inset:0}.hc-library{color:#eee;background:#191919;border:1px solid #333;border-radius:24px;width:min(760px,100%);max-height:85dvh;padding:22px;font-family:Imagine App,Arial,sans-serif;overflow:auto}.hc-library>header{justify-content:space-between;align-items:center;margin-bottom:20px;font-size:18px;display:flex}.hc-library>header button{color:#bbb;cursor:pointer;background:0 0;border:0}.hc-library-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.hc-library-grid>button{color:#aaa;text-align:left;cursor:pointer;background:#222;border:1px solid #383838;border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:0 0 8px;display:flex;overflow:hidden}.hc-library-grid img,.hc-library-grid video{aspect-ratio:1;object-fit:cover;width:100%}.hc-library-grid span{text-overflow:ellipsis;white-space:nowrap;width:100%;padding:0 8px;font-size:12px;overflow:hidden}.hc-library-grid>p{color:#999;text-align:center;grid-column:1/-1;padding:30px 0}.hc-settings{z-index:1000;color:#ddd;background:#1b1b1b;border:1px solid #343434;border-radius:20px;padding:14px;font-family:Imagine App,Arial,sans-serif;font-size:13px;position:fixed;overflow:auto;box-shadow:0 16px 55px #0008}.hc-settings>header{justify-content:space-between;align-items:center;padding:0 2px 12px;font-weight:500;display:flex}.hc-settings>header button{color:#aaa;cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.hc-model-search{background:#252525;border:1px solid #353535;border-radius:12px;align-items:center;gap:8px;margin-bottom:10px;padding:9px 10px;display:flex}.hc-model-search input{color:#eee;background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:13px}.hc-model-options{flex-direction:column;gap:3px;display:flex}.hc-model-options>button{color:#ccc;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:10px;width:100%;padding:11px 9px;display:flex}.hc-model-options>button:hover,.hc-model-options>button[aria-selected=true]{background:#2b2338}.hc-model-options img{object-fit:contain;border-radius:50%;width:28px;height:28px}.hc-model-options span{flex:1;min-width:0}.hc-model-options strong{color:#eee;font-size:14px;font-weight:500;display:block}.hc-model-options small{-webkit-line-clamp:2;color:#888;-webkit-box-orient:vertical;margin-top:3px;font-size:11px;line-height:16px;display:-webkit-box;overflow:hidden}.hc-setting-fields>label{color:#bbb;margin:16px 0 9px;font-size:12px;display:block}.hc-ratio-options{grid-template-columns:repeat(5,1fr);gap:5px;display:grid}.hc-ratio-options button,.hc-value-options button{color:#999;cursor:pointer;background:0 0;border:1px solid #363636;border-radius:10px;padding:9px 4px;font-size:12px}.hc-ratio-options button.is-active,.hc-value-options button.is-active{color:#eee;background:#402856;border-color:#8650c7}.hc-value-options{gap:6px;display:flex}.hc-value-options button{flex:1}@media (width<=767px){.hc-tabs{justify-content:flex-start;width:100%;margin-bottom:12px}.hc-tabs button,.hc-tabs a{padding:6px 10px;font-size:12px}.hc-form{border-radius:20px;padding:12px}.hc-bottom{gap:8px;padding-top:24px}.hc-parameters{gap:5px}.hc-chip{padding:5px 8px;font-size:12px}.hc-chip img{width:14px;height:14px}.hc-add{border-radius:12px;width:34px;height:36px}.hc-voice{display:none}.hc-actions{gap:4px}.hc-presets{scrollbar-width:none;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto}.hc-presets button{white-space:nowrap;flex-shrink:0;font-size:11px}.hc-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-input-row textarea{resize:none}.hc-parameters>.if-select{max-width:160px}.hc-cost{margin-bottom:0}}@media (width>=1441px){.hc-root{max-width:960px}}
