/* Bangla digits (০–৯) in Noto Serif Bengali, so ১ is easy to read; all other text stays Hind Siliguri */
@font-face{font-family:"BnNum";src:url(fonts/bnnum-500.woff2) format("woff2");font-weight:100 600;unicode-range:U+09E6-09EF;font-display:swap}
@font-face{font-family:"BnNum";src:url(fonts/bnnum-700.woff2) format("woff2");font-weight:700 900;unicode-range:U+09E6-09EF;font-display:swap}
/* BrainBridge BCS app — styles carried over from the App UI design, made interactive. */
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:#DDD8CE;font-family:"BnNum","Hind Siliguri",system-ui,sans-serif;color:#1C1B18;display:flex;align-items:center;justify-content:center;min-height:100%;padding:12px 0;overflow:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.ph{flex:none;height:min(880px,calc(100dvh - 24px));width:min(calc(100vw - 16px),clamp(320px,calc((100dvh - 24px) * 9 / 20.6),375px));border:8px solid #1C1B18;border-radius:44px;background:#F3F1EC;overflow:hidden;display:flex;flex-direction:column;position:relative}
@media (max-width:500px){body{display:block;background:#F3F1EC;padding:0}.ph{width:100%;height:100dvh;aspect-ratio:auto;max-width:none;border:0;border-radius:0}}
.ph .st{height:22px;font-size:11px;display:flex;justify-content:space-between;padding:4px 18px 0;color:#5F5E59;flex:none}
.ph .bd{flex:1;overflow:auto;padding:10px 14px 14px;font-size:14px;line-height:1.5}
.ph .bd::-webkit-scrollbar{width:0}
.ph .nv{flex:none;height:58px;border-top:1px solid #E2DDD2;background:#fff;display:flex;justify-content:space-around;align-items:center;font-size:12px;color:#5F5E59}
.ph .nv a{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:60px;padding:6px 0}
.ph .nv a.on{color:#2F7D68;font-weight:600}.ph .nv a.on:before{content:"";width:22px;height:3px;border-radius:2px;background:#2F7D68;margin-bottom:2px}
.ph .hd{display:flex;align-items:center;gap:9px;font-weight:600;font-size:15px;margin:2px 0 10px}
.ph .hd .x{color:#5F5E59;font-weight:400;font-size:20px;line-height:1;padding:2px 6px 2px 0}
.ph .hd .r{margin-left:auto;font-size:12px;color:#5F5E59;font-weight:400}
.ph h4{font-size:18px;line-height:1.3;margin:4px 0 8px;font-weight:700}
.ph .sub{font-size:12.5px;color:#5F5E59;margin:-3px 0 8px}
.ph .cd{display:block;background:#fff;border:1px solid #E2DDD2;border-radius:12px;padding:10px 11px;margin:0 0 10px}
.ph a.cd,.ph .lk{cursor:pointer}.ph a.cd:active,.ph .lk:active{background:#F7F5F0}
.ph .dk{background:#1E5A47;color:#fff;border-radius:14px;padding:12px;margin:0 0 10px}.ph .dk .sub{color:#cfe3db}
.ph .rw{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #EFEBE3;font-size:13.5px}.ph .rw:last-child{border:0}
.ph .rw .n{font-weight:600;white-space:nowrap}
.ph .br{height:6px;background:#EAE6DD;border-radius:3px;overflow:hidden;margin:2px 0 4px}.ph .br i{display:block;height:100%;background:#2F7D68}
.ph .ch{display:inline-block;font-size:11px;padding:0 7px;border-radius:9px;background:#EAE6DD;color:#5F5E59;margin:1px 3px 1px 0;white-space:nowrap}
.ph .ch.A{background:#E3EFEA;color:#1E5A47}.ph .ch.B{background:#E3EBF6;color:#1F4F8F}.ph .ch.C{background:#F6E7DC;color:#A8521F}.ph .ch.D{background:#F5E1DD;color:#A63D2F}
.ph .bt{display:block;width:100%;background:#2F7D68;color:#fff;text-align:center;border-radius:11px;padding:11px;font-weight:600;margin:8px 0;font-size:15px}
.ph .bt.o{background:#fff;color:#2F7D68;border:1px solid #2F7D68}
.ph .bt[disabled]{opacity:.45;cursor:default}
.ph .op{border:1.5px dashed #C9C2B3;border-radius:11px;color:#9a948a;font-size:12.5px;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;margin:0 0 10px;background:repeating-linear-gradient(135deg,#F3F1EC,#F3F1EC 6px,#EEEAE2 6px,#EEEAE2 12px)}
.ph .tb{display:flex;background:#EAE6DD;border-radius:11px;padding:3px;margin:0 0 10px}.ph .tb a,.ph .tb span{flex:1;text-align:center;padding:6px 0;font-size:13px;border-radius:9px;cursor:pointer}.ph .tb .on{background:#fff;font-weight:600}
.ph .op4{display:flex;flex-direction:column;gap:7px;margin:6px 0 10px}
.ph .op4 button{text-align:left;background:#fff;border:1px solid #E2DDD2;border-radius:10px;padding:9px 10px;font-size:14px}
.ph .op4 button.ok{background:#E3EFEA;border-color:#2F7D68}
.ph .op4 button.bad{background:#F5E1DD;border-color:#A63D2F}
.ph .op4 button:disabled{cursor:default}
.ph .kp{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}.ph .kp>*{background:rgba(255,255,255,.12);border-radius:10px;padding:8px}.ph .kp b{display:block;font-size:20px}
.ph .kpw{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 10px}.ph .kpw>*{background:#fff;border:1px solid #E2DDD2;border-radius:10px;padding:7px;text-align:center;font-size:12px;color:#5F5E59}.ph .kpw b{display:block;font-size:17px;color:#1C1B18}
.ph .kpw .sel{border-color:#2F7D68;background:#E3EFEA;color:#1E5A47}
.ph .big{font-size:32px;font-weight:700;color:#2F7D68;line-height:1}
.ph .nt{background:#E3EFEA;border-radius:11px;padding:9px 11px;font-size:13px;color:#1E5A47;margin:0 0 10px}
.ph .nt.bad{background:#F5E1DD;color:#A63D2F}
.ph .src{font-size:11px;color:#9a948a;margin-top:8px}
.ph table{width:100%;border-collapse:collapse;font-size:12.5px}.ph td,.ph th{border-bottom:1px solid #EFEBE3;padding:4px 3px;text-align:left}.ph th{color:#5F5E59;font-weight:500}
.ph .hm{display:inline-block;width:20px;height:18px;border-radius:4px;text-align:center;font-size:10px;line-height:18px}
.ph .ring{width:clamp(38px,12vw,48px);height:clamp(38px,12vw,48px);border-radius:50%;border:4px solid #EAE6DD;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;flex:none}
.ph .sec{margin:12px 0 6px;font-weight:700}
.ph .chips{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}
.ph .chips button.ch{font-size:12px;padding:2px 9px}
.ph .chips button.on{background:#2F7D68;color:#fff}
.ph .grid8{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}
.ph .grid8>*{border:1px solid #E2DDD2;border-radius:6px;text-align:center;font-size:11px;background:#fff;padding:3px 0}
:focus-visible{outline:2px solid #2F7D68;outline-offset:2px}

/* ---------- Lessons (approved mockup) ---------- */
.ph .tag{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:600;padding:1px 8px;border-radius:10px;white-space:nowrap}
.ph .t-asked{background:#E3EFEA;color:#1E5A47}.ph .t-twin{background:#E3EBF6;color:#1F4F8F}.ph .t-mix{background:#F6E7DC;color:#A8521F}.ph .t-deep{background:#ECE6F7;color:#5B3E96}
.ph .prog{display:flex;gap:4px;margin:0 0 10px}.ph .prog i{flex:1;height:5px;border-radius:3px;background:#EAE6DD}.ph .prog i.on{background:#2F7D68}
.ph .path{display:flex;flex-direction:column;gap:8px}
.ph .step{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #E2DDD2;border-radius:14px;padding:10px 12px}
.ph .step .ic{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:15px;flex:none}
.ph .step b{display:block;font-size:14px}.ph .step .s{font-size:12px;color:#5F5E59}
.ph .step.done{border-color:#2F7D68}.ph .step.done .ic{background:#2F7D68;color:#fff}
.ph .lock{position:relative;border:1.5px dashed #5B3E96;background:#ECE6F7;border-radius:14px;padding:12px;margin-top:12px;overflow:hidden}
.ph .lock .blur{filter:blur(3.5px);opacity:.7;font-size:13px;user-select:none}
.ph .lock .over{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;background:rgba(236,230,247,.55)}
.ph .lock .over b{color:#5B3E96}
.ph .unl{background:#5B3E96;color:#fff;border:0;border-radius:10px;padding:7px 14px;font:600 13px "Hind Siliguri",sans-serif;cursor:pointer}
.ph .story{background:linear-gradient(160deg,#1E5A47,#2F7D68);color:#fff;border-radius:16px;padding:14px;margin-bottom:10px}
.ph .story .k{font-size:12px;opacity:.85}.ph .story h3{margin:2px 0 6px;font-size:18px}
.ph .hl{background:rgba(255,255,255,.18);border-radius:5px;padding:0 4px}
.ph .flip{perspective:900px;height:260px;margin:6px 0 10px;cursor:pointer}
.ph .flip .in{position:relative;width:100%;height:100%;transition:transform .45s;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}
.ph .flip.on .in{transform:rotateY(180deg)}
.ph .face{position:absolute;inset:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;border-radius:18px;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:8px;border:1px solid #E2DDD2;background:#fff;overflow:auto}
.ph .face.bk{transform:rotateY(180deg);background:#E3EFEA;border-color:#2F7D68}
.ph .face .q{font-size:16px;font-weight:600}.ph .face .a{font-size:22px;font-weight:700;color:#1E5A47}
.ph .face .hint{font-size:12px;color:#5F5E59;margin-top:auto}
.ph .dots{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;margin:4px 0 8px}.ph .dots i{width:6px;height:6px;border-radius:50%;background:#D6D0C3}.ph .dots i.on{background:#2F7D68;width:16px;border-radius:4px}
.ph .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ph .mt{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ph .mt button{font:500 13.5px "Hind Siliguri",sans-serif;background:#fff;border:1.5px solid #E2DDD2;border-radius:12px;padding:10px 8px;min-height:52px}
.ph .mt button.sel{border-color:#1F4F8F;background:#E3EBF6}
.ph .mt button.ok{border-color:#2F7D68;background:#E3EFEA;color:#1E5A47;cursor:default}
.ph .mt button.no{border-color:#A63D2F;background:#F5E1DD;animation:sh .3s}
@keyframes sh{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.ph .vs{display:grid;grid-template-columns:1fr auto 1fr;gap:6px;margin-bottom:10px}
.ph .vs .s1,.ph .vs .s2{border-radius:14px;padding:10px;font-size:13px;min-width:0}
.ph .vs .s1{background:#E3EFEA;border:1px solid #BFDCCF}.ph .vs .s2{background:#F6E7DC;border:1px solid #EBCDB7}
.ph .vs .mid{align-self:center;font-weight:700;color:#5F5E59;font-size:12px}
.ph .vs h5{margin:2px 0 4px;font-size:15px}
.ph .tip{background:#FFF8E1;border:1px solid #F0DFA6;border-radius:12px;padding:9px 11px;font-size:13px;margin-bottom:10px}
.ph .fb{border-radius:12px;padding:9px 11px;font-size:13px;margin-bottom:8px}
.ph .fb.ok{background:#E3EFEA;color:#1E5A47}.ph .fb.no{background:#F5E1DD;color:#A63D2F}
.ph .rule{background:#fff;border-radius:16px;border:1px solid #E2DDD2;padding:12px;margin-bottom:10px}
.ph .rule .big{font-size:18px;font-weight:700}
.ph .chipw{display:inline-block;background:#E3EFEA;color:#1E5A47;border-radius:6px;padding:2px 8px;margin:3px 4px 0 0;font-size:15px}
.ph .chipw small{font-size:11px;opacity:.8}
.ph .deep{border-left:4px solid #5B3E96;background:#fff;border-radius:0 12px 12px 0;padding:9px 11px;margin-bottom:8px;font-size:13.5px}
@media (prefers-reduced-motion:reduce){.ph .flip .in{transition:none}.ph .mt button.no{animation:none}}

/* ---------- Bangla topic flow (approved mockup) ---------- */
.ph .dot{width:12px;height:12px;border-radius:50%;flex:none}
.ph .tcard{display:flex;flex-direction:column;gap:6px}
.ph .tcard .t1{display:flex;gap:8px;align-items:flex-start}
.ph .tcard .nm{flex:1;font-weight:600;font-size:14.5px;line-height:1.35}
.ph .meta{font-size:12px;color:#5F5E59;line-height:1.5}
.ph .state{font-size:12px;border-radius:9px;padding:5px 8px;line-height:1.45}
.ph .band{font-size:11px;font-weight:700;border-radius:9px;padding:0 7px;background:#1C1B18;color:#fff;white-space:nowrap}
.ph .vid{background:#1C1B18;border-radius:14px;aspect-ratio:16/9;max-width:100%;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:10px 12px;margin-bottom:10px;position:relative}
.ph .vid .pl{position:absolute;inset:0;margin:auto;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;font-size:20px}
.ph .vid .tt{font-size:13px;font-weight:600;position:relative}
.ph .vid .bt2{font-size:11px;opacity:.75;position:relative;display:flex;justify-content:space-between}
.ph .vbar{height:4px;background:rgba(255,255,255,.25);border-radius:2px;margin-top:4px}.ph .vbar i{display:block;height:100%;width:0;background:#7FD1B6;border-radius:2px}
.ph .short{background:linear-gradient(170deg,#1E5A47,#14342A);color:#fff;border-radius:18px;min-height:480px;padding:16px 14px;display:flex;flex-direction:column;gap:10px}
.ph .short .big2{font-size:22px;font-weight:700;line-height:1.3}
.ph .nsec{font-weight:700;margin:12px 0 6px;font-size:14px}
.ph .fact{font-size:13px;padding:5px 0;border-bottom:1px solid #EFEBE3;display:flex;gap:6px;align-items:flex-start}.ph .fact:last-child{border:0}
.ph .fact .tag{flex:none;margin-top:2px}
.ph .oldq{font-size:12.5px;padding:6px 0;border-bottom:1px solid #EFEBE3}.ph .oldq:last-child{border:0}
.ph .oldq b{color:#1E5A47}
.ph .lab{display:flex;gap:10px;align-items:center}
.ph .lab .ic{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.ph .hist{display:flex;justify-content:space-between;gap:8px;font-size:13px;padding:6px 0;border-bottom:1px solid #EFEBE3}.ph .hist:last-child{border:0}
.ph .timer{font-variant-numeric:tabular-nums}
.ph .sc{font-size:34px;font-weight:700;line-height:1}
.ph .none{border:1.5px dashed #C9C2B3;border-radius:12px;padding:12px;font-size:12.5px;color:#5F5E59;text-align:center;margin-bottom:10px}
.ph .op4 button.sel{background:#E3EBF6;border-color:#1F4F8F}

/* ---------- one-page lesson + swipe cards ---------- */
.ph .ls{margin:0 0 16px}
.ph .lh{display:flex;justify-content:space-between;align-items:center;margin:4px 0 8px}
.ph .lt{font-weight:700;font-size:15px}
.ph .ld{color:#2F7D68;font-weight:700}
.ph .car{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -14px;padding:2px 14px 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ph .car::-webkit-scrollbar{display:none}
.ph .fc{flex:0 0 86%;scroll-snap-align:center;border-radius:16px;padding:13px 14px;display:flex;flex-direction:column;gap:8px;min-height:220px}
.ph .fc.asked{background:#EEF6F2;border:1px solid #BFDCCF}
.ph .fc.twin{background:#EEF3FA;border:1px solid #C6D5EC}
.ph .fc .cn{font-size:12px;color:#5F5E59}
.ph .fc .q{font-size:15.5px;font-weight:600;line-height:1.45}
.ph .fc .ans{margin-top:auto;background:#fff;border-radius:12px;padding:9px 11px}
.ph .fc .ans .lb{font-size:11px;color:#5F5E59}
.ph .fc .ans .a{font-size:19px;font-weight:700;color:#1E5A47;line-height:1.3}
.ph .fc.twin .ans .a{color:#1F4F8F}
.ph .fc .ans .x{font-size:12.5px;color:#3d3c38;margin-top:3px}
.ph .fc .rv{align-self:flex-start;font-size:12px;color:#5F5E59;padding:2px 0}
.ph .fc .rv.on{color:#A8521F;font-weight:600}
.ph .carnav{display:flex;justify-content:center;align-items:center;gap:14px;font-size:13px;color:#5F5E59;margin:2px 0 4px}
.ph .carnav .cb{width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #E2DDD2;font-size:18px;line-height:1}

/* ---------- clean backgrounds: lesson story + fact cards ---------- */
.ph .story.clean{background:#fff;color:#1C1B18;border:1px solid #E2DDD2}
.ph .story.clean .k{color:#5F5E59;opacity:1}
.ph .story.clean h3{color:#1C1B18}
.ph .story.clean{font-size:15px;line-height:1.75}
.ph .story.clean .hl{background:none;color:#1E5A47;font-weight:700;padding:0;border-bottom:2px solid #BFDCCF;border-radius:0}
.ph .fc.asked,.ph .fc.twin{background:#fff;border:1px solid #E2DDD2}
.ph .fc.asked .q{color:#1E5A47}
.ph .fc.twin .q{color:#1F4F8F}
.ph .fc .ans{background:#F6F4EF}
.ph .fc .ans .a,.ph .fc.twin .ans .a{color:#1C1B18}

/* ---------- fact cards: original 4 options + tap to show the answer ---------- */
.ph .fc .fo{display:flex;flex-direction:column;gap:5px}
.ph .fc .fo div{font-size:14px;background:#fff;border:1px solid #E2DDD2;border-radius:9px;padding:6px 9px}
.ph .fc .fo div b{color:#5F5E59;margin-right:4px}
.ph .fc .fo.shown div.r{background:#E3EFEA;border-color:#2F7D68;color:#1E5A47;font-weight:600}
.ph .fc .ans{position:relative;cursor:pointer}
.ph .fc .ans.hid>*:not(.tap){visibility:hidden}
.ph .fc .ans .tap{display:none}
.ph .fc .ans.hid .tap{display:flex;position:absolute;inset:0;align-items:center;justify-content:center;font-size:13.5px;font-weight:600;color:#5F5E59;border:1.5px dashed #C9C2B3;border-radius:12px}


/* ---------- fact cards are the quiz: tap an option ---------- */
.ph .fc .fo button{display:block;width:100%;text-align:left;font-size:14px;background:#fff;border:1px solid #E2DDD2;border-radius:9px;padding:7px 9px;cursor:pointer}
.ph .fc .fo button b{color:#5F5E59;margin-right:4px}
.ph .fc .fo button:disabled{cursor:default;color:inherit}
.ph .fc .fo.shown button.r{background:#E3EFEA;border-color:#2F7D68;color:#1E5A47;font-weight:600}
.ph .fc .fo button.bad{background:#F5E1DD;border-color:#A63D2F;color:#A63D2F}
.ph .fc .cfb .fb{margin:0}

.ph .car{align-items:flex-start}
.ph .fc{min-height:0}
.ph .fc .ans{margin-top:4px}


/* ---------- organized lesson page, less text ---------- */
.ph .vrow{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #E2DDD2;border-radius:14px;padding:10px 12px;font-size:14px}
.ph .vplay{width:40px;height:40px;border-radius:50%;background:#1C1B18;color:#fff;display:flex;align-items:center;justify-content:center;flex:none;font-size:14px}
.ph .note{background:#fff;border:1px solid #E2DDD2;border-radius:16px;padding:14px;margin-bottom:10px}
.ph .note h3{margin:0 0 8px;font-size:17px}
.ph .nl{list-style:none;margin:0;padding:0}
.ph .nl li{position:relative;padding:7px 0 7px 16px;border-bottom:1px solid #EFEBE3;font-size:15px;line-height:1.6}
.ph .nl li:last-child{border:0}
.ph .nl li:before{content:"";position:absolute;left:2px;top:16px;width:6px;height:6px;border-radius:50%;background:#2F7D68}
.ph .note .hl{background:none;color:#1E5A47;font-weight:700;padding:0}
.ph .note .hook{margin-top:8px;padding-top:10px;border-top:1px dashed #E2DDD2;font-size:13.5px;color:#5F5E59}
.ph .note .lb2{font-size:11px;font-weight:700;color:#1F4F8F;letter-spacing:.02em;margin-bottom:2px}
.ph .lh .cnt{font-size:12px;font-weight:600;background:#EAE6DD;color:#5F5E59;border-radius:9px;padding:0 7px;margin-left:4px;vertical-align:2px}
.ph .lb3{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;color:#5F5E59;margin:0 0 6px}
.ph .links{display:flex;justify-content:center;gap:18px;font-size:13px;color:#2F7D68;margin:2px 0 6px}
.ph .links a{text-decoration:underline;text-underline-offset:3px}
.ph .ls{margin:0 0 18px}


/* ---------- compact topic list + video rectangle ---------- */
.ph .cd.grp{padding:2px 12px}
.ph .trow{display:flex;gap:11px;align-items:center;padding:11px 0;border-bottom:1px solid #EFEBE3}
.ph .trow:last-child{border:0}
.ph .trow .tm{flex:1;min-width:0}
.ph .trow .nm{font-weight:600;font-size:14.5px;line-height:1.35}
.ph .mini{width:40px;height:40px;border-radius:50%;flex:none;position:relative;display:grid;place-items:center;background:conic-gradient(var(--c) calc(var(--p) * 1%),#EAE6DD 0)}
.ph .mini::before{content:"";position:absolute;inset:4px;border-radius:50%;background:#fff}
.ph .mini span{position:relative;font-size:10.5px;font-weight:600;color:#5F5E59}
.ph #sec-video .two{margin-top:2px}
.ph #sec-video .two .bt{margin:0}


/* ---------- lesson home: video + four buttons ---------- */
.ph .tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
.ph .tile{position:relative;display:flex;flex-direction:column;gap:3px;background:#fff;border:1px solid #E2DDD2;border-radius:14px;padding:12px;min-height:96px}
.ph .tile .ti{font-size:20px;line-height:1}
.ph .tile b{font-size:14.5px;margin-top:4px}
.ph .tile .ts{font-size:12px;color:#5F5E59;line-height:1.35}
.ph .tile .tk{position:absolute;top:10px;right:12px;color:#2F7D68;font-weight:700}
.ph .tile.off{opacity:.45}
.ph .car.eq{align-items:stretch}
.ph .car.eq .fc .ans{margin-top:auto}
.ph .nl.tw li:before{background:#1F4F8F}


/* ---------- lesson thumbnail ---------- */
.ph .thumb{position:relative;aspect-ratio:16/9;max-width:100%;border-radius:16px;overflow:hidden;margin:0 0 10px;color:#fff;isolation:isolate}
.ph .th-bn{background:radial-gradient(120% 140% at 100% 0%,#3F9A80 0%,#1E5A47 55%,#123A2E 100%)}
.ph .th-tagore{background:radial-gradient(120% 140% at 100% 0%,#B5763A 0%,#5A3A2E 45%,#231A2E 100%)}
.ph .th-nazrul{background:radial-gradient(120% 140% at 100% 0%,#D0452F 0%,#7E1A1E 50%,#2A0B0E 100%)}
.ph .th-ring{position:absolute;right:-18%;top:-30%;width:75%;aspect-ratio:1;border-radius:50%;border:1.5px solid rgba(255,255,255,.18);box-shadow:0 0 0 18px rgba(255,255,255,.04),0 0 0 40px rgba(255,255,255,.03);z-index:-1}
.ph .th-glyph{position:absolute;right:6%;bottom:-14%;font-size:150px;line-height:1;font-weight:700;color:rgba(255,255,255,.13);z-index:-1}
.ph .th-photo{position:absolute;right:0;top:0;height:100%;width:52%;object-fit:cover;object-position:center top;filter:grayscale(.15) contrast(1.05);-webkit-mask-image:linear-gradient(to left,#000 55%,transparent);mask-image:linear-gradient(to left,#000 55%,transparent);z-index:-1}
.ph .th-body{position:absolute;left:14px;top:12px;right:38%;display:flex;flex-direction:column;gap:4px}
.ph .th-k{font-size:11.5px;font-weight:600;letter-spacing:.02em;opacity:.85}
.ph .th-tagore .th-k{color:#F3C77A}.ph .th-nazrul .th-k{color:#FFD27A}.ph .th-bn .th-k{color:#BFE8D9}
.ph .th-t{font-size:21px;font-weight:700;line-height:1.25;text-wrap:balance}
.ph .th-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.ph .th-chips span{font-size:11px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);border-radius:9px;padding:0 7px}
.ph .th-play{position:absolute;left:14px;bottom:12px;width:40px;height:40px;border-radius:50%;background:#fff;color:#1C1B18;display:flex;align-items:center;justify-content:center;font-size:15px;padding-left:3px;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.ph .th-dur{position:absolute;left:62px;bottom:21px;font-size:11.5px;opacity:.85}


/* ---------- full note ---------- */
.ph .toc{display:flex;gap:6px;overflow-x:auto;margin:0 -14px 12px;padding:0 14px 4px;scrollbar-width:none}
.ph .toc::-webkit-scrollbar{display:none}
.ph .toc button{flex:none;font-size:12.5px;background:#fff;border:1px solid #E2DDD2;border-radius:16px;padding:4px 11px;white-space:nowrap}
.ph .toc button.on{background:#1E5A47;border-color:#1E5A47;color:#fff}
.ph .fn{margin:0 0 18px}
.ph .fn-h{display:flex;align-items:center;gap:8px;font-weight:700;font-size:16px;margin:0 0 8px}
.ph .fn-n{width:24px;height:24px;border-radius:50%;background:#1E5A47;color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;flex:none}
.ph .nl.dp li:before{background:#5B3E96}
.ph .lockline{font-size:13px;color:#5B3E96;background:#F6F2FC;border-style:dashed;border-color:#C9B8EA}
.ph details.note summary{cursor:pointer;list-style:none}
.ph details.note summary::-webkit-details-marker{display:none}
.ph details.note summary:after{content:" ›"}
.ph details.note[open] summary:after{content:" ˅"}


/* ---------- lesson thumbnail: split card (option 3) ---------- */
.ph .th3{display:grid;grid-template-columns:55% 45%;aspect-ratio:16/9;max-width:100%;background:#fff;border:1px solid #E2DDD2;border-radius:16px;overflow:hidden;margin:0 0 10px}
.ph .th3-bd{padding:14px 10px 12px 16px;display:flex;flex-direction:column;gap:4px;min-width:0}
.ph .th3-k{font-size:11.5px;font-weight:700;color:#5F5E59;letter-spacing:.02em}
.ph .th3-t{font-size:19px;font-weight:700;line-height:1.25;color:#1C1B18;text-wrap:balance}
.ph .th3-ch{font-size:12.5px;color:#1E5A47;line-height:1.5}
.ph .th3-ft{margin-top:auto;display:flex;gap:8px;align-items:center}
.ph .th3-play{width:34px;height:34px;border-radius:50%;background:#1C1B18;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;padding-left:2px;flex:none}
.ph .th3-dur{font-size:12px;color:#5F5E59}
.ph .th3-ph{position:relative;background:#EAE6DD;min-width:0}
.ph .th3-ph img{width:100%;height:100%;object-fit:cover;object-position:center 18%;filter:grayscale(1);display:block}
.ph .th3-ph.th3-none{display:flex;align-items:center;justify-content:center;font-size:72px;font-weight:700;color:#BFDCCF;background:#E3EFEA}


/* ---------- lesson thumbnail: clean paper (option 1) ---------- */
.ph .th1{position:relative;aspect-ratio:16/9;max-width:100%;background:#FBFAF7;border:1px solid #E2DDD2;border-radius:16px;overflow:hidden;margin:0 0 10px;color:#1C1B18}
.ph .th1-bd{position:absolute;left:16px;top:14px;right:50%;display:flex;flex-direction:column;gap:4px}
.ph .th1-k{font-size:11.5px;font-weight:600;color:#2F7D68}
.ph .th1-t{font-size:19px;font-weight:700;line-height:1.25;text-wrap:balance}
.ph .th1-ch{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}
.ph .th1-ch span{font-size:11px;background:#E3EFEA;color:#1E5A47;border-radius:8px;padding:0 7px}
.ph .th1-ph{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:42%;aspect-ratio:1;border-radius:50%;overflow:hidden;box-shadow:0 0 0 5px #fff,0 0 0 6px #E2DDD2}
.ph .th1-ph img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block}
.ph .th1-ph.th1-none{display:flex;align-items:center;justify-content:center;background:#E3EFEA;color:#1E5A47;font-size:60px;font-weight:700}
.ph .th1-ft{position:absolute;left:16px;bottom:12px;display:flex;gap:8px;align-items:center}
.ph .th1-play{width:36px;height:36px;border-radius:50%;background:#2F7D68;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;padding-left:2px;flex:none}
.ph .th1-dur{font-size:12px;color:#5F5E59}


/* ---------- importance stars + Band 4 under আরও গভীরে ---------- */
.ph .stars{color:#2F7D68;font-size:14px;letter-spacing:1px;white-space:nowrap;flex:none}
.ph .skey{font-size:12px;color:#5F5E59;margin:12px 0 0;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.ph .skey .stars{font-size:12px}
.ph .skey>span:not(.stars){color:#C9C2B3}
.ph details.b4{margin:14px 0 6px}
.ph details.b4>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:8px;background:#F6F2FC;border:1px dashed #C9B8EA;border-radius:12px;padding:10px 12px;color:#5B3E96}
.ph details.b4>summary::-webkit-details-marker{display:none}
.ph details.b4>summary:after{content:"›";font-size:18px;color:#5B3E96}
.ph details.b4[open]>summary:after{content:"˅"}
.ph details.b4[open]>summary{margin-bottom:10px}


/* ---------- full note: visual layout ---------- */
.ph .fnhead{display:flex;gap:14px;align-items:center;background:#FBFAF7;border:1px solid #E2DDD2;border-radius:16px;padding:14px;margin:0 0 12px}
.ph .fnhead img,.ph .fnhead .fng{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:center 20%;flex:none;box-shadow:0 0 0 4px #fff,0 0 0 5px #E2DDD2}
.ph .fnhead .fng{display:flex;align-items:center;justify-content:center;background:#E3EFEA;color:#1E5A47;font-size:34px;font-weight:700}
.ph .fnt{font-size:17px;font-weight:700;line-height:1.3;margin:2px 0 6px}
.ph .fnst{display:flex;gap:6px;flex-wrap:wrap}
.ph .fnst span{font-size:11.5px;background:#fff;border:1px solid #E2DDD2;border-radius:9px;padding:1px 8px;color:#5F5E59}
.ph .fnst b{color:#1C1B18}
.ph .fn-h>span:last-child{display:flex;flex-direction:column;line-height:1.3}
.ph .fn-c{font-size:11.5px;font-weight:500;color:#5F5E59}
.ph .kw{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px}
.ph .kw span{font-size:12.5px;font-weight:600;background:#1E5A47;color:#fff;border-radius:10px;padding:2px 9px}
.ph .memo{display:flex;gap:10px;align-items:flex-start;background:#FFF8E1;border:1px solid #F0DFA6;border-radius:14px;padding:10px 12px;margin:0 0 10px;font-size:14px}
.ph .memo .mi{font-size:22px;line-height:1}
.ph table.nt2{width:100%;border-collapse:separate;border-spacing:0;margin-top:8px;font-size:13.5px;border:1px solid #E2DDD2;border-radius:10px;overflow:hidden}
.ph table.nt2 th{background:#F3F1EC;color:#5F5E59;font-weight:600;font-size:12px;text-align:left;padding:6px 9px;border-bottom:1px solid #E2DDD2}
.ph table.nt2 td{padding:7px 9px;border-bottom:1px solid #EFEBE3;vertical-align:top;line-height:1.45}
.ph table.nt2 tr:last-child td{border-bottom:0}
.ph table.nt2 tr:nth-child(even) td{background:#FBFAF7}
.ph table.nt2.qa td:last-child{width:36%;color:#1F4F8F}
.ph table.nt2 td .meta{margin-top:2px}
.ph .nl.ak li{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.ph .exs{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end;flex:none;max-width:34%}
.ph .exc{font-size:10.5px;font-weight:700;background:#E3EFEA;color:#1E5A47;border-radius:7px;padding:0 6px;line-height:1.7}
.ph .note.dpn{background:#FBF9FE;border-color:#DCD0F2}


/* ---------- clean placeholders + home ---------- */
.ph .soon{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #E2DDD2;border-radius:12px;padding:10px 12px;margin:0 0 10px;font-size:13.5px;color:#5F5E59}
.ph .soon .si{font-size:15px}
.ph .soon .sw{margin-left:auto;font-size:11.5px;background:#EAE6DD;border-radius:9px;padding:0 8px}
.ph .nextl{display:block}
.ph .nextl .bt{display:block}


/* ---------- thumbnail v2: play button on the photo, no overlap ---------- */
.ph .th1{display:flex;gap:10px;align-items:center;aspect-ratio:auto;min-height:0;padding:14px 14px 14px 16px;overflow:visible}
.ph .th1-bd{position:static;flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;align-self:stretch}
.ph .th1-dur{margin-top:auto;padding-top:8px;font-size:12px;color:#5F5E59}
.ph .th1-pw{position:relative;flex:none;width:40%;max-width:170px}
.ph .th1-pw .th1-ph{position:static;transform:none;width:100%}
.ph .th1-pw .th1-play{position:absolute;right:2px;bottom:2px;width:40px;height:40px;border:3px solid #fff;box-shadow:0 3px 10px rgba(0,0,0,.18)}



/* ---------- draft content tag ---------- */
.ph .draft{display:inline-block;font-size:10.5px;font-weight:600;background:#FBF3D9;color:#7A5A00;border:1px solid #EBD9A0;border-radius:8px;padding:0 6px;margin-left:4px;vertical-align:1px}
/* পরীক্ষা tab */
.ph .imp{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;margin-right:4px;white-space:nowrap}
.ph .imp.i1{background:#1E5A47;color:#fff}.ph .imp.i2{background:#DCEDE5;color:#1E5A47}.ph .imp.i3{background:#F4EEDC;color:#7A5A00}.ph .imp.i4{background:#EEECE7;color:#6B6A64}
.ph .xpath{display:flex;flex-wrap:wrap;gap:6px;align-items:center;color:#9A958A;font-size:12px;margin:2px 0 10px}
.ph .xpath span{background:#F1EEE7;color:#3C3B37;padding:3px 9px;border-radius:12px}
.ph .xnext{border-left:4px solid #2F7D68}
.ph .xlv,.ph .xrow{display:flex;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid #EFEBE3;color:inherit;text-decoration:none}
.ph .xlv:last-child,.ph .xrow:last-child{border:0}
.ph .xlv .tm,.ph .xrow .tm{flex:1;min-width:0}
.ph .xlv .nm{font-weight:600;font-size:15px}
.ph .xn{width:30px;height:30px;border-radius:50%;background:#E3EFEA;color:#1E5A47;display:grid;place-items:center;font-weight:700;font-size:14px;flex:none}
.ph .xd{font-size:12.5px;color:#5F5E59;white-space:nowrap}
.ph .xrow{font-size:14px;padding:10px 0}
.ph .xtop{padding:4px 12px}
.ph .xtop summary{display:flex;gap:8px;align-items:center;padding:8px 0;cursor:pointer;list-style:none}
.ph .xtop summary::-webkit-details-marker{display:none}
.ph .xtop summary .nm{flex:1;font-weight:600;font-size:14.5px;line-height:1.35}
.ph .xtop[open] summary{border-bottom:1px solid #EFEBE3}
.ph .xkey{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0}
.ph .xrule{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;padding:10px 6px}
.ph .xrule div{font-size:12px;color:#5F5E59}.ph .xrule b{display:block;font-size:20px;color:#1C1B18}
.ph .xsubj{padding:8px 12px}
.ph .xsh{display:flex;justify-content:space-between;align-items:baseline;padding:2px 0 4px;border-bottom:1px solid #EFEBE3}
.ph .xtips summary{cursor:pointer;padding:2px 0}
/* সাম্প্রতিক tab */
.ph .nv a{min-width:52px}
.ph .nchips{display:flex;gap:6px;margin:8px 0 10px}
.ph .nchips a{padding:5px 12px;border-radius:14px;background:#F1EEE7;color:#3C3B37;font-size:12.5px;text-decoration:none}
.ph .nchips a.on{background:#1E5A47;color:#fff}
.ph .ntag{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;margin-right:4px}
.ph .ntag.nbd{background:#DCEDE5;color:#1E5A47}.ph .ntag.nint{background:#E3EBF6;color:#1F4F8F}
.ph .nday{font-weight:700;font-size:13px;color:#5F5E59;margin:14px 2px 6px}
.ph .nitem .nt1,.ph .nchg .nt1{font-weight:700;font-size:15px;margin:6px 0 3px;line-height:1.35}
.ph .nt2{font-size:13.5px;line-height:1.55;color:#2A2925}
.ph .nft{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}
.ph .nsrc{font-size:11.5px;color:#8A867C}.ph .nsrc a{color:#6B6A64}
.ph .nlk{font-size:12.5px;color:#2F7D68;font-weight:600;text-decoration:none;white-space:nowrap}
.ph .nweek{border-left:4px solid #C69A1B;background:#FFFCF3}
.ph .nwh{display:flex;justify-content:space-between;align-items:baseline}
.ph .nweek ul{margin:8px 0 4px;padding-left:0;list-style:none}.ph .nweek li{font-size:13.5px;line-height:1.5;margin:6px 0}
.ph .nwas,.ph .nnow{display:flex;gap:10px;align-items:baseline;font-size:14px;margin:3px 0}
.ph .nwas span,.ph .nnow span{width:34px;font-size:11.5px;color:#8A867C;flex:none}
.ph .nwas s{color:#A63D2F}.ph .nnow b{color:#1E5A47}

/* সাম্প্রতিক: thumbnails, rows, quiz */
.ph .nbadge{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#E3EFEA;color:#1E5A47;line-height:1}
.ph .nbadge b{font-size:46px;font-weight:700}.ph .nbadge span{font-size:15px;font-weight:600;margin-top:4px}
.ph .nbadge.nint,.ph .nmini.nint{background:#E3EBF6;color:#1F4F8F}
.ph .nbadge.nmix,.ph .nmini.nmix{background:linear-gradient(135deg,#E3EFEA 50%,#E3EBF6 50%);color:#1C1B18}
.ph .nbadge.nweekt,.ph .nmini.nweekt{background:#FBF3D9;color:#7A5A00}
.ph .nbadge.nchgt,.ph .nmini.nchgt{background:#F5E1DD;color:#A63D2F}
.ph .nmini{width:44px;height:44px;border-radius:50%;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#E3EFEA;color:#1E5A47;line-height:1}
.ph .nmini b{font-size:17px}.ph .nmini span{font-size:9.5px;margin-top:1px}
.ph .nwk{border-left:4px solid #C69A1B}
.ph .nq .op4 button.ok{background:#E3EFEA;border-color:#2F7D68;color:#1E5A47}
.ph .nq .op4 button.no{background:#F5E1DD;border-color:#A63D2F;color:#A63D2F}
.ph .nq .nx{font-size:12.5px;color:#5F5E59;margin-top:6px}

/* home: one statistic, subject progress, today's news */
.ph .hhd{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:10px}
.ph .hnext{display:flex;flex-direction:column;align-items:flex-end;max-width:55%;font-size:12.5px;font-weight:700;color:#2F7D68;text-decoration:none;text-align:right}
.ph .hnext span{font-size:11.5px;font-weight:400;color:#6B6A64;white-space:normal;max-width:100%}
.ph .hstat{display:block;background:#1E5A47;color:#fff;border-radius:18px;padding:16px 16px 14px;text-decoration:none;margin-bottom:6px}
.ph .hs-k{font-size:11.5px;opacity:.75}
.ph .hs-t{font-size:20px;line-height:1.35;font-weight:600;margin:6px 0 12px}.ph .hs-t b{color:#9FE3C9;font-weight:700}
.ph .hs-row{display:flex;align-items:center;gap:8px;font-size:12px;margin:5px 0}.ph .hs-row span{width:34px;opacity:.8}.ph .hs-row b{width:34px;text-align:right}
.ph .hs-bar{flex:1;height:10px;border-radius:6px;background:rgba(255,255,255,.15);overflow:hidden}.ph .hs-bar i{display:block;height:100%;background:#9FE3C9;border-radius:6px}
.ph .hs-ft{font-size:12px;opacity:.85;margin-top:10px}
.ph .hsec{display:flex;justify-content:space-between;align-items:baseline}.ph .hsec a{font-size:12.5px;color:#2F7D68;font-weight:600;text-decoration:none}
.ph .hprog{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;padding:12px 14px}
.ph .hp{text-decoration:none;color:inherit}.ph .hp-n{font-size:13px;font-weight:600;white-space:normal}
.ph .ncredit{font-size:10.5px;color:#8A867C;text-align:right;margin:-6px 4px 8px}

.ph .hprog{gap:9px 16px;padding:12px 14px}
.ph .hp-h{display:flex;justify-content:space-between;align-items:baseline;gap:6px}
.ph .hp-b{height:5px;border-radius:3px;background:#EAE6DD;margin-top:4px;overflow:hidden}.ph .hp-b i{display:block;height:100%;background:#2F7D68}

/* home · design 1 */
.ph .h1s{display:block;text-decoration:none;color:inherit;margin:18px 0 4px}
.ph .h1-big{font-size:46px;font-weight:700;line-height:1;color:#2F7D68}.ph .h1-big span{font-size:20px;color:#1C1B18}
.ph .h1-t{font-size:19px;font-weight:600;line-height:1.35;margin:8px 0 6px}
.ph .h1-lab{display:flex;justify-content:space-between;font-size:11.5px;font-weight:600;color:#77756E;letter-spacing:.3px;margin:22px 0 8px}.ph .h1-lab a{color:#2F7D68;text-decoration:none}
.ph .h1p{display:block;text-decoration:none;color:inherit}
.ph .h1-row{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
.ph .h1-bar{height:5px;border-radius:3px;background:#E7E3DA;overflow:hidden;margin:6px 0 4px}.ph .h1-bar i{display:block;height:100%;background:#2F7D68}
.ph .h1-next{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 0;border-top:1px solid #ECE8DF;border-bottom:1px solid #ECE8DF;text-decoration:none;color:inherit;font-size:13.5px}
.ph .h1-next span{color:#77756E;font-size:12px;flex:none}.ph .h1-next b{flex:1;white-space:normal}.ph .h1-next em{font-style:normal;color:#2F7D68;font-weight:700}
.ph .h1n{position:relative;display:block;height:190px;border-radius:18px;overflow:hidden;background:#D9D4C8;text-decoration:none}
.ph .h1n img{width:100%;height:100%;object-fit:cover;display:block}
.ph .h1n-nb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:40px;font-weight:700;background:#E3EFEA;color:#1E5A47;padding-bottom:50px}.ph .h1n-nb.nint{background:#E3EBF6;color:#1F4F8F}
.ph .h1n-play{position:absolute;right:12px;top:12px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.92);color:#2F7D68;display:grid;place-items:center;font-size:12px}
.ph .h1n-ov{position:absolute;left:0;right:0;bottom:0;padding:28px 14px 12px;background:linear-gradient(transparent,rgba(0,0,0,.72));color:#fff}
.ph .h1n-tag{font-size:10.5px;font-weight:600;padding:1px 8px;border-radius:9px;background:rgba(255,255,255,.22)}
.ph .h1n-t{font-weight:700;font-size:16px;margin-top:4px;line-height:1.3}.ph .h1n-m{font-size:11.5px;opacity:.85}
.ph .h1n + .ncredit{margin:4px 2px 14px}

/* home · layout 5 */
.ph .h5-hi{font-size:21px;font-weight:700;margin-top:2px;display:flex;align-items:center;gap:6px}.ph .h5-hi a{color:inherit;text-decoration:none}
.ph .h5-st{display:flex;gap:12px;align-items:center;margin-top:10px;background:#1E5A47;color:#fff;border-radius:14px;padding:10px 14px;font-size:14px;line-height:1.35;text-decoration:none}
.ph .h5-st b{color:#9FE3C9}.ph .h5-big{font-size:38px;font-weight:700;color:#9FE3C9;line-height:1}
.ph .h5-lab{display:flex;justify-content:space-between;align-items:baseline;font-size:11.5px;font-weight:600;color:#77756E;margin:14px 0 7px}.ph .h5-lab a{color:#2F7D68;text-decoration:none}
.ph .h5-g{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.ph .h5-g a{text-decoration:none;color:inherit}
.ph .h5-gh{display:flex;justify-content:space-between;font-size:12.5px;font-weight:500}.ph .h5-gh small{font-size:10.5px;color:#77756E}
.ph .h5-bar{height:5px;border-radius:3px;background:#E7E3DA;overflow:hidden;margin-top:3px}.ph .h5-bar i{display:block;height:100%;background:#2F7D68;border-radius:3px}
.ph .h1n.h5n{height:160px}
@media (max-height:700px){.ph .h1n.h5n{height:96px}.ph .h5-g{gap:5px 16px}.ph .h5-lab{margin:10px 0 5px}.ph .h5-st{padding:7px 14px;margin-top:6px}.ph .h5-big{font-size:32px}.ph .h5-hi{font-size:19px}}

/* home: the news photo fills whatever height is left on the screen, so nothing scrolls and nothing is left empty */
.ph .h5w{display:flex;flex-direction:column;min-height:100%}
.ph .h1n.h5n{flex:1 1 auto;height:auto;min-height:170px;max-height:300px}
@media (max-height:700px){.ph .h1n.h5n{min-height:96px}}
.ph .h1n.h5n{flex:1 1 0}.ph .h1n.h5n img{position:absolute;inset:0}

/* সাম্প্রতিক thumbnail with a photo: the whole photo behind, the text on top */
.ph .nthb{position:relative;aspect-ratio:16/10;border-radius:16px;overflow:hidden;margin:0 0 10px;background:#2a2a2a}
.ph .nthb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ph .nthb-ov{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;padding:14px 16px;color:#fff;background:linear-gradient(180deg,rgba(0,0,0,.05) 25%,rgba(0,0,0,.78))}
.ph .nthb-k{font-size:11.5px;font-weight:600;color:#9FE3C9}.ph .nthb-t{font-size:21px;font-weight:700;line-height:1.2}
.ph .nthb-ch{display:flex;flex-wrap:wrap;gap:4px}.ph .nthb-ch span{font-size:11px;background:rgba(255,255,255,.2);border-radius:8px;padding:0 7px}
.ph .nthb-d{font-size:11.5px;opacity:.85}
.ph .nthb-play{position:absolute;right:14px;top:14px;width:42px;height:42px;border-radius:50%;background:#2F7D68;color:#fff;display:grid;place-items:center;font-size:14px;padding-left:2px;border:3px solid #fff;box-shadow:0 3px 10px rgba(0,0,0,.25)}
.ph .nthb-ov{background:linear-gradient(180deg,rgba(0,0,0,0) 15%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.85));text-shadow:0 1px 3px rgba(0,0,0,.5)}
