/* Podstrona „Kampanie Meta Ads”. Wymaga site.css, strony.css (types, scope), sklepy.css (flow, nums, cstep). */
/* --- demo: od reklamy do arkusza --- */
.adsdemo{display:grid;gap:clamp(2rem,4vw,4rem);grid-template-columns:1fr;align-items:center;margin-top:clamp(3rem,5vw,4.5rem)}
@media (min-width:1024px){.adsdemo{grid-template-columns:minmax(0,4fr) minmax(0,5fr) minmax(0,3fr)}}
.ph{position:relative;width:min(100%,250px);aspect-ratio:9/18;margin-inline:auto;border-radius:28px;border:1px solid rgb(255 255 255 / .16);background:#0d0e12;overflow:hidden;box-shadow:0 40px 80px -40px rgb(0 0 0 / .85);font-size:10px;line-height:1.3;color:rgb(250 250 250 / .8)}
.ph__top{display:flex;justify-content:space-between;padding:10px 14px 6px;color:rgb(250 250 250 / .55)}
.ph__post{margin:6px 10px;border-radius:12px;border:1px solid rgb(255 255 255 / .1);background:rgb(255 255 255 / .03);overflow:hidden}
.ph__head{display:flex;align-items:center;gap:8px;padding:8px 10px}
.ph__head i{width:22px;height:22px;border-radius:50%;background:var(--accent)}
.ph__head b{display:block;color:var(--fg);font-weight:500}
.ph__head span{display:block;color:rgb(250 250 250 / .5);font-size:9px}
.ph__img{aspect-ratio:4/5;background:linear-gradient(160deg,rgb(115 96 223 / .45),rgb(255 255 255 / .05) 60%,rgb(115 96 223 / .15));display:grid;align-content:end;padding:12px}
.ph__img b{font-size:15px;line-height:1.1;letter-spacing:-.02em;color:var(--fg);font-weight:500;max-width:12ch}
.ph__cta{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;border-top:1px solid rgb(255 255 255 / .08)}
.ph__cta span{color:rgb(250 250 250 / .6)}
.ph__btn{height:22px;padding:0 10px;border-radius:6px;background:var(--accent);color:#fff;font-weight:500;display:inline-flex;align-items:center;transition:scale 200ms var(--ease-out)}
.ph.tap .ph__btn{scale:.94}
.ph__sheet{position:absolute;left:0;right:0;bottom:0;padding:14px;border-radius:18px 18px 0 0;background:#14151b;border-top:1px solid rgb(255 255 255 / .14);translate:0 105%;transition:translate 480ms var(--ease-out)}
.ph.form .ph__sheet{translate:0 0}
.ph__sheet b{display:block;color:var(--fg);font-weight:500;font-size:12px;margin-bottom:8px}
.ph__field{display:grid;gap:3px;margin-bottom:8px}
.ph__field small{color:rgb(250 250 250 / .5)}
.ph__field span{height:26px;border-radius:6px;border:1px solid rgb(255 255 255 / .14);background:rgb(8 9 10 / .7);display:flex;align-items:center;padding:0 8px;color:var(--fg)}
.ph__send{height:28px;border-radius:8px;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:500;margin-top:4px}
.ph__done{position:absolute;inset:0;display:grid;place-items:center;text-align:center;background:#0d0e12;opacity:0;transition:opacity 360ms var(--ease-out);padding:20px}
.ph.done .ph__done{opacity:1}
.ph__done i{width:34px;height:34px;border-radius:50%;background:var(--accent);display:block;margin:0 auto 10px;position:relative}
.ph__done i::after{content:"";position:absolute;left:12px;top:8px;width:7px;height:13px;border-right:2px solid #fff;border-bottom:2px solid #fff;rotate:45deg}
.ph__done b{display:block;color:var(--fg);font-size:13px;font-weight:500}
/* arkusz kontaktów */
.sheet{border:1px solid rgb(255 255 255 / .14);border-radius:12px;background:#0d0e12;overflow:hidden;font-size:.8125rem;box-shadow:0 30px 60px -40px rgb(0 0 0 / .8)}
.sheet__head{display:flex;justify-content:space-between;align-items:center;padding:.7rem 1rem;border-bottom:1px solid rgb(255 255 255 / .1);color:var(--fg-faint);font-size:.75rem;letter-spacing:var(--tr-label);text-transform:uppercase}
.sheet table{width:100%;border-collapse:collapse}
.sheet th,.sheet td{text-align:left;padding:.6rem 1rem;border-bottom:1px solid rgb(255 255 255 / .06);white-space:nowrap}
.sheet th{font-weight:500;color:var(--fg-faint);font-size:.75rem;letter-spacing:.04em;text-transform:uppercase}
.sheet td{color:var(--fg-muted)}
.sheet td:first-child{color:var(--fg)}
.sheet tr.new{opacity:0;translate:0 6px;transition:opacity 420ms var(--ease-out),translate 420ms var(--ease-out),background 600ms var(--ease-soft)}
.sheet tr.new.is-in{opacity:1;translate:0 0;background:rgb(115 96 223 / .12)}
.sheet tr.new.is-in.settle{background:transparent}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;border:1px solid rgb(255 255 255 / .14);font-size:.75rem;color:var(--fg-muted);transition:border-color 300ms var(--ease-soft),color 300ms var(--ease-soft)}
.tag.ok{border-color:rgb(115 96 223 / .6);color:var(--fg)}
.sheet__note{padding:.6rem 1rem;font-size:.75rem;color:var(--fg-faint);border-top:1px solid rgb(255 255 255 / .06)}
.sheet{overflow-x:auto}
@media (max-width:639px){.sheet th:nth-child(2),.sheet td:nth-child(2){display:none}.sheet th,.sheet td{padding-inline:.75rem}.sheet__head{flex-wrap:wrap;gap:.25rem .75rem}}
/* --- kreacje: trzy telefony z prawdziwymi plakatami --- */
.creatives{display:grid;gap:clamp(1rem,2vw,1.5rem);margin-top:clamp(3rem,5vw,4.5rem);grid-template-columns:repeat(3,1fr);align-items:end}
.creative{display:grid;gap:.75rem;justify-items:center;text-align:center}
.creative .reel{width:min(100%,190px)}
.creative b{font-weight:500;font-size:.9375rem}
.creative span{font-size:.8125rem;color:var(--fg-faint)}
@media (max-width:639px){.creatives{grid-template-columns:1fr 1fr}.creative:last-child{grid-column:1/-1}}
.creatives-notes{display:grid;gap:0;margin-top:2rem}
.creatives-notes div{padding:.9rem 0;border-top:1px solid var(--hairline);font-size:.9375rem;color:var(--fg-muted)}
.creatives-notes div:last-child{border-bottom:1px solid var(--hairline)}
.creatives-notes b{display:block;font-weight:500;color:var(--fg)}
/* --- warunki --- */
.terms{display:grid;gap:1px;margin-top:clamp(3rem,5vw,4.5rem);grid-template-columns:1fr;background:var(--hairline);border:1px solid var(--hairline);border-radius:var(--r-md);overflow:hidden}
@media (min-width:640px){.terms{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.terms{grid-template-columns:repeat(4,1fr)}}
.terms div{background:var(--bg);padding:1.35rem;min-height:11rem;display:flex;flex-direction:column;gap:.5rem}
.terms b{font-weight:500;font-size:1.125rem;letter-spacing:-.015em;margin-top:auto}
.terms p{font-size:.9rem;max-width:none}
