.pl-tie, .pl-exc, .pl-ring, .pl-ba { margin: 0; padding: clamp(18px, 3vw, 26px); border-radius: var(--r); background: var(--surface); box-shadow: var(--ring), var(--sh-1); }
.pl-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-block-end: 16px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.pl-tie-rows, .pl-exc-l, .pl-ba ul { list-style: none; display: grid; gap: 14px; }
.pl-tie-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; }
.pl-tie-l { font-size: .92rem; color: var(--ink-2); }
.pl-tie-r > .pl-v { font-weight: 650; color: var(--ink); }
.pl-bar { grid-column: 1 / -1; grid-row: 2; display: block; block-size: 10px; border-radius: 999px; overflow: hidden; background: var(--mint-2); box-shadow: inset 0 0 0 1px var(--line); }
.pl-bar svg { inline-size: 100%; block-size: 100%; }
.pl-bar rect { fill: var(--sea); }
.pl-bar-b rect { fill: var(--sea-deep); }
.pl-bar-d rect { fill: var(--amber); }
.pl-diff .pl-tie-l, .pl-diff > .pl-v { color: var(--amber); }
[dir="rtl"] .pl-bar svg { transform: scaleX(-1); }
.pl-exc-l { gap: 0; }
.pl-exc-r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding-block: 12px; border-block-end: 1px solid var(--line); }
.pl-exc-r:first-child { padding-block-start: 0; }
.pl-exc-r:last-child { border-block-end: 0; padding-block-end: 0; }
.pl-exc-w { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.pl-exc-r > .pl-v { font-weight: 650; color: var(--ink); }
.pl-st { grid-column: 2 / -1; justify-self: start; display: inline-grid; font-size: .8rem; font-weight: 700; line-height: 1.4; }
.pl-st > span { grid-area: 1 / 1; }
.pl-st-fixed, .pl-st-explained { color: var(--sea-deep); }
.pl-st-a { opacity: 0; color: var(--amber); }
@media (max-width: 560px) {
.pl-exc-r { grid-template-columns: minmax(0, 1fr) auto; }
.pl-exc-w, .pl-st { grid-column: 1 / -1; }
}
.pl-ring { display: grid; gap: 16px; justify-items: center; text-align: center; }
.pl-ring-v { display: grid; place-items: center; inline-size: min(230px, 100%); }
.pl-ring-v > * { grid-area: 1 / 1; }
.pl-ring-v svg { inline-size: 100%; block-size: auto; transform: rotate(-90deg); }
.pl-ring-t, .pl-ring-f, .pl-ring-cv { fill: none; }
.pl-ring-t, .pl-ring-cv { stroke: var(--mint); stroke-width: 11; }
.pl-ring-f { stroke: var(--sea); stroke-width: 9; }
.pl-ring-cv { visibility: hidden; transform-box: view-box; transform-origin: 50% 50%; }
.pl-ring-n { display: grid; gap: 4px; justify-items: center; padding-inline: 18%; }
.pl-ring-c { font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-ring-of { font-size: .84rem; line-height: 1.4; color: var(--muted); }
.pl-ring .pl-cap { margin: 0; justify-content: center; }
.pl-ba-w { display: grid; gap: 14px; }
.pl-ba-s { padding: 14px 16px; border-radius: var(--r-sm); background: var(--canvas-2); box-shadow: inset 0 0 0 1px var(--line); }
.pl-ba-a { box-shadow: inset 0 0 0 1.5px var(--sea); }
.pl-ba-l { margin-block-end: 10px; font-size: .84rem; font-weight: 700; color: var(--muted); }
.pl-ba ul { gap: 8px; }
.pl-ba li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .92rem; color: var(--ink-2); }
.pl-ba li > .pl-v { font-weight: 650; color: var(--ink); }
.pl-ba li.pl-ba-d, .pl-ba li.pl-ba-d > .pl-v { color: var(--amber); }
.pl-ba li.pl-ba-ok { color: var(--sea-deep); font-weight: 650; }
.pl-stmt { position: relative; max-inline-size: 30ch; font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1.3; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
:lang(ar) .pl-stmt { letter-spacing: 0; line-height: 1.5; }
.pl-cp { display: grid; gap: 8px; margin-block: 24px; padding: 16px 18px; border-radius: 16px; background: var(--canvas-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pl-cp-h { font-weight: 700; color: var(--ink); }
.pl-cp-n { font-size: .88rem; color: var(--muted); }
.pl-cp-t { padding: 10px 12px; border-radius: 10px; font-size: .9rem; line-height: 1.55; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); user-select: all; }
.pl-cp-t bdi { overflow-wrap: anywhere; }
.pl-cp-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pl-cp-s { font-size: .86rem; color: var(--sea-deep); }
@media screen and (prefers-reduced-motion: no-preference) {
.js .pl-tie .pl-bar svg { clip-path: inset(0 100% 0 0); }
.js .pl-tie.in .pl-bar svg { clip-path: inset(0); transition: clip-path var(--t-wipe) var(--ease-io); }
.js .pl-tie.in .pl-bar-d svg { transition-delay: var(--t-wipe); }
.js .pl-exc .pl-exc-r { opacity: 0; transform: translateY(6px); }
.js .pl-exc.in .pl-exc-r { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.js .pl-exc.in .pl-exc-r:nth-child(2) { transition-delay: .12s; }
.js .pl-exc.in .pl-exc-r:nth-child(3) { transition-delay: .24s; }
.js .pl-exc.in .pl-exc-r:nth-child(4) { transition-delay: .36s; }
.js .pl-exc.in .pl-exc-r:nth-child(5) { transition-delay: .48s; }
.js .pl-exc.in .pl-st-a { animation: pl-out 1.6s var(--ease) both; }
.js .pl-exc.in [data-from] .pl-st-b { animation: pl-in 1.6s var(--ease) both; }
.js .pl-ring:not(.in) .pl-ring-cv, .js .pl-ring.is-run .pl-ring-cv { visibility: visible; }
.js .pl-ring:not(.in) .pl-ring-c { opacity: 0; }
.js .pl-ba-w > .pl-ba-s { grid-area: 1 / 1; }
.js .pl-ba-a { clip-path: inset(0 calc(50% + 50% * var(--dir)) 0 calc(50% - 50% * var(--dir))); }
.js .pl-ba.in .pl-ba-a { clip-path: inset(0); transition: clip-path 1.6s var(--ease-io); }
@supports (content: "a" / "") {
.js .pl-stmt[data-stmt] { color: var(--muted); }
.js .pl-stmt[data-stmt]::after { content: attr(data-stmt) / ""; position: absolute; inset: 0; color: #0000; background: linear-gradient(calc(90deg * var(--dir)), var(--ink), var(--ink-2)); -webkit-background-clip: text; background-clip: text; clip-path: inset(0 calc(50% + 50% * var(--dir)) 0 calc(50% - 50% * var(--dir))); pointer-events: none; }
.js .pl-stmt[data-stmt].in::after { clip-path: inset(0); transition: clip-path .8s var(--ease-io); }
@supports (animation-timeline: view()) {
.js .pl-stmt[data-stmt] { view-timeline: --pl-stmt block; }
.js .pl-stmt[data-stmt]::after { animation: pl-fill linear both; animation-timeline: --pl-stmt; animation-range: entry 20% cover 50%; transition: none; }
}
}
}
@keyframes pl-out { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pl-in { 0%, 75% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pl-fill { from { clip-path: inset(0 calc(50% + 50% * var(--dir)) 0 calc(50% - 50% * var(--dir))); } to { clip-path: inset(0); } }
