.pop-templates{font-size:16px}.pop-templates main.wrap{padding-bottom:20px}.pop-templates .tl-icon{flex:none;width:16px;height:16px}.pop-templates .spin{animation:.9s linear infinite tl-spin}@keyframes tl-spin{to{transform:rotate(360deg)}}.pop-templates .tl-hero{padding-top:20px}.pop-templates .tl-hero-card{background:var(--yellow);color:var(--ink);border:2px solid var(--ink);box-shadow:0 10px 0 var(--ink);isolation:isolate;border-radius:36px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:28px;padding:30px 48px 32px;display:grid;position:relative;overflow:hidden}.pop-templates .tl-hero-card:after{content:"";z-index:-1;background-image:radial-gradient(#15102e24 1px,#0000 1.2px);background-size:22px 22px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000 0%,#0000 75%);mask-image:linear-gradient(#000 0%,#0000 75%)}.pop-templates .tl-hero .eyebrow{color:var(--ink)}.pop-templates .tl-hero h1{letter-spacing:-.035em;text-wrap:balance;margin-top:12px;font-size:clamp(38px,3.9vw,52px);font-weight:800;line-height:.98}.pop-templates .tl-hero h1 .pill{box-shadow:inset 0 0 0 2px var(--ink), 0 .08em 0 var(--ink);background:#fff;margin-top:.08em}.pop-templates .tl-hero-lead{max-width:520px;color:var(--ink-2);margin-top:14px;font-size:17px;line-height:1.55}.pop-templates .tl-checks{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.pop-templates .tl-checks span{box-shadow:inset 0 0 0 2px var(--ink);background:#fff;border-radius:999px;align-items:center;gap:8px;padding:8px 14px 8px 9px;font-size:14.5px;font-weight:700;display:inline-flex}.pop-templates .tl-checks span:before{content:"✓";background:var(--yellow);width:20px;height:20px;color:var(--ink);border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.pop-templates .tl-collage{height:250px;position:relative}.pop-templates .tl-shot{--spread:1;width:auto;height:var(--h);max-width:none;box-shadow:0 0 0 2px var(--ink), 0 24px 36px -18px #15102e80;transform:translate(calc(-50% + var(--x) * var(--spread)), -54%) rotate(var(--r));border-radius:12px;transition:transform .35s;position:absolute;top:50%;left:50%}.pop-templates .tl-hero-card:hover .tl-shot{--spread:1.07}.pop-templates .tl-collage .sticker{z-index:4;width:64px;height:64px}.pop-templates .tl-collage .k1{top:-14px;right:0;transform:rotate(12deg)}.pop-templates .tl-collage .k2{bottom:18px;left:2%;transform:rotate(-10deg)}.pop-templates .tl-note{z-index:3;text-align:center;width:max-content;max-width:min(360px,92%);color:var(--ink);line-height:1.25;font-family:var(--display);box-shadow:inset 0 0 0 2px var(--ink), 0 4px 0 var(--ink);background:#fff;border-radius:12px;padding:7px 14px;font-size:14.5px;font-weight:700;position:absolute;bottom:0;left:50%;transform:translate(-50%)rotate(-3deg)}.pop-templates .library{padding-top:32px;scroll-margin-top:84px}.pop-templates .tl-head{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:14px;display:flex}.pop-templates .tl-head h2{font-size:clamp(28px,3vw,36px);font-weight:800}.pop-templates .tl-tools{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.pop-templates .tabs{box-shadow:inset 0 0 0 2px var(--line);background:#fff;border-radius:999px;gap:4px;padding:5px;display:inline-flex}.pop-templates .tab{color:var(--ink-2);font:700 14.5px var(--body);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:9px 16px;transition:background .15s}.pop-templates .tab:hover{background:var(--lilac)}.pop-templates .tab[aria-pressed=true]{background:var(--ink);color:#fff}.pop-templates .tab.new[aria-pressed=true]{background:var(--pink)}.pop-templates .search{min-width:220px;max-width:420px;box-shadow:inset 0 0 0 2px var(--line);color:var(--muted);background:#fff;border-radius:999px;flex:1;align-items:center;gap:10px;margin-left:auto;padding:11px 16px;display:flex}.pop-templates .search:focus-within{box-shadow:inset 0 0 0 2px var(--ink)}.pop-templates .search input{min-width:0;font:500 15px var(--body);color:var(--ink);background:0 0;border:0;outline:0;flex:1}.pop-templates .search input::-webkit-search-cancel-button{cursor:pointer}.pop-templates .sort{color:var(--muted);align-items:center;gap:8px;font-size:14px;display:inline-flex}.pop-templates .sort select{appearance:none;box-shadow:inset 0 0 0 2px var(--line);font:700 14px var(--body);color:var(--ink);cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315102E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 13px center/14px no-repeat;border:0;border-radius:999px;padding:10px 36px 10px 16px}.pop-templates .results{color:var(--muted);align-items:center;gap:14px;margin:14px 0 18px;font-size:14px;font-weight:600;display:flex}.pop-templates .reset{font:700 14px var(--body);color:var(--violet);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #5b2eff40;padding:0}.pop-templates .reset:hover{border-color:var(--violet)}.pop-templates .reset[hidden]{display:none}.pop-templates .tl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.pop-templates .tl-card{min-width:0;box-shadow:inset 0 0 0 2px var(--line);background:#fff;border-radius:28px;flex-direction:column;padding:10px;transition:box-shadow .2s,transform .2s;display:flex;position:relative}.pop-templates .tl-card:hover,.pop-templates .tl-card:focus-within{box-shadow:inset 0 0 0 2px var(--ink), 0 6px 0 var(--ink);transform:translateY(-3px)}.pop-templates .tl-card-link{color:inherit;border-radius:20px;flex-direction:column;flex:1;text-decoration:none;display:flex}.pop-templates .tl-art{--shot-h:220px;background:var(--card-bg);border-radius:20px;position:relative;overflow:hidden}.pop-templates .tl-art:after{content:"";background:linear-gradient(90deg, transparent, var(--card-bg));pointer-events:none;width:34px;position:absolute;top:0;bottom:0;right:0}.pop-templates .tl-strip{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:transparent transparent;gap:8px;padding:44px 18px 18px;scroll-padding-inline:18px;display:flex;overflow-x:auto}.pop-templates .tl-card:hover .tl-strip,.pop-templates .tl-strip:focus-within{scrollbar-color:#15102e47 transparent}.pop-templates .tl-strip img{width:auto;min-width:60px;max-width:none;height:var(--shot-h);scroll-snap-align:start;-webkit-user-select:none;user-select:none;background:#ffffff73;border-radius:10px;flex:none;box-shadow:0 10px 18px -10px #15102e66}.pop-templates .tl-tags{gap:6px;display:flex;position:absolute;top:12px;left:14px}.pop-templates .tag{color:var(--ink);letter-spacing:.02em;background:#fff;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;box-shadow:inset 0 0 0 1.5px #15102e1f}.pop-templates .tag.new{background:var(--pink);color:#fff;box-shadow:none}.pop-templates .tag.pro{background:var(--ink);color:var(--yellow);box-shadow:none}.pop-templates .tag.draft{background:var(--orange);color:#fff;box-shadow:none}.pop-templates .tl-peek{background:var(--ink);color:#fff;opacity:0;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:700;transition:opacity .2s,transform .2s;position:absolute;top:12px;right:14px;transform:translateY(-4px)}.pop-templates .tl-card:hover .tl-peek,.pop-templates .tl-card-link:focus-visible .tl-peek{opacity:1;transform:none}.pop-templates .tl-meta{flex-direction:column;flex:1;padding:16px 12px 8px;display:flex}.pop-templates .tl-meta h3{letter-spacing:-.02em;font-size:22px;font-weight:800;line-height:1.15}.pop-templates .tl-meta p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:8px;font-size:14.5px;line-height:1.5;display:-webkit-box;overflow:hidden}.pop-templates .tl-bottom{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:14px;font-size:13.5px;font-weight:600;display:flex}.pop-templates .tl-use,.pop-templates .tl-use-spacer{font-family:var(--display);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:10px 18px;font-size:15px;font-weight:700;display:inline-flex}.pop-templates .tl-use-spacer{visibility:hidden}.pop-templates .tl-use{background:var(--yellow);color:var(--ink);box-shadow:0 4px 0 var(--yellow-d);cursor:pointer;border:0;transition:transform .15s,box-shadow .15s;position:absolute;bottom:18px;right:22px}.pop-templates .tl-use:hover{box-shadow:0 5px 0 var(--yellow-d);transform:translateY(-1px)}.pop-templates .tl-use:active{box-shadow:0 1px 0 var(--yellow-d);transform:translateY(3px)}.pop-templates .tl-use:disabled{opacity:.6;cursor:default;transform:none}.pop-templates .library-loading{color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:40px 0 8px;font-weight:600;display:flex}.pop-templates .library-spinner{border:3px solid var(--line);border-top-color:var(--violet);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite tl-spin}.pop-templates .empty{box-shadow:inset 0 0 0 2px var(--line);text-align:center;background:#fff;border-radius:28px;padding:56px 24px}.pop-templates .empty img{margin:0 auto 12px}.pop-templates .empty h3{font-size:28px;font-weight:800}.pop-templates .empty p{max-width:420px;color:var(--muted);margin:10px auto 18px}.pop-templates .tl-blank{background:var(--ink);color:#fff;isolation:isolate;border-radius:32px;justify-content:space-between;align-items:center;gap:28px;margin-top:40px;padding:44px 48px;display:flex;position:relative;overflow:hidden}.pop-templates .tl-blank:before{content:"";background:var(--yellow);z-index:-1;border-radius:50%;width:340px;height:340px;position:absolute;top:-120px;right:-80px}.pop-templates .tl-blank h2{font-size:clamp(32px,3.8vw,48px);font-weight:800}.pop-templates .tl-blank p{color:#c9c3ea;max-width:520px;margin-top:10px;font-size:17px}.pop-templates .tl-blank .btn{flex:none;padding:14px 24px;font-size:17px}.pop-templates .library-faq{grid-template-columns:.8fr 1.2fr;gap:56px;padding-top:110px;display:grid}.pop-templates .library-faq>*{min-width:0}.pop-templates .library-faq h2{margin-top:14px;font-size:clamp(36px,4.4vw,56px);font-weight:800}.pop-templates .library-faq .faq-sub{color:var(--muted);margin-top:18px;font-size:18px}.pop-templates .faq-list{flex-direction:column;gap:12px;display:flex}.pop-templates .faq-list details{box-shadow:inset 0 0 0 2px var(--line);background:#fff;border-radius:22px;transition:box-shadow .2s}.pop-templates .faq-list details[open]{box-shadow:inset 0 0 0 2px var(--ink)}.pop-templates .faq-list summary{cursor:pointer;font-family:var(--display);letter-spacing:-.015em;padding:22px 64px 22px 24px;font-size:20px;font-weight:700;line-height:1.25;list-style:none;position:relative}.pop-templates .faq-list summary::-webkit-details-marker{display:none}.pop-templates .faq-list summary:after{content:"+";background:var(--lilac);width:32px;height:32px;font-family:var(--body);border-radius:10px;place-items:center;font-size:20px;font-weight:600;display:grid;position:absolute;top:50%;right:20px;translate:0 -50%}.pop-templates .faq-list details[open] summary:after{content:"–";background:var(--yellow)}.pop-templates .faq-answer{color:var(--ink-2);padding:0 24px 24px;font-size:16px}.pop-templates .faq-answer p+p{margin-top:10px}.pop-templates .faq-answer a{color:var(--violet);font-weight:600}.pop-templates .template-create-error{z-index:60;background:var(--ink);color:#fff;max-width:calc(100% - 32px);box-shadow:0 4px 0 var(--pink);border-radius:14px;padding:12px 18px;font-weight:600;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}@media (prefers-reduced-motion:reduce){.pop-templates .tl-card,.pop-templates .tl-shot{transition:none}}@media (min-width:1081px) and (max-width:1240px){.pop-templates .tl-collage{scale:.86}}@media (max-width:1080px){.pop-templates .tl-hero-card{grid-template-columns:1fr;padding:36px 36px 28px}.pop-templates .tl-collage{display:none}}@media (max-width:860px){.pop-templates .tl-grid{grid-template-columns:1fr}.pop-templates .tl-head{flex-direction:column;align-items:flex-start}.pop-templates .library-faq{grid-template-columns:1fr;gap:28px;padding-top:80px}.pop-templates .tl-blank{flex-direction:column;align-items:flex-start;padding:36px 28px}}@media (max-width:640px){.pop-templates .tl-hero{padding-top:14px}.pop-templates .tl-hero-card{border-radius:28px;padding:30px 22px 24px}.pop-templates .tl-hero h1{font-size:38px}.pop-templates .tl-hero-lead{font-size:17px}.pop-templates .tl-checks span{font-size:13.5px}.pop-templates .library{padding-top:32px}.pop-templates .tl-tools{width:100%}.pop-templates .search{flex-basis:100%;order:-1;max-width:none;margin-left:0}.pop-templates .sort{margin-left:auto}.pop-templates .sort>span{display:none}.pop-templates .tl-tools{gap:10px}.pop-templates .tabs{scrollbar-width:none;flex:1 1 0;min-width:0;max-width:fit-content;padding:4px;overflow-x:auto}.pop-templates .tabs::-webkit-scrollbar{display:none}.pop-templates .tab{flex:none;padding:7px 11px;font-size:13.5px}.pop-templates .sort{flex:none}.pop-templates .sort select{background-position:right 11px center;padding:8px 30px 8px 13px;font-size:13px}.pop-templates .tl-art{--shot-h:210px}.pop-templates .tl-strip{gap:6px;padding:42px 12px 14px;scroll-padding-inline:12px}.pop-templates .tl-strip img{border-radius:8px}.pop-templates .tl-meta h3{font-size:20px}.pop-templates .faq-list summary{padding:18px 58px 18px 18px;font-size:17px}.pop-templates .faq-answer{padding:0 18px 18px;font-size:15px}}
