/* Glosar · P-DTR (26 nov.). Prefix .gt-pd-. Pagina descrie, nu promite (PAGINA-GLOSAR-P-DTR.md).
   Primul ecran: literele numelui desfăcute în cuvinte (ordinea se inversează în română, culorile o arată), apoi ciclul din definiție. */
.gt-pd { width: 100%; justify-items: stretch; gap: 22px; }
.gt-pd { --pd-p: #fed194; --pd-d: #9fe0d4; --pd-t: #c7a6ff; --pd-r: #f2a79c; }
.gt-pd-name { display: grid; grid-template-columns: auto 30px auto auto auto; align-items: start; justify-content: center; column-gap: clamp(10px, .4rem + 1vw, 22px); }
.gt-pd-l { display: grid; justify-items: center; gap: 8px; text-align: center; }
.gt-pd-l b { font: 500 clamp(4.25rem, 2.6rem + 4.6vw, 7.5rem)/.9 var(--font-display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--c); transition: color 700ms ease; }
.gt-pd-l.is-p { --c: var(--pd-p); } .gt-pd-l.is-d { --c: var(--pd-d); } .gt-pd-l.is-t { --c: var(--pd-t); } .gt-pd-l.is-r { --c: var(--pd-r); }
.gt-pd-dash { align-self: start; margin-top: calc(clamp(4.25rem, 2.6rem + 4.6vw, 7.5rem) * .42); height: 4px; border-radius: 2px; background: var(--hairline-gold); }
.gt-pd-en { font: 500 .8125rem/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: rgb(237 232 223 / .62); }
.gt-pd-ro { padding-top: 6px; border-top: 2px solid var(--c); font: 500 1rem/1.2 var(--font-display); color: #ede8df; }
.gt-pd-tr { margin: 0; text-align: center; font-size: 1rem; line-height: 1.5; color: rgb(237 232 223 / .7); }
.gt-pd-tr span { color: #ede8df; box-shadow: inset 0 -2px 0 var(--c); }
.gt-pd-tr .is-p { --c: var(--pd-p); } .gt-pd-tr .is-d { --c: var(--pd-d); } .gt-pd-tr .is-t { --c: var(--pd-t); } .gt-pd-tr .is-r { --c: var(--pd-r); }

/* ciclul: testează → procedura → retestează, întoarcerea pe arcul de sus („în aceeași ședință”) */
.gt-pd-cyc { position: relative; margin-top: 6px; padding: 66px 0 0; border-radius: 24px; }
.gt-pd-cyc-k { position: absolute; left: 0; right: 0; top: 0; margin: 0; text-align: center; font: 500 .875rem/1.2 var(--font-display); color: #ecc980; }
.gt-pd-cyc svg { position: absolute; left: 16.667%; width: 66.667%; top: 33px; height: 40px; overflow: visible; }
.gt-pd-cyc-l { fill: none; stroke: rgb(237 232 223 / .28); stroke-width: 2; vector-effect: non-scaling-stroke; }
.gt-pd-cyc-p { fill: none; stroke: #5ed0d8; stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 3 100; stroke-dashoffset: 3; opacity: 0; filter: drop-shadow(0 0 6px #5ed0d8); }
.gt-pd-cyc ol { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.gt-pd-cyc li { display: grid; justify-items: center; gap: 4px; padding: 0 6px; text-align: center; }
.gt-pd-cyc li::before { content: ""; width: 14px; height: 14px; margin-bottom: 10px; border-radius: 50%; background: #142429; box-shadow: inset 0 0 0 3px #9fe0d4; }
.gt-pd-cyc li:nth-child(2)::before { box-shadow: inset 0 0 0 3px #fed194; }
.gt-pd-cyc b { font: 500 1.0625rem/1.25 var(--font-display); color: #ede8df; }
.gt-pd-cyc span { font-size: .875rem; line-height: 1.35; color: rgb(237 232 223 / .62); }

/* intrarea: literele se umplu, apoi impulsul parcurge ciclul (o dată la 5 s); mișcarea redusă și ?captura=1 = starea finală */
.mk-js .gt-pd .gt-pd-ro, .mk-js .gt-pd .gt-pd-en { opacity: 0; transform: translateY(6px); transition: opacity 500ms ease, transform 600ms var(--gt-ease); }
.mk-js .gt-pd .is-d :is(.gt-pd-ro, .gt-pd-en) { transition-delay: 150ms; } .mk-js .gt-pd .is-t :is(.gt-pd-ro, .gt-pd-en) { transition-delay: 300ms; }
.mk-js .gt-pd .is-r :is(.gt-pd-ro, .gt-pd-en) { transition-delay: 450ms; }
.mk-js .gt-pd.is-in :is(.gt-pd-ro, .gt-pd-en) { opacity: 1; transform: none; }
.gt-pd.is-in .gt-pd-l b { color: color-mix(in srgb, var(--c) 16%, transparent); }
.mk-js .gt-pd.is-in .gt-pd-cyc-p { animation: gt-pd-run 5s cubic-bezier(.45, 0, .55, 1) 900ms infinite; }
@keyframes gt-pd-run { 0% { stroke-dashoffset: 3; opacity: 0; } 4% { opacity: 1; } 90% { opacity: 1; } 96%, 100% { stroke-dashoffset: -100; opacity: 0; } }
:is(.mk-shot, .rm) .gt-pd :is(.gt-pd-ro, .gt-pd-en) { opacity: 1 !important; transform: none !important; transition: none !important; }
:is(.mk-shot, .rm) .gt-pd .gt-pd-cyc-p { animation: none !important; opacity: 0 !important; }

@media (max-width: 639px) {
  .gt-pd-name { grid-template-columns: auto 16px auto auto auto; column-gap: 8px; }
  .gt-pd-l b { font-size: 3.5rem; -webkit-text-stroke-width: 1.5px; }
  .gt-pd-dash { margin-top: 1.45rem; }
  .gt-pd-en { font-size: .6875rem; }
  .gt-pd-ro { font-size: .875rem; }
  .gt-pd-cyc b { font-size: .9375rem; }
  .gt-pd-cyc span { font-size: .8125rem; }
}
