/* ===== v26 · Practice, the live feed cards, and the extra grammar practice ===== */

/* ---------- Practice ---------- */
.prtop .stats{margin:10px 0 8px}
.prnote{display:flex;gap:8px;align-items:flex-start;background:#fff6e0;border-radius:14px;padding:10px 12px;color:#8a5a00;font-size:.88rem;line-height:1.5}
.prnote .i{flex:none;width:18px;height:18px;margin-top:2px}
.prg{display:grid;gap:14px;width:100%;max-width:520px}
@media(min-width:900px){.prg{max-width:1080px;grid-template-columns:1fr 1fr}.prg .card{max-width:none}}
.prc{margin-bottom:0;border-top:4px solid var(--blue-d)}
.prh{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px}
.pri{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#2878e6,#7c5cff);color:#fff}
.pri .i{width:22px;height:22px}
.pri.big{width:54px;height:54px}.pri.big .i{width:28px;height:28px}
.prhead .hd{display:flex;gap:12px;align-items:center;margin-bottom:10px}
.prhead h2{margin:0;font-size:1.25rem}
.prq .prsent{font-size:1.12rem;line-height:1.75;margin:10px 0 12px}
.gap2{display:inline-block;min-width:90px;border-bottom:3px solid var(--blue-d);color:var(--blue-d);font-weight:800}
.fi.big{font-size:1.05rem;padding:12px 14px}
.fi.good,.cxar.good{border-color:#4fd1a5}
.fi.bad,.cxar.bad{border-color:#ff7a8a}
.prfb{margin-top:10px;padding:10px 12px;border-radius:14px;font-weight:600;line-height:1.55}
.prfb.good{background:#e3f8f0;color:#13866a}
.prfb.bad{background:#fdecef;color:#c3485c}
.prfull{margin-top:6px;font-weight:500;opacity:.9}
.prfb .trl{margin-top:4px;font-weight:500;opacity:.85}
.prres{text-align:center}
.prres .prbig{font-size:3.2rem;line-height:1;margin:4px 0 6px}
.prres h3{margin:0 0 4px}
.prres .stats{margin:12px 0}
.prres.win{background:linear-gradient(180deg,#f3fff9,var(--card))}
.prres .row{margin-top:10px}

/* matching */
.mcols{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.mcol{display:grid;gap:8px;align-content:start}
.mitem{padding:12px 10px;border-radius:14px;border:2px solid #dbe7ff;background:#fff;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;line-height:1.35;text-align:center;transition:transform .12s,background .15s,border-color .15s}
.mitem.r{font-weight:600;background:#f7faff}
.mitem.sel{border-color:var(--blue-d);background:#e8f1ff;transform:scale(.98)}
.mitem.ok{border-color:#4fd1a5;background:#e3f8f0;color:#13866a;opacity:.75}
.mitem.bad{border-color:#ff7a8a;background:#fdecef;animation:shk .35s}
@keyframes shk{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}

/* listen and read */
.qlines{margin:12px 0;display:grid;gap:8px}
.qln{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:14px;background:#f7faff;border:2px solid transparent;line-height:1.6}
.qln.a{background:#fff6e0}
.qln.on{border-color:var(--blue-d);background:#e8f1ff}
.qwho{flex:none;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:3px 7px;border-radius:99px;background:#dbe7ff;color:var(--blue-d);margin-top:2px}
.qln.a .qwho{background:#ffe3b0;color:#8a5a00}
.qw{transition:background .12s;border-radius:4px;padding:0 1px}
.qw.say{background:#ffe27a;font-weight:700}
.rdbody p{line-height:1.85;margin:0 0 12px}
.prtext{background:linear-gradient(180deg,#fffef9,var(--card))}

/* ---------- live cards in the feed ---------- */
.fl{border-top:4px solid var(--violet)}
.flh{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.fli{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2878e6,#7c5cff)}
.fli .i{width:20px;height:20px}
.fli.f{background:linear-gradient(135deg,#ff9f1c,#ffcf4d);color:#3b2400}
.fli.d{background:linear-gradient(135deg,#4fd1a5,#17a98c)}
.flp{padding:10px 12px;border-radius:14px;background:#f7faff;margin-bottom:8px}
.flp b{font-size:1.05rem}
.flp .trl{color:var(--mut);margin-top:2px}
.flex2{margin-top:6px;font-style:italic;opacity:.85;line-height:1.55}
.flpair{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.flpair b{font-size:1.02rem}
.cxt{flex:none;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:99px;background:#e8f1ff;color:var(--blue-d)}
.cxt.f{background:#ffe3b0;color:#8a5a00}
.flff .trl{margin:2px 0 4px;color:var(--mut)}
.fldlg{display:grid;gap:8px;margin-bottom:10px}
.fll{display:flex;gap:8px;align-items:flex-start;padding:9px 11px;border-radius:14px;background:#f7faff;border:2px solid transparent;line-height:1.5}
.fll.b{background:#fff6e0}
.fll.on{border-color:var(--blue-d)}
.fll .trl{color:var(--mut);font-size:.9rem;margin-top:2px}
.flw{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;font-weight:800;background:#dbe7ff;color:var(--blue-d)}
.fll.b .flw{background:#ffe3b0;color:#8a5a00}
.fllock{background:linear-gradient(180deg,#fffaf0,var(--card));border-top-color:#ff9f1c}
.fllock .fli{background:linear-gradient(135deg,#ffcf4d,#ff9f1c);color:#3b2400}

/* ---------- achievement posts ---------- */
.post.ev{border-top:4px solid #4fd1a5}
.post.ev-level,.post.ev-badge{border-top-color:#ff9f1c}
.post.ev-achievement{border-top-color:var(--violet)}
.evb{display:flex;gap:12px;align-items:center;margin:4px 0 10px;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#eef4ff,#f7f2ff)}
.evi{font-size:2rem;line-height:1;flex:none}
.evb b{font-size:1.02rem;line-height:1.45}
.evp{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:.8rem;font-weight:800;color:#13866a;background:#e3f8f0;padding:3px 9px;border-radius:99px}
.evp .i{width:14px;height:14px}

/* ---------- extra grammar practice ---------- */
.gxn{border-left:5px solid var(--blue-d)}
.gxq{display:block;font-size:1rem;line-height:1.5}
.gxp{background:linear-gradient(180deg,#f7fbff,var(--card))}
.gxi{background:#fff;border:2px solid #eef3ff;border-radius:16px;padding:12px;margin-top:10px}
.gxqt{margin:8px 0 4px;font-weight:600}
.gxs{margin:0 0 8px;padding:8px 10px;border-radius:12px;background:#f4f8ff;line-height:1.6}
.gxin{width:100%;margin-bottom:8px}
.gxin.good{border-color:#4fd1a5}
.gxin.bad{border-color:#ff7a8a}
.gxfb{margin-top:8px;padding:8px 10px;border-radius:12px;font-size:.9rem;line-height:1.5}
.gxfb.good{background:#e3f8f0;color:#13866a}
.gxfb.bad{background:#fdecef;color:#c3485c}
.gxtip{line-height:1.4}
.cxgrid{display:grid;gap:12px;grid-template-columns:1fr}
@media(min-width:620px){.cxgrid{grid-template-columns:1fr 1fr}}
.cxb{background:#fff;border-radius:18px;padding:12px 14px;border:2px solid #eef3ff}
.cxb>b{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:.95rem}
.cxb .i{width:18px;height:18px;flex:none}
.cxr{border-color:#dbe7ff;background:linear-gradient(180deg,#f7faff,#fff)}
.cxar{width:100%;border:2px solid #dbe7ff;border-radius:16px;padding:10px 12px;font:inherit;color:var(--ink);background:#fff;resize:vertical;margin-top:8px}
.cxar:focus{outline:none;border-color:var(--blue-d)}

/* v28 · meet the words before matching */
.prmeet .pmw{padding:12px 14px;border-radius:16px;background:#f7faff;border:2px solid #eef3ff;margin:10px 0}
.prmeet .pmw .row{align-items:center}
.prmeet .pmw b.big{font-size:1.3rem;letter-spacing:.01em}
.prmeet .pmm{margin-top:4px;color:var(--mut);font-size:1rem;line-height:1.5}
.prmeet .btn.big{margin-top:12px;width:100%}
.prq .opts{display:grid;gap:8px;margin:10px 0}
.prq .opt{padding:12px 14px;border-radius:14px;border:2px solid #dbe7ff;background:#fff;font:inherit;font-weight:600;color:var(--ink);text-align:left;line-height:1.45;cursor:pointer}
.prq .opt.ok{border-color:#4fd1a5;background:#e3f8f0;color:#13866a}
.prq .opt.bad{border-color:#ff7a8a;background:#fdecef;color:#c3485c}
.prq .opt:disabled{cursor:default}
.prfb .row{margin-top:8px}

/* v28 · feed: word of the day and the daily review */
.flday{border-top-color:#ff9f1c;background:linear-gradient(180deg,#fffaf0,var(--card))}
.flday .fli{background:linear-gradient(135deg,#ffcf4d,#ff9f1c);color:#3b2400}
.flword{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 10px 8px}
.flword .wd{font-size:2rem;font-weight:800;line-height:1.2;letter-spacing:.01em;text-align:center}
.flday>.trl{text-align:center}
.flmeans{display:grid;gap:8px;margin:12px 0}
.flmean{display:flex;gap:9px;align-items:center;padding:10px 12px;border-radius:14px;background:#fff6e0;line-height:1.5}
.flmean i{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.72rem;font-weight:800;font-style:normal;background:#ffe3b0;color:#8a5a00}
.flmean b{font-weight:700}
.flmean span{color:#8a5a00;opacity:.9}
.flrev{border-top-color:#4fd1a5;background:linear-gradient(180deg,#f3fff9,var(--card))}
.flrev .fli{background:linear-gradient(135deg,#4fd1a5,#17a98c)}
.flrv{display:grid;gap:8px;margin:10px 0}
.flrvi{padding:10px 12px;border-radius:14px;background:#eafaf4;line-height:1.55}
.flrvi b{font-size:1.02rem}
.flrvi .trl{color:var(--mut);margin-top:2px}

/* v28 · a link the teacher posts */
.post .body:empty{display:none;margin:0}
.lkrow{display:flex;align-items:center;gap:8px;margin:8px 0}
.lkrow .lki{flex:none;width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:#e8f1ff;color:var(--blue-d)}
.lkrow .lki .i{width:18px;height:18px}
.lkprev{background:#f7faff;margin:0 0 8px;padding:12px}
.lkprev .row{margin-top:8px}
.lkprev .skel.sm{height:70px;border-radius:14px}
a.lkc{display:block;margin:10px 0 2px;border:2px solid #e3ebf7;border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;background:#fff;transition:border-color .15s,transform .12s}
a.lkc:hover{border-color:var(--blue-d);transform:translateY(-1px)}
.lkimg{display:block;background:#eef3fa;aspect-ratio:1.91/1;overflow:hidden}
.lkimg img{width:100%;height:100%;object-fit:cover;display:block}
.lkb{display:block;padding:12px 14px}
.lkh{display:block;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--mut)}
.lkb b{display:block;margin:3px 0 4px;font-size:1.02rem;line-height:1.4}
.lkd{display:block;color:var(--mut);font-size:.9rem;line-height:1.5;max-height:2.9em;overflow:hidden}
.lkgo{display:inline-flex;align-items:center;gap:5px;margin-top:8px;font-size:.84rem;font-weight:700;color:var(--blue-d)}
.lkgo .i{width:15px;height:15px}

.prfb[hidden],.gxfb[hidden],.qlines[hidden]{display:none}

/* ===== v29 · rules, agreement, sign-in code, manager ===== */
.docb{max-height:56vh;overflow:auto;padding-right:4px;line-height:1.7}
.docb p{margin:0 0 10px}
.docb .dnum{padding-left:30px;text-indent:-30px}
.docb .dnum b{color:var(--blue-d);margin-right:4px}
.agl{display:grid;gap:8px;margin:10px 0}
.agb{display:flex;align-items:center;gap:9px;width:100%;padding:12px 14px;border-radius:16px;border:2px solid #dbe7ff;background:#f7faff;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;text-align:left}
.agb:hover{border-color:var(--blue-d)}
.agb .i{width:18px;height:18px;flex:none}
.chk.big{display:flex;gap:10px;align-items:flex-start;margin:12px 0;line-height:1.5;font-weight:600}
.chk.big input{margin-top:3px;width:20px;height:20px;flex:none}
.modal.hard{background:rgba(12,22,46,.72)}
.fl{display:block;margin:10px 0}
.fl>span{display:block;font-weight:700;margin-bottom:4px;font-size:.92rem}
.mfa{text-align:center;max-width:420px}
.mfaI{width:64px;height:64px;margin:0 auto 10px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#2878e6,#7c5cff);color:#fff}
.mfaI .i{width:32px;height:32px}
.fi.code{text-align:center;font-size:2rem;letter-spacing:.5em;font-weight:800;padding:14px 10px;margin:12px 0}
.mfa .btn.big{width:100%}
.mfa .row{margin-top:8px}
.mgc{border-top:4px solid var(--violet)}
.mglist{max-height:420px;overflow:auto;margin-top:6px}
.mgr{align-items:flex-start}
.tag.amber{background:#ffe3b0;color:#8a5a00}
.tag.red{background:#fdd9df;color:#b02a43}
.pill.red{background:#fdd9df;color:#b02a43}
.warn{color:#b02a43}
.row.wrap{flex-wrap:wrap;gap:8px}
.btn.danger{background:#e2435f;color:#fff}
.btn.danger:hover{background:#c93652}
.sysb{line-height:1.7;font-size:1.02rem}
.nrow .sysav{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef3ff;font-size:1.2rem;flex:none}
.fl{border:0;background:none;padding:0;box-shadow:none}
.chk.big{color:var(--ink);font-size:.98rem}
.chk.big a{color:var(--blue-d)}

/* ===== v29 · square posts, learner composer, tags, top of the week ===== */
.post.sqp{border-radius:24px;overflow:hidden;border-top:0;position:relative}
.post.sqp::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#2878e6,#7c5cff,#ff9f1c)}
.sq{aspect-ratio:1/1;max-height:420px;display:grid;place-items:center;border-radius:20px;margin:10px 0;padding:22px;text-align:center}
.sq p{color:#fff;font-size:1.45rem;line-height:1.5;font-weight:800;margin:0;text-shadow:0 2px 10px rgba(0,0,0,.18);overflow-wrap:anywhere}
@media(max-width:420px){.sq p{font-size:1.2rem}}
.pmeta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0}
.mood{display:inline-flex;gap:5px;align-items:center;background:#fff6e0;color:#8a5a00;border-radius:99px;padding:4px 11px;font-weight:700;font-size:.86rem}
.tgs{display:flex;flex-wrap:wrap;gap:6px}
.tg{border:0;border-radius:99px;padding:4px 11px;font:inherit;font-weight:700;font-size:.84rem;cursor:pointer;color:#fff}
.tg.big{padding:8px 14px;font-size:.95rem;display:inline-flex;gap:6px;align-items:center}
.tg em{font-style:normal;opacity:.8;font-size:.8em}
.tg.c0{background:#2878e6}.tg.c1{background:#7c5cff}.tg.c2{background:#17a98c}.tg.c3{background:#e2435f}
.tg.c4{background:#ff9f1c}.tg.c5{background:#0f7fa8}.tg.c6{background:#8a4fff}.tg.c7{background:#2f9e44}
.tg.c8{background:#d14fff}.tg.c9{background:#b98b5e}.tg.c10{background:#19b5c9}.tg.c11{background:#ff6f91}
.tg.c12{background:#6c7a89}.tg.c13{background:#da8b2c}.tg.c14{background:#145a32}.tg.c15{background:#3b4f7d}
.tg.c16{background:#c93652}.tg.c17{background:#1f7a8c}.tg.c18{background:#9b5de5}.tg.c19{background:#e07a5f}
.tgcloud{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
/* the learner's composer */
.lcomp{border-top:4px solid var(--violet)}
.lch{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.lch b{display:flex;align-items:center;gap:6px}
.lcbox{border-radius:20px;padding:14px;aspect-ratio:1/1;max-height:300px;display:grid}
.lcbox textarea{background:none;border:0;resize:none;width:100%;height:100%;color:#fff;font:inherit;font-size:1.25rem;font-weight:800;text-align:center;align-self:center;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.lcbox textarea::placeholder{color:rgba(255,255,255,.8);font-weight:700}
.lcbox textarea:focus{outline:0}
.bgs{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.bgb{width:30px;height:30px;border-radius:50%;border:3px solid transparent;cursor:pointer}
.bgb.on{border-color:var(--ink);transform:scale(1.1)}
.mds{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.mdb{display:inline-flex;align-items:center;gap:5px;border:2px solid #dbe7ff;background:#fff;border-radius:99px;padding:5px 10px;font:inherit;font-size:.84rem;font-weight:700;cursor:pointer;color:var(--ink)}
.mdb.on{border-color:var(--blue-d);background:#e8f1ff}
.mdb span{font-size:.8rem}
#lcn.warn{color:#c3485c;font-weight:700}
/* the best of the week */
.ftop .fli.t{background:linear-gradient(135deg,#f6d365,#da8b2c);color:#4a2d00}
.twtab{display:flex;gap:6px;margin:8px 0}
.twtab button{flex:1;border:2px solid #dbe7ff;background:#fff;border-radius:14px;padding:8px;font:inherit;font-weight:700;cursor:pointer;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:6px}
.twtab button.on{border-color:var(--blue-d);background:#e8f1ff;color:var(--blue-d)}
.twtab .i{width:16px;height:16px}
.twl{display:grid;gap:6px}
.tw{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:14px;background:#f7faff}
.tw.me{background:#e8f1ff;box-shadow:inset 0 0 0 2px var(--blue-d)}
.tw .rk{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#dbe7ff;color:var(--blue-d);font-size:.82rem;flex:none}
.tw .rk.r1{background:#ffd93d;color:#6b4e00}.tw .rk.r2{background:#dfe6ef;color:#51607a}.tw .rk.r3{background:#f0c39a;color:#6b3d14}
.twl[hidden]{display:none}

/* ===== v29.3 · search, profile, ads, premium page ===== */
.sres{margin:4px 0 0;line-height:1.55;overflow-wrap:anywhere}
.pfh{text-align:center}
.pfa{display:flex;justify-content:center;margin-bottom:8px}
.pfa .av,.pfa .avt{width:84px;height:84px;font-size:1.8rem}
.pfh h2{margin:4px 0}
.pfh .stats{margin-top:12px}
.adc{display:block;text-decoration:none;color:inherit;border:2px dashed #dbe7ff;background:#fbfcff;position:relative}
.adl{position:absolute;top:8px;right:10px;font-size:.62rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);background:#eef3fa;padding:2px 7px;border-radius:99px}
.adaff b{display:block;margin:6px 0 2px;font-size:1.05rem}
.adimg{display:block;border-radius:14px;overflow:hidden;margin-bottom:6px;aspect-ratio:1/1;max-height:260px}
.adimg img{width:100%;height:100%;object-fit:cover;display:block}
.adcode{display:inline-block;margin-top:6px;background:#fff6e0;color:#8a5a00;border-radius:10px;padding:4px 10px;font-weight:700}
.adbox{min-height:40px}
.pphero{text-align:center;background:linear-gradient(160deg,#1f2a44,#3b2f7d);color:#fff;border:0}
.pphero h2{margin:6px 0;color:#fff}
.pphero p{color:#dfe6ff}
.ppcrown{width:66px;height:66px;margin:0 auto;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#f6d365,#da8b2c);color:#4a2d00}
.ppcrown .i{width:34px;height:34px}
.ppp{display:flex;gap:10px;margin:14px 0}
.ppo{flex:1;background:rgba(255,255,255,.12);border-radius:18px;padding:12px;border:2px solid transparent}
.ppo.best{border-color:#f6d365;background:rgba(246,211,101,.18)}
.ppo b{display:block;font-size:1.3rem}
.ppo span{font-size:.82rem;opacity:.85}
.ppo em{display:block;font-style:normal;font-size:.75rem;color:#ffe27a;font-weight:800;margin-top:3px}
.ppgo{width:100%;background:linear-gradient(135deg,#f6d365,#da8b2c);color:#3b2400;font-weight:800}
.ppl{display:grid;gap:10px;width:100%;max-width:520px}
@media(min-width:900px){.ppl{max-width:1080px;grid-template-columns:1fr 1fr}}
.ppf{display:flex;gap:12px;align-items:flex-start;margin:0}
.ppi{flex:none;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#2878e6,#7c5cff);color:#fff}
.ppi .i{width:22px;height:22px}
.ppf b{display:block;margin-bottom:2px}
.ppf p{margin:0;line-height:1.5}
/* a shared link fills the square */
.lkimg{aspect-ratio:1/1;max-height:340px}

/* ===== v29.4 · sharing, live notices, the photo, colourful achievement cards ===== */
.shrow{margin-top:8px}
.shb{font-weight:700}
.livenote{position:fixed;left:50%;top:14px;transform:translate(-50%,-140%);z-index:9999;display:flex;gap:10px;align-items:center;
 background:linear-gradient(135deg,#2878e6,#7c5cff);color:#fff;border-radius:18px;padding:11px 16px;box-shadow:0 14px 34px rgba(20,30,70,.3);
 max-width:min(92vw,420px);transition:transform .38s cubic-bezier(.2,1.1,.3,1),opacity .3s;opacity:0;cursor:pointer}
.livenote.in{transform:translate(-50%,0);opacity:1}
.livenote img{width:34px;height:34px;border-radius:11px;background:#fff;flex:none}
.livenote b{display:block;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.livenote span{display:block;line-height:1.4;font-weight:700}
/* the cards SpeakUp writes by itself */
.post.ev .evb{background:linear-gradient(135deg,#eef4ff,#f7f2ff);position:relative;overflow:hidden}
.post.ev .evb::after{content:"";position:absolute;inset:auto -30px -40px auto;width:120px;height:120px;border-radius:50%;background:rgba(124,92,255,.14)}
.post.ev-level .evb{background:linear-gradient(135deg,#fff3d6,#ffe7bd)}
.post.ev-level .evb::after{background:rgba(255,159,28,.18)}
.post.ev-badge .evb{background:linear-gradient(135deg,#e3f8f0,#d7f3ff)}
.post.ev-badge .evb::after{background:rgba(23,169,140,.18)}
.post.ev-cert .evb{background:linear-gradient(135deg,#fdf0ff,#ffe7f3)}
.post.ev-cert .evb::after{background:rgba(209,79,255,.16)}
.post.ev-top .evb{background:linear-gradient(135deg,#fff6d9,#ffe9b0)}
.post.ev-top .evb::after{background:rgba(246,211,101,.3)}
.post.ev .evi{filter:drop-shadow(0 4px 10px rgba(30,40,80,.18))}
/* the photo on the certificate */
.cphw{margin:10px 0}
.cpprev{display:flex;gap:10px;align-items:center;margin-top:8px}
.cpprev img{width:62px;height:124px;object-fit:cover;border-radius:12px;border:2px solid #dbe7ff}

/* ===== v29.6 · messages list and the cards SpeakUp writes ===== */
.byspk{display:inline-block;font-size:.66rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--mut);background:#eef3fa;padding:2px 8px;border-radius:99px;margin-bottom:6px}
.chwrap{display:grid;gap:12px;width:100%;max-width:520px}
@media(min-width:900px){.chwrap{max-width:1080px;grid-template-columns:320px 1fr;align-items:start}}
.chlist{max-height:46vh;overflow:auto;padding:8px}
@media(min-width:900px){.chlist{max-height:70vh}}
.chrow{display:flex;gap:9px;align-items:center;width:100%;border:0;background:none;border-radius:14px;padding:9px 10px;font:inherit;cursor:pointer;text-align:left;color:var(--ink)}
.chrow:hover{background:#f3f7ff}
.chrow.on{background:#e8f1ff;box-shadow:inset 0 0 0 2px var(--blue-d)}
.chrow b{display:block;font-size:.98rem}
.chrow em{display:block;font-style:normal;color:var(--mut);font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chrow .ansby{display:block;font-style:normal;font-size:.74rem;color:#13866a}
.unb{flex:none;min-width:22px;height:22px;border-radius:99px;background:#e2435f;color:#fff;font-size:.74rem;font-weight:800;display:grid;place-items:center;padding:0 6px}
.chhd{display:flex;gap:9px;align-items:center;padding-bottom:8px;border-bottom:2px solid #eef3ff;margin-bottom:8px}
.pfbtns{margin-top:10px;justify-content:center}

/* v29.7 */
.chrow .chon{display:block}.chhd .od{margin-left:6px}.frcap{margin-right:6px}

/* ===== v30 · profiles, lock, timeline, new members ===== */
.pf30 .pfa{position:relative;width:max-content;margin:0 auto 8px}
.pflb{position:absolute;right:-4px;bottom:-2px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ffcf45,#ff9f1c);color:#3b2400;box-shadow:0 0 0 3px #fff,0 6px 14px rgba(255,159,28,.35)}
.pflb svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4}
.pfact{gap:8px;flex-wrap:wrap;margin-top:10px}
.pfst{grid-template-columns:repeat(3,1fr)!important;gap:10px}
.pflock{display:flex;align-items:center;gap:12px;border:0;cursor:pointer;padding:10px 18px 10px 10px;border-radius:999px;background:#eef3fb;color:var(--ink);font:inherit;text-align:left;transition:background .3s,box-shadow .3s}
.pflock:hover{box-shadow:0 6px 18px rgba(42,99,232,.15)}
.pfsw{position:relative;width:58px;height:32px;border-radius:99px;background:#cfd9e8;flex:none;transition:background .3s}
.pfsw i{position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#6b7a99;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:transform .35s cubic-bezier(.4,1.4,.6,1),color .3s}
.pfsw svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4}
.pflt b{display:block;font-size:.95rem}.pflt small{color:var(--mut);font-size:.78rem}
.pflock.on{background:linear-gradient(135deg,#2a63e8,#6a44e6);color:#fff}
.pflock.on .pfsw{background:linear-gradient(135deg,#ffcf45,#ff9f1c)}
.pflock.on .pfsw i{transform:translateX(26px);color:#d17c00}
.pflock.on .pflt small{color:rgba(255,255,255,.85)}
.pflocked{text-align:center;padding:30px 20px}
.pfli{width:74px;height:74px;margin:0 auto 10px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(135deg,#2a63e8,#6a44e6);color:#ffcf45;box-shadow:0 12px 28px rgba(42,99,232,.3)}
.pfli svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:2.2}
.pftabs{overflow-x:auto;white-space:nowrap}
.pfi{display:flex;flex-direction:column;gap:8px}
.pfi>.muted{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pfi>.muted svg{width:14px;height:14px}
.pfun{margin-left:auto}
.pft.sq{aspect-ratio:1/1;max-height:420px;border-radius:18px;display:grid;place-items:center;padding:24px;text-align:center;color:#fff}
.pft.sq p{margin:0;font-size:1.25rem;font-weight:700;line-height:1.4;overflow-wrap:anywhere;text-shadow:0 1px 6px rgba(0,0,0,.18)}
.pft.tx p{margin:0;line-height:1.55;overflow-wrap:anywhere}
.pft.ev{display:flex;align-items:center;gap:10px;background:#f4f8ff;border-radius:16px;padding:14px}.pft.ev .evi{font-size:1.6rem}
.pft.lk{display:block;text-decoration:none;color:inherit;border:1px solid #dbe5f3;border-radius:16px;overflow:hidden}
.pft.lk img{width:100%;aspect-ratio:1.91/1;object-fit:cover;display:block}.pft.lk b{display:block;padding:10px 12px 4px}.pft.lk p{margin:0;padding:0 12px 12px;color:var(--mut)}
.tlb.on{color:#1a9a62}
#nmlink{margin:-4px 0 12px}
.nml .srow{align-items:center}

/* ===== v30.1 · bars follow the scroll ===== */
@media(max-width:899px){
 header.top{transition:transform .3s ease}
 .nav{transition:transform .3s ease,opacity .3s}
 body.hdhide header.top{transform:translateY(-110%)}
 body.nvhide .nav{transform:translate(-50%,150%);opacity:0;pointer-events:none}}

/* ===== v30.2 · language chooser on the first page ===== */
.aulang{display:flex;align-items:center;justify-content:center;gap:8px;margin:6px auto 4px;max-width:280px;color:var(--blue-d)}
.aulang svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
.aulang select{flex:1;min-width:0;padding:8px 12px;border-radius:999px;border:1px solid #d8e2ef;background:#fff;font:inherit;font-weight:600;color:var(--ink)}
.auth[dir=rtl] input[type=email],.auth[dir=rtl] input[type=password]{direction:ltr;text-align:right}
.audocs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:-2px 0 6px}
