.lf-tool,.lf-tool *,.lf-demos,.lf-demos *{font-family:"Barlow",-apple-system,"Segoe UI",Arial,sans-serif !important}
.lf-tool{margin:22px 0 30px;border:1px solid #e7dccf;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 10px 30px rgba(60,36,12,.08);font-family:inherit}
.lf-tool__head{padding:14px 18px;background:linear-gradient(100deg,#231e1b 0%,#3a2f28 55%,#7a1020 100%);color:#f6e7d2;font-weight:800;font-size:17px;letter-spacing:.01em}
.lf-tool__head::before{content:"";display:inline-block;width:10px;height:10px;margin-right:10px;border-radius:2px;background:#c9995e;vertical-align:1px}
.lf-tool__in{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:flex-end;padding:16px 18px;border-bottom:1px solid #f0e8de;background:#fbf8f4}
.lf-f{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#4a3f37;font-weight:700;min-width:0}
.lf-f input,.lf-f select{width:200px;max-width:100%;padding:10px 12px;border:2px solid #e2d3c0;border-radius:10px;background:#fff;font-size:17px;font-weight:700;color:#231e1b;font-family:inherit}
.lf-f select{font-size:15px;width:260px}
.lf-f input:focus,.lf-f select:focus{outline:none;border-color:#c9995e}
.lf-tool__out{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:0}
.lf-tool__out>div{padding:14px 16px;border-right:1px solid #f0e8de;border-bottom:1px solid #f0e8de}
.lf-tool__out dt{font-size:12px;color:#7a6c60;line-height:1.35;margin-bottom:6px;font-weight:600}
.lf-tool__out dd{margin:0;font-size:19px;font-weight:800;color:#231e1b;line-height:1.25;word-break:break-word}
.lf-tool__msg{margin:0;padding:10px 18px;background:#fdf1f2;color:#9b0f24;font-size:14px;line-height:1.5}
.lf-tool__note{margin:0;padding:10px 18px 14px;font-size:12px;line-height:1.5;color:#7a6c60}
@media (max-width:600px){.lf-f,.lf-f input,.lf-f select{width:100%}.lf-tool__in{flex-direction:column;align-items:stretch}.lf-tool__out{grid-template-columns:1fr 1fr}.lf-tool__out dd{font-size:17px}}
.lf-demos{margin:18px 0 26px}
.lf-demos__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
@media (max-width:1100px){.lf-demos__grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:640px){.lf-demos__grid{grid-template-columns:repeat(2,1fr)}.lf-demo:nth-child(n+7){display:none}.lf-demos.is-open .lf-demo{display:flex}}
.lf-demo{display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:0 0 10px;background:#fff;border:1px solid #e7dccf;border-radius:14px;cursor:pointer;overflow:hidden;transition:transform .15s,box-shadow .15s;font-family:inherit}
.lf-demo:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(122,16,32,.18)}
.lf-demo.is-more{display:none}
.lf-demos.is-open .lf-demo.is-more{display:flex}
.lf-demo__img{display:block;width:100%;aspect-ratio:1/1;overflow:hidden;background:#f4ede4}
.lf-demo__img img{width:100%;height:100%;object-fit:cover;display:block}
.lf-demo__name{font-size:13px;font-weight:800;color:#231e1b;text-align:center;line-height:1.3;padding:8px 6px 0}
.lf-demo__studio{font-size:11px;color:#8a7b6e;text-align:center}
.lf-demo__play{margin:6px 10px 0;padding:7px 0;border-radius:8px;background:#c8102e;color:#fff;font-size:12px;font-weight:800;letter-spacing:.04em;text-align:center}
.lf-demo:hover .lf-demo__play{background:#231e1b}
.lf-demos__more{display:block;margin:16px auto 0;padding:10px 22px;border:2px solid #c9995e;border-radius:10px;background:#fff;color:#7a5a31;font-weight:800;cursor:pointer;font-family:inherit}
.lf-demos.is-open .lf-demos__more{display:none}
.lf-demos__note{margin-top:12px;font-size:14px;color:#6b5e53}
.lf-demos__modal{position:fixed;inset:0;z-index:9999;background:rgba(20,14,10,.88);display:flex;align-items:center;justify-content:center;padding:16px}
.lf-demos__modal[hidden]{display:none}
.lf-demos__box{width:min(1100px,100%);background:#231e1b;border:1px solid #c9995e;border-radius:14px;overflow:hidden}
.lf-demos__bar{display:flex;align-items:center;gap:12px;padding:10px 14px;color:#fff}
.lf-demos__title{flex:1;font-size:16px;color:#fff !important}
.lf-demos__real{padding:8px 14px;border-radius:8px;background:#c8102e;color:#fff !important;font-weight:800;font-size:13px;text-decoration:none !important}
.lf-demos__close{width:36px;height:36px;border:0;border-radius:8px;background:#3a2f28;color:#fff;font-size:22px;cursor:pointer}
.lf-demos__frame{position:relative;aspect-ratio:16/9;background:#000}
.lf-demos__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:640px){.lf-demos__frame{aspect-ratio:9/16;max-height:78vh}.lf-demos__real{display:none}}
