.styles_wrap__wIAbq{width:100%;height:100%;overflow:visible;padding:20px;background:var(--bg);display:flex;flex-direction:column;gap:20px}.styles_layout___7BEk{display:flex;align-items:flex-start;gap:20px}.styles_main__r_rDC{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:20px}.styles_topAd__4P7Ba{border:1px solid var(--border);border-radius:10px}.styles_controls__8ooBT{display:flex;flex-direction:column;gap:12px}.styles_searchRow__hhgg4{display:flex;align-items:center;gap:8px}.styles_gallerySortBtn__OniIC{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;background:transparent;border:1px solid var(--border,#e2e8f0);border-radius:8px;color:var(--text2,#64748b);cursor:pointer;transition:border-color .12s,color .12s}.styles_gallerySortBtn__OniIC:hover{border-color:var(--accent,#6366f1);color:var(--accent,#6366f1)}.styles_searchWrap__bnxhK{position:relative;display:flex;align-items:center;flex:1 1}.styles_searchIcon__4PPD_{position:absolute;left:11px;color:var(--text3,#888);pointer-events:none;flex-shrink:0}.styles_searchInput__hX_2_{width:100%;padding:8px 32px;background:var(--surface);border:1.5px solid var(--border);border-radius:8px;font-size:13px;font-family:var(--font-ui);color:var(--text);outline:none;transition:border-color .15s}.styles_searchInput__hX_2_::placeholder{color:var(--text3,#888)}.styles_searchInput__hX_2_:focus{border-color:var(--accent)}.styles_clearBtn__a1kvu{position:absolute;right:8px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:none;border:none;cursor:pointer;color:var(--text3,#888);border-radius:4px;padding:0;transition:color .15s}.styles_clearBtn__a1kvu:hover{color:var(--text)}.styles_browseWrap___qMep{position:relative;height:54px;flex-shrink:0}.styles_browseCols__xAND_{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;height:54px;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:10px}.styles_browseCols__xAND_:hover{height:auto;max-height:320px;overflow-y:auto;overflow-x:hidden;box-shadow:0 14px 32px rgba(0,0,0,.16)}.styles_browseCol__y7ab8{flex:1 1;min-width:0;padding:8px 10px}.styles_browseCol__y7ab8+.styles_browseCol__y7ab8{border-left:1px dashed var(--border)}.styles_browseColLabel__kGFvB{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--text2);margin-bottom:5px}.styles_browseChips__E6wBs{display:flex;flex-wrap:wrap;align-content:flex-start;gap:5px}.styles_browseCols__xAND_:not(:hover) .styles_browseChips__E6wBs{max-height:23px;overflow:hidden}.styles_browseChip__wf__M{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border:1px solid var(--border);border-radius:20px;font-size:11px;font-weight:600;font-family:var(--font-ui);color:var(--text2);text-decoration:none;white-space:nowrap;transition:border-color .15s,color .15s,background .15s}.styles_browseChip__wf__M:hover,.styles_browseChip__wf__M[aria-current=true]{border-color:var(--accent);color:var(--accent)}.styles_browseChip__wf__M[aria-current=true]{background:var(--accent-dim)}.styles_browseChipCount__2MOS9{font-size:10px;font-weight:700;color:var(--text2);opacity:.65}.styles_browseChip__wf__M[aria-current=true] .styles_browseChipCount__2MOS9{color:var(--accent);opacity:.8}.styles_empty__XwNjb{padding:48px 0;text-align:center;font-size:14px;color:var(--text3,#888)}.styles_grid__H5BZP{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:16px;gap:16px}@media (max-width:1200px){.styles_grid__H5BZP{grid-template-columns:repeat(3,1fr)}}@media (max-width:900px){.styles_grid__H5BZP{grid-template-columns:repeat(2,1fr)}}@media (max-width:560px){.styles_grid__H5BZP{grid-template-columns:1fr}}.styles_card__t0p_Q{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;cursor:pointer;transition:box-shadow .15s,border-color .15s,transform .15s}.styles_card__t0p_Q:hover{border-color:var(--accent);box-shadow:0 6px 24px rgba(0,0,0,.1);transform:translateY(-2px)}.styles_cardLink__mSlMV{color:inherit;text-decoration:none;outline-offset:3px}.styles_cardLink__mSlMV:after{content:"";position:absolute;inset:0;z-index:1}.styles_previewWrap__jX8kv{position:relative;height:200px;overflow:hidden;background:#fff}.styles_bookmarkBtn__DucTB{position:absolute;top:8px;right:8px;width:28px;height:28px;display:grid;place-items:center;border-radius:8px;border:1px solid rgba(0,0,0,.12);background:rgba(255,255,255,.92);color:#475569;cursor:pointer;z-index:2;opacity:0;transition:opacity .15s}.styles_bookmarkBtn__DucTB:focus-visible,.styles_card__t0p_Q:hover .styles_bookmarkBtn__DucTB{opacity:1}@media (hover:none){.styles_bookmarkBtn__DucTB{opacity:1}}.styles_bookmarkBtn__DucTB.styles_bookmarkOn__sxZ54{opacity:1;color:#f59e0b}.styles_preview__Eb4q7{width:100%;height:100%;object-fit:scale-down;display:block}.styles_cardBody__K8gHS{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid var(--border)}.styles_catBadge__ECN9r{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--accent);background:var(--accent-dim);padding:2px 7px;border-radius:4px;flex-shrink:0}.styles_cardTitle__oUw03{font-size:12px;font-weight:600;color:var(--text);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.styles_more__HmIki{display:flex;flex-direction:column;align-items:center;gap:10px;width:-moz-fit-content;width:fit-content;margin:8px auto 16px}.styles_moreBtn__xPYf4{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 22px;background:color-mix(in srgb,var(--accent) 10%,transparent);border:1.5px solid color-mix(in srgb,var(--accent) 35%,transparent);border-radius:999px;font-size:13.5px;font-weight:700;color:var(--accent);font-family:var(--font-ui);text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s,transform .15s,box-shadow .15s}.styles_moreBtn__xPYf4:hover{background:var(--accent);border-color:var(--accent);color:#fff;transform:translateY(-1px);box-shadow:0 6px 18px color-mix(in srgb,var(--accent) 30%,transparent)}.styles_moreBtn__xPYf4:active{transform:translateY(0);box-shadow:none}.styles_moreBtn__xPYf4:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.styles_moreBtn__xPYf4 svg{transition:transform .15s}.styles_moreBtn__xPYf4:hover svg{transform:translateY(2px)}.styles_moreMeta__IQKR9{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:var(--text3,#888)}.styles_moreBar__SdBDl{width:160px;height:3px;border-radius:999px;overflow:hidden;background:var(--border)}.styles_moreBarFill__U0r47{height:100%;border-radius:inherit;background:var(--accent);transition:width .25s}.TemplateGallery_sectionsLink__Jahxz{margin-left:auto;font-size:12.5px;font-weight:700;color:#6366f1;text-decoration:none}.TemplateGallery_sectionsLink__Jahxz:hover{text-decoration:underline}.TemplateGallery_toolbar__FQwiV{display:flex;align-items:center;gap:10px;margin:4px 0 10px}.TemplateGallery_searchBox__Z9XQt{flex:1 1;min-width:0;display:flex;align-items:center;gap:9px;height:44px;padding:0 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text2);transition:border-color .15s,box-shadow .15s}.TemplateGallery_searchBox__Z9XQt:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.15)}.TemplateGallery_searchBox__Z9XQt input{flex:1 1;min-width:0;height:100%;border:0;background:transparent;color:var(--text);font:500 14px var(--font-ui);outline:none}.TemplateGallery_searchBox__Z9XQt input::-webkit-search-cancel-button{cursor:pointer}.TemplateGallery_kbd__oyGAx{flex:none;padding:2px 7px;border:1px solid var(--border);border-radius:6px;background:var(--surface2,rgba(127,127,127,.08));color:var(--text2);font:600 11px var(--font-ui)}.TemplateGallery_toolBtn__NNE4s{flex:none;display:inline-flex;align-items:center;gap:7px;height:44px;padding:0 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:700 13px var(--font-ui);cursor:pointer}.TemplateGallery_toolBtnOn__IeB_s,.TemplateGallery_toolBtn__NNE4s:hover{border-color:#6366f1;color:#6366f1}.TemplateGallery_toolCount__ixZEg{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#6366f1;color:#fff;font-size:11px}.TemplateGallery_sortWrap__tnuq9{flex:none}.TemplateGallery_sort__eh1DI{height:44px;padding:0 30px 0 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text);font:700 13px var(--font-ui);cursor:pointer}.TemplateGallery_sort__eh1DI:focus{outline:none;border-color:#6366f1}.TemplateGallery_chipsRow__zN09P{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:30px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border)}.TemplateGallery_chips__dAaZ8{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.TemplateGallery_chip___zReZ{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid rgba(99,102,241,.3);border-radius:99px;background:rgba(99,102,241,.1);color:#4f46e5;font:700 12px var(--font-ui);cursor:pointer}.TemplateGallery_chip___zReZ span{font-size:14px;line-height:1;opacity:.7}.TemplateGallery_chip___zReZ:hover span{opacity:1}.TemplateGallery_clearAll__U0gzB,.TemplateGallery_linkBtn__d1ykR{border:0;background:none;padding:0;color:#6366f1;font:700 12px var(--font-ui);cursor:pointer;text-decoration:underline}.TemplateGallery_linkBtn__d1ykR{font-size:inherit}.TemplateGallery_resultCount__iPUvG{flex:none;font-size:12.5px;font-weight:600;color:var(--text2)}.TemplateGallery_layout__ZcTn7{display:grid;grid-template-columns:210px minmax(0,1fr);grid-gap:22px;gap:22px;align-items:start}.TemplateGallery_layoutClosed__I75fO{grid-template-columns:minmax(0,1fr)}.TemplateGallery_panel__ju5eP{position:-webkit-sticky;position:sticky;top:12px;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 24px);overflow-y:auto;padding-right:6px}.TemplateGallery_group__sNQ9p{margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:2px}.TemplateGallery_group__sNQ9p legend{margin-bottom:6px;padding:0;font:800 10.5px var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--text2)}.TemplateGallery_check__ngmyj{display:flex;align-items:center;gap:9px;padding:5px 6px;border-radius:8px;font-size:13px;color:var(--text);cursor:pointer}.TemplateGallery_check__ngmyj:hover{background:rgba(99,102,241,.07)}.TemplateGallery_check__ngmyj input{flex:none;width:15px;height:15px;margin:0;accent-color:#6366f1;cursor:pointer}.TemplateGallery_checkLabel__r6TWc{flex:1 1;min-width:0}.TemplateGallery_checkCount__pEwDB{flex:none;font-size:11px;font-weight:700;color:var(--text2)}.TemplateGallery_results__mUaVe{min-width:0}.TemplateGallery_grid__1xY92{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:18px;gap:18px}@media (max-width:1280px){.TemplateGallery_grid__1xY92{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1024px){.TemplateGallery_grid__1xY92{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.TemplateGallery_grid__1xY92{grid-template-columns:minmax(0,1fr)}}.TemplateGallery_card__K9k9X{position:relative}.TemplateGallery_card__K9k9X:hover{transform:none}.TemplateGallery_cardLink__ruZny{display:flex;flex-direction:column;flex:1 1;color:inherit;text-decoration:none}.TemplateGallery_preview__kVp_e{position:relative}.TemplateGallery_pagesTag__53F3y{position:absolute;left:10px;bottom:10px;z-index:1;padding:3px 9px;border-radius:8px;background:rgba(255,255,255,.92);color:#0f172a;font:700 11px var(--font-ui);box-shadow:0 2px 8px rgba(15,23,42,.15)}.TemplateGallery_heart__izNij{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:10px;background:rgba(255,255,255,.94);color:#64748b;box-shadow:0 2px 10px rgba(15,23,42,.18);cursor:pointer;transition:color .15s,transform .15s}.TemplateGallery_heart__izNij:hover{color:#e0435a;transform:scale(1.06)}.TemplateGallery_heartOn__zUPyO{color:#e0435a}.TemplateGallery_actions__YDJZZ{display:grid;grid-template-columns:1fr 1.4fr;grid-gap:8px;gap:8px;padding:0 12px 12px}.TemplateGallery_customizeBtn__ClRC0,.TemplateGallery_previewBtn__t6Ilg{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;border-radius:9px;font:700 12.5px var(--font-ui);text-decoration:none;transition:filter .15s,border-color .15s,color .15s}.TemplateGallery_previewBtn__t6Ilg{border:1px solid var(--border);color:var(--text);background:var(--surface)}.TemplateGallery_previewBtn__t6Ilg:hover{border-color:#6366f1;color:#6366f1}.TemplateGallery_customizeBtn__ClRC0{color:#fff;background:#6366f1}.TemplateGallery_customizeBtn__ClRC0:hover{filter:brightness(1.08)}.TemplateGallery_recent__DbNKM{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}.TemplateGallery_recentLabel__ouviT{display:inline-flex;align-items:center;gap:6px;margin-right:4px;font-size:12.5px;font-weight:800;color:var(--text)}.TemplateGallery_recentChip__6hetd{padding:5px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text2);font:600 12px var(--font-ui);text-decoration:none}.TemplateGallery_recentChip__6hetd:hover{border-color:#6366f1;color:#6366f1}@media (max-width:900px){.TemplateGallery_layout__ZcTn7{grid-template-columns:minmax(0,1fr)}.TemplateGallery_panel__ju5eP{position:static;max-height:none;flex-direction:row;flex-wrap:wrap;gap:14px 22px;padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.TemplateGallery_group__sNQ9p{min-width:150px}.TemplateGallery_kbd__oyGAx{display:none}}@media (max-width:560px){.TemplateGallery_toolbar__FQwiV{flex-wrap:wrap}.TemplateGallery_searchBox__Z9XQt{flex-basis:100%}.TemplateGallery_sortWrap__tnuq9,.TemplateGallery_toolBtn__NNE4s{flex:1 1}.TemplateGallery_sort__eh1DI{width:100%}}.TemplateGallery_libCard__xsWIh{position:relative;display:flex;flex-direction:column;min-width:0}.TemplateGallery_libCard__xsWIh>a{flex:1 1}.TemplateGallery_libTools__NyfLq{position:absolute;top:10px;right:10px;z-index:3;display:flex;flex-direction:column;gap:6px}.TemplateGallery_libTool__Jduog{position:static}.TemplateGallery_modalBack__mMfqe{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;padding:16px;background:rgba(15,23,42,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.TemplateGallery_modal__E0hHN{display:flex;flex-direction:column;width:min(920px,100%);max-height:calc(100vh - 32px);border-radius:16px;overflow:hidden;background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:0 30px 80px rgba(15,23,42,.45);font-family:var(--font-ui)}.TemplateGallery_modalHead__noplT{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border)}.TemplateGallery_modalHead__noplT strong{flex:1 1;min-width:0;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TemplateGallery_modalPos__f6mSr{font-size:12px;font-weight:700;color:var(--text2)}.TemplateGallery_modalClose__cXzGZ{width:30px;height:30px;border:0;border-radius:8px;background:var(--surface2,rgba(127,127,127,.1));color:var(--text);font-size:20px;line-height:1;cursor:pointer}.TemplateGallery_modalBody__2bzZS{position:relative;flex:1 1;min-height:0;display:grid;place-items:center;overflow:auto;padding:16px 56px;background:var(--bg)}.TemplateGallery_modalImg__uNTxa{display:block;max-width:100%;max-height:calc(100vh - 190px);border-radius:10px;box-shadow:0 10px 30px rgba(15,23,42,.18)}.TemplateGallery_modalNav__NoEkI{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--text);font-size:24px;line-height:1;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.15)}.TemplateGallery_modalNav__NoEkI:hover{border-color:#6366f1;color:#6366f1}.TemplateGallery_modalPrev__bXSUz{left:10px}.TemplateGallery_modalNext__bAARv{right:10px}.TemplateGallery_modalFoot___5ouP{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--border)}.TemplateGallery_modalFoot___5ouP .TemplateGallery_customizeBtn__ClRC0{padding:0 18px}.TemplateGallery_modalHint__nkGZ5{font-size:12px;color:var(--text2)}@media (max-width:560px){.TemplateGallery_modalBody__2bzZS{padding:12px 44px}.TemplateGallery_modalHint__nkGZ5{display:none}}