.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}.TemplateGallery_panelDone__pM6YP{display:none}@media (max-width:900px){.TemplateGallery_layout__ZcTn7{grid-template-columns:minmax(0,1fr)}.TemplateGallery_panelAuto__xkVa5{display:none}.TemplateGallery_panel__ju5eP{position:static;flex-direction:row;flex-wrap:wrap;gap:14px 22px;padding:12px;max-height:min(62vh,520px);max-height:min(62dvh,520px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.TemplateGallery_group__sNQ9p{flex:1 1 150px;min-width:150px}.TemplateGallery_check__ngmyj{min-height:44px;padding:6px 8px;gap:12px;font-size:14px}.TemplateGallery_check__ngmyj input{width:20px;height:20px}.TemplateGallery_checkCount__pEwDB{font-size:12px}.TemplateGallery_panelDone__pM6YP{display:block;flex:1 1 100%;position:-webkit-sticky;position:sticky;bottom:0;min-height:46px;padding:0 16px;border:0;border-radius:10px;background:#6366f1;color:#fff;font:700 14px var(--font-ui);cursor:pointer;box-shadow:0 0 0 6px var(--surface)}.TemplateGallery_kbd__oyGAx{display:none}}@media (max-width:560px){.TemplateGallery_toolbar__FQwiV{flex-wrap:wrap}.TemplateGallery_searchBox__Z9XQt{flex-basis:100%}.TemplateGallery_searchBox__Z9XQt input,.TemplateGallery_sort__eh1DI{font-size:16px}.TemplateGallery_sortWrap__tnuq9,.TemplateGallery_toolBtn__NNE4s{flex:1 1}.TemplateGallery_toolBtn__NNE4s{justify-content:center}.TemplateGallery_sort__eh1DI{width:100%}.TemplateGallery_panel__ju5eP{flex-direction:column;flex-wrap:nowrap;gap:12px}.TemplateGallery_group__sNQ9p{flex:none;min-width:0}.TemplateGallery_panelDone__pM6YP{flex:none}.TemplateGallery_chipsRow__zN09P{flex-wrap:wrap;row-gap:8px}.TemplateGallery_resultCount__iPUvG{order:1}.TemplateGallery_chips__dAaZ8{order:2;flex:1 1 100%}.TemplateGallery_chip___zReZ{padding:7px 12px}.TemplateGallery_clearAll__U0gzB{padding:8px 4px}}.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}}