/* Mini Scholars' Home — storefront styles.
   Matches the live site: Scholar Blue #1675D1, Scholar Yellow #FFB91F, Warm Orange #F0782B, Deep Blue #0B3F75. */
@font-face { font-family: "Li Ador Noirrit"; src: url("../fonts/LiAdorNoirrit-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Li Ador Noirrit"; src: url("../fonts/LiAdorNoirrit-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Li Ador Noirrit"; src: url("../fonts/LiAdorNoirrit-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Melon Pop"; src: url("../fonts/MelonPop.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --blue: #1675D1;  --blue-deep: #0B3F75;  --yellow: #FFB91F;  --orange: #F0782B;
  --ink: #1E2633;   --ink-soft: #5B6474;   --sky: #EAF2FB;     --cream: #FFF6E0;
  --line: #E6EAF0;  --white: #FFFFFF;      --ok: #1F8A4C;      --err: #C2410C;
  --font: "Li Ador Noirrit", "Hind Siliguri", system-ui, sans-serif;
  --display: "Melon Pop", "Li Ador Noirrit", sans-serif;
  --r: 14px;  --r-card: 22px;  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 1.0625rem; line-height: 1.75; font-synthesis: none; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 64ch; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn, .pill { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; line-height: 1.5;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn { font-size: 1.05rem; padding: .85rem 1.5rem; }
.pill { font-size: .95rem; padding: .5rem 1.15rem; }
.pill-lg { font-size: 1.1rem; padding: .85rem 1.8rem; }
.btn:active, .pill:active { transform: translateY(1px); }
.btn-primary, .pill-blue { background: var(--blue); color: #fff; }
.btn-primary:hover, .pill-blue:hover { background: var(--blue-deep); }
.btn-sun, .pill-sun { background: var(--yellow); color: var(--blue-deep); }
.btn-sun:hover, .pill-sun:hover { background: #FFC94D; }
.btn-ghost, .pill-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover, .pill-ghost:hover { border-color: var(--blue); }
.btn-small { padding: .5rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- header (sticky, white) ---------- */
.notice { background: var(--yellow); color: var(--blue-deep); text-align: center; font-size: .95rem; padding: .4rem 1rem; font-weight: 600; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hbar { display: flex; align-items: center; gap: 1rem; min-height: 78px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav > a, .has-sub > a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .45rem .95rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .35rem; }
.nav > a:hover, .has-sub > a:hover, .nav a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.nav .cta { background: var(--blue); color: #fff; margin-left: .35rem; }
.nav .cta:hover { background: var(--blue-deep); color: #fff; }
.caret { width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .4rem; box-shadow: 0 12px 30px rgba(11,63,117,.12); }
.acct .sub { left: auto; right: 0; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a, .sub button { display: block; width: 100%; text-align: left; font: inherit; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; padding: .55rem .9rem; border-radius: 10px; cursor: pointer; }
.sub a:hover, .sub button:hover { background: var(--sky); color: var(--blue); }
.bag { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--ink); font-weight: 600; flex-shrink: 0; padding: .25rem .4rem; }
.bag-ico { position: relative; display: inline-flex; }
.bag .count { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 999px; background: var(--yellow); color: var(--blue-deep); font-size: .7rem; font-weight: 700; text-align: center; }
.bag:hover svg { transform: translateY(-1px); }
.sub-toggle { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; flex-direction: column; gap: 5px; }
.menu-btn span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; display: block; }
@media (max-width: 1024px) {
  .menu-btn { display: flex; }
  .brand img { height: 52px; }
  .bag { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .4rem 1rem 1rem; border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(11,63,117,.12); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
  .nav.open { display: flex; }
  .nav > a, .has-sub > a { padding: .8rem .75rem; border-radius: 12px; font-size: 1.05rem; }
  .nav > a + a, .nav > a + .has-sub, .has-sub + a, .has-sub + .has-sub { border-top: 1px solid var(--line); border-radius: 0; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .has-sub > a .caret { display: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .sub, .acct .sub { display: none; position: static; flex-basis: 100%; border: 0; box-shadow: none; background: var(--sky); border-radius: 14px; padding: .3rem; margin: 0 0 .5rem; min-width: 0; }
  .has-sub.open .sub, .has-sub.open:hover .sub, .has-sub.open:focus-within .sub { display: block; }
  .sub a, .sub button { padding: .65rem .9rem; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--ink); }
  .sub-toggle:hover, .sub-toggle:focus-visible { background: var(--sky); }
  .sub-toggle .caret { display: inline-block; transition: transform .2s ease; }
  .has-sub.open .sub-toggle .caret { transform: rotate(225deg) translate(-2px, -2px); }
  .nav .cta, .nav .acct > .cta { background: none; color: var(--ink); margin: 0; justify-content: flex-start; }
  .nav > .cta { background: var(--blue); color: #fff; justify-content: center; margin-top: .6rem; border-radius: 999px; border-top: 0; }
  .acct { margin-top: .4rem; border-top: 2px solid var(--line) !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, #F4F9FF 0%, #fff 100%); }
.deco { position: absolute; border-radius: 50%; pointer-events: none; }
.deco-a { width: 420px; height: 420px; background: var(--sky); top: -170px; right: -110px; }
.deco-b { width: 150px; height: 150px; background: var(--yellow); opacity: .28; bottom: 40px; left: -50px; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow { font-weight: 700; color: var(--orange); font-size: 1.1rem; margin: 0 auto .35rem; }
.hero h1 { margin: 0 auto .5em; max-width: 26ch; }
.hl { color: var(--blue); }
.lead { margin: 0 auto 2.5rem; color: var(--ink-soft); font-size: 1.15rem; max-width: 56ch; }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; text-align: left; }
.door { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.door:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,63,117,.12); }
.door-img { aspect-ratio: 3 / 2; background: var(--sky); overflow: hidden; }
.door-img img, .age-photo img { width: 100%; height: 100%; object-fit: cover; }
.img-fallback { width: 100%; height: 100%; display: grid; place-items: center; }
.img-fallback img { width: 34%; max-width: 160px; height: auto; object-fit: contain; opacity: .9; }
.tone-blue { background: linear-gradient(135deg, #D6E8FA, #EAF2FB); }
.tone-sun { background: linear-gradient(135deg, #FFE9B3, #FFF6E0); }
.tone-orange { background: linear-gradient(135deg, #FFD9BD, #FFF0E4); }
.door-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.door-body h2 { font-size: 1.7rem; margin: .6rem 0 .3rem; color: var(--blue); }
.door-kids .door-body h2 { color: var(--blue-deep); }
.door-body p { color: var(--ink-soft); margin-bottom: 1rem; }
.badge { align-self: flex-start; font-size: .85rem; font-weight: 700; padding: .1rem .8rem; border-radius: 999px; }
.badge-live { background: #E3F4EA; color: var(--ok); }
.badge-soon { background: var(--cream); color: #9A5A00; }
.go { margin-top: auto; font-weight: 700; color: var(--blue); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* ---------- sections, shelves, cards ---------- */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-tint { background: #F7FAFD; }
.sec-title { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; }
.sec-title::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.shelf { margin-bottom: 2.75rem; }
.shelf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.shelf-head h3 { margin: 0; }
.more { font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.msh-empty { background: var(--sky); color: var(--blue-deep); border-radius: var(--r-card); padding: 1.35rem 1.5rem; margin: 0; max-width: none; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.pgrid-courses { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease; }
.pcard:hover { transform: translateY(-3px); }
.pcard-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--sky); overflow: hidden; }
.pcard-img > img { width: 100%; height: 100%; object-fit: cover; }
.onsale { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; border-radius: 999px; padding: .1rem .8rem; font-size: .82rem; font-weight: 600; }
.pcard-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 1.1rem; line-height: 1.4; margin: 0 0 .25rem; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a:hover { color: var(--blue); }
.pcard-desc { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 .75rem; }
.pcard-foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.price { font-weight: 700; font-size: 1.2rem; color: var(--blue); }
.price del, .price s { font-weight: 400; font-size: .85em; color: var(--ink-soft); }
.out { color: var(--err); font-size: .9rem; font-weight: 600; }
.pcard-course { flex-direction: row; }
.pcard-course .pcard-img { flex: 0 0 42%; aspect-ratio: auto; }
.pcard-course .pcard-body { padding: 1.4rem; }
.pcard-course h3 { font-size: 1.3rem; }
@media (max-width: 767px) {
  .pgrid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .pgrid-courses { grid-template-columns: 1fr; }
  .pcard-course { flex-direction: column; } .pcard-course .pcard-img { aspect-ratio: 16 / 10; }
  .pcard-body { padding: .8rem .8rem 1rem; } .pcard h3 { font-size: .98rem; }
  .pcard-foot .pill, .pcard-foot form { width: 100%; }
}
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1.2rem; text-align: center; color: #fff; }
.ph img, .product .cover .ph img { width: 56px !important; height: auto !important; object-fit: contain; opacity: .9; }
.ph b { font-size: 1.2rem; line-height: 1.35; }
.ph-book { background: var(--blue); } .ph-ebook { background: var(--orange); } .ph-course { background: var(--blue-deep); } .ph-other { background: var(--yellow); color: var(--blue-deep); }

/* ---------- age cards ---------- */
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.age { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s ease; }
.age:hover { transform: translateY(-4px); }
.age-photo { aspect-ratio: 4 / 3; background: var(--sky); overflow: hidden; }
.age-num { padding: 1rem 1.5rem 0; }
.age-num h3 { font-family: var(--display); font-weight: 400; font-size: 3rem; line-height: 1.1; margin: 0; color: var(--blue); }
.age-num small { font-family: var(--font); font-weight: 600; font-size: .4em; margin-left: .2rem; color: var(--ink-soft); }
.age p { padding: 0 1.5rem; color: var(--ink-soft); margin: .4rem 0 1rem; }
.age .go { padding: 0 1.5rem 1.4rem; color: #9A5A00; }
@media (max-width: 860px) { .ages { grid-template-columns: 1fr; } }
.soon-panel { text-align: center; background: var(--sky); border-radius: 26px; padding: 3rem 1.5rem; margin-bottom: 4rem; }
.soon-panel img { margin: 0 auto 1rem; }
.soon-panel p { margin-inline: auto; color: var(--ink-soft); }

/* ---------- why band ---------- */
.why { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.why-inner { position: relative; z-index: 1; }
.why h2 { color: #fff; margin-bottom: .6em; }
.why p { margin: 0 auto 1.75rem; color: #DCEBFA; font-size: 1.15rem; max-width: 60ch; }
.why .why-line { color: var(--yellow); margin-bottom: 1.25rem; }
.deco-c { width: 340px; height: 340px; background: rgba(255,255,255,.07); top: -120px; left: -90px; }
.deco-d { width: 220px; height: 220px; background: rgba(255,185,31,.16); bottom: -90px; right: -50px; }

/* ---------- messages ---------- */
.messages { list-style: none; margin: 1rem auto 0; padding: 0 1.25rem; max-width: var(--wrap); }
.messages li { padding: .8rem 1.1rem; border-radius: var(--r); background: var(--sky); margin-bottom: .5rem; border-left: 4px solid var(--blue); }
.messages .error { background: #FDEEE6; border-color: var(--err); }
.messages .success { background: #E8F6EE; border-color: var(--ok); }


/* ---------- how ordering works (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: s; border-top: 3px solid var(--yellow); padding-top: 1rem; }
.steps li::before { content: counter(s, bengali); display: block; font-size: 2rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: .5rem; }
.steps b { display: block; font-size: 1.12rem; }
.steps span { color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }


/* ---------- page head / filters ---------- */
.page-head { padding: 3rem 0 1.5rem; }
.page-head p { color: var(--ink-soft); font-size: 1.1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.chip { text-decoration: none; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: .97rem; }
.chip:hover { border-color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.empty { padding: 3rem 2rem; border: 2px dashed var(--line); border-radius: var(--r); text-align: center; color: var(--ink-soft); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(2rem, 5vw, 4rem); padding: 3rem 0 4rem; align-items: start; }
.product .cover { aspect-ratio: 3/4; border-radius: 8px 18px 18px 8px; overflow: hidden; position: relative; box-shadow: inset 8px 0 0 rgba(0,0,0,.08); background: var(--sky); }
.product .cover img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .95rem; color: var(--ink-soft); margin-bottom: .75rem; }
.crumbs a { color: var(--ink-soft); }
.product .by { font-size: 1.1rem; color: var(--ink-soft); }
.product .price { font-size: 1.8rem; margin: 1rem 0 1.25rem; }
.meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 2rem; }
.qty { width: 5rem; }
.desc { border-top: 1px solid var(--line); padding-top: 1.5rem; white-space: pre-line; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; } .product .cover { max-width: 320px; } }

/* ---------- forms ---------- */
label { font-weight: 600; display: block; margin-bottom: .35rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], textarea, select {
  width: 100%; font: inherit; color: var(--ink); padding: .75rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--r); background: var(--white);
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,117,209,.15); }
.field { margin-bottom: 1.15rem; }
.field .errorlist { list-style: none; padding: 0; margin: .35rem 0 0; color: var(--err); font-size: .95rem; }
.field .help { font-size: .92rem; color: var(--ink-soft); margin-top: .3rem; }
.radios { display: flex; flex-wrap: wrap; gap: .6rem; }
.radios label { font-weight: 600; margin: 0; display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); padding: .6rem 1rem; border-radius: var(--r); cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.radios ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }

.narrow { max-width: 460px; margin: 3rem auto 4rem; }
.panel { border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.panel + .panel { margin-top: 1.5rem; }
.panel h2 { font-size: 1.3rem; }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table td, .cart-table th { padding: 1rem .5rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table th { font-size: .95rem; color: var(--ink-soft); font-weight: 600; }
.cart-table .t { display: flex; align-items: center; gap: 1rem; }
.cart-table .mini { width: 52px; aspect-ratio: 3/4; border-radius: 3px 7px 7px 3px; overflow: hidden; position: relative; flex: none; background: var(--sky); }
.cart-table .mini img { width: 100%; height: 100%; object-fit: cover; }
.cart-table .mini .ph { padding: 0; }
.cart-table .mini .ph b, .cart-table .mini .ph small { display: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--err); cursor: pointer; text-decoration: underline; }
.totals { margin-left: auto; max-width: 360px; margin-top: 1.5rem; }
.totals .row { display: flex; justify-content: space-between; padding: .35rem 0; }
.totals .grand { border-top: 2px solid var(--ink); margin-top: .4rem; padding-top: .7rem; font-weight: 700; font-size: 1.2rem; }

.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; padding: 2rem 0 4rem; align-items: start; }
.checkout aside { position: sticky; top: 96px; }
.paybox { background: var(--cream); border: 1.5px solid #FBE3A8; border-radius: var(--r); padding: 1.25rem 1.25rem .5rem; margin-bottom: 1.25rem; }
.paybox ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.paybox li { margin-bottom: .35rem; }
.paybox .num { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; }
.paybox .copy { font: inherit; font-size: .85rem; border: 1px solid #E8C770; background: #fff; border-radius: 999px; padding: .1rem .6rem; cursor: pointer; margin-left: .4rem; }
.amount { font-size: 1.4rem; font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout aside { position: static; } }

/* ---------- order status ---------- */
.status { display: inline-block; padding: .25rem .9rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.status-pending { background: var(--cream); color: #8A5300; }
.status-verified, .status-shipped, .status-delivered { background: #E8F6EE; color: var(--ok); }
.status-cancelled { background: #FDEEE6; color: var(--err); }
.order-code { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--blue); }
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.timeline li { border-top: 4px solid var(--line); padding-top: .5rem; font-size: .95rem; color: var(--ink-soft); }
.timeline li.done { border-color: var(--blue); color: var(--ink); font-weight: 600; }


dialog.soon { border: 0; border-radius: 200px 200px 16px 16px; padding: 5rem 2rem 2rem; max-width: 420px; width: calc(100% - 2rem); text-align: center; color: var(--ink); background: var(--white); }
dialog.soon::backdrop { background: rgba(21, 48, 79, .55); }
dialog.soon h2 { font-size: 1.6rem; }
dialog.soon .star { width: 48px; margin: -2.5rem auto 1rem; }
@media (prefers-reduced-motion: no-preference) {
  dialog.soon[open] { animation: pop .35s ease-out; }
  @keyframes pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}


/* ---------- footer (deep blue) ---------- */
.site-footer { background: var(--blue-deep); color: #C9DBEF; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand img { width: 150px; height: auto; margin-bottom: .6rem; }
.foot-brand p { max-width: 30ch; }
.site-footer h3 { color: var(--yellow); font-size: 1.05rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; font-size: .92rem; }
.foot-bottom p { margin: 0; max-width: none; }
.policies { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.policies li { margin: 0; }
.credit a { text-decoration: underline; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- course player ---------- */
.learn { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; padding: 1.5rem 0 4.5rem; align-items: start; }
.video { aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--r); overflow: hidden; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-missing { height: 100%; display: grid; place-items: center; color: #fff; }
.lesson-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0 1rem; }
.lesson-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.lesson-nav { display: flex; justify-content: space-between; margin-top: 2rem; gap: 1rem; }
.learn-side { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; border: 1.5px solid var(--line); border-radius: var(--r); padding: 1rem 1rem 1.25rem; }
.bar { height: 8px; background: var(--sky); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.progress p { margin: .4rem 0 1rem; font-size: .95rem; color: var(--ink-soft); }
.sec { font-size: 1rem; margin: 1rem 0 .4rem; color: var(--blue-deep); }
.lessons { list-style: none; padding: 0; margin: 0; }
.lessons a, .lessons .locked { display: flex; gap: .6rem; padding: .5rem .6rem; border-radius: 8px; text-decoration: none; color: var(--ink); line-height: 1.5; }
.lessons a:hover { background: var(--sky); }
.lessons .current a { background: var(--sky); font-weight: 700; color: var(--blue); }
.lessons .locked { color: var(--ink-soft); }
.lessons .mark { width: 1.1rem; flex: none; text-align: center; color: var(--ok); font-weight: 700; }
.lessons .locked .mark { color: var(--line); }
.lessons em { font-style: normal; font-size: .8rem; background: var(--cream); padding: 0 .5rem; border-radius: 999px; margin-left: auto; align-self: center; white-space: nowrap; }
.course-row { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; text-decoration: none; color: inherit; flex-wrap: wrap; }
.course-row > div { flex: 1 1 240px; }
.curriculum { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.curriculum ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.curriculum li { padding: .35rem 0; border-bottom: 1px dashed var(--line); display: flex; gap: .75rem; justify-content: space-between; }
@media (max-width: 900px) { .learn { grid-template-columns: 1fr; } .learn-side { position: static; max-height: none; } }


/* ---------- coupon, history, gallery ---------- */
.coupon-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.coupon-form input { flex: 1 1 160px; }
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.history time { color: var(--ink-soft); font-size: .92rem; }
.gallery { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery img { width: 76px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px 9px 9px 4px; border: 1.5px solid var(--line); }
.gallery a:hover img { border-color: var(--blue); }
.wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; background: #25D366; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .2s ease; }
.wa:hover { transform: scale(1.06); }
@media (max-width: 560px) { .wa { width: 52px; height: 52px; right: .8rem; bottom: .8rem; } .wa svg { width: 28px; height: 28px; } }
.wa:hover { background: #1DA851; }
.search { display: flex; gap: .5rem; margin-bottom: 1.25rem; max-width: 460px; }
.search input { flex: 1; }
.newsletter { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 160px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.newsletter input::placeholder { color: #9FB2C8; }
@media print { .site-header, .site-footer, .wa, .notice { display: none; } }

/* ---------- branded video player ---------- */
.player { position: relative; color: #fff; user-select: none; -webkit-user-select: none; outline: none; }
.player .pl-stage, .player .pl-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.plain .pl-click, .player.plain .pl-cover, .player.plain .pl-big, .player.plain .pl-bar, .player.plain .pl-end { display: none; }
.pl-click { position: absolute; inset: 0 0 56px 0; cursor: pointer; z-index: 2; }
.pl-cover { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 1.5rem 1.5rem 6.2rem;
  background: radial-gradient(90% 120% at 100% 0%, rgba(255,185,31,.28), transparent 50%), linear-gradient(135deg, var(--blue-deep), var(--blue)); pointer-events: none; transition: opacity .25s; }
.pl-cover img { position: absolute; top: 1.1rem; left: 1.2rem; }
.pl-cover b { text-shadow: 0 2px 10px rgba(0,0,0,.3); font-size: clamp(1.1rem, 2.6vw, 1.7rem); line-height: 1.4; max-width: 34ch; }
.player.started .pl-cover { opacity: 0; }
.pl-big { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .15s, opacity .2s; }
.pl-big svg { margin-left: 5px; }
.pl-big:hover { transform: translate(-50%, -50%) scale(1.06); }
.player.playing .pl-big, .player.ended .pl-big { opacity: 0; pointer-events: none; }
.player:not(.ready) .pl-big { opacity: .55; }
.pl-bar { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .5rem; background: linear-gradient(transparent, rgba(8,28,52,.88)); transition: opacity .25s; }
.player.playing:not(.show) .pl-bar { opacity: 0; pointer-events: none; }
.player.playing:not(.show) { cursor: none; }
.pl-row { display: flex; align-items: center; gap: .35rem; }
.pl-row .sp { flex: 1; }
.pl-row button { background: none; border: 0; color: #fff; cursor: pointer; font: inherit; font-weight: 700; padding: .35rem .5rem; border-radius: 8px; display: inline-flex; align-items: center; min-width: 2.2rem; justify-content: center; }
.pl-row button:hover, .pl-row button:focus-visible { background: rgba(255,255,255,.18); }
.pl-time { font-size: .92rem; opacity: .95; padding: 0 .4rem; white-space: nowrap; }
.i-pause { display: none; } .player.playing .i-play { display: none; } .player.playing .i-pause { display: block; }
.player.muted .wave { display: none; }
.pl-seek, .pl-vol { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; width: 100%; height: 18px; margin: 0; }
.pl-vol { width: 84px; }
.pl-seek::-webkit-slider-runnable-track { height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--yellow) var(--p, 0%), rgba(255,255,255,.55) var(--p, 0%) var(--b, 0%), rgba(255,255,255,.25) var(--b, 0%)); }
.pl-seek::-moz-range-track { height: 5px; border-radius: 5px; background: rgba(255,255,255,.3); }
.pl-seek::-moz-range-progress { height: 5px; border-radius: 5px; background: var(--yellow); }
.pl-seek::-webkit-slider-thumb, .pl-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); margin-top: -4.5px; border: 0; }
.pl-seek::-moz-range-thumb, .pl-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 0; }
.pl-vol::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.45); }
.pl-end { position: absolute; inset: 0; z-index: 4; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.pl-end p { font-size: 1.5rem; font-weight: 700; margin: 0; } .pl-end div { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.player.ended .pl-end { display: flex; } .player.ended .pl-click { display: none; }
.player:fullscreen { border-radius: 0; } .player:fullscreen .pl-stage { inset: 0; }
.player.pseudo { position: fixed; inset: 0; z-index: 9999; border-radius: 0; aspect-ratio: auto; } body.pl-lock { overflow: hidden; }
@media (max-width: 560px) { .pl-vol, [data-back], [data-fwd] { display: none; } .pl-big { width: 68px; height: 68px; } }
@media (prefers-reduced-motion: reduce) { .pl-cover, .pl-bar, .pl-big { transition: none; } }

/* ---- v10: Google button, child profiles ---- */
.gbtn{display:flex;align-items:center;justify-content:center;gap:.6rem;padding:.8rem 1rem;border:2px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-weight:600;margin-bottom:1rem}
.gbtn:hover{border-color:var(--blue)}
.or{text-align:center;margin:0 0 1rem;position:relative;color:#6b7686;font-size:.95rem}
.or::before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid var(--line)}
.or span{position:relative;background:var(--white);padding:0 .75rem}
.kid-row{margin-bottom:1.25rem}
.kid-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}

/* ---- blog ---- */
.post-card .pcard-img{aspect-ratio:16/10;overflow:hidden;background:var(--sky)}
.post-card .pcard-img img{width:100%;height:100%;object-fit:cover}
.post-ph{height:100%;display:grid;place-items:center;font-size:4rem;color:var(--blue);background:var(--sky)}
.post-body{font-size:1.15rem;line-height:1.95}
.post-body h2,.post-body h3{margin-top:1.8em}
.post-body img{border-radius:12px;margin:1rem 0}
.post-body blockquote{margin:1.2rem 0;padding:.4rem 1.2rem;border-left:4px solid var(--yellow);background:var(--sky);border-radius:0 12px 12px 0}
.more-posts{list-style:none;padding:0}.more-posts li{padding:.45rem 0;border-bottom:1px solid var(--line)}
.pager{display:flex;gap:.75rem;justify-content:center;margin:2rem 0}

/* ---- reviews, bundles ---- */
.stars i{font-style:normal;color:#D5DCE6}.stars i.on{color:var(--yellow)}
.rating-line{margin:.1rem 0 .4rem}.rating-line a{text-decoration:none;color:var(--ink)}
.reviews{margin:2.5rem 0}.review{padding:.8rem 0;border-bottom:1px solid var(--line)}.review p{margin:.3rem 0 0}
.star-pick{display:inline-flex;flex-direction:row-reverse;gap:.15rem;font-size:2rem;line-height:1;margin-bottom:.4rem}
.star-pick input{position:absolute;opacity:0}.star-pick label{cursor:pointer;color:#D5DCE6}
.star-pick label:hover,.star-pick label:hover~label,.star-pick input:checked~label{color:var(--yellow)}
.star-pick input:focus-visible+label{outline:2px solid var(--blue);border-radius:6px}
.bundle-box{background:var(--sky);border-radius:16px;padding:1rem 1.25rem;margin:1rem 0}.bundle-box ul{margin:0;padding-left:1.2rem}

/* ---- quiz, Q&A ---- */
.quiz,.qa{margin-top:2.25rem;padding-top:1.25rem;border-top:1px solid var(--line)}
.quiz .q{border:1px solid var(--line);border-radius:14px;padding:.8rem 1rem;margin:0 0 .9rem}
.quiz legend{padding:0 .4rem}.quiz .opt{display:block;padding:.3rem 0;cursor:pointer}
.quiz ul{list-style:none;padding:0;margin:.4rem 0}.quiz li{padding:.25rem .6rem;border-radius:8px}
.quiz li.right{background:#e3f6e8}.quiz li.wrong{background:#fde7e3}
.quiz .q-ok{border-color:#9ad6ab}.quiz .q-bad{border-color:#f2b3a8}
.quiz-score{font-size:1.2rem;font-weight:700;color:var(--blue-deep)}
.qa textarea,.cm textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:.7rem .9rem;font:inherit}
.cm{margin-top:1rem;padding:.8rem 1rem;border-radius:14px;background:#F6F9FD}
.cm p{margin:.2rem 0}.cm-by{font-size:.95rem}.cm-by em{font-style:normal;background:var(--yellow);color:var(--blue-deep);border-radius:999px;padding:0 .55rem;font-size:.82rem;margin-left:.25rem}
.cm-reply{margin-left:1.25rem;background:#fff;border:1px solid var(--line)}.cm-team{background:#FFF8E6}
.cm-reply-box summary{cursor:pointer;color:var(--blue);font-size:.95rem;margin-top:.4rem}

/* ---------- course landing page ---------- */
.cl-hero { background: linear-gradient(180deg, #F4F9FF 0%, #fff 100%); padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; }
.cl-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.cl-tag { display: inline-block; margin: 0 0 .8rem; padding: .15rem .9rem; border-radius: 999px; background: var(--cream); color: #9A5A00; font-weight: 700; font-size: .95rem; }
.cl-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.25; max-width: 18ch; margin-bottom: .45em; color: var(--blue-deep); }
.cl-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 1.1rem; }
.cl-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .5rem; padding: 0; margin: 0 0 1.4rem; }
.cl-facts li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .1rem .85rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.cl-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .75rem; margin: 0 0 1rem; }
.cl-price b { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--blue); line-height: 1.2; }
.cl-price s { color: var(--ink-soft); font-size: 1.15rem; }
.cl-save { background: #E3F4EA; color: var(--ok); font-weight: 700; font-size: .9rem; border-radius: 999px; padding: 0 .7rem; }
.cl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.cl-form { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.cl-cta .btn-primary, .cl-final .btn-primary { font-size: 1.15rem; padding: .95rem 2rem; }
.cl-link { font-weight: 600; }
.cl-note { margin: .9rem 0 0; font-size: .95rem; color: var(--ink-soft); }
.cl-hero .rating-line { margin-top: .8rem; }
.cl-cover { position: relative; aspect-ratio: 3/4; max-width: 340px; margin-left: auto; border-radius: 10px 22px 22px 10px; overflow: hidden; background: var(--sky); box-shadow: inset 8px 0 0 rgba(0,0,0,.08), 0 22px 44px rgba(11,63,117,.16); transform: rotate(1.5deg); }
.cl-cover img { width: 100%; height: 100%; object-fit: cover; }

.cl-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-top: 1rem; padding-bottom: 3rem; }
.cl-sec { padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.cl-sec:last-child { border-bottom: 0; }
.cl-sec > h2, .cl-sec-head h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--blue-deep); margin-bottom: .7em; }
.cl-sec .reviews { margin: 0; }

.cl-q { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.cl-q li { position: relative; padding: .7rem 1rem .7rem 3.1rem; background: var(--sky); border-radius: var(--r); font-weight: 600; max-width: 60ch; }
.cl-q li::before { content: "?"; position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--yellow); color: var(--blue-deep); display: grid; place-items: center; font-weight: 700; line-height: 1; }
.cl-close { color: var(--ink-soft); font-style: italic; margin: 0; }

.cl-out { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.cl-out li { display: flex; gap: .8rem; border-top: 3px solid var(--yellow); padding-top: 1rem; }
.cl-out svg { flex: none; margin-top: .2rem; }
.cl-out h3 { font-size: 1.15rem; margin-bottom: .25em; }
.cl-out p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.65; }

.cl-cap { margin: .8rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.cl-cap b { color: var(--ink); }

.cl-sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cl-toggle { background: none; border: 0; font: inherit; font-weight: 600; color: var(--blue); cursor: pointer; padding: .2rem .4rem; border-radius: 6px; }
.cl-toggle:hover { text-decoration: underline; }
.cl-count { margin: -.4rem 0 1rem; font-size: .98rem; }
.cl-mod { border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: .6rem; background: #fff; overflow: hidden; }
.cl-mod[open] { border-color: #C9DCF2; }
.cl-mod > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .95rem 3rem .95rem 1.1rem; position: relative; font-weight: 700; }
.cl-mod > summary::-webkit-details-marker { display: none; }
.cl-mod > summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: .55rem; height: .55rem; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.cl-mod[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.cl-mod[open] > summary { background: var(--sky); }
.cl-mod-meta { font-weight: 500; color: var(--ink-soft); font-size: .92rem; }
.cl-lessons { list-style: none; margin: 0; padding: .3rem 0; }
.cl-lessons li + li { border-top: 1px dashed var(--line); }
.cl-lessons a, .cl-lessons .locked { display: flex; align-items: center; gap: .7rem; padding: .7rem 1.1rem; color: var(--ink); text-decoration: none; line-height: 1.5; }
.cl-lessons a:hover { background: var(--sky); }
.cl-lessons .ic { flex: none; color: var(--blue); }
.cl-lessons .locked { color: var(--ink-soft); }
.cl-lessons .locked .ic { color: #9AA6B6; }
.cl-lessons .t { flex: 1; min-width: 0; }
.cl-lessons em { font-style: normal; font-size: .8rem; font-weight: 700; background: #E3F4EA; color: var(--ok); padding: 0 .6rem; border-radius: 999px; white-space: nowrap; }
.cl-lessons .d { font-size: .9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-lessons .lock { flex: none; color: #9AA6B6; }
.cl-lockhint { font-size: .95rem; margin: .6rem 0 0; }

.cl-info { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; }
.cl-info div { background: var(--sky); border-radius: var(--r); padding: .8rem 1.1rem; }
.cl-info dt { font-size: .88rem; color: var(--ink-soft); }
.cl-info dd { margin: 0; font-weight: 700; color: var(--blue-deep); }

.cl-aud { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.cl-aud li { position: relative; padding-left: 1.9rem; max-width: 60ch; }
.cl-aud li::before { content: ""; position: absolute; left: .2rem; top: .6rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--orange); }

.cl-ins { display: flex; gap: 1.4rem; align-items: flex-start; }
.cl-ins-ph { flex: none; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: var(--sky); display: grid; place-items: center; }
.cl-ins-ph img { width: 100%; height: 100%; object-fit: cover; }
.cl-ins-ph img.sym { width: 56px; height: auto; object-fit: contain; }
.cl-ins h3 { margin-bottom: .1em; }

.cl-faq { border-bottom: 1px solid var(--line); }
.cl-faq summary { cursor: pointer; font-weight: 700; padding: .95rem 2.2rem .95rem 0; position: relative; list-style: none; }
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary::after { content: "+"; position: absolute; right: .3rem; top: .7rem; font-size: 1.5rem; font-weight: 500; color: var(--blue); line-height: 1.2; }
.cl-faq[open] summary::after { content: "−"; }
.cl-faq p { margin: 0 0 1rem; color: var(--ink-soft); }

.cl-aside { position: sticky; top: 96px; }
.cl-card { border: 1.5px solid var(--line); border-radius: var(--r-card); padding: 1.4rem; background: #fff; box-shadow: 0 14px 34px rgba(11,63,117,.09); }
.cl-card .cl-form { flex-direction: column; }
.cl-card .btn { width: 100%; }
.cl-card .btn-primary { font-size: 1.1rem; }
.cl-card-ok { font-weight: 700; color: var(--ok); margin-bottom: .8rem; }
.cl-card-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .4rem; font-size: .96rem; color: var(--ink-soft); }
.cl-card-list li { padding-left: 1.4rem; position: relative; }
.cl-card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

.cl-final { background: var(--blue); color: #fff; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cl-final h2 { color: #fff; max-width: 22ch; margin: 0 auto .4em; }
.cl-final p { margin: 0 auto 1rem; color: #DCEBFA; max-width: 48ch; }
.cl-final .cl-price { justify-content: center; }
.cl-final .cl-price b { color: var(--yellow); }
.cl-final .cl-price s { color: #BBD3EE; }
.cl-final .cl-cta { justify-content: center; }
.cl-final .btn-primary { background: var(--yellow); color: var(--blue-deep); }
.cl-final .btn-primary:hover { background: #ffc94d; }
.cl-final .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }

.cl-sticky { display: none; }
@media (max-width: 960px) {
  .cl-body { grid-template-columns: minmax(0, 1fr); }
  .cl-aside { display: none; }
  .cl { padding-bottom: 4.6rem; }
  .cl-sticky { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11,63,117,.12);
    transform: translateY(110%); transition: transform .25s ease; }
  .cl-sticky.on { transform: none; }
  .cl-sticky > div { min-width: 0; line-height: 1.3; }
  .cl-sticky b { color: var(--blue); font-size: 1.25rem; }
  .cl-sticky s { color: var(--ink-soft); font-size: .9rem; margin-left: .4rem; }
  .cl-sticky span { display: block; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cl-sticky .btn { padding: .7rem 1.3rem; white-space: nowrap; }
}
@media (max-width: 760px) {
  .cl-hero-in { grid-template-columns: 1fr; }
  .cl-hero-media { order: -1; }
  .cl-cover { max-width: 150px; margin: 0; transform: none; }
  .cl-out, .cl-info { grid-template-columns: 1fr; }
  .cl-ins { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .cl-sticky, .cl-mod > summary::after { transition: none; } }

/* ---------- notices as toasts ---------- */
.messages { position: fixed; z-index: 120; top: 76px; left: 50%; transform: translateX(-50%); width: min(94vw, 560px); margin: 0; padding: 0; display: grid; gap: .5rem; pointer-events: none; }
.messages li { pointer-events: auto; display: flex; align-items: center; gap: .8rem; margin: 0; padding: .75rem 1rem; border-radius: var(--r); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-left: 5px solid var(--blue); box-shadow: 0 14px 34px rgba(11,63,117,.18); animation: toast-in .25s ease; transition: opacity .25s, transform .25s; }
.messages li.success { border-left-color: var(--ok); }
.messages li.error { border-left-color: var(--err); }
.messages li.gone { opacity: 0; transform: translateY(-8px); }
.messages li span { flex: 1; line-height: 1.5; }
.messages li a { font-weight: 700; white-space: nowrap; }
.messages li .x { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 0 .2rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .messages li { animation: none; } }

/* ---------- player: quality menu ---------- */
.pl-q { position: relative; display: inline-flex; }
.pl-q > button { gap: .3rem; font-size: .88rem; }
.pl-qmenu { position: absolute; right: 0; bottom: calc(100% + 8px); margin: 0; padding: .35rem; list-style: none; min-width: 9.5rem; background: rgba(8,28,52,.96); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 9; }
.pl-qmenu[hidden] { display: none; }
.pl-row .pl-qmenu button { width: 100%; justify-content: flex-start; font-weight: 600; padding: .3rem .7rem .3rem 1.7rem; line-height: 1.4; position: relative; white-space: nowrap; }
.pl-row .pl-qmenu button.on::before { content: "✓"; position: absolute; left: .55rem; color: var(--yellow); }
@media (max-width: 520px) { .pl-time { display: none; } .pl-row button { min-width: 1.9rem; padding: .35rem .3rem; } }

/* ---------- home v2: hero, age cards, "why" ---------- */
.hero2 { background: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero2 .hero-inner { text-align: left; }
.deco-sun { width: 330px; height: 330px; background: var(--yellow); top: -200px; right: 7%; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.hero2 .eyebrow { color: var(--blue-deep); margin: 0 0 .15rem; font-size: 1.3rem; }
.hero2 h1 { margin: 0; max-width: none; color: var(--ink); font-size: clamp(2.2rem, 5.2vw, 4.3rem); line-height: 1.2; }
.hero2 .lead { margin: 0 0 .6rem; font-size: 1.1rem; max-width: 46ch; }

.hero2 .doors { gap: 2rem; }
.hero2 .door { flex-direction: row; align-items: stretch; gap: 1rem; padding: 1rem; border: 0; border-radius: 34px; min-height: 410px; }
.hero2 .door-parents { background: var(--blue); color: #fff; }
.hero2 .door-kids { background: var(--yellow); color: var(--blue-deep); }
.hero2 .door-body { flex: 1 1 52%; padding: 1.2rem 0 .8rem 1.2rem; min-width: 0; }
.hero2 .door-img { flex: 1 1 48%; aspect-ratio: auto; border-radius: 24px; min-height: 260px; }
.hero2 .door-body h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); color: #fff; margin: 1.1rem 0 .4rem; }
.hero2 .door-kids .door-body h2 { color: var(--blue-deep); }
.hero2 .door-body p { color: inherit; opacity: .95; font-size: 1.02rem; margin-bottom: 1.4rem; }
.hero2 .badge { background: #fff; color: var(--blue-deep); }
.hero2 .go { align-self: flex-start; margin-top: auto; padding: .7rem 1.5rem; border-radius: 999px; font-size: 1.05rem; }
.hero2 .door-parents .go { background: var(--yellow); color: var(--blue-deep); }
.hero2 .door-kids .go { background: var(--blue); color: #fff; }
@media (max-width: 860px) {
  .hero-head { grid-template-columns: 1fr; align-items: start; }
  .hero2 .door { flex-direction: column-reverse; min-height: 0; }
  .hero2 .door-img { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
  .hero2 .door-body { padding: .6rem 1rem 1rem; }
  .deco-sun { width: 220px; height: 220px; top: -140px; }
}

/* kids' corner: coloured age cards with round photos */
.age { border: 0; border-radius: 30px; padding: 2rem 2rem 1.6rem; gap: 0; }
.age-a { background: var(--yellow); color: var(--blue-deep); }
.age-b { background: var(--blue); color: #fff; }
.age-c { background: var(--sky); color: var(--ink); }
.age-photo { width: 204px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.age-photo .img-fallback { background: #fff; }
.age-num { padding: 1.4rem 0 0; }
.age-a .age-num h3 { color: var(--blue-deep); } .age-b .age-num h3 { color: #fff; } .age-c .age-num h3 { color: var(--blue-deep); }
.age-b .age-num small, .age-b p { color: #fff; } .age-a .age-num small, .age-a p { color: var(--blue-deep); }
.age p { padding: 0; margin: .5rem 0 1.4rem; }
.age .go { align-self: flex-start; margin-top: auto; padding: .5rem 1.3rem; border-radius: 999px; font-size: .98rem; background: #fff; color: var(--blue-deep); }
.age-c .go { background: var(--blue); color: #fff; }

/* "why" card + closing line */
.why2 { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.why-card { position: relative; overflow: hidden; background: var(--blue); color: #fff; text-align: center; border-radius: 40px; padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.why-card h2 { color: #fff; position: relative; }
.why-card p { margin: 0 auto; color: #fff; font-size: 1.15rem; max-width: 62ch; position: relative; }
.why-sun { position: absolute; top: -90px; right: -40px; width: 300px; height: 300px; border-radius: 50%; background: var(--yellow); }
.why-dot { position: absolute; top: 48px; right: 14%; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); }
.why-end { text-align: center; padding-top: clamp(2.5rem, 5vw, 4rem); }
.why-end h2 { color: var(--blue); margin-bottom: 1.2rem; }
.hero-head { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
.hero2 h1 { font-size: clamp(2.1rem, 4.1vw, 3.9rem); }
.hero2 .door-body { flex: 1 1 58%; }
.hero2 .door-img { flex: 0 0 42%; align-self: flex-start; aspect-ratio: 285 / 327; min-height: 0; }
@media (max-width: 860px) { .hero2 .door-img { flex: none; align-self: stretch; aspect-ratio: 3 / 2; } }
@media (max-width: 860px) { .hero-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .hero2 .lead { margin: 0; } }

/* ---------- book / e-book listing ---------- */
.bk { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 1rem; }
.bk-side { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow-y: auto; display: grid; gap: .8rem; padding-right: .2rem; }
.bk-box { border: 1.5px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; margin: 0; background: #fff; min-width: 0; }
.bk-box legend { font-weight: 700; padding: 0 .4rem; color: var(--blue-deep); }
.bk-search { display: flex; gap: .4rem; }
.bk-search input { flex: 1; min-width: 0; font: inherit; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .9rem; }
.bk-search .pill { padding: .4rem .9rem; }
.bk-opt { display: flex; align-items: baseline; gap: .5rem; padding: .22rem 0; cursor: pointer; line-height: 1.45; font-size: .98rem; }
.bk-opt input { accent-color: var(--blue); margin: 0; flex: none; transform: translateY(2px); }
.bk-opt span { flex: 1; min-width: 0; }
.bk-opt em { font-style: normal; font-size: .85rem; color: var(--ink-soft); }
.bk-scroll { max-height: 240px; overflow-y: auto; }
.bk-price { display: flex; align-items: center; gap: .4rem; }
.bk-price input { width: 100%; min-width: 0; font: inherit; border: 1.5px solid var(--line); border-radius: 10px; padding: .4rem .6rem; }
.bk-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.bk-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.bk-count { margin: 0; }
.bk-sort select { font: inherit; border: 1.5px solid var(--line); border-radius: 999px; padding: .4rem 1rem; background: #fff; }
.bk-toggle { display: none; }
.pgrid-books { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.25rem; }
.pgrid-books .pcard-img { aspect-ratio: 3 / 4; }
.pgrid-books .pcard-body { padding: .9rem 1rem 1rem; }
.pgrid-books .pcard h3 { font-size: 1.02rem; line-height: 1.45; }
.pgrid-books .pcard-foot { flex-direction: column; align-items: flex-start; gap: .55rem; }
@media (max-width: 860px) {
  .bk { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bk-side { display: none; position: static; max-height: none; margin-bottom: 1rem; }
  .bk-side.open { display: grid; }
  .bk-toggle { display: inline-flex; }
  .bk-bar { order: -1; }
  .pgrid-books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
}

/* ---- আমাদের কথা ---- */
.about-page { max-width: 760px; padding: 3rem 1.25rem 4.5rem; }
.about-page h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); line-height: 1.3; color: var(--deep, #0B3F75); margin: 0 0 1.4rem; }
.about-page p { font-size: 1.12rem; line-height: 1.95; margin: 0 0 1.25rem; color: #2A3445; }
.about-page .lead { font-size: 1.22rem; color: #1E2633; }
.about-page .about-close { margin-top: 2rem; padding: 1.1rem 1.4rem; background: #EAF2FB; border-left: 5px solid #FFB91F; border-radius: 0 14px 14px 0; font-weight: 600; color: #0B3F75; }

/* ---------- profile ---------- */
.prof-card { display: flex; align-items: center; gap: 1rem; }
.prof-av { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; }
.prof-name { display: block; font-size: 1.25rem; }
.prof-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 1.5rem 0; }
.prof-links a { display: block; border: 1.5px solid var(--line); border-radius: var(--r); padding: 1rem 1.15rem; text-decoration: none; color: var(--ink); }
.prof-links a:hover { border-color: var(--blue); background: var(--sky); }
.prof-links b { display: block; color: var(--blue-deep); }
.prof-links span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 520px) { .prof-links { grid-template-columns: 1fr; } }

/* ---------- course images: 16:9 everywhere ---------- */
.pgrid-courses { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pcard-course { flex-direction: column; }
.pcard-course .pcard-img, .pgrid-books .pcard-course .pcard-img { flex: none; aspect-ratio: 16 / 9; }
.pcard-course .pcard-body { padding: 1rem 1.15rem 1.15rem; }
.pcard-course h3 { font-size: 1.15rem; }
.pgrid-books .pcard-course { grid-column: span 2; }
@media (max-width: 767px) { .pcard-course .pcard-img { aspect-ratio: 16 / 9; } .pgrid-books .pcard-course { grid-column: 1 / -1; } }
.cl-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cl-cover { aspect-ratio: 16 / 9; max-width: none; width: 100%; margin: 0; border-radius: 18px; transform: none; box-shadow: 0 22px 44px rgba(11,63,117,.16); }
@media (max-width: 960px) {
  .cl-hero-in { grid-template-columns: 1fr; }
  .cl-hero-media { order: -1; }
  .cl-cover { max-width: 640px; margin: 0; transform: none; }
}

/* প্রচ্ছদের ওপর "নমুনা পড়ুন" */
.cover-read { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; background: rgba(255,255,255,.96); color: var(--blue-deep); text-decoration: none; font-weight: 700; padding: .65rem 1.2rem; border-radius: 999px; box-shadow: 0 8px 22px rgba(11,63,117,.28); }
.cover-read small { font-weight: 600; color: var(--ink-soft); font-size: .82rem; }
.cover-read:hover { background: var(--yellow); }
.cover-read:hover small { color: var(--blue-deep); }

/* ---------- account area ---------- */
.acc { max-width: 860px; padding: 2rem 1.25rem 4.5rem; }
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.acc-who { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.acc-who b { display: block; font-size: 1.2rem; line-height: 1.3; }
.acc-who .en { color: var(--ink-soft); font-size: .92rem; }
.acc-av { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; font-weight: 700; }
.acc-out { background: none; border: 0; color: var(--ink-soft); font: inherit; font-weight: 600; cursor: pointer; padding: .5rem .25rem; text-decoration: underline; text-underline-offset: 3px; }
.acc-out:hover { color: var(--err); }
.acc-tabs { display: flex; gap: .4rem; margin: 1.25rem 0 0; padding-bottom: 2px; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a { flex: none; padding: .7rem 1rem; color: var(--ink-soft); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -3.5px; }
.acc-tabs a:hover { color: var(--blue); }
.acc-tabs a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.acc-title { font-size: 1.6rem; margin: 1.75rem 0 1rem; }
.acc-empty { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 2rem 1.5rem; text-align: center; }
.acc-empty p { margin: 0 0 1rem; color: var(--ink-soft); }
.ord { border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 1rem; overflow: hidden; }
.ord-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 1rem 1.2rem .6rem; }
.ord-code { display: block; font-size: 1.08rem; }
.ord-date { font-size: .9rem; color: var(--ink-soft); }
.ord .status { flex: none; }
.ord-items { list-style: none; margin: 0; padding: 0 1.2rem; }
.ord-items li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: .65rem 0; border-top: 1px solid var(--line); }
.ord-name { font-weight: 600; min-width: 0; }
.ord-name small { color: var(--ink-soft); font-weight: 400; }
.ord-act { flex: none; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; padding: .45rem 1rem; border-radius: 999px; }
.ord-act:hover { background: var(--blue-deep); }
.ord-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1.2rem; background: var(--sky); }
.ord-foot b { color: var(--blue-deep); }
.ord-foot a { font-weight: 600; }
@media (max-width: 560px) { .acc { padding-top: 1.25rem; } .acc-title { font-size: 1.35rem; margin-top: 1.25rem; } .ord-act { width: 100%; text-align: center; } }
@media (max-width: 560px) { .acc-tabs { gap: 0; } .acc-tabs a { flex: 1 1 auto; text-align: center; padding: .7rem .35rem; font-size: .95rem; } }

/* ---------- wishlist heart ---------- */
.pcard { position: relative; }
.pcard > .wish { position: absolute; top: 10px; right: 10px; z-index: 2; margin: 0; }
.wish { margin: 0; }
.wish-btn { display: inline-flex; align-items: center; gap: .45rem; border: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--ink); }
.pcard .wish-btn { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 3px 10px rgba(11,63,117,.18); }
.wish-btn svg { fill: none; stroke: #E0457B; stroke-width: 2; transition: transform .15s ease; }
.wish-btn.on svg { fill: #E0457B; }
.wish-btn:hover svg { transform: scale(1.12); }
.wish-btn.pop svg { animation: wishpop .35s ease; }
@keyframes wishpop { 50% { transform: scale(1.35); } }
.wish-inline { margin: 0 0 1rem; }
.wish-inline .wish-btn { background: #FFF0F5; border: 1.5px solid #F7C6D7; border-radius: 999px; padding: .5rem 1rem .5rem .8rem; color: #A3204F; }
.wish-inline .wish-btn:hover { background: #FFE3EE; }
.acc-wide { max-width: 1100px; }
@media (prefers-reduced-motion: reduce) { .wish-btn svg { transition: none; } .wish-btn.pop svg { animation: none; } }

/* ---------- points ---------- */
.use-points { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; padding: .85rem 1rem; border-radius: 14px; background: #FFF6DC; border: 1.5px solid #F5D27A; cursor: pointer; }
.use-points input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--blue); }
.use-points small { display: block; color: #6B5413; font-size: .88rem; }
.rw-balance { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; background: linear-gradient(135deg, #0B3F75, #1675D1); color: #fff; border-radius: 22px; padding: 1.5rem 1.6rem; margin-bottom: 1.5rem; }
.rw-label { display: block; opacity: .85; font-weight: 600; }
.rw-num { display: block; font-size: 3rem; line-height: 1.1; color: var(--yellow); }
.rw-sub { opacity: .9; font-size: .95rem; }
.rw-rule { margin: 0; max-width: 24rem; opacity: .92; font-size: .95rem; }
.rw-link { display: flex; gap: .6rem; }
.rw-link input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: .65rem 1rem; font: inherit; background: var(--sky); }
.rw-share { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.rw-share a { text-decoration: none; font-weight: 700; padding: .55rem 1.1rem; border-radius: 999px; color: #fff; }
.rw-wa { background: #25D366; } .rw-fb { background: #1877F2; }
.rw-list { list-style: none; padding: 0; margin: 0; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rw-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1.1rem; }
.rw-list li + li { border-top: 1px solid var(--line); }
.rw-list b { display: block; font-weight: 600; }
.rw-list span { color: var(--ink-soft); font-size: .9rem; }
.rw-amt { flex: none; font-weight: 700; font-size: 1.1rem !important; color: var(--ok) !important; }
.rw-amt.neg { color: var(--err) !important; }
.acc-pts { font-weight: 700; color: #8A5A00; text-decoration: none; }

/* ---------- ছোটদের ভিডিও ---------- */
.kids-v { background: linear-gradient(180deg, #FFF8E6 0, #fff 420px); padding-bottom: 4rem; }
.kv-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 2.25rem 0 1rem; }
.kv-head h1 { margin: 0; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--blue-deep); }
.kparent { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink-soft); cursor: pointer; }
.kparent:hover { border-color: var(--blue); color: var(--blue); }
.kv-chips { display: flex; gap: .55rem; overflow-x: auto; padding: .25rem 0 .6rem; scrollbar-width: none; }
.kv-chips::-webkit-scrollbar { display: none; }
.kchip { flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: .55rem 1.1rem; border-radius: 999px; background: #fff; border: 2px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.kchip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.kchip.c-yellow { border-color: #FFD66B; } .kchip.c-orange { border-color: #F7B48A; } .kchip.c-green { border-color: #9AD9B1; }
.kchip.c-pink { border-color: #F7B3CE; } .kchip.c-purple { border-color: #C9B5F2; } .kchip.c-blue { border-color: #A9CDF2; }
.kchip.on.c-yellow, .kchip.on.c-orange, .kchip.on.c-green, .kchip.on.c-pink, .kchip.on.c-purple, .kchip.on.c-blue { border-color: var(--blue); }
.kv-ages { display: flex; gap: 1.1rem; margin: .2rem 0 1.5rem; flex-wrap: wrap; }
.kv-ages a { color: var(--ink-soft); font-weight: 600; text-decoration: none; padding: .2rem 0; border-bottom: 2.5px solid transparent; }
.kv-ages a.on { color: var(--blue-deep); border-bottom-color: var(--yellow); }
.kv-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; background: var(--blue-deep); color: #fff; border-radius: 26px; padding: 1rem; text-decoration: none; margin-bottom: 2rem; }
.kv-feature .vthumb { border-radius: 18px; }
.kv-ftext { display: flex; flex-direction: column; gap: .5rem; padding: .5rem 1rem .5rem 0; }
.kv-ftext b { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; }
.kv-ftext span:last-child { opacity: .85; }
.kv-tag { align-self: flex-start; background: var(--yellow); color: var(--blue-deep); font-weight: 700; font-size: .85rem; padding: .2rem .8rem; border-radius: 999px; }
@media (max-width: 760px) { .kv-feature { grid-template-columns: 1fr; gap: .5rem; } .kv-ftext { padding: .3rem .5rem .6rem; } }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.5rem 1.25rem; }
.vcard { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--ink); }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #DDE8F5; box-shadow: 0 6px 16px rgba(11,63,117,.12); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.vcard:hover .vthumb img, .kv-feature:hover .vthumb img { transform: scale(1.04); }
.vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,185,31,.96); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); border: 0; cursor: pointer; padding-left: 3px; }
.vplay.big { width: 84px; height: 84px; }
.vdur { position: absolute; right: 10px; bottom: 10px; background: rgba(11,30,55,.82); color: #fff; font-size: .82rem; font-weight: 700; padding: .1rem .5rem; border-radius: 8px; }
.vtitle { font-weight: 700; font-size: 1.08rem; line-height: 1.45; }
.vtopic { align-self: flex-start; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr 1fr; gap: 1rem .8rem; } .vtitle { font-size: .98rem; } .vplay { width: 44px; height: 44px; } .vplay svg { width: 20px; height: 20px; } .vtopic { display: none; } }
/* দেখার পাতা */
.kw { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; padding-top: 1.25rem; align-items: start; }
@media (max-width: 1000px) { .kw { grid-template-columns: 1fr; } }
.kw-back { display: inline-block; margin-bottom: .8rem; font-weight: 700; text-decoration: none; color: var(--blue); }
.kplayer { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0B1E37; box-shadow: 0 16px 40px rgba(11,63,117,.22); }
.kplayer:fullscreen { border-radius: 0; aspect-ratio: auto; }
.kplayer iframe, .kplayer #yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kp-shield { position: absolute; inset: 0; z-index: 2; background: transparent; border: 0; cursor: pointer; }
.kp-cover, .kp-pause, .kp-end, .kp-stop, .kp-err { position: absolute; inset: 0; z-index: 4; border: 0; padding: 0; }
.kp-cover { cursor: pointer; background: #0B1E37; }
.kp-cover img { width: 100%; height: 100%; object-fit: cover; }
.kp-pause { background: rgba(11,30,55,.55); }
.kp-end, .kp-stop, .kp-err { background: linear-gradient(160deg, #0B3F75, #1675D1); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1rem; text-align: center; }
.kp-end[hidden], .kp-stop[hidden], .kp-err[hidden], .kp-pause[hidden], .kp-cover[hidden], .kp-bar[hidden] { display: none; }
.kp-end-h { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; margin: 0; }
.kp-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; width: min(100%, 640px); }
.kp-next a { color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; line-height: 1.4; display: flex; flex-direction: column; gap: .35rem; }
.kp-next img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; border: 3px solid rgba(255,255,255,.35); }
.kp-next a:hover img { border-color: var(--yellow); }
.kp-stop-emoji { font-size: 3rem; }
.kp-stop p { margin: 0; max-width: 28rem; }
.kp-bar { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; z-index: 3; display: flex; align-items: center; gap: .7rem; background: rgba(11,30,55,.78); border-radius: 999px; padding: .4rem .7rem; color: #fff; }
.kp-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kp-btn[data-full] { background: transparent; color: #fff; }
.kp-seek { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.28); cursor: pointer; position: relative; }
.kp-seek span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--yellow); }
.kp-time { flex: none; font-size: .85rem; font-weight: 600; }
@media (max-width: 560px) { .kp-time { display: none; } .kplayer { border-radius: 16px; margin-inline: -.25rem; } .kp-next { grid-template-columns: repeat(2, minmax(0,1fr)); } .kp-next a:nth-child(3) { display: none; } .vplay.big { width: 64px; height: 64px; } }
.kw-info h1 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 1.1rem 0 .6rem; color: var(--blue-deep); }
.kw-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.kw-meta .kchip { font-size: .9rem; padding: .35rem .9rem; }
.kw-note { margin: 1rem 0 0; background: #FFF6DC; border-radius: 16px; padding: .9rem 1.1rem; }
.kw-side h2 { font-size: 1.2rem; margin: .3rem 0 1rem; }
.kw-list { display: grid; gap: 1.1rem; }
@media (max-width: 1000px) { .kw-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); } }
/* বাবা-মায়ের ডায়ালগ */
.kdlg { border: 0; border-radius: 22px; padding: 1.5rem; width: min(92vw, 420px); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.kdlg::backdrop { background: rgba(11,30,55,.5); }
.kdlg h2 { margin: 0 0 .6rem; color: var(--blue-deep); }
.kmath { font-size: 1.5rem; display: flex; gap: .6rem; align-items: center; }
.kmath input { width: 5rem; font: inherit; text-align: center; border: 2px solid var(--line); border-radius: 12px; padding: .3rem; }
.kerr { color: var(--err); margin: 0; }
.kbtns { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.klimits { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.klimits button { font: inherit; font-weight: 700; padding: .7rem; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.klimits button[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--blue-deep); }
@media (prefers-reduced-motion: reduce) { .vthumb img { transition: none; } }
.kids-vbanner { background: #FFF6DC; border-radius: 26px; padding: 1.4rem; margin: 0 0 2.5rem; }
.kids-vhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.kids-vhead h2 { margin: 0; color: var(--blue-deep); }
.kids-vhead a { font-weight: 700; text-decoration: none; }
.kplayer.tall { aspect-ratio: auto; min-height: 340px; }
.kplayer.tall .kp-stop, .kplayer.tall .kp-end { position: relative; inset: auto; min-height: 340px; }
@media (max-width: 560px) { .kp-stop-emoji { font-size: 2.2rem; } .kp-end, .kp-stop { gap: .6rem; } .kp-stop p { font-size: .95rem; } }

/* ---------- বাবা-মায়ের আঙিনা ---------- */
.angina { background: linear-gradient(180deg, #EAF3FC 0, #fff 380px); padding-bottom: 4rem; }
.ang-wrap { max-width: 760px; }
.ang-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2.25rem 0 1.1rem; }
.ang-head h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.5rem); color: var(--blue-deep); }
.ang-mine { font-weight: 700; text-decoration: none; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.ang-mine.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.compose { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; margin-bottom: 1.25rem; box-shadow: 0 8px 22px rgba(11,63,117,.06); }
.compose summary { list-style: none; display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; cursor: pointer; }
.compose summary::-webkit-details-marker { display: none; }
.compose-ph { flex: 1; background: var(--sky); border-radius: 999px; padding: .7rem 1.1rem; color: var(--ink-soft); }
.compose[open] summary { border-bottom: 1px solid var(--line); }
.compose form { padding: 1rem 1.2rem 1.2rem; }
.compose-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 520px) { .compose-row { grid-template-columns: 1fr; gap: 0; } }
.ang-chips { margin-top: .5rem; }
.ang-chips .kchip { font-size: .92rem; padding: .45rem .95rem; }
.cp-av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.cp-av.sm { width: 36px; height: 36px; font-size: 1rem; }
.cp-av.team { background: var(--blue); color: #fff; }
.cpost { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 1.1rem 1.2rem .5rem; margin-bottom: 1rem; }
.cpost.pinned { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,185,31,.18); }
.cpost.hidden-post { opacity: .75; border-style: dashed; }
.cp-head { display: flex; align-items: center; gap: .75rem; }
.cp-who { flex: 1; min-width: 0; }
.cp-who b { font-size: 1.05rem; }
.cp-meta { display: block; color: var(--ink-soft); font-size: .86rem; }
.cp-team { display: inline-block; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; padding: .05rem .55rem; border-radius: 999px; vertical-align: 2px; }
.cp-pin { flex: none; font-size: .85rem; font-weight: 700; color: #8A5A00; }
.cp-body { margin: .8rem 0 .4rem; font-size: 1.05rem; line-height: 1.8; overflow-wrap: anywhere; }
.cp-body p { margin: 0 0 .6rem; }
.cp-flag { background: #FFF1DC; color: #8A4B00; border-radius: 12px; padding: .6rem .8rem; font-size: .92rem; margin: .7rem 0; }
.cp-imgs { display: grid; gap: 6px; border-radius: 16px; overflow: hidden; margin: .6rem 0; }
.cp-imgs.n2, .cp-imgs.n4 { grid-template-columns: 1fr 1fr; }
.cp-imgs.n3 { grid-template-columns: 2fr 1fr; }
.cp-imgs img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.cp-imgs.n2 img, .cp-imgs.n3 img, .cp-imgs.n4 img { aspect-ratio: 1; }
.cp-wait { position: relative; display: block; }
.cp-wait img { filter: grayscale(.6) brightness(.8); }
.cp-wait em { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.65); color: #fff; font-style: normal; font-size: .8rem; padding: .15rem .5rem; border-radius: 8px; }
.cp-foot { display: flex; align-items: center; gap: .3rem; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .3rem; }
.cp-like-f { margin: 0; }
.cp-act { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink-soft); text-decoration: none; padding: .55rem .75rem; border-radius: 12px; cursor: pointer; }
.cp-act:hover { background: var(--sky); color: var(--ink); }
.cp-like svg { fill: none; stroke: #E0457B; stroke-width: 2; }
.cp-like.on { color: #C2185B; }
.cp-like.on svg { fill: #E0457B; }
.cp-more { margin-left: auto; position: relative; }
.cp-more summary { list-style: none; cursor: pointer; padding: .3rem .8rem; border-radius: 10px; font-size: 1.3rem; color: var(--ink-soft); }
.cp-more summary::-webkit-details-marker { display: none; }
.cp-menu { position: absolute; right: 0; bottom: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 24px rgba(11,63,117,.14); padding: .3rem; z-index: 5; min-width: 150px; }
.cp-menu form { margin: 0; }
.cp-menu button { width: 100%; text-align: left; background: none; border: 0; font: inherit; padding: .55rem .8rem; border-radius: 8px; cursor: pointer; }
.cp-menu button:hover { background: var(--sky); }
.ccomments { margin-top: .5rem; }
.ccomment { display: flex; gap: .65rem; margin-bottom: .9rem; }
.cc-box { flex: 1; min-width: 0; background: #fff; border: 1.5px solid var(--line); border-radius: 4px 18px 18px 18px; padding: .65rem .95rem .3rem; }
.ccomment.team .cc-box { border-color: #A9CDF2; background: #F4F9FE; }
.cc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .5rem; }
.cc-head .cp-meta { display: inline; }
.cc-body { margin: .3rem 0; line-height: 1.75; overflow-wrap: anywhere; }
.cc-acts { display: flex; gap: .2rem; }
.cc-acts form { margin: 0; }
.cc-acts button { background: none; border: 0; font: inherit; font-size: .82rem; color: var(--ink-soft); cursor: pointer; padding: .2rem .4rem; }
.cc-acts button:hover { color: var(--err); }
.cc-form { display: flex; gap: .65rem; margin-top: 1rem; }
.cc-form > div { flex: 1; display: flex; flex-direction: column; gap: .5rem; align-items: flex-end; }
.cc-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 16px; padding: .7rem .9rem; font: inherit; resize: vertical; }
.cc-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,117,209,.15); }
.ang-rules { color: var(--ink-soft); font-size: .9rem; text-align: center; margin: 2rem auto 0; max-width: 34rem; }

/* ---------- আঙিনা: ফেসবুকের মতো ---------- */
.fb { background: #EEF2F7; min-height: 70vh; padding: 1rem 0 3rem; }
.fb-grid { display: grid; grid-template-columns: 260px minmax(0, 620px) 300px; gap: 1.5rem; justify-content: center; padding: 0 1rem; align-items: start; }
@media (max-width: 1180px) { .fb-grid { grid-template-columns: 240px minmax(0, 620px); } .fb-right { display: none; } }
@media (max-width: 860px) { .fb-grid { grid-template-columns: minmax(0, 620px); padding: 0 .5rem; } .fb-left { display: none; } }
.fb-left, .fb-right { position: sticky; top: 92px; }
.fb-card { background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(11,30,55,.12); }
.fb-me { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.fb-me:hover, .fb-nav a:hover { background: #E2E8F0; }
.fb-nav { display: flex; flex-direction: column; gap: 2px; }
.fb-nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.fb-nav a[aria-current="page"] { background: #DCEAFB; color: var(--blue-deep); }
.fb-ic { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.fb-badge { margin-left: auto; background: #E0245E; color: #fff; font-style: normal; font-size: .78rem; font-weight: 700; padding: .05rem .5rem; border-radius: 999px; }
.fb-h { margin: 1.1rem .6rem .35rem; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.fb-topics a { justify-content: space-between; font-weight: 500; padding: .45rem .7rem; }
.fb-topics small { color: var(--ink-soft); }
.fb-side { padding: 1rem; margin-bottom: 1rem; }
.fb-side h2 { font-size: 1.05rem; margin: 0 0 .7rem; color: var(--ink-soft); }
.fb-prod { display: flex; gap: .7rem; align-items: center; padding: .45rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.fb-prod:hover { background: #F0F4F9; }
.fb-prod img, .fb-prod-ph { width: 52px; height: 66px; object-fit: cover; border-radius: 6px; flex: none; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.fb-prod b { display: block; font-size: .95rem; line-height: 1.35; }
.fb-prod small { color: var(--blue); font-weight: 700; }
.fb-rules { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
.fb-mtabs { display: none; }
@media (max-width: 860px) {
  .fb { padding-top: .5rem; }
  .fb-mtabs { display: flex; background: #fff; border-radius: 14px; box-shadow: 0 1px 2px rgba(11,30,55,.12); margin-bottom: .6rem; overflow: hidden; }
  .fb-mtabs a { flex: 1; text-align: center; padding: .75rem .3rem; text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: .95rem; border-bottom: 3px solid transparent; }
  .fb-mtabs a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
}
/* লেখার বাক্স */
.fb-compose { padding: .8rem 1rem .4rem; margin-bottom: .8rem; }
.fb-compose-top { display: flex; gap: .65rem; align-items: center; padding-bottom: .7rem; border-bottom: 1px solid #E4E9F0; }
.fb-compose-open { flex: 1; text-align: left; background: #F0F2F5; border: 0; border-radius: 999px; padding: .7rem 1rem; font: inherit; font-size: 1.02rem; color: var(--ink-soft); cursor: pointer; }
.fb-compose-open:hover { background: #E4E8EE; }
.fb-compose-acts { display: flex; }
.fb-compose-acts button { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink-soft); padding: .55rem .3rem; border-radius: 10px; cursor: pointer; }
.fb-compose-acts button:hover { background: #F0F2F5; }
/* ফিল্টার */
.fb-filter { display: flex; gap: .4rem; overflow-x: auto; padding: .1rem 0 .7rem; scrollbar-width: none; }
.fb-filter::-webkit-scrollbar { display: none; }
.fb-filter a { flex: none; background: #fff; border-radius: 999px; padding: .4rem .9rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; box-shadow: 0 1px 2px rgba(11,30,55,.1); }
.fb-filter a.on { background: var(--blue); color: #fff; }
.fb-filter-sep { flex: none; width: 1px; background: #CBD5E1; margin: .3rem .2rem; }
/* পোস্ট */
.fbp { margin-bottom: .8rem; padding-top: .75rem; }
.fbp.pinned { box-shadow: 0 0 0 2px var(--yellow), 0 1px 2px rgba(11,30,55,.12); }
.fbp-pin { padding: 0 1rem .5rem; font-size: .85rem; font-weight: 700; color: #8A5A00; }
.fbp-head { display: flex; align-items: center; gap: .65rem; padding: 0 1rem; }
.fbp-who { flex: 1; min-width: 0; }
.fbp-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.fbp-name:hover, .fbc-name:hover { text-decoration: underline; }
.fbp-meta { display: block; font-size: .84rem; color: var(--ink-soft); }
.fbp-meta a { color: inherit; text-decoration: none; }
.fbp-meta a:hover { text-decoration: underline; }
.fbp-body { padding: .7rem 1rem .5rem; font-size: 1.05rem; line-height: 1.75; overflow-wrap: anywhere; }
.fbp-body.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; padding-bottom: 0; }
.fbp-moretext { background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink-soft); padding: .1rem 1rem .5rem; cursor: pointer; }
.fbp-imgs { display: grid; gap: 3px; margin-top: .3rem; }
.fbp-imgs.n2, .fbp-imgs.n4 { grid-template-columns: 1fr 1fr; }
.fbp-imgs.n3 { grid-template-columns: 1fr 1fr; } .fbp-imgs.n3 > :first-child { grid-column: 1 / -1; }
.fbp-imgs img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.fbp-imgs.n2 img, .fbp-imgs.n4 img, .fbp-imgs.n3 > :not(:first-child) img { aspect-ratio: 1; }
.fbp-stats { display: flex; justify-content: space-between; align-items: center; padding: .55rem 1rem; font-size: .92rem; color: var(--ink-soft); min-height: 1.2rem; }
.fbp-stats:has([hidden] + [hidden]) { padding: .25rem 1rem; }
.fbp-heart { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #E0245E; color: #fff; font-style: normal; font-size: .7rem; align-items: center; justify-content: center; }
.fbp-ccount { margin-left: auto; color: inherit; text-decoration: none; }
.fbp-ccount:hover { text-decoration: underline; }
.fbp-bar { display: flex; margin: 0 1rem; border-top: 1px solid #E4E9F0; border-bottom: 1px solid #E4E9F0; padding: .2rem 0; }
.fbp-bar > * { flex: 1; }
.fbp-bar form { margin: 0; display: flex; }
.fbp-btn { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; gap: .45rem; background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink-soft); padding: .55rem .3rem; border-radius: 8px; cursor: pointer; }
.fbp-btn:hover { background: #F0F2F5; }
.fbp-btn svg { fill: none; stroke: currentColor; stroke-width: 2; }
.fbp-btn.cp-like.on { color: #E0245E; }
.fbp-btn.cp-like.on svg { fill: #E0245E; stroke: #E0245E; }
.fbp-btn.pop svg { animation: wishpop .35s ease; }
.fbp-comments { padding: .6rem 1rem .8rem; }
.fbp-allc { display: inline-block; font-weight: 700; font-size: .92rem; color: var(--ink-soft); text-decoration: none; margin-bottom: .5rem; }
.fbp-allc:hover { text-decoration: underline; }
.fbc { display: flex; gap: .5rem; margin-bottom: .55rem; }
.fbc-main { min-width: 0; }
.fbc-bubble { display: inline-block; max-width: 100%; background: #F0F2F5; border-radius: 18px; padding: .45rem .85rem .5rem; }
.fbc.team .fbc-bubble { background: #E3F0FC; }
.fbc-name { font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; }
.fbc-body { font-size: .98rem; line-height: 1.6; overflow-wrap: anywhere; }
.fbc-acts { display: flex; align-items: center; gap: .6rem; padding: .1rem .7rem; font-size: .8rem; color: var(--ink-soft); }
.fbc-acts form { margin: 0; }
.fbc-acts button { background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink-soft); cursor: pointer; padding: 0; }
.fbc-acts button:hover { text-decoration: underline; }
.fbc-hid { color: #B25400; }
.fbc-form { display: flex; gap: .5rem; align-items: flex-start; margin-top: .4rem; }
.fbc-input { flex: 1; display: flex; align-items: flex-end; background: #F0F2F5; border-radius: 20px; padding: .2rem .3rem .2rem .9rem; }
.fbc-input textarea { flex: 1; border: 0; background: transparent; font: inherit; resize: none; padding: .45rem 0; line-height: 1.5; max-height: 160px; outline: none; }
.fbc-input button { flex: none; width: 36px; height: 36px; border: 0; background: none; color: var(--blue); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fbc-input button:hover { background: #E2E8F0; }
.fbc-input:focus-within { box-shadow: 0 0 0 2px rgba(22,117,209,.3); }
.cp-av.xl { width: 112px; height: 112px; font-size: 2.6rem; border: 5px solid #fff; }
a.cp-av { text-decoration: none; }
/* পোস্ট তৈরির উইন্ডো */
.fb-modal { border: 0; padding: 0; border-radius: 16px; width: min(96vw, 540px); max-height: 92vh; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.fb-modal::backdrop { background: rgba(240,242,245,.8); }
.fb-modal form { display: flex; flex-direction: column; max-height: 92vh; }
.fb-modal-head { position: relative; text-align: center; padding: 1rem; border-bottom: 1px solid #E4E9F0; }
.fb-modal-head h2 { margin: 0; font-size: 1.2rem; }
.fb-x { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: #E4E6EB; cursor: pointer; font-size: 1rem; }
.fb-modal-body { padding: 1rem; overflow-y: auto; }
.fb-modal-who { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.fb-modal-text { width: 100%; border: 0; font: inherit; font-size: 1.2rem; resize: vertical; min-height: 7rem; outline: none; }
.fb-pre { display: grid; gap: 4px; border-radius: 10px; overflow: hidden; margin: .4rem 0; }
.fb-pre:empty { display: none; }
.fb-pre.n2, .fb-pre.n3, .fb-pre.n4 { grid-template-columns: 1fr 1fr; }
.fb-pre img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fb-sub { font-weight: 700; margin: .8rem 0 .4rem; font-size: .95rem; color: var(--ink-soft); }
.fb-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.fb-pills input { position: absolute; opacity: 0; pointer-events: none; }
.fb-pills span { display: inline-block; padding: .35rem .85rem; border-radius: 999px; border: 1.5px solid #D6DEE8; font-weight: 600; font-size: .92rem; cursor: pointer; }
.fb-pills input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.fb-pills input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.fb-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .8rem 1rem; border-top: 1px solid #E4E9F0; }
.fb-photo { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #2E7D32; cursor: pointer; padding: .5rem .8rem; border-radius: 10px; }
.fb-photo:hover { background: #F0F2F5; }
.fb-note { font-size: .82rem; color: var(--ink-soft); margin: 0; padding: 0 1rem .9rem; }
/* প্রোফাইল */
.fb-prof { overflow: hidden; margin-bottom: .8rem; }
.fb-cover { height: 150px; background: linear-gradient(120deg, #0B3F75, #1675D1 60%, #FFB91F); }
.fb-prof-row { display: flex; align-items: flex-end; gap: 1rem; padding: 0 1.2rem 1rem; margin-top: -48px; flex-wrap: wrap; }
.fb-prof-row h1 { margin: 0; font-size: 1.6rem; }
.fb-prof-stats { margin: .2rem 0 0; color: var(--ink-soft); font-size: .92rem; }
/* নোটিফিকেশন */
.fb-notes { padding: .5rem 0; }
.fb-notes h1 { font-size: 1.4rem; margin: .5rem 1rem .8rem; }
.fb-note-row { display: flex; gap: .7rem; align-items: center; padding: .6rem 1rem; text-decoration: none; color: var(--ink); }
.fb-note-row:hover { background: #F0F2F5; }
.fb-note-row.unread { background: #EAF3FC; }
.fb-note-row .cp-av { position: relative; }
.fb-note-ic { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: .75rem; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.fb-note-row b { display: block; font-weight: 600; }
.fb-note-row small { color: var(--ink-soft); }
/* বাকি */
.fb-back { display: inline-block; margin-bottom: .6rem; font-weight: 700; text-decoration: none; }
.fb-empty { padding: 2rem 1rem; text-align: center; color: var(--ink-soft); }
.fb-loader { display: flex; justify-content: center; gap: .4rem; padding: 1.5rem; }
.fb-loader[hidden] { display: none; }
.fb-loader span { width: 10px; height: 10px; border-radius: 50%; background: #B7C4D6; animation: fbdot 1s infinite ease-in-out; }
.fb-loader span:nth-child(2) { animation-delay: .15s; } .fb-loader span:nth-child(3) { animation-delay: .3s; }
@keyframes fbdot { 0%, 80%, 100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
.fb-end { text-align: center; color: var(--ink-soft); padding: 1.5rem 1rem; }
.fb-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); background: #1E2633; color: #fff; padding: .7rem 1.2rem; border-radius: 10px; font-weight: 600; z-index: 100; transition: transform .25s ease; }
.fb-toast.on { transform: translate(-50%, 0); }
.fbp .cp-more summary { padding: .2rem .6rem; }
.fbp .cp-menu { bottom: auto; top: 100%; }
@media (max-width: 560px) { .fb-card { border-radius: 0; box-shadow: none; border-top: 1px solid #DDE3EA; border-bottom: 1px solid #DDE3EA; } .fb-grid { padding: 0; } .fb-mtabs { border-radius: 0; } .fb-filter { padding-left: .6rem; padding-right: .6rem; } .fb-back { margin-left: .8rem; } }
@media (prefers-reduced-motion: reduce) { .fb-loader span { animation: none; } .fb-toast { transition: none; } }
@media (max-width: 860px) { .fb-mtabs a { white-space: nowrap; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; } .fb-mtabs .fb-badge { margin-left: .1rem; } }
.fb-prof-row { align-items: flex-start; }
.fb-prof-row > div { padding-top: 58px; }
@media (max-width: 560px) { .fb-prof-row { flex-direction: column; align-items: flex-start; gap: .4rem; } .fb-prof-row > div { padding-top: 0; } }

/* ================= Mini Scholars Tube ================= */
body.tube { background: #fff; color: #0F0F0F; }
.tb-top { position: sticky; top: 0; z-index: 40; height: 60px; display: flex; align-items: center; gap: 1rem; padding: 0 1rem; background: #fff; }
.tb-burger, .tb-icon { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #0F0F0F; }
.tb-burger:hover, .tb-icon:hover { background: #F2F2F2; }
.tb-icon { display: none; }
.tb-logo { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: #0F0F0F; flex: none; }
.tb-word { display: inline-flex; align-items: flex-start; gap: .15rem; font-family: "Melon Pop", "Nunito", system-ui, sans-serif; letter-spacing: -.02em; line-height: 1; }
.tb-word b { font-size: 1.2rem; font-weight: 400; color: #0B3F75; }
.tb-word i { font-style: normal; font-weight: 800; font-size: .72rem; color: #fff; background: #1675D1; border-radius: 5px; padding: .12rem .3rem; margin-top: -.25rem; }
.tb-search { flex: 1; max-width: 640px; margin: 0 auto; display: flex; }
.tb-search input { flex: 1; min-width: 0; height: 42px; border: 1px solid #CCC; border-right: 0; border-radius: 999px 0 0 999px; padding: 0 1.1rem; font: inherit; font-size: 1rem; outline: none; box-shadow: inset 0 1px 2px #EEE; }
.tb-search input:focus { border-color: #1675D1; }
.tb-search button { width: 64px; height: 42px; border: 1px solid #CCC; background: #F8F8F8; border-radius: 0 999px 999px 0; cursor: pointer; color: #0F0F0F; }
.tb-search button:hover { background: #F0F0F0; }
.tb-right { display: flex; align-items: center; gap: .5rem; flex: none; }
.tb-parent { display: inline-flex; align-items: center; gap: .35rem; height: 38px; padding: 0 .9rem; border-radius: 999px; border: 1px solid #E5E5E5; background: #fff; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: #0F0F0F; }
.tb-parent:hover { background: #F2F2F2; }
.tb-store img { display: block; border-radius: 50%; }
/* সাইডবার */
/* মূল সাইটের মেনুর নিচে: মেনু উপরে স্ক্রল হয়ে যায়, Tube/Parentsbook/Radio-র নিজের পাটি উপরে আটকে থাকে */
body.app .site-header { position: relative; }
.tb-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
body.tb-mini .tb-shell { grid-template-columns: 76px minmax(0, 1fr); }
.tb-side { position: sticky; top: 60px; height: calc(100vh - 60px); width: 240px; overflow-y: auto; padding: .5rem .75rem 1.5rem; background: #fff; z-index: 30; scrollbar-width: thin; }
.tb-side nav { display: flex; flex-direction: column; }
.tb-nav { display: flex; align-items: center; gap: 1.2rem; height: 42px; padding: 0 .75rem; border-radius: 10px; text-decoration: none; color: #0F0F0F; font: inherit; font-size: .95rem; background: none; border: 0; cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; }
.tb-nav:hover { background: #F2F2F2; }
.tb-nav.on { background: #F2F2F2; font-weight: 700; }
.tb-side hr { border: 0; border-top: 1px solid #E5E5E5; margin: .6rem 0; }
.tb-sh { margin: .4rem .75rem .3rem; font-weight: 700; font-size: 1rem; }
.tb-av { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; flex: none; background: #E8F1FB; }
.tb-foot { font-size: .8rem; color: #606060; padding: 0 .75rem; line-height: 1.6; }
.tb-foot a { color: #606060; }
.tb-main { padding: 0 1.5rem 3rem; min-width: 0; }
body.tb-mini .tb-side { width: 76px; padding: .25rem; }
body.tb-mini .tb-side .tb-nav { flex-direction: column; justify-content: center; gap: .3rem; height: 74px; font-size: .68rem; padding: 0; }
body.tb-mini .tb-side hr, body.tb-mini .tb-side .tb-sh, body.tb-mini .tb-side .tb-foot, body.tb-mini .tb-side nav + hr ~ nav { display: none; }
.tb-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55; }
.tb-scrim[hidden] { display: none; }
@media (max-width: 1099px) {
  .tb-shell { display: block; }
  .tb-side { position: fixed; top: 0; left: 0; bottom: 0; height: auto; z-index: 60; transform: translateX(-100%); transition: transform .2s ease; box-shadow: none; padding-top: 1rem; }
  .tb-side.open { transform: none; box-shadow: 4px 0 20px rgba(0,0,0,.15); }
  .tb-main { margin-left: 0; }
}
/* চিপ */
.tb-chips { position: sticky; top: 60px; z-index: 20; background: #fff; display: flex; gap: .75rem; overflow-x: auto; padding: .75rem 0; scrollbar-width: none; }
.tb-chips::-webkit-scrollbar { display: none; }
.tb-chips a { flex: none; background: #F2F2F2; color: #0F0F0F; border-radius: 9px; padding: .4rem .8rem; text-decoration: none; font-weight: 600; font-size: .92rem; }
.tb-chips a:hover { background: #E5E5E5; }
.tb-chips a.on { background: #0F0F0F; color: #fff; }
.tb-result { color: #606060; margin: .5rem 0 1rem; }
/* হিরো */
.tb-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; text-decoration: none; color: #0F0F0F; margin: .75rem 0 2rem; padding: 1rem; border-radius: 20px; background: linear-gradient(120deg, #FFF4E5, #EAF3FC); }
.tb-hero .tv-thumb { border-radius: 14px; }
.tb-hero-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border-radius: 14px; background: #F0782B; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.tb-hero-text { display: flex; flex-direction: column; gap: .55rem; }
.tb-hero-text b { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; }
.tb-hero-tag { align-self: flex-start; background: #0F0F0F; color: #fff; font-size: .8rem; font-weight: 700; padding: .2rem .7rem; border-radius: 6px; }
.tb-hero-desc { color: #404040; }
.tb-hero-btn { align-self: flex-start; background: #0F0F0F; color: #fff; font-weight: 700; padding: .6rem 1.3rem; border-radius: 999px; margin-top: .3rem; }
.tb-hero:hover .tb-hero-btn { background: #F0782B; }
@media (max-width: 760px) { .tb-hero { grid-template-columns: 1fr; padding: .6rem; gap: .8rem; } .tb-hero-text { padding: 0 .4rem .4rem; } }
/* কার্ড */
.tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 2.2rem 1rem; }
.tv { display: flex; flex-direction: column; gap: .75rem; text-decoration: none; color: #0F0F0F; }
.tv-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #E5E5E5; }
.tv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.tv:hover .tv-thumb { border-radius: 0; } .tv-thumb { transition: border-radius .2s ease; }
.tv-dur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.8); color: #fff; font-size: .78rem; font-weight: 600; padding: .05rem .35rem; border-radius: 5px; }
.tv-info { display: flex; gap: .75rem; }
.tv-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; background: #E8F1FB; }
.tv-av.lg { width: 44px; height: 44px; font-size: 1.35rem; }
.tv-text, .tr-text { display: flex; flex-direction: column; min-width: 0; }
.tv-title { font-weight: 700; font-size: 1.02rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-ch { color: #606060; font-size: .88rem; margin-top: .2rem; }
.tv-meta { color: #606060; font-size: .88rem; }
.c-green { background: #DFF3E6; } .c-yellow { background: #FFF1C9; } .c-orange { background: #FDE3D2; } .c-pink { background: #FBE0EB; } .c-purple { background: #ECE3FB; } .c-blue { background: #E0EDFB; } .c-age { background: #F2F2F2; font-weight: 700; }
.tb-empty { text-align: center; padding: 4rem 1rem; color: #606060; }
.tb-pill { display: inline-block; background: #0F0F0F; color: #fff; text-decoration: none; font-weight: 700; padding: .55rem 1.2rem; border-radius: 999px; }
/* নিচের মেনু (ফোন) */
.tb-bottom { display: none; }
@media (max-width: 700px) {
  .tb-top { gap: .4rem; padding: 0 .5rem; height: 56px; }
  .tb-word b { font-size: 1rem; }
  .tb-search, .tb-parent, .tb-store { display: none; }
  .tb-icon { display: inline-flex; }
  .tb-right { margin-left: auto; }
  body.tb-searching .tb-search { display: flex; position: absolute; inset: 7px 8px; z-index: 2; max-width: none; }
  body.tb-searching .tb-search input { height: 42px; }
  .tb-chips { top: 56px; padding: .6rem .75rem; margin: 0 -.75rem; }
  .tb-main { padding: 0 .75rem 5rem; }
  .tb-grid { gap: 1.6rem; margin: 0 -.75rem; }
  .tb-grid .tv-thumb { border-radius: 0; }
  .tb-grid .tv-info { padding: 0 .75rem; }
  .tb-bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid #E5E5E5; padding-bottom: env(safe-area-inset-bottom); }
  .tb-bottom a, .tb-bottom button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .45rem 0; font: inherit; font-size: .72rem; color: #0F0F0F; text-decoration: none; background: none; border: 0; cursor: pointer; }
  .tb-bottom .on { font-weight: 700; }
  body.tube .wa { bottom: 4.6rem; }
}
/* দেখার পাতা */
.tw { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 1.5rem; padding-top: 1.25rem; max-width: 1750px; }
@media (max-width: 1100px) { .tw { grid-template-columns: 1fr; } }
.tube .kplayer { border-radius: 14px; box-shadow: none; }
.tw-title { font-size: 1.35rem; line-height: 1.45; margin: .9rem 0 .6rem; font-weight: 700; color: #0F0F0F; }
.tw-row { display: flex; flex-wrap: wrap; gap: .8rem 1rem; justify-content: space-between; align-items: center; }
.tw-ch { display: flex; align-items: center; gap: .7rem; }
.tw-ch b { display: block; font-size: 1rem; }
.tw-ch small { color: #606060; font-size: .82rem; }
.tw-sub { margin-left: .6rem; background: #0F0F0F; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; padding: .55rem 1rem; border-radius: 999px; }
.tw-sub:hover { background: #272727; }
.tw-acts { display: flex; gap: .5rem; }
.tw-act { display: inline-flex; align-items: center; gap: .4rem; background: #F2F2F2; border: 0; border-radius: 999px; padding: .55rem 1rem; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: #0F0F0F; }
.tw-act:hover { background: #E5E5E5; }
.tw-desc { background: #F2F2F2; border-radius: 12px; padding: .8rem 1rem; margin-top: .9rem; font-size: .95rem; }
.tw-desc p { margin: .3rem 0 0; line-height: 1.7; }
.tw-note { font-weight: 700; }
.tw-chips { position: static; padding-top: 0; }
.tr { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: .6rem; text-decoration: none; color: #0F0F0F; margin-bottom: .6rem; }
.tr .tv-thumb { border-radius: 8px; }
.tr .tv-title { font-size: .92rem; }
.tr .tv-ch, .tr .tv-meta { font-size: .8rem; }
@media (max-width: 1100px) and (min-width: 701px) { .tr { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 700px) {
  .tw { padding-top: 0; gap: 1rem; }
  .tw-main { margin: 0 -.75rem; }
  .tube .kplayer { border-radius: 0; position: sticky; top: 56px; z-index: 25; }
  .tw-title, .tw-row, .tw-desc { margin-left: .75rem; margin-right: .75rem; }
  .tw-title { font-size: 1.12rem; }
  .tw-side .tr { grid-template-columns: 1fr; gap: .5rem; margin: 0 -.75rem 1.4rem; }
  .tw-side .tr .tv-thumb { border-radius: 0; }
  .tw-side .tr-text { padding: 0 .75rem; }
  .tw-side .tv-title { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .tb-side, .tv-thumb { transition: none; } }
body.tube, body.pbook { overflow-x: hidden; }

/* ================= Parentsbook ================= */
body.pbook { background: #F0F2F5; color: #050505; }
.pb-top { position: sticky; top: 0; z-index: 40; height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 1rem; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.pb-top-l { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.pb-logo { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; flex: none; }
.pb-word { font-family: "Nunito", system-ui, sans-serif; font-weight: 800; font-size: 1.55rem; letter-spacing: -.04em; color: #1675D1; line-height: 1; }
.pb-search { display: flex; align-items: center; gap: .5rem; background: #F0F2F5; border-radius: 999px; padding: 0 .9rem; height: 40px; width: 240px; color: #65676B; }
.pb-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .95rem; outline: none; color: #050505; }
.pb-center { display: flex; height: 58px; }
.pb-center a { width: 110px; display: flex; align-items: center; justify-content: center; color: #65676B; border-bottom: 3px solid transparent; position: relative; }
.pb-center a:hover::before { content: ""; position: absolute; inset: 5px 4px 3px; border-radius: 10px; background: #F0F2F5; z-index: -1; }
.pb-center a { z-index: 0; }
.pb-center a.on { color: #1675D1; border-bottom-color: #1675D1; }
.pb-top-r { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; }
.pb-round { position: relative; width: 40px; height: 40px; border-radius: 50%; background: #E4E6EB; color: #050505; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; }
.pb-round:hover { filter: brightness(.95); }
.pb-round.on { background: #DCEAFB; color: #1675D1; }
.pb-me { color: #fff; }
.pb-dot { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #E41E3F; color: #fff; font-style: normal; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pb-search-m { display: none; }
.pb-mtabs { display: none; }
/* রং */
.av-c0 { background: #1675D1 !important; color: #fff !important; } .av-c1 { background: #F0782B !important; color: #fff !important; }
.av-c2 { background: #2E9E6A !important; color: #fff !important; } .av-c3 { background: #8B5CF6 !important; color: #fff !important; }
.av-c4 { background: #E0457B !important; color: #fff !important; } .av-c5 { background: #0EA5A4 !important; color: #fff !important; }
.av-c6 { background: #FFB91F !important; color: #0B3F75 !important; }
.cp-av.team { background: #0B3F75 !important; color: #FFB91F !important; box-shadow: 0 0 0 2px #FFB91F; }
.g-blue { background: linear-gradient(135deg, #3B8EEA, #0B5CB5); } .g-orange { background: linear-gradient(135deg, #FFA45B, #E8622A); }
.g-green { background: linear-gradient(135deg, #48C78E, #1E8A5C); } .g-purple { background: linear-gradient(135deg, #A78BFA, #6D3FD8); }
.g-pink { background: linear-gradient(135deg, #F78DB4, #D6336C); } .g-teal { background: linear-gradient(135deg, #3FD0C9, #0E8C88); }
.pb-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.pb-ic.sm { width: 32px; height: 32px; font-size: .95rem; }
.fb-tname { flex: 1; }
.pb-legal { font-size: .8rem; color: #65676B; margin: 1rem .6rem; }
.pb-legal a { color: #65676B; }
/* গ্রিড ঠিক করা: পাশের কলাম কার্ড ছাড়া, ফেসবুকের মতো */
body.pbook .fb { background: transparent; padding-top: 1rem; }
body.pbook .fb-left, body.pbook .fb-right { top: 74px; max-height: calc(100vh - 90px); overflow-y: auto; scrollbar-width: none; }
body.pbook .fb-side { background: transparent; box-shadow: none; padding: .3rem .4rem; margin: 0; }
body.pbook .fb-side h2 { font-size: 1.02rem; color: #65676B; font-weight: 700; margin: .2rem .3rem .5rem; }
.pb-hr { border: 0; border-top: 1px solid #CED0D4; margin: .7rem .5rem; }
.pb-tube { display: flex; gap: .7rem; align-items: center; padding: .5rem; border-radius: 10px; text-decoration: none; color: #050505; }
.pb-tube:hover { background: #E4E6EB; }
.pb-tube > span:first-child { width: 52px; height: 52px; border-radius: 12px; background: #F0782B; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex: none; }
.pb-tube b { display: block; font-size: .95rem; } .pb-tube small { color: #65676B; }
/* স্টোরি সারি */
.pb-stories { display: flex; gap: .55rem; overflow-x: auto; padding: 0 0 .9rem; scrollbar-width: none; }
.pb-stories::-webkit-scrollbar { display: none; }
.pb-story { position: relative; flex: none; width: 112px; height: 190px; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: .65rem; text-decoration: none; color: #fff; border: 0; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .15s ease; }
.pb-story:hover { transform: translateY(-2px); }
.pb-story.on { outline: 3px solid #1675D1; outline-offset: 2px; }
.pb-story::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.35)); }
.pb-story > * { position: relative; z-index: 1; }
.pb-story-emoji { position: absolute; top: .6rem; left: .6rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 0 0 3px rgba(255,255,255,.45); z-index: 2; }
.pb-story b { font-size: .95rem; line-height: 1.3; }
.pb-story small { font-size: .78rem; opacity: .92; }
.pb-story-new { background: #fff; color: #050505; padding: 0; justify-content: flex-start; }
.pb-story-new::after { display: none; }
.pb-story-top { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 700; }
.pb-story-plus { position: absolute !important; top: 112px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; background: #1675D1; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; border: 4px solid #fff; z-index: 2; }
.pb-story-new b { text-align: center; margin-top: 1.4rem; font-size: .9rem; }
.pb-result { padding: .8rem 1rem; margin-bottom: .8rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.pb-result a { font-weight: 700; text-decoration: none; }
body.pbook .fb-filter a { box-shadow: none; background: #E4E6EB; }
body.pbook .fb-filter a.on { background: #DCEAFB; color: #1675D1; }
body.pbook .messages { margin: .8rem auto 0; max-width: 620px; padding: 0 .5rem; }
/* ছোট পর্দা */
@media (max-width: 1100px) { .pb-center a { width: 80px; } .pb-search { width: 200px; } }
@media (max-width: 860px) {
  .pb-top { grid-template-columns: 1fr auto; height: 54px; padding: 0 .75rem; }
  .pb-center, .pb-search { display: none; }
  .pb-search-m { display: inline-flex; }
  .pb-word { font-size: 1.6rem; }
  .pb-logo svg { display: none; }
  body.pb-searching .pb-search { display: flex; position: absolute; left: .6rem; right: .6rem; top: 7px; width: auto; z-index: 3; }
  .pb-mtabs { display: flex; position: sticky; top: 54px; z-index: 39; background: #fff; border-bottom: 1px solid #DADDE1; }
  .pb-mtabs a { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px; color: #65676B; border-bottom: 3px solid transparent; position: relative; }
  .pb-mtabs a.on { color: #1675D1; border-bottom-color: #1675D1; }
  .pb-mtabs .pb-dot { top: 6px; right: calc(50% - 22px); }
  body.pbook .fb-mtabs { display: none; }
  body.pbook .fb { padding-top: .6rem; }
  .pb-stories { padding-left: .6rem; padding-right: .6rem; }
  .pb-story { width: 100px; height: 172px; }
  .pb-story-top { height: 114px; } .pb-story-plus { top: 96px; }
}
@media (prefers-reduced-motion: reduce) { .pb-story { transition: none; } }
