*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1c1c28;background:#fafafc}
header{padding:16px 24px;display:flex;justify-content:space-between;align-items:center}
#lang{padding:8px 10px;border-radius:8px;border:1px solid #ccc;font-size:.95rem}
.logo{font-weight:800;font-size:1.4rem;text-decoration:none;color:#1c1c28}.logo span{color:#e1306c}
.hero{background:linear-gradient(135deg,#833ab4,#e1306c 55%,#fcb045);color:#fff;text-align:center;padding:56px 20px}
.hero h1{margin:0 0 8px;font-size:clamp(1.6rem,4vw,2.6rem)}
form{display:flex;gap:8px;max-width:720px;margin:24px auto 0;flex-wrap:wrap}
input{flex:1 1 280px;padding:14px 16px;border:0;border-radius:10px;font-size:1rem}
button,.btn{padding:14px 20px;border:0;border-radius:10px;font-size:1rem;font-weight:700;cursor:pointer;background:#1c1c28;color:#fff;text-decoration:none;display:inline-block}
#paste{background:#fff;color:#1c1c28}
button:disabled{opacity:.6;cursor:wait}
#msg{min-height:1.4em;font-weight:600}
#result{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:16px}
.card{background:#fff;color:#1c1c28;border-radius:14px;padding:12px;width:240px;box-shadow:0 6px 20px #0003}
.card img,.card video{width:100%;height:240px;object-fit:cover;border-radius:10px;background:#eee}
.card .btn{width:100%;margin-top:10px;background:#e1306c;text-align:center}
.how{max-width:720px;margin:0 auto;padding:40px 20px}
details{background:#fff;border-radius:10px;padding:12px 16px;margin:8px 0;box-shadow:0 1px 4px #0001}
summary{cursor:pointer;font-weight:600}
footer{text-align:center;color:#666;font-size:.85rem;padding:24px}
header nav{display:flex;gap:4px;flex-wrap:wrap}
header nav a{padding:8px 12px;border-radius:8px;text-decoration:none;color:#1c1c28;font-weight:600;font-size:.95rem}
header nav a:hover,header nav a.active{background:#e1306c1a;color:#e1306c}
header{gap:12px;flex-wrap:wrap}
.how{max-width:960px}
.how h2{margin-top:2rem}
.how p,.how li{line-height:1.7}
.crumbs{font-size:.9rem;color:#666;margin-bottom:1rem}.crumbs a{color:#e1306c}
.grid,.tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.box,.tool{background:#fff;border-radius:12px;padding:14px 16px;box-shadow:0 1px 4px #0001}
.box h3{margin:0 0 6px;font-size:1.05rem}.box p{margin:0}
.tool{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}
.tool:hover{box-shadow:0 4px 14px #0002}.tool span{color:#555;font-size:.92rem}
.legal{font-size:.9rem;color:#666;margin-top:2rem}
footer nav{display:flex;gap:6px 16px;justify-content:center;flex-wrap:wrap;margin-bottom:10px}
footer nav a{color:#555;font-size:.9rem}
