/* =====================================================================
   PRESTO_LOGIN_V5 — شكل جديد كامل لصفحة الدخول (وصفحة الخروج)
   - جهة برتقالية فيها شعار بريستو ومعاينة حيّة لمركز المحادثات (رسمة أصلية بالكود)
   - جهة النموذج: فاتح/داكن + عربي/English
   ===================================================================== */

:root {
    --l5-bg: #ffffff; --l5-panel: #f6f8fa; --l5-text: #1f2328; --l5-muted: #59636e; --l5-faint: #8c959f;
    --l5-border: #d0d7de; --l5-border-hover: #8c959f; --l5-input: #ffffff;
    --l5-accent: #ff3c00; --l5-accent-hover: #e63600; --l5-accent-soft: rgba(255, 60, 0, .10);
    --l5-err-bg: #ffebe9; --l5-err: #cf222e; --l5-err-border: rgba(207, 34, 46, .3); --l5-caps: #9a6700;
    --psw-bg: #f6f8fa; --psw-border: #d0d7de; --psw-muted: #59636e; --psw-surface: #ffffff;
}
html[data-presto-theme="dark"] {
    --l5-bg: #0d1117; --l5-panel: #161b22; --l5-text: #e6edf3; --l5-muted: #8d96a0; --l5-faint: #6e7681;
    --l5-border: #30363d; --l5-border-hover: #6e7681; --l5-input: #0d1117;
    --l5-accent-soft: rgba(255, 60, 0, .16);
    --l5-err-bg: rgba(248, 81, 73, .12); --l5-err: #ff9b95; --l5-err-border: rgba(248, 81, 73, .35); --l5-caps: #e3b341;
    --psw-bg: #161b22; --psw-border: #30363d; --psw-muted: #9da7b3; --psw-surface: #2d333b;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.pl5-page {
    min-height: 100vh; background: var(--l5-bg); color: var(--l5-text);
    font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased; transition: background-color .35s ease, color .35s ease;
}
.pl5-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pl5-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }

/* =================================================== جهة النموذج */
.pl5-side { position: relative; display: flex; flex-direction: column; padding: 22px 28px; background: var(--l5-bg); transition: background-color .35s ease; }
.pl5-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pl5-logo { display: inline-flex; align-items: center; gap: 4px; direction: ltr; text-decoration: none; }
.pl5-logo img { width: 30px; height: auto; }
.pl5-logo span { display: flex; flex-direction: column; line-height: 1; }
.pl5-logo strong { color: #ff3000; font-size: 24px; font-weight: 800; }
.pl5-logo small { margin-top: 3px; color: #ff3c00; font-size: 11px; font-weight: 500; }
.pl5-tools { display: flex; align-items: center; gap: 10px; }

.pl5-main { flex: 1; display: grid; place-items: center; padding: 28px 0; }
.pl5-card { width: 100%; max-width: 380px; animation: pl5In .45s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes pl5In { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pl5-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; background: var(--l5-accent-soft); color: var(--l5-accent); font-size: 12px; font-weight: 800; }
.pl5-kicker i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(255, 60, 0, .2); animation: pl5Blink 2s ease-in-out infinite; }
@keyframes pl5Blink { 50% { box-shadow: 0 0 0 6px rgba(255, 60, 0, 0); } }
.pl5-title { margin: 0 0 6px; font-size: 30px; font-weight: 800; line-height: 1.3; color: var(--l5-text); }
.pl5-sub { margin: 0 0 26px; font-size: 14.5px; line-height: 1.7; color: var(--l5-muted); }

.pl5-error { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--l5-err-border); background: var(--l5-err-bg); color: var(--l5-err); font-size: 13.5px; font-weight: 600; line-height: 1.6; animation: pl5Shake .35s ease both; }
.pl5-error svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@keyframes pl5Shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }

