.templateGallery-module-scss-module__VjeFPa__gallery{min-width:0;color:var(--content-primary)}.templateGallery-module-scss-module__VjeFPa__gallery>p{color:var(--content-tertiary);text-align:center;padding:32px 0;font-size:13px}.templateGallery-module-scss-module__VjeFPa__header{justify-content:space-between;align-items:center;gap:16px;min-height:22px;margin-bottom:16px;display:flex}.templateGallery-module-scss-module__VjeFPa__header h2{margin:0;font-size:16px;font-weight:500;line-height:22px}.templateGallery-module-scss-module__VjeFPa__header span{color:var(--content-tertiary);font-size:13px}.templateGallery-module-scss-module__VjeFPa__categories{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.templateGallery-module-scss-module__VjeFPa__categories button{color:var(--content-secondary);border:1px solid var(--stroke-borderOverlay);cursor:pointer;background:0 0;border-radius:999px;padding:6px 12px;font-size:13px;line-height:18px}.templateGallery-module-scss-module__VjeFPa__categories button:disabled{cursor:not-allowed;opacity:.55}.templateGallery-module-scss-module__VjeFPa__categories button.templateGallery-module-scss-module__VjeFPa__categoryActive{color:var(--content-buttonPrimary,#090a0a);background:var(--background-buttonPrimary,#ebedf0);border-color:#0000}.templateGallery-module-scss-module__VjeFPa__grid,.templateGallery-module-scss-module__VjeFPa__skeletons{width:100%}.templateGallery-module-scss-module__VjeFPa__loadMoreSentinel{height:1px}.templateGallery-module-scss-module__VjeFPa__pageStatus{color:var(--content-tertiary);text-align:center;padding:24px 0 16px;font-size:13px;line-height:20px}.templateGallery-module-scss-module__VjeFPa__card{width:100%;color:var(--content-primary);text-align:left;background:var(--background-spaceHolder,#f0f5ff0f);border:0;border-radius:20px;flex-direction:column;gap:8px;padding:4px 4px 12px;display:flex}.templateGallery-module-scss-module__VjeFPa__card[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--stroke-primaryAccent)}.templateGallery-module-scss-module__VjeFPa__card:focus-within{outline:none}.templateGallery-module-scss-module__VjeFPa__thumbnail{background:var(--background-spaceHolder);border-radius:16px;width:100%;display:block;position:relative;overflow:hidden}.templateGallery-module-scss-module__VjeFPa__thumbnail img,.templateGallery-module-scss-module__VjeFPa__thumbnail video,.templateGallery-module-scss-module__VjeFPa__thumbnail .templateGallery-module-scss-module__VjeFPa__placeholder{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.templateGallery-module-scss-module__VjeFPa__thumbnail video{pointer-events:none}.templateGallery-module-scss-module__VjeFPa__previewHit{z-index:0;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.templateGallery-module-scss-module__VjeFPa__previewHit:disabled{cursor:not-allowed}.templateGallery-module-scss-module__VjeFPa__previewHit:focus-visible{outline:2px solid var(--stroke-primaryAccent);outline-offset:2px}.templateGallery-module-scss-module__VjeFPa__card .templateGallery-module-scss-module__VjeFPa__useButton{z-index:1;white-space:nowrap;background:var(--background-buttonPrimaryHoverOnMask,#f7f8fa);cursor:pointer;opacity:0;pointer-events:none;border:0;border-radius:10px;justify-content:center;align-items:center;width:calc(100% - 32px);min-width:80px;max-width:240px;height:40px;padding:0 12px;font-size:15px;font-weight:500;line-height:normal;transition:opacity .16s;display:flex;position:absolute;bottom:8px;left:50%;transform:translate(-50%);color:var(--content-buttonPrimaryOnMask,#090a0a)!important}.templateGallery-module-scss-module__VjeFPa__card .templateGallery-module-scss-module__VjeFPa__useButton:disabled{cursor:not-allowed;opacity:0}.templateGallery-module-scss-module__VjeFPa__card .templateGallery-module-scss-module__VjeFPa__useButton:hover:not(:disabled){filter:brightness(.97)}.templateGallery-module-scss-module__VjeFPa__card .templateGallery-module-scss-module__VjeFPa__useButton:focus-visible{outline:2px solid var(--stroke-primaryAccent);outline-offset:2px;opacity:1;pointer-events:auto}.templateGallery-module-scss-module__VjeFPa__card:hover .templateGallery-module-scss-module__VjeFPa__useButton,.templateGallery-module-scss-module__VjeFPa__card:focus-within .templateGallery-module-scss-module__VjeFPa__useButton{opacity:1;pointer-events:auto}.templateGallery-module-scss-module__VjeFPa__placeholder{background:var(--background-spaceHolder)}.templateGallery-module-scss-module__VjeFPa__meta{align-items:center;gap:8px;width:100%;min-width:0;min-height:28px;padding:0 8px;display:flex}.templateGallery-module-scss-module__VjeFPa__avatar,.templateGallery-module-scss-module__VjeFPa__avatarPlaceholder{object-fit:cover;background:var(--background-spaceHolderHover,#f0f5ff1a);border-radius:50%;flex:none;width:28px;height:28px}.templateGallery-module-scss-module__VjeFPa__accountName{min-width:0;color:var(--content-primary);white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:500;line-height:normal;overflow:hidden}.templateGallery-module-scss-module__VjeFPa__feedback{justify-items:center;gap:12px;padding:32px;font-size:13px;display:grid}.templateGallery-module-scss-module__VjeFPa__feedback button{background:var(--background-buttonSecondary);border:1px solid var(--stroke-borderOverlay);border-radius:8px;padding:8px 16px}.templateGallery-module-scss-module__VjeFPa__skeletonItem{background:var(--background-spaceHolder);aspect-ratio:5/6;border-radius:12px;width:100%;display:block}.templateGallery-module-scss-module__VjeFPa__previewUseButton{white-space:nowrap;background:var(--background-buttonPrimaryHoverOnMask,#f7f8fa);cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;min-width:74px;height:36px;padding:0 10px;font-size:14px;font-weight:500;line-height:normal;display:flex;color:var(--content-buttonPrimaryOnMask,#090a0a)!important}.templateGallery-module-scss-module__VjeFPa__previewUseButton:disabled{cursor:not-allowed;opacity:.55}.templateGallery-module-scss-module__VjeFPa__previewUseButton:hover:not(:disabled){filter:brightness(.97)}