/* «Раскраска из фото» (30.11.2026) */
.rp{font-family:"Nunito","Segoe UI",-apple-system,Arial,sans-serif;color:#2b2e31}
.rp-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:260px;border:3px dashed #b8d9f2;border-radius:26px;background:linear-gradient(135deg,#fff7ef,#eef7ff);cursor:pointer;text-align:center;padding:24px;transition:border-color .2s,transform .2s}
.rp-drop:hover,.rp-drop.over{border-color:#F0632C;transform:scale(1.01)}
.rp-drop input{display:none}.rp-ic{font-size:64px;line-height:1}.rp-drop b{font-size:22px}.rp-drop small{color:#7b8794;max-width:420px}
.rp-pics{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.rp-pics figure{margin:0;background:#fff;border:1px solid #e6eef8;border-radius:20px;padding:10px;text-align:center}
.rp-pics img,.rp-pics canvas{max-width:100%;max-height:520px;width:auto;height:auto;border-radius:12px;display:block;margin:0 auto}
.rp-pics figcaption{font-weight:800;color:#7b8794;margin-top:6px}
.rp-ctl{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:16px 0;background:#fff;border:1px solid #e6eef8;border-radius:18px;padding:12px 16px;font-weight:700}
.rp-ctl label{display:flex;align-items:center;gap:8px}.rp-ctl input[type=range]{accent-color:#F0632C;width:160px}
.rp-btns{display:flex;flex-wrap:wrap;gap:10px}
.rp-b{border:0;border-radius:16px;padding:13px 20px;background:linear-gradient(135deg,#ff8a50,#F0632C);color:#fff;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 6px 16px rgba(240,99,44,.3)}
.rp-b.ghost{background:#eef3fa;color:#2b2e31;box-shadow:none}
@media (max-width:760px){.rp-pics{grid-template-columns:1fr}.rp-ctl input[type=range]{width:120px}}
.rp [hidden]{display:none!important}