.pl5-form { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pl5-field { display: flex; flex-direction: column; gap: 7px; }
.pl5-field > label { font-size: 13px; font-weight: 700; color: var(--l5-text); }
.pl5-input { position: relative; display: flex; align-items: center; }
.pl5-input > svg.pl5-lead { position: absolute; inset-inline-start: 13px; width: 18px; height: 18px; fill: none; stroke: var(--l5-faint); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .15s ease; }
.pl5-input input {
    width: 100%; height: 48px; margin: 0; padding: 0 14px;
    border: 1.5px solid var(--l5-border); border-radius: 12px; background: var(--l5-input); color: var(--l5-text);
    font: 500 15px/1 inherit; outline: 0; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease, background-color .35s ease;
}
.pl5-input input::placeholder { color: var(--l5-faint); font-weight: 400; }
.pl5-input input:hover { border-color: var(--l5-border-hover); }
.pl5-input input:focus { border-color: var(--l5-accent); box-shadow: 0 0 0 4px var(--l5-accent-soft); }
.pl5-input:focus-within > svg.pl5-lead { stroke: var(--l5-accent); }
.pl5-input input[dir="ltr"] { text-align: left; }
html[dir="rtl"] .pl5-input input[dir="ltr"]:placeholder-shown { text-align: right; }
.pl5-input input:-webkit-autofill { -webkit-text-fill-color: var(--l5-text); -webkit-box-shadow: 0 0 0 40px var(--l5-input) inset; caret-color: var(--l5-text); }
html[dir="rtl"] .pl5-input input { padding-right: 42px; }
html[dir="ltr"] .pl5-input input { padding-left: 42px; }
html[dir="rtl"] .pl5-input--pw input { padding-left: 48px; }
html[dir="ltr"] .pl5-input--pw input { padding-right: 48px; }
.pl5-eye { position: absolute; inset-inline-end: 6px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--l5-faint); cursor: pointer; }
.pl5-eye:hover { color: var(--l5-accent); background: var(--l5-accent-soft); }
.pl5-eye svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pl5-eye .eye-open, .pl5-eye[aria-pressed="true"] .eye-closed { display: none; }
.pl5-eye[aria-pressed="true"] .eye-open { display: block; }
.pl5-caps { display: flex; align-items: center; gap: 6px; margin-top: -4px; color: var(--l5-caps); font-size: 12.5px; font-weight: 600; }
.pl5-caps[hidden] { display: none; }
.pl5-caps svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

.pl5-submit {
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 50px; margin-top: 6px; padding: 0 18px; border: 0; border-radius: 12px;
    background: linear-gradient(135deg, #ff6a2b 0%, #ff3c00 55%, #e83500 100%); color: #fff;
    font: 800 15.5px/1 inherit; cursor: pointer; text-decoration: none;
    box-shadow: 0 10px 22px -8px rgba(255, 60, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .15s ease, box-shadow .2s ease, filter .15s ease;
}
.pl5-submit::before { content: ""; position: absolute; inset: -40% auto -40% -50%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg) translateX(-140%); }
.pl5-submit:hover::before { animation: pl5Shine .8s ease; }
@keyframes pl5Shine { to { transform: skewX(-20deg) translateX(420%); } }
.pl5-submit:hover { box-shadow: 0 14px 26px -8px rgba(255, 60, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.pl5-submit:active { transform: scale(.985); }
.pl5-submit:focus-visible, .pl5-eye:focus-visible, .pl5-input input:focus-visible { outline: 2px solid var(--l5-accent); outline-offset: 3px; }
.pl5-submit .pl5-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
html[dir="rtl"] .pl5-submit .pl5-arrow { transform: scaleX(-1); }
.pl5-submit:hover .pl5-arrow { transform: translateX(3px); }
html[dir="rtl"] .pl5-submit:hover .pl5-arrow { transform: scaleX(-1) translateX(3px); }
.pl5-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: pl5Spin .7s linear infinite; }
.pl5-submit.is-loading .pl5-spinner { display: block; }
.pl5-submit.is-loading .pl5-arrow { display: none; }
.pl5-submit.is-loading { cursor: progress; }
@keyframes pl5Spin { to { transform: rotate(360deg); } }

.pl5-help { margin: 18px 0 0; display: flex; align-items: center; gap: 8px; color: var(--l5-muted); font-size: 12.5px; line-height: 1.6; }
.pl5-help svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pl5-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--l5-faint); font-size: 12px; }
.pl5-foot .pl5-flag { display: inline-flex; align-items: center; gap: 7px; }
.pl5-foot svg { width: 16px; height: 16px; border-radius: 50%; }

