.template-catalog-page{min-height:100dvh;background:#111214;color:#f8f7f7}.template-catalog{width:min(1520px,calc(100% - 64px));margin:0 auto;padding:48px 0 80px}.template-catalog__heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.template-catalog__heading h1{margin:0;max-width:850px;font-size:clamp(28px,3.1vw,46px);font-weight:650;line-height:1.15;letter-spacing:-.035em}.template-catalog__find{display:inline-flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:28px;border:1px solid rgba(255,255,255,.7);border-radius:10px;background:#14141880;padding:15px 22px;color:#fff;font-size:14px;font-weight:700;box-shadow:none}.template-catalog__find:hover,.template-catalog__find[aria-expanded=true]{background:#ffffff24}.template-catalog__sections{display:flex;gap:28px;border-bottom:1px solid #343438;margin-bottom:24px}.template-catalog__sections button{position:relative;padding:0 3px 14px;border:0;background:transparent;color:#99999f;font-size:16px;font-weight:600}.template-catalog__sections button:hover,.template-catalog__sections button.is-active{color:#fff}.template-catalog__sections button.is-active:after{position:absolute;content:"";left:0;right:0;bottom:-1px;height:2px;border-radius:2px;background:#e74725}.template-catalog__filters{display:flex;flex-direction:column;gap:16px;margin-bottom:24px;border:1px solid #36363c;border-radius:14px;background:#1b1c20;padding:18px}.template-catalog__searchRow{display:flex;gap:12px}.template-catalog__search{display:flex;flex:1;min-width:0;min-height:44px;align-items:center;gap:10px;border:1px solid #45454c;border-radius:10px;background:#222329;padding:0 13px;color:#a9a8ad}.template-catalog__search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:14px}.template-catalog__filterClose{display:grid;flex:0 0 44px;place-items:center;border:1px solid #45454c;border-radius:10px;color:#ccc}.template-catalog__categories{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.template-catalog__categories button{border:1px solid #42434a;border-radius:8px;background:#202126;padding:9px 13px;color:#c7c7ce;font-size:13px}.template-catalog__categories button:hover,.template-catalog__categories button.is-active{border-color:#7c6bb6;background:#302a43;color:#fff}.template-catalog__modelFilter{position:relative;width:-moz-fit-content;width:fit-content;max-width:100%}.template-catalog__modelButton{display:inline-flex;width:-moz-fit-content;width:fit-content;max-width:100%;min-width:0;min-height:44px;align-items:center;justify-content:space-between;gap:12px;border:1px solid #45454c;border-radius:10px;background:#222329;padding:10px 14px;color:#f0eef3;font-size:14px;line-height:1.4;text-align:left;white-space:normal;overflow-wrap:anywhere}.template-catalog__modelButton span{min-width:0}.template-catalog__modelButton svg{flex-shrink:0}.template-catalog__modelOptions{position:absolute;top:calc(100% + 8px);left:0;z-index:10;width:-moz-max-content;width:max-content;max-width:min(320px,calc(100vw - 64px));border:1px solid #45454c;border-radius:10px;background:#222329;padding:6px;box-shadow:0 12px 30px #0008}.template-catalog__modelOptions button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border-radius:7px;padding:10px;color:#e6e3ec;font-size:14px;text-align:left;overflow-wrap:anywhere}.template-catalog__modelOptions button:hover,.template-catalog__modelOptions button[aria-pressed=true]{background:#393246}.template-catalog__grid{display:grid;grid-template-columns:1.2fr .8fr 1.15fr .85fr;gap:12px;align-items:start}.template-catalog__column{display:flex;flex-direction:column;gap:12px;min-width:0}.template-catalog__tile{position:relative;display:inline-block;width:100%;min-width:0;margin-bottom:0;-moz-column-break-inside:avoid;break-inside:avoid;vertical-align:top}.template-catalog__card{display:block;width:100%;overflow:hidden;border:0;border-radius:12px;background:#1c1d21;padding:0;color:#fff;text-align:left;transition:box-shadow .18s}.template-catalog__card:hover{box-shadow:0 0 0 1px #89808e,0 12px 28px #0005}.template-catalog__art{position:relative;display:block;background:#202126}.template-catalog__art img{display:block;width:100%;height:auto;-o-object-fit:contain;object-fit:contain}.template-catalog__art video{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;-o-object-fit:contain;object-fit:contain;background:#16171a}.template-catalog__play{position:absolute;right:10px;bottom:10px;display:grid;width:30px;height:30px;place-items:center;border:1px solid #ffffff40;border-radius:50%;background:#16171bbb}.template-catalog__play svg{transform:translate(1px)}.template-catalog__cardUse{position:absolute;bottom:12px;right:12px;z-index:2;border:1px solid #f16a4c;border-radius:8px;background:#df3e1a;color:#fff;padding:9px 14px;font-family:inherit;font-size:14px;font-weight:600;box-shadow:0 2px 12px #0005}.template-catalog__cardUse:hover{background:#f24a22}.template-catalog__cardUse:focus-visible{outline:2px solid white;outline-offset:3px}.template-catalog__empty{padding:60px 20px;border:1px dashed #4a4a50;border-radius:14px;color:#bbb;text-align:center}.photo-reference-gallery{position:fixed;inset:5dvh max(16px,calc((100vw - 1320px)/2));z-index:1901;overflow-y:auto;padding:28px;border:1px solid #45454c;border-radius:18px;background:#111214;color:#fff}.photo-reference-gallery h2{margin:0 44px 24px 0;font-size:28px;font-weight:600}.photo-reference-gallery .template-catalog__search{margin-bottom:18px}.photo-reference-gallery button:focus-visible{outline:2px solid #b5a2fa;outline-offset:3px}@media(max-width:720px){.photo-reference-gallery{top:12px;right:12px;bottom:12px;left:12px;padding:18px}.photo-reference-gallery h2{font-size:24px}}.template-catalog__overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1900;background:#08090cba;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.template-catalog__preview,.template-catalog__conflict{position:fixed;top:50%;left:50%;z-index:1901;width:min(900px,calc(100vw - 28px));max-height:min(88dvh,780px);overflow:auto;border:1px solid #45454c;border-radius:18px;background:#1e1f24;color:#fff;transform:translate(-50%,-50%)}.template-catalog__preview{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.template-catalog__previewMedia{display:block;width:100%;height:100%;min-height:0;max-height:78dvh;-o-object-fit:contain;object-fit:contain;background:#141417}.template-catalog__previewCopy{display:flex;min-width:0;flex-direction:column;align-items:start;justify-content:center;gap:20px;padding:48px 28px 32px}.template-catalog__previewCopy h2{margin:0;font-size:clamp(24px,3vw,36px);font-weight:600;line-height:1.15;overflow-wrap:anywhere}.template-catalog__use{display:inline-flex;min-height:44px;max-width:100%;align-items:center;justify-content:center;gap:8px;border:1px solid #6c5ab4;border-radius:10px;background:linear-gradient(110deg,#312b4f,#26242f);padding:10px 14px;color:#f5f5f7;font-size:14px;font-weight:600}.template-catalog__use:hover{border-color:#a793e9;background:linear-gradient(110deg,#403660,#302b3e)}.template-catalog__use svg{flex-shrink:0}.template-catalog__close{position:absolute;top:12px;right:12px;z-index:2;display:grid;width:36px;height:36px;place-items:center;border:1px solid #ffffff40;border-radius:50%;background:#16171bc9;color:#fff}.template-catalog__conflict{width:min(520px,calc(100vw - 28px));padding:28px}.template-catalog__conflict h2{margin:0;font-size:24px}.template-catalog__conflict p{color:#c7c4ca;line-height:1.5}.template-catalog__conflict>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.template-catalog__conflict button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #6c5ab4;border-radius:10px;background:#312b4f;padding:12px 16px;color:#fff}:is(.template-catalog,.template-catalog__preview,.template-catalog__conflict) button:focus-visible{outline:2px solid #b5a2fa;outline-offset:3px}@media(max-width:1100px){.template-catalog__grid{grid-template-columns:1.15fr .85fr 1fr}.template-catalog__heading{align-items:start}}@media(max-width:720px){.template-catalog{width:calc(100% - 28px);padding:28px 0 60px}.template-catalog__heading{flex-direction:column;gap:20px;margin-bottom:28px}.template-catalog__heading h1{max-width:440px;font-size:30px}.template-catalog__find{min-height:48px}.template-catalog__filters{padding:12px}.template-catalog__search input{font-size:16px}.template-catalog__grid{grid-template-columns:1.1fr .9fr}.template-catalog__cardUse{bottom:8px;right:8px;padding:8px 10px;font-size:12px}.template-catalog__preview{grid-template-columns:1fr}.template-catalog__previewMedia{height:auto;max-height:48dvh}.template-catalog__previewCopy{padding:24px 20px;gap:16px}.template-catalog__use{width:100%}}@media(prefers-reduced-motion:reduce){.template-catalog__card{transition:none}}.template-catalog__heading{flex-wrap:wrap}.template-catalog__intro{flex-basis:100%;margin:0;max-width:680px;color:#b8b7bd;font-size:15px;line-height:1.6}.template-catalog-page .kg-static-nav{display:flex;flex-wrap:wrap;gap:8px 22px;width:min(1520px,calc(100% - 64px));margin:0 auto;padding:24px 0 0;font-size:14px}.template-catalog-page .kg-static-nav a{color:#f8f7f7;text-decoration:none}.kg-static-templates{margin-top:40px}.kg-static-templates h2{margin:0 0 8px;font-size:24px;font-weight:650}.kg-static-templates p{color:#b8b7bd;font-size:14px;line-height:1.6}.kg-static-templates p a{color:#c7bcff}.kg-static-templates ul{list-style:none;margin:18px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.kg-static-templates li a{display:grid;gap:8px;color:#f8f7f7;text-decoration:none;font-size:13px}.kg-static-templates img{width:100%;height:auto;aspect-ratio:3/4;-o-object-fit:cover;object-fit:cover;border-radius:12px;background:#1c1d21}@media(max-width:720px){.template-catalog-page .kg-static-nav{width:calc(100% - 32px)}.kg-static-templates ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
