.home-templates{flex-direction:column;gap:12px;padding-bottom:12px;display:flex}.ht-plain{display:contents}.ht-head h2{color:#fff;margin:0;font-size:17px;font-weight:800}.ht-head p{color:var(--ink-3);margin:4px 0 0;font-size:12.5px}.ht-tabs{z-index:5;background:var(--bg);scrollbar-width:none;gap:8px;margin:0 -12px;padding:8px 12px;display:flex;position:sticky;top:0;overflow-x:auto}.ht-tabs::-webkit-scrollbar{display:none}.ht-tabs button{border:1px solid var(--line-2);height:32px;color:var(--ink-2);border-radius:999px;flex:none;padding:0 14px;font-size:13px;font-weight:600}.ht-tabs button.on{border-color:var(--accent);color:#fff;background:#ec489924}.ht-bar{z-index:5;background:var(--bg);scrollbar-width:none;align-items:center;gap:8px;margin:0 -12px;padding:8px 12px 10px;display:flex;position:sticky;top:0;overflow-x:auto}.ht-bar::-webkit-scrollbar{display:none}.ht-chip{height:32px;color:var(--ink-2);white-space:nowrap;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:999px;flex:none;padding:0 14px;font-size:13px;font-weight:700;transition:background .2s,color .2s,border-color .2s}.ht-chip.on{color:#fff;background:#ffffff29;border-color:#0000}.ht-chip.is-tag.on{border-color:var(--accent);background:#ec489929;box-shadow:0 0 12px #ec48994d}.ht-fire{margin-left:3px;font-size:.95em;font-style:normal;line-height:1}.ht-sep{background:#ffffff24;flex:none;width:1px;height:18px}.ht-empty{color:var(--ink-3);text-align:center;margin:24px 0;font-size:13px}.ht-masonry{container-type:inline-size}.ht-grid{--cols:2;--gap:10px;--unit:calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) / 36);grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-auto-rows:var(--unit);column-gap:var(--gap);grid-auto-flow:dense;row-gap:0;display:grid}@container (min-width:560px){.ht-grid{--cols:3}}@container (min-width:820px){.ht-grid{--cols:4;--gap:14px}}@container (min-width:1120px){.ht-grid{--cols:5}}@container (min-width:1440px){.ht-grid{--cols:6}}.ht-card{grid-row-end:span var(--rows);min-width:0;padding-bottom:calc(var(--unit) * 2)}.ht-avatar,.ht-len .ic,.ht-len .ht-kind,.ht-len .ht-ai,.ht-len.is-label,.ht-features,.ht-likes{display:none}.ht-take>span{display:contents}.ht-gold{display:none}.is-feature .ht-gold{display:block}.ht-frame{background:var(--surface);border-radius:14px;height:100%;transition:box-shadow .2s;position:relative;overflow:hidden}.ht-media{background:var(--surface);width:100%;height:100%;padding:0;display:block;position:absolute;inset:0;overflow:hidden}.ht-media>.ht-still{filter:grayscale(.55)brightness(.82);transition:filter .3s}.ht-media:hover>.ht-still{filter:grayscale(.25)brightness(.92)}.ht-play{z-index:1;background:#0a080c73;border:1px solid #ffffff59;border-radius:50%;place-items:center;width:52px;height:52px;margin:-26px 0 0 -26px;display:grid;position:absolute;top:50%;left:50%;box-shadow:0 0 22px #ec489959}.ht-play .ic{width:22px;height:22px;margin-left:3px}.ht-card.is-preview .ht-frame{box-shadow:0 0 0 1px #ec489999}.ht-card.is-playing .ht-frame{box-shadow:0 0 0 2px var(--accent),0 0 26px #ec489959}.ht-originals{z-index:2;pointer-events:none;gap:7px;display:flex;position:absolute;top:10px;left:10px}.ht-original{cursor:zoom-in;pointer-events:auto;background:#d9d9d9;border:1px solid #fff;border-radius:8px;flex:none;width:40px;height:52px;padding:1.5px;position:relative;box-shadow:0 4px 6px -1px #00000059}.ht-original:before{content:"";width:max(100%,44px);height:max(100%,44px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ht-original-pic{border-radius:6.5px;width:100%;height:100%;display:block;overflow:hidden}.ht-original:focus-visible{outline-offset:2px;outline:2px solid #fff}.ht-original img{object-fit:cover;width:100%;height:100%;display:block}.ht-num{z-index:1;color:#fff;background:#f556a4;border-radius:7px;place-items:center;width:auto;min-width:14px;height:14px;padding:0 3px;font-size:9.5px;font-style:normal;font-weight:800;line-height:1;display:grid;position:absolute;bottom:-5px;left:-5px}.ht-original video,.ht-original canvas{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.ht-play{color:#fff;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.ht-play svg{filter:drop-shadow(0 1px 2px #0009);width:14px;height:14px}.ht-sound{color:#fff;background:linear-gradient(160deg,#4636ef,#e02ab3);place-items:center;width:100%;height:100%;display:grid}.ht-sound svg{width:16px;height:16px}.ht-more .ht-original-pic{color:#fff;background:#0f0f16d1;place-items:center;font-size:13px;font-weight:800;display:grid}.ht-sound{z-index:2;color:#fff;background:#0000008c;border-radius:50%;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:8px;right:8px}.ht-media>img,.ht-media>video{object-fit:cover;-webkit-user-drag:none;width:100%;height:100%;display:block;position:absolute;inset:0}.ht-cap{z-index:2;text-align:center;pointer-events:none;background:linear-gradient(#0000,#08060ae6);flex-direction:column;align-items:center;gap:3px;padding:40px 8px 10px;display:flex;position:absolute;bottom:0;left:0;right:0}.ht-cap>*{pointer-events:auto}.ht-card.is-wide .ht-cap{padding-top:28px}.ht-title{color:#fff;overflow-wrap:anywhere;text-shadow:0 1px 3px #000000b3;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;font-size:13.5px;font-weight:800;line-height:1.35;display:-webkit-box;overflow:hidden}.ht-by{color:#ffffff9e;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}.ht-take{color:#fff;background:linear-gradient(135deg,#ec4899,#e11d48);border-radius:999px;flex:none;align-items:center;gap:4px;height:28px;margin-top:5px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex;box-shadow:0 0 12px #ec489966}.ht-take .ic{width:14px;height:14px}.ht-take em{color:#fff;font-style:italic;font-weight:900}.ht-take.is-free{background:linear-gradient(135deg,#ff4d8f,#ec4899);box-shadow:0 0 0 2px #ffffffd9,0 0 14px #ec489980}.ht-len{z-index:3;color:#fff;pointer-events:none;background:#0000008c;border-radius:999px;height:24px;padding:0 9px;font-size:11.5px;font-weight:800;line-height:24px;position:absolute;top:8px;left:8px}.ht-len+.ht-originals{top:38px}.ht-take-sec{font-size:inherit;font-weight:inherit}.ht-card.is-wide{grid-column:span 2}@media (max-width:1023px){.home-templates{gap:0;padding-bottom:16px}.ht-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.ht-head h2{flex:none;font-size:18px;font-weight:900;line-height:28px}.ht-head .ht-flow{color:#9ca3af;text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0 0 0 auto;font-size:12px;font-weight:500;line-height:16px;overflow:hidden}.ht-tabs{padding-top:0;padding-bottom:8px}.ht-tabs button{min-height:44px}.ht-bar{top:calc(55px + var(--safe-top));margin:0 -16px;padding:0 16px 4px}.ht-chip,.ht-chip.on,.ht-chip.is-tag.on{height:44px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;font-size:12px;font-weight:500;line-height:16px}.ht-chip>span{color:#d1d5db;background:#161622;border:1px solid #ffffff80;border-radius:999px;align-items:center;height:30px;padding:0 16px;display:flex}.ht-chip.on>span{background:var(--grad-chip);color:#fff;border-color:#0000;font-weight:700;box-shadow:0 4px 6px -1px #db27774d,0 2px 4px -2px #db27774d}.ht-sep{height:16px}.ht-sound{width:44px;height:44px}.ht-features{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;margin:8px -16px 0;padding:4px 16px 28px;scroll-padding:0 16px;display:flex;overflow-x:auto}.ht-features::-webkit-scrollbar{display:none}.ht-card.is-feature{scroll-snap-align:start;flex:none;width:min(313px,100vw - 62px);height:290px;padding:0}.is-feature .ht-frame{background:#11111a;border:1px solid #232334;border-radius:16px;box-shadow:0 25px 50px -12px #00000040}.is-feature .ht-media:after{content:"";pointer-events:none;background:linear-gradient(#0006 0%,#0003 50%,#11111a 100%);position:absolute;inset:0}.is-feature .ht-cap{text-align:left;background:0 0;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title take";align-items:center;gap:0 8px;padding:0 12px 12px;display:grid}.is-feature .ht-title{text-shadow:none;-webkit-line-clamp:1;grid-area:title;font-size:14px;font-weight:900;line-height:17.5px}.is-feature .ht-by{display:none}.is-feature .ht-take{grid-area:take}.is-feature .ht-take>span{height:32.7px;box-shadow:none;background:linear-gradient(90deg,#4636ef,#e02ab3);padding:0 18.3px;font-size:13.7px;font-weight:500;line-height:18.3px;position:relative}.is-feature .ht-take .ic{display:none}.is-feature .ht-take .ht-gold{transform-origin:0 0;pointer-events:none;width:26.08px;height:31.37px;position:absolute;top:-4.57px;left:calc(100% - .4px);overflow:visible;transform:matrix(.5,.866,-.866,.5,0,0)}.is-feature .ht-len,.is-feature .ht-len.is-label{border-radius:999px;height:25px;padding:0 10px;top:12px;right:10px}.is-feature .ht-len .ic{color:#f472b6}.is-feature .ht-len .ht-kind{display:none}.is-feature .ht-len .ht-ai{display:inline}.is-feature .ht-originals{top:13px;left:12px}.is-feature .ht-original{transform:none}.ht-grid{--gap:12px;grid-auto-rows:auto;row-gap:12px}.ht-card,.ht-card.is-wide{grid-row-end:auto;padding-bottom:0}.ht-card:not(.is-feature) .ht-frame{aspect-ratio:163/288;background:#13131c;border:1px solid #20202e;border-radius:16px;height:auto;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.ht-card.is-wide:not(.is-feature) .ht-frame{aspect-ratio:16/9}.ht-card:not(.is-feature) .ht-cap{text-align:center;background:linear-gradient(#0b0b1000 0%,#0b0b1029 28%,#0b0b108c 62%,#0b0b10f0 100%);flex-direction:column;justify-content:flex-end;align-items:center;gap:0;min-height:60%;padding:24px 10px 10px;display:flex;position:absolute;inset:auto 0 0}.ht-card:not(.is-feature) .ht-title{text-shadow:0 1px 3px #0009;-webkit-line-clamp:2;margin-bottom:2px;font-size:13.5px;font-weight:800;line-height:17.5px}.ht-card:not(.is-feature) .ht-by{color:#ffffffb8;text-overflow:ellipsis;white-space:nowrap;border:0;max-width:100%;margin:0;padding:0;font-size:11px;font-weight:500;line-height:15px;display:block;overflow:hidden}.ht-card:not(.is-feature) .ht-likes{color:inherit;font-size:inherit;font-weight:inherit;display:inline}.ht-card:not(.is-feature) .ht-likes:before{content:" · "}.ht-card:not(.is-feature) .ht-take{align-self:center;max-width:100%;margin-top:8px;position:relative}.ht-card:not(.is-feature) .ht-take.has-sec{max-width:100%}.ht-card:not(.is-feature) .ht-take.has-sec>span{gap:4px;padding:0 10px}.ht-media>.ht-still,.ht-media:hover>.ht-still{filter:none}.ht-play{display:none}.ht-len,.ht-len.is-label{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0009;border:1px solid #ffffff1a;border-radius:6px;align-items:center;gap:4px;height:21px;padding:0 8px;font-size:10px;font-weight:700;line-height:15px;display:inline-flex;top:10px;left:auto;right:10px}.ht-len .ic{width:11px;height:11px;color:var(--accent);stroke-width:2.2px;display:block}.ht-len .ht-time,.ht-len .ht-ai{display:none}.ht-len .ht-kind{display:inline}.ht-card.is-playing .ht-len{display:none}.ht-len+.ht-originals{top:10px}.ht-originals{top:10px;left:10px}.ht-original{transform:rotate(-6deg)}.ht-take,.ht-take.is-free{height:auto;min-height:0;box-shadow:none;background:0 0;border:0;margin:0;padding:0;position:relative}.ht-take:before{content:"";position:absolute;inset:-8px -6px}.ht-take>span{background:var(--accent-deep);color:#fff;white-space:nowrap;border-radius:999px;align-items:center;gap:6px;height:28px;padding:0 14px;font-size:12px;font-weight:700;line-height:16px;display:inline-flex;box-shadow:0 10px 15px -3px #db277766,0 4px 6px -4px #db277766}.ht-card:not(.is-feature) .ht-take>span{max-width:100%}@media (max-width:359px){.ht-card:not(.is-feature) .ht-take>span{gap:4px;padding:0 10px;font-size:11.5px}.ht-card:not(.is-feature) .ht-take.has-sec .ic{display:none}}.ht-take .ic{stroke-width:2.6px;width:12px;height:12px;position:relative;top:.5px}.ht-take em{display:none}}@media (min-width:1024px){.ht-bar{margin:0 calc(var(--frame-gutter) * -1);padding:12px var(--frame-gutter)}.ht-chip{height:34px;padding:0 16px;font-size:13.5px}.home-templates{gap:14px;padding-bottom:28px}.ht-head{align-items:baseline;gap:14px;display:flex}.ht-head h2{font-size:20px}.ht-head p{margin:0;font-size:13.5px}.ht-tabs{margin:0 calc(var(--frame-gutter) * -1);padding:10px var(--frame-gutter)}.ht-tabs button{height:34px;padding:0 16px;font-size:13.5px}.ht-title{font-size:13.5px;line-height:17.5px}.ht-by{font-size:11px}.ht-take{height:30px;font-size:12.5px}.ht-cap{text-align:center;align-items:center;padding:40px 12px 12px}.ht-take{align-self:center}.ht-len{display:none}.ht-len+.ht-originals{top:8px}}.tv-dim{z-index:70;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#000000bd;justify-content:center;align-items:center;padding:16px;animation:.14s ease-out tv-dim;display:flex;position:fixed;inset:0}.tv{aspect-ratio:9/16;border:1px solid var(--line-2);background:#0b0b10;border-radius:20px;max-width:100%;height:88dvh;animation:.16s ease-out tv-in;position:relative;overflow:hidden;box-shadow:0 30px 60px -20px #0009}.tv.is-square{aspect-ratio:1}.tv.is-wide{aspect-ratio:16/9;width:min(960px,90vw);height:auto}.tv-media{cursor:pointer;background:#0b0b10;position:absolute;inset:0;overflow:hidden}.tv-media:before{content:"";background:var(--tv-cover) center/cover no-repeat;filter:blur(28px)brightness(.55)saturate(1.15);position:absolute;inset:-10%}.tv-media>img,.tv-media>video{object-fit:contain;width:100%;height:100%;display:block;position:relative}.tv-flash{z-index:2;color:#fff;pointer-events:none;background:#00000080;border-radius:50%;place-items:center;width:64px;height:64px;margin:-32px 0 0 -32px;animation:.6s ease-out forwards tv-flash;display:grid;position:absolute;top:50%;left:50%}.tv-flash svg{width:28px;height:28px}.tv-top{z-index:2;pointer-events:none;background:linear-gradient(#0000008c,#0000);height:88px;position:absolute;inset:0 0 auto}.tv-close{z-index:4;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000080;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:10px;right:10px}.tv-bottom{z-index:3;pointer-events:none;background:linear-gradient(#0000,#00000073 40%,#000000d1);flex-direction:column;gap:10px;padding:64px 14px 16px;display:flex;position:absolute;inset:auto 0 0}.tv-bottom>*{pointer-events:auto}.tv-tools{justify-content:space-between;align-items:center;gap:10px;display:flex}.tv-sound{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000008c;border-radius:50%;place-items:center;width:40px;height:40px;margin-left:auto;display:grid}.tv-foot{align-items:flex-end;gap:12px;display:flex}.tv-text{flex:1;min-width:0}.tv-text b{color:#fff;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 3px #000000b3;font-size:15px;font-weight:800;display:block;overflow:hidden}.tv-text small{color:#ffffffbf;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 3px #000000b3;margin-top:2px;font-size:12px;display:block;overflow:hidden}.tv-take{background:var(--grad-cta);color:#fff;min-height:44px;box-shadow:var(--shadow-pink);border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 18px;font-size:14px;font-weight:800;display:inline-flex}.tv-take em{font-style:italic;font-weight:900}.tv-take small{font-size:inherit;opacity:.92;font-weight:700}.tv-progress{z-index:4;background:#ffffff2e;height:3px;display:block;position:absolute;inset:auto 0 0}.tv-progress b{background:var(--accent);width:0;height:100%;transition:width .25s linear;display:block}@keyframes tv-dim{0%{opacity:0}to{opacity:1}}@keyframes tv-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}@keyframes tv-flash{0%{opacity:0;transform:scale(.8)}20%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.1)}}@media (max-width:1023px){.tv-dim{align-items:flex-end;padding:0}.tv,.tv.is-wide,.tv.is-square{aspect-ratio:auto;border-bottom:0;border-radius:20px 20px 0 0;width:100%;height:calc(100dvh - 24px)}.tv-bottom{padding-bottom:calc(16px + var(--safe-bottom))}@keyframes tv-in{0%{transform:translateY(40px)}to{transform:none}}}@media (prefers-reduced-motion:reduce){.tv-dim,.tv,.tv-flash{animation:none}.tv-flash{opacity:1}}.tv-refs{flex-direction:column;gap:6px;display:flex}.tv-refs>p{color:#fff;text-shadow:0 1px 3px #000000b3;justify-content:space-between;align-items:baseline;gap:10px;margin:0;font-size:13px;display:flex}.tv-refs>p em{color:#f9a8d4;font-size:11.5px;font-style:normal;font-weight:600}.tv-refs ol{scrollbar-width:none;gap:8px;margin:0;padding:0;list-style:none;display:flex;overflow-x:auto}.tv-refs li{background:#13131c;border:1.5px solid #ffffff40;border-radius:10px;flex:none;width:52px;height:68px;position:relative;overflow:hidden}.tv-refs li.is-slot{border-color:var(--accent)}.tv-refs img{object-fit:cover;width:100%;height:100%;display:block}.tv-refs li>span{height:100%;color:var(--ink-3);place-items:center;font-size:18px;display:grid}.tv-refs small{color:#fff;text-align:center;text-overflow:ellipsis;white-space:nowrap;background:#000000b3;padding:2px 3px;font-size:9.5px;font-weight:700;position:absolute;inset:auto 0 0;overflow:hidden}