/* صفحة الخروج */
.pl5-bye { text-align: center; }
.pl5-bye .pl5-sub { margin-inline: auto; max-width: 330px; }
.pl5-check { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--l5-accent-soft); }
.pl5-check::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 60, 0, .25); animation: pl5Ring 2.4s ease-out infinite; }
.pl5-check svg { width: 42px; height: 42px; fill: none; stroke: var(--l5-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pl5-check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: pl5Draw .55s .15s ease forwards; }
@keyframes pl5Draw { to { stroke-dashoffset: 0; } }
@keyframes pl5Ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.pl5-bye .pl5-help { justify-content: center; }

.pl5-i18n { transition: opacity .18s ease; }
html.pl5-switching .pl5-i18n { opacity: 0; }

/* =================================================== الجهة البرتقالية */
.pl5-brand {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    padding: 30px 40px 40px; color: #fff;
    background: radial-gradient(900px 500px at 15% -10%, #ff8a3d 0%, transparent 60%), linear-gradient(150deg, #ff5a1f 0%, #ff3c00 45%, #c42e00 100%);
}
html[data-presto-theme="dark"] .pl5-brand { background: radial-gradient(900px 500px at 15% -10%, #e2601f 0%, transparent 60%), linear-gradient(150deg, #e14a12 0%, #c93400 45%, #7a1f00 100%); }
.pl5-brand::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: radial-gradient(#fff 1px, transparent 1.3px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.pl5-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .45; animation: pl5Drift 14s ease-in-out infinite alternate; }
.pl5-blob--a { width: 340px; height: 340px; background: #ffb067; top: -80px; inset-inline-end: -60px; }
.pl5-blob--b { width: 280px; height: 280px; background: #ff2a00; bottom: -90px; inset-inline-start: -70px; animation-delay: -6s; }
@keyframes pl5Drift { to { transform: translate(30px, 24px) scale(1.08); } }
.pl5-watermark { position: absolute; width: 420px; height: auto; bottom: -70px; inset-inline-end: -60px; filter: brightness(0) invert(1); opacity: .07; transform: rotate(-12deg); pointer-events: none; }

.pl5-brand-top { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; direction: ltr; align-self: flex-start; }
html[dir="rtl"] .pl5-brand-top { align-self: flex-end; }
.pl5-brand-top img { width: 26px; height: auto; filter: brightness(0) invert(1); }
.pl5-brand-top span { display: flex; flex-direction: column; line-height: 1.1; }
.pl5-brand-top strong { font-size: 17px; font-weight: 800; letter-spacing: .2px; }
.pl5-brand-top small { font-size: 11px; opacity: .85; letter-spacing: .4px; }

.pl5-stage { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; min-height: 360px; }
.pl5-window {
    width: min(360px, 92%); border-radius: 20px; overflow: hidden; background: #ffffff; color: #111b21;
    box-shadow: 0 30px 60px -18px rgba(70, 16, 0, .55), 0 0 0 1px rgba(255, 255, 255, .25);
    animation: pl5Rise .6s .1s cubic-bezier(.2, .8, .3, 1) both;
}
html[data-presto-theme="dark"] .pl5-window { background: #161b22; color: #e6edf3; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
@keyframes pl5Rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.pl5-win-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
html[data-presto-theme="dark"] .pl5-win-head { border-color: rgba(255, 255, 255, .08); }
.pl5-win-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fde7da; color: #b2401a; font-weight: 800; }
.pl5-win-who { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.pl5-win-who b { font-size: 14px; }
.pl5-win-who small { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #1a7f37; font-weight: 700; }
.pl5-win-who small i { width: 6px; height: 6px; border-radius: 50%; background: #25d366; }
.pl5-win-dots { display: flex; gap: 3px; }
.pl5-win-dots i { width: 4px; height: 4px; border-radius: 50%; background: #8c959f; }
.pl5-win-body {
    display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 196px;
    background: #efeae2 radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px) 0 0 / 14px 14px;
}
html[data-presto-theme="dark"] .pl5-win-body { background: #0b141a radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 14px 14px; }
.pl5-msg { max-width: 82%; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 9px; border-radius: 10px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); opacity: 0; }
.pl5-win-body.is-play .pl5-msg { animation: pl5Pop .35s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.pl5-msg--in { align-self: flex-start; background: #ffffff; border-start-start-radius: 3px; }
.pl5-msg--out { align-self: flex-end; background: #d9fdd3; border-start-end-radius: 3px; }
html[data-presto-theme="dark"] .pl5-msg--in { background: #202c33; }
html[data-presto-theme="dark"] .pl5-msg--out { background: #005c4b; }
.pl5-msg small { display: block; margin-top: -2px; align-self: flex-end; font-size: 10px; line-height: 1; color: #53bdeb; letter-spacing: -1px; }
.pl5-win-body.is-play .pl5-msg:nth-child(1) { animation-delay: .4s; }
.pl5-win-body.is-play .pl5-msg:nth-child(2) { animation-delay: 1.3s; }
.pl5-win-body.is-play .pl5-msg:nth-child(3) { animation-delay: 2.3s; }
.pl5-win-body.is-play .pl5-msg:nth-child(4) { animation-delay: 3.1s; }
@keyframes pl5Pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.pl5-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 9px 12px; border-radius: 10px; background: #ffffff; opacity: 0; }
.pl5-win-body.is-play .pl5-typing { animation: pl5Pop .3s 4s forwards; }
html[data-presto-theme="dark"] .pl5-typing { background: #202c33; }
.pl5-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, .35); animation: pl5Dot 1.2s ease-in-out infinite; }
html[data-presto-theme="dark"] .pl5-typing i { background: rgba(255, 255, 255, .55); }
.pl5-typing i:nth-child(2) { animation-delay: .15s; }
.pl5-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pl5Dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.pl5-win-compose { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px; padding: 9px 9px 9px 14px; padding-inline-start: 14px; border-radius: 12px; background: #f0f2f5; color: #8696a0; font-size: 12.5px; }
html[data-presto-theme="dark"] .pl5-win-compose { background: #202c33; }
.pl5-win-compose b { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #ff6a2b, #ff3c00); box-shadow: 0 4px 10px -3px rgba(255, 60, 0, .6); }

.pl5-float {
    position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
    border-radius: 14px; background: rgba(255, 255, 255, .96); color: #1f2328; box-shadow: 0 16px 32px -12px rgba(70, 16, 0, .5);
    animation: pl5Rise .6s cubic-bezier(.2, .8, .3, 1) both, pl5Float 6s ease-in-out infinite;
}
html[data-presto-theme="dark"] .pl5-float { background: rgba(22, 27, 34, .96); color: #e6edf3; }
.pl5-float span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.pl5-float b { font-size: 13px; font-weight: 800; }
.pl5-float small { font-size: 11px; color: #59636e; direction: ltr; unicode-bidi: isolate; }
html[data-presto-theme="dark"] .pl5-float small { color: #8d96a0; }
.pl5-float--note { top: 7%; inset-inline-start: 0; animation-delay: .7s, 0s; }
.pl5-float--team { bottom: 8%; inset-inline-end: 0; animation-delay: 1s, -3s; }
@keyframes pl5Float { 50% { transform: translateY(-8px); } }
.pl5-float-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 60, 0, .12); color: #ff3c00; }
.pl5-float-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.pl5-float-ico--green { background: rgba(37, 211, 102, .15); color: #1a9e4b; position: relative; }
.pl5-float-ico--green::after { content: ""; position: absolute; inset: 0; border-radius: 10px; border: 2px solid rgba(37, 211, 102, .5); animation: pl5Ring 1.8s ease-out infinite; }

.pl5-brand-copy { position: relative; z-index: 1; max-width: 460px; }
.pl5-brand-copy h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; line-height: 1.45; }
.pl5-brand-copy p { margin: 0; font-size: 14.5px; line-height: 1.7; opacity: .9; }

/* PRESTO_LOGIN_V5_ART2 — رسايل مخفية (خطوط بدل النص) + كروت جديدة */
.pl5-sk { display: block; height: 8px; border-radius: 999px; background: rgba(17, 27, 33, .13); }
.pl5-msg--out .pl5-sk { background: rgba(17, 27, 33, .15); }
html[data-presto-theme="dark"] .pl5-sk { background: rgba(255, 255, 255, .16); }
html[data-presto-theme="dark"] .pl5-msg--out .pl5-sk { background: rgba(255, 255, 255, .22); }
.pl5-sk--name { width: 64px; height: 9px; margin: 3px 0 5px; background: rgba(17, 27, 33, .22); }
html[data-presto-theme="dark"] .pl5-sk--name { background: rgba(255, 255, 255, .28); }
.pl5-sk--compose { width: 110px; height: 8px; background: rgba(134, 150, 160, .35); }
.pl5-win-avatar svg, .pl5-team-av svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pl5-win-compose b { display: grid; place-items: center; color: #fff; }
.pl5-win-compose b svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .pl5-win-compose b svg { transform: scaleX(-1); }

.pl5-float-ico--wa { position: relative; background: rgba(37, 211, 102, .15); color: #1a9e4b; }
.pl5-badge { position: absolute; top: -4px; inset-inline-end: -4px; width: 12px; height: 12px; border-radius: 50%; background: #ff3c00; border: 2px solid #fff; animation: pl5Badge 2s ease-in-out infinite; }
html[data-presto-theme="dark"] .pl5-badge { border-color: #161b22; }
@keyframes pl5Badge { 50% { transform: scale(1.18); } }
.pl5-lines { display: flex !important; flex-direction: column; gap: 7px !important; padding: 2px 4px 2px 0; }
.pl5-lines i { display: block; height: 8px; border-radius: 999px; background: rgba(31, 35, 40, .14); }
.pl5-lines i:first-child { background: rgba(31, 35, 40, .26); }
html[data-presto-theme="dark"] .pl5-lines i { background: rgba(255, 255, 255, .16); }
html[data-presto-theme="dark"] .pl5-lines i:first-child { background: rgba(255, 255, 255, .3); }

.pl5-team { display: inline-flex; direction: ltr; padding-inline-start: 2px; }
.pl5-team-av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; color: #fff; }
.pl5-team-av:first-child { margin-left: 0; }
html[data-presto-theme="dark"] .pl5-team-av { border-color: #161b22; }
.pl5-team-av svg { width: 17px; height: 17px; }
.pl5-float .pl5-team-av { display: grid !important; }
.pl5-team-text small span { display: inline !important; }
.pl5-team-av--a { background: #ff6a2b; }
.pl5-team-av--b { background: #2da44e; }
.pl5-team-av--c { background: #3b82f6; }
.pl5-team-text { display: flex; flex-direction: column; line-height: 1.3; }
.pl5-team-text small { display: inline-flex !important; align-items: center; gap: 5px; direction: inherit !important; color: #1a7f37 !important; font-weight: 700; }
html[data-presto-theme="dark"] .pl5-team-text small { color: #3fb950 !important; }
.pl5-team-text small i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pl5Blink 2s ease-in-out infinite; box-shadow: 0 0 0 3px rgba(46, 164, 78, .2); }

/* =================================================== موبايل */
@media (max-width: 960px) {
    .pl5-shell { grid-template-columns: 1fr; }
    .pl5-brand { display: none; }
}
@media (max-width: 480px) {
    .pl5-side { padding: 16px 18px; }
    .pl5-title { font-size: 25px; }
    .pl5-logo strong { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .pl5-card, .pl5-window, .pl5-float, .pl5-msg, .pl5-win-body .pl5-msg, .pl5-typing, .pl5-win-body .pl5-typing, .pl5-badge, .pl5-team-text small i, .pl5-blob, .pl5-error, .pl5-check::before, .pl5-float-ico--green::after, .pl5-kicker i { animation: none !important; opacity: 1 !important; }
    .pl5-check svg path { animation: none; stroke-dashoffset: 0; }
}
