/* TPD Cursos — usa as classes do tema (tpd-pai-*, sf-series-episode-*, sfj-modal-*). */
.tpdc-archive-title{font-size:1.4rem;margin:6px 0 18px;color:#fff}
.tpdc-card-thumb{position:relative}
.tpdc-check{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#22c55e;color:#fff;font-weight:900;font-size:17px;line-height:1;box-shadow:0 4px 14px rgba(0,0,0,.35)}
.tpdc-check[hidden]{display:none}
.tpdc-card-thumb .tpdc-check,.tpdc-check--card{position:absolute;top:10px;right:10px;z-index:2}
.tpdc-check--title{vertical-align:middle;margin-left:10px;width:34px;height:34px;font-size:19px}
.tpdc-progress{margin-top:10px}
.tpdc-progress-bar{height:6px;border-radius:99px;background:rgba(255,255,255,.14);overflow:hidden}
.tpdc-progress-bar span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#7b61ff,#22c55e);transition:width .3s ease}
.tpdc-progress small{display:block;margin-top:6px;color:rgba(255,255,255,.7);font-size:.82rem;font-weight:700}
.tpdc-progress.is-done small{color:#4ade80}
.tpdc-progress.is-empty small{color:rgba(255,255,255,.55)}
.tpdc-empty{color:#c9c9ce}

.tpdc-single{max-width:1180px;margin:0 auto;padding:18px 24px 64px}
.tpdc-crumbs{font-size:.9rem;color:rgba(255,255,255,.65);margin:0 0 14px}
.tpdc-crumbs a{color:rgba(255,255,255,.85);text-decoration:none}
.tpdc-hero{border-radius:20px;overflow:hidden;aspect-ratio:16/7;background:#111;margin:0 0 24px}
.tpdc-hero img{display:block;width:100%;height:100%;object-fit:cover}
.tpdc-single-body{max-width:860px}
.tpdc-single-title{font-size:clamp(1.9rem,4.4vw,3rem);line-height:1.08;margin:0 0 6px;color:#fff}
.tpdc-single-body .tpdc-progress{max-width:420px;margin:12px 0 20px}
.tpdc-summary{color:#dedede;font-size:1.05rem;line-height:1.7}
.tpdc-aulas{padding-left:0!important;padding-right:0!important;margin-top:34px}
.tpdc-aulas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.tpdc-aulas-grid .sf-series-episode-card{flex:initial!important;width:auto!important;min-width:0!important}
.tpdc-aula-card .sf-series-episode-card-body{min-height:0!important}
.tpdc-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#111;font-size:20px;box-shadow:0 8px 24px rgba(0,0,0,.4);transition:transform .15s ease}
.tpdc-aula-card a:hover .tpdc-play{transform:translate(-50%,-50%) scale(1.08)}
.tpdc-aula-card.is-done .sf-series-episode-card-number{color:#4ade80!important}

.tpdc-modal .sfj-modal-head{padding:14px 18px}
.tpdc-modal-kicker{color:#b79cff;font-weight:800;letter-spacing:.04em;text-transform:uppercase;font-size:.8rem}
.tpdc-modal-title{color:#fff;font-size:1.35rem;line-height:1.25;margin:4px auto 12px;max-width:720px}
.tpdc-modal-text img{max-width:100%;height:auto;border-radius:12px}
.tpdc-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
.tpdc-complete.is-done{background:#22c55e!important;border-color:#22c55e!important;color:#fff!important}
.tpdc-next{background:transparent;border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:999px;padding:11px 18px;font-weight:800;cursor:pointer}
.tpdc-next:hover{background:rgba(255,255,255,.08)}
.tpdc-next[hidden]{display:none}
@media(max-width:700px){.tpdc-single{padding:12px 14px 48px}.tpdc-hero{aspect-ratio:16/9;border-radius:14px}.tpdc-modal-footer{flex-direction:row!important}.tpdc-modal-footer .sf-btn{flex:1}}

/* Código dos pais */
.tpdc-gate{min-height:62vh;display:grid;place-items:center;padding:40px 18px}
.tpdc-gate-card{width:min(460px,100%);background:#161616;border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:30px 26px;color:#e6e6e6;box-shadow:0 24px 70px rgba(0,0,0,.45);text-align:center}
.tpdc-gate-icon{font-size:40px;margin-bottom:6px}
.tpdc-gate-card h1{font-size:1.5rem;color:#fff;margin:0 0 10px}
.tpdc-gate-card p{line-height:1.6;margin:0 0 12px}
.tpdc-gate-adult{background:rgba(245,197,66,.12);border:1px solid rgba(245,197,66,.35);border-radius:12px;padding:10px 12px;color:#ffe08a}
.tpdc-gate-error{background:rgba(239,68,68,.14);border:1px solid rgba(239,68,68,.4);border-radius:12px;padding:10px 12px;color:#fca5a5}
.tpdc-gate-form{display:flex;flex-direction:column;gap:12px;text-align:left;margin:14px 0 8px}
.tpdc-gate-form label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#fff}
.tpdc-gate-form input[type=password]{height:50px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:#0f0f0f;color:#fff;padding:0 14px;font-size:1.1rem}
.tpdc-gate-form .tpdc-pin{letter-spacing:.5em;text-align:center;font-size:1.4rem}
.tpdc-gate-form .tpdc-adult-check{all:unset;display:flex;gap:10px;align-items:flex-start;font-weight:600;color:#ddd;line-height:1.4;cursor:pointer}
.tpdc-gate-btn{justify-content:center;margin-top:4px}
.tpdc-gate-link{font-size:.92rem}
.tpdc-gate-link a{color:#b79cff}

/* Aviso de adulto (cadastro e login) */
.tpdc-adult-note{background:rgba(245,197,66,.12);border:1px solid rgba(245,197,66,.4);color:#ffe08a;border-radius:12px;padding:10px 14px;margin:0 0 16px;font-size:.95rem;line-height:1.5}

/* Plano pago */
.tpdc-lock{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.72);border:1.5px solid #f5c542;font-size:16px}
.tpdc-progress.is-locked small{color:#f5c542}
.tpdc-locked-box{margin:14px 0 20px;padding:14px 16px;border-radius:14px;background:rgba(245,197,66,.1);border:1px solid rgba(245,197,66,.4);display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.tpdc-locked-box p{margin:0;color:#ffe08a}
.tpdc-locked-cover{position:relative}
.tpdc-locked-cover span{position:absolute;inset:0;display:grid;place-items:center;font-size:44px;background:rgba(0,0,0,.45)}
