/* Bangla Bloom 3.0 — premium illustrated presentation layer (v2.7.2 logic retained).
   Artwork adds meaning; Bengali strings, learning events and progress remain live DOM/data. */
:root{--bb3-cream:#f8f7ef;--bb3-forest:#173f32;--bb3-sage:#dde9d2;--bb3-peach:#f4b292;--bb3-lavender:#e1d2f5;--bb3-sun:#f7dc86;--bb3-sky:#b9dde3;--bb3-pink:#f7d6dd;--bb3-leaf:#b7d5a1;--bb3-shadow:0 14px 34px rgba(26,68,48,.12)}
body{background:var(--bb3-cream);color:var(--bb3-forest)}.shell{max-width:none!important;padding-left:clamp(16px,2.4vw,48px)!important;padding-right:clamp(16px,2.4vw,48px)!important}.site-header{background:#fffdf8!important;border-bottom:1px solid #e3eadc}.site-header .header-inner{min-height:78px;display:flex;gap:clamp(10px,2vw,30px)}.site-header .header-meters{display:none!important}.site-header .desktop-nav{margin-left:auto}.brand-name{font-weight:850}.site-header .brand-mark{box-shadow:0 3px 10px rgba(34,87,61,.13)}.site-header .profile-button{background:#fff;border:1px solid #d5e4d7;box-shadow:0 3px 0 #dce9d6}.site-header .parent-button{color:#275d43}
.welcome-line{margin-top:25px;margin-bottom:18px;font-size:13px}
/* First encounter: an original illustrated Bengal village, not a generic English book photo. */
.bb3-hero{display:grid!important;grid-template-columns:minmax(300px,.83fr) minmax(0,1.17fr)!important;align-items:stretch!important;gap:0!important;border:1px solid #d9e9d8;overflow:hidden;min-height:490px;padding:0!important;background:#e8f2dc!important;border-radius:30px!important;box-shadow:var(--bb3-shadow);position:relative}
.bb3-hero-copy{padding:clamp(32px,4.5vw,76px) clamp(24px,3.8vw,74px);background:linear-gradient(125deg,#194436 0%,#23583f 78%,#306d4e 100%);display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1}
.bb3-hero-copy:after{content:'✿';position:absolute;right:25px;top:24px;color:#e4c78c;opacity:.5;font-size:45px}.bb3-hero-copy .bb3-kicker{color:#ffecb6;font-size:clamp(10px,1vw,13px);letter-spacing:2.1px;font-weight:800}.bb3-hero-copy h1{font-size:clamp(42px,4.15vw,82px);line-height:1.05;letter-spacing:-2.8px;color:#fffdf5;margin:25px 0;font-weight:800}.bb3-hero-copy h1 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-2px;color:#f8de94}.bb3-hero-copy>p{color:#e6efde;line-height:1.72;max-width:44ch;font-size:clamp(15px,1.13vw,18px);margin:0 0 26px}.bb3-hero-copy .hero-buttons{display:flex;flex-wrap:wrap;gap:10px}.bb3-hero-copy .btn{min-height:47px;white-space:normal;font-size:13px}.bb3-hero-copy .bb3-primary{background:#f7dd90;color:#224a3a;border-color:#f7dd90;box-shadow:0 4px 0 #cfb76e}.bb3-hero-copy .bb3-secondary{color:#f9fff5;background:rgba(255,255,255,.09);border:1px solid rgba(249,255,245,.43)}.bb3-hero-copy .hero-foot{font-size:11px;color:#ecf3e3;gap:16px;margin-top:26px}.bb3-hero-illustration{position:relative;overflow:hidden;min-height:490px;background:#d4ecbe}.bb3-hero-illustration picture,.bb3-hero-illustration img{display:block;width:100%;height:100%}.bb3-hero-illustration picture{position:absolute;inset:0}.bb3-hero-illustration img{object-fit:cover;object-position:50% 50%}.bb3-hero-sticker{position:absolute;right:24px;bottom:22px;display:flex;gap:10px;align-items:center;background:rgba(255,255,247,.95);border:1px solid #f3e1be;border-radius:17px;padding:11px 16px;box-shadow:0 5px 20px #133c2b27;color:#254d3a;font-weight:800;font-size:13px}.bb3-hero-sticker .bn{font-size:34px;line-height:1.35;color:#bd6443}
.bb3-legacy-toy{margin-top:12px;background:#fffdfa;border:1px solid #e3e7d9;border-radius:15px;color:#33624a}.bb3-legacy-toy summary{padding:12px 18px;cursor:pointer;font-size:13px;font-weight:700}.bb3-legacy-toy .bb3-toy-stage{max-width:620px;min-height:510px;margin:auto}.bb3-legacy-toy .scene-shell{max-width:100%;min-height:460px}
/* Image-first activity entrances: each has its own meaningful scene rather than a repeated stock picture. */
.adventure-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(14px,1.5vw,25px)}.adventure-card{border-radius:24px!important;background:#fffef9!important;border:1px solid #e2e7dc!important;box-shadow:0 5px 0 #e0e9d6,0 14px 26px #1b513711!important;transition:transform .2s ease,box-shadow .2s ease}.adventure-card:hover{transform:translateY(-4px);box-shadow:0 8px 0 #d6e5d1,0 20px 35px #1b51371a!important}.adventure-card .module-scene{height:clamp(145px,13vw,210px);display:flex;align-items:center;justify-content:center;margin:7px 7px 0;border-radius:18px;position:relative;overflow:hidden;background:linear-gradient(145deg,#e9f4df,#badaba)}.adventure-card:nth-child(2n) .module-scene{background:linear-gradient(145deg,#fff0d9,#f6ccaa)}.adventure-card:nth-child(3n) .module-scene{background:linear-gradient(145deg,#edecfc,#d9d0f3)}.adventure-card:nth-child(5n) .module-scene{background:linear-gradient(145deg,#daf4f5,#b2e3e2)}
.bb3-module-hill{position:absolute;width:118%;height:80%;bottom:-44%;border-radius:50%;background:#89bb85;box-shadow:0 -8px 0 #b6dba2}.bb3-module-hill:before,.bb3-module-hill:after{content:'✿';color:#fff7cb;position:absolute;font-size:20px;top:13px;left:19%}.bb3-module-hill:after{left:auto;right:22%;top:32px;color:#f1bea9;font-size:24px}.bb3-module-emoji{position:relative;font-size:clamp(45px,6vw,82px);z-index:1;filter:drop-shadow(0 13px 7px #426e3f44);transform:translateY(-5px)}.bb3-module-glyph{position:absolute;right:15px;bottom:13px;z-index:2;color:#255d43;background:#fffef1ee;border:1px solid #f1ebca;border-radius:13px;padding:7px 10px;font-size:clamp(21px,1.8vw,30px);box-shadow:0 5px 0 #315c3324}.bb3-module-dot{position:absolute;top:18px;left:18px;width:13px;height:13px;background:#fff4c3;border-radius:50%;box-shadow:22px 14px 0 #fff4c3}.adventure-card .module-copy{padding:20px 18px 22px!important}.adventure-card .module-copy h3{font-size:clamp(19px,1.6vw,25px);min-height:0;color:#1b4537}.adventure-card .module-copy p{font-size:13px;min-height:35px}.adventure-card .card-bottom{color:#28654d}
/* Eight functional map destinations in one illustrated landscape. Links stay real anchors. */
.bb3-adventure-map{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;padding:60px 28px 44px!important;background:#c6e9ca url('./assets/illustrated/adventure-countryside.svg') center/cover no-repeat!important;border:3px solid #d9e9c8!important;border-radius:35px!important;position:relative;overflow:hidden}.bb3-adventure-map:before{content:'';position:absolute;left:10%;right:10%;top:48%;height:46%;border:10px dashed #f5d79a;transform:rotate(-5deg);border-radius:45%;opacity:.72;pointer-events:none}.bb3-adventure-map .map-trail{display:none}.bb3-adventure-map .bb3-landmark{position:relative;z-index:1;transform:none!important;padding:16px 10px 20px!important;background:#fffdf5ee!important;border:2px solid #f8ecce!important;border-radius:23px!important;box-shadow:0 7px 0 #c2d8b0,0 11px 22px #24573828!important;text-align:center!important;transition:transform .18s}.bb3-adventure-map .bb3-landmark:hover{transform:translateY(-4px)!important}.bb3-adventure-map .island-toy{height:105px;margin:0!important;display:grid;place-items:center}.bb3-adventure-map .bb3-landmark-icon{font-size:clamp(55px,5.3vw,80px);filter:drop-shadow(0 7px 2px #3a693b33)}.bb3-adventure-map .map-stop{position:absolute;top:10px;left:12px;font-size:11px;color:#276048;background:#ffefb4;border-radius:20px;padding:5px 10px;font-weight:800}.bb3-adventure-map .bb3-landmark h2{font-size:clamp(17px,1.4vw,23px)!important;min-height:0;margin:4px 5px 8px!important}.bb3-adventure-map .bb3-landmark p{min-height:0!important;font-size:12px;margin:0 4px 11px}.bb3-adventure-map .bb3-landmark .map-enter{display:inline-flex;margin:0!important;color:#28684a;font-weight:800}
/* Every practice card gets a semantically matched picture or accurately countable object group. */
.content-grid .learning-card{min-height:240px;border-radius:23px;border:1px solid #e3e7d9;box-shadow:0 5px 0 #e2e9d7,0 13px 20px #1c4a3412;transition:transform .15s ease;padding:17px 12px 20px;overflow:hidden;background:#fffefa}
.content-grid .learning-card:hover{transform:translateY(-3px)}.bb3-learning-picture{height:105px;min-width:100%;margin-bottom:9px;background:linear-gradient(140deg,#e7f1dc,#d7e6c2);border-radius:16px;display:grid;place-items:center;position:relative;overflow:hidden}.learning-card:nth-child(4n + 2) .bb3-learning-picture{background:linear-gradient(145deg,#fff1cf,#f6d9b4)}.learning-card:nth-child(4n + 3) .bb3-learning-picture{background:linear-gradient(145deg,#dfedfc,#bed9ee)}.learning-card:nth-child(4n + 4) .bb3-learning-picture{background:linear-gradient(145deg,#f5e5f9,#e5d6f6)}.bb3-learning-picture:after{content:'';width:95%;height:45%;position:absolute;bottom:-29%;border-radius:50%;background:#8ab78366}.bb3-picture-emoji{position:relative;z-index:1;font-size:clamp(44px,4.8vw,68px);filter:drop-shadow(0 7px 2px #28503a26)}.bb3-picture-letter{position:absolute;z-index:2;bottom:5px;right:9px;color:#21573e;font-size:32px;background:#fff8eabf;border-radius:10px;padding:2px 5px}.bb3-picture-heart{position:absolute;right:16px;top:9px;font-size:23px;color:#c96765}.bb3-number-scene{position:relative;z-index:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px 6px;align-items:center;justify-items:center;max-width:175px}.bb3-count-object{font-size:clamp(15px,2.2vw,24px)}.bb3-empty-count{font-size:44px;color:#487f63}.content-grid .card-glyph{font-size:clamp(36px,3.8vw,57px)}.content-grid .card-word{font-size:clamp(23px,2.1vw,34px)}.content-grid .card-en{font-weight:700;color:#365d49}.content-grid .card-hint{color:#4b6356}
/* Paths, play and storytelling share the same soft, dimensional art direction. */
.path-card{border-radius:22px!important;background:#fffef7;display:grid;grid-template-columns:auto 1fr;gap:16px;padding:20px}.bb3-path-illustration{align-self:center;grid-row:1/3;font-size:54px;background:linear-gradient(145deg,#fff1cd,#cce6cc);border-radius:22px;display:grid;place-items:center;width:92px;height:92px;box-shadow:0 5px 0 #dce6cc}.path-number{display:none}.path-content{grid-column:2;min-width:0}.game-card{border-radius:23px;overflow:hidden;border:1px solid #dfe6d9;box-shadow:0 7px 0 #e0e9d5}.game-card .game-art{min-height:185px;position:relative;overflow:hidden}.bb3-game-stamp{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(50px,6vw,88px);filter:drop-shadow(0 9px 5px #254e392b);z-index:2}.game-art .mini-letter{opacity:.35;position:relative;z-index:1}.game-card-body h3{font-size:clamp(23px,2vw,30px)}.bb3-celebration{position:relative;background:linear-gradient(140deg,#e4f4da,#ffefce)}.bb3-celebration:before{content:'🌸';position:absolute;right:14px;top:12px;font-size:31px}
.story-card{border-radius:23px;overflow:hidden;border:1px solid #e2e3d6;box-shadow:0 7px 0 #e3ead7!important}.story-cover{min-height:230px;position:relative;overflow:hidden;background:linear-gradient(160deg,#daf0e2,#b6d2b7)!important}.story-card:nth-child(3n+2) .story-cover{background:linear-gradient(160deg,#ffeac9,#e5bfc6)!important}.story-card:nth-child(3n+3) .story-cover{background:linear-gradient(160deg,#dcecf8,#d9d0ef)!important}.story-cover .storybook-cover-object{font-size:clamp(70px,6vw,112px);position:relative;z-index:3;filter:drop-shadow(0 9px 5px #3a654a2c)}.bb3-story-ground{position:absolute;bottom:-39%;left:-10%;right:-10%;height:73%;background:#8dba82;border-radius:50%;z-index:0}.bb3-story-ground span{position:absolute;top:15px;left:15%;font-size:50px}.bb3-story-ground span+span{left:auto;right:13%;font-size:40px}.story-card-text h3{font-size:clamp(24px,2vw,30px)}
/* Garden is one growing landscape, not twelve repeated dark photographs. Original earned states remain untouched. */
.living-garden.bb3-real-garden{background:#e1f0e0 url('./assets/illustrated/garden-background.svg') center/cover no-repeat!important;border:2px solid #c6ddb9;border-radius:32px;box-shadow:0 8px 0 #d5e6ca;overflow:hidden;padding:32px clamp(18px,3vw,52px)}.bb3-real-garden .garden-heading{gap:18px}.bb3-real-garden .garden-heading h2{display:flex;align-items:center;gap:12px}.bb3-real-garden .garden-heading h2 img{width:48px;height:48px;object-fit:cover;border-radius:50%;border:3px solid #fff8dd}.bb3-garden-intro{position:relative;margin-top:25px;min-height:65px;display:flex;align-items:center;gap:13px}.bb3-garden-greeting{background:#fffef6dd;border-radius:24px;padding:10px 20px;font-size:14px;font-weight:750}.bb3-butterfly{font-size:36px}.bb3-garden-sun{font-size:37px;position:absolute;right:10px;top:-30px}.bb3-real-garden .garden-bed{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;padding:12px 8px 4px}.bb3-real-garden .bb3-bloom-pot{height:150px!important;position:relative;display:flex;flex-direction:column;justify-content:flex-end;background:none!important;overflow:visible}.bb3-real-garden .garden-flower{position:absolute;left:50%;bottom:26px;transform:translateX(-50%) scale(.72);transform-origin:bottom center;filter:drop-shadow(0 7px 3px #235d402a)}.bb3-real-garden .seedling .garden-flower{transform:translateX(-50%) scale(.37);filter:saturate(.75)}.bb3-real-garden .soil{width:95px;height:26px;left:calc(50% - 48px);bottom:7px;background:linear-gradient(#86694c,#aa8661);box-shadow:0 7px 0 #b5cb96}.bb3-real-garden .pot-number{position:absolute;left:50%;bottom:0;top:auto;transform:translateX(-50%);background:#fffce9;min-width:27px;height:24px;border-radius:20px;color:#28563e;display:grid;place-items:center;font-weight:800}.bb3-real-garden .garden-customize{margin-top:24px;border-top:1px solid #a9c6aa;padding-top:18px}
.bb3-writer-section{background:#f4f0e1;border-radius:27px;margin-top:40px;padding:clamp(20px,3vw,42px)}.bb3-writer-section .writer-card{box-shadow:0 5px 0 #dddccc}.bb3-writer-section .writer-grid{grid-template-columns:1fr 1fr}.bb3-writer-section .writer-copy h3{font-size:clamp(24px,2vw,32px)}
/* Visit metric appears only in adult view; the existing single POST lifecycle is unchanged. */
.bb3-adult-traffic{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:21px;background:#f6faed}.bb3-adult-traffic h2{font-size:25px;margin:4px 0}.bb3-adult-traffic p{font-size:13px;line-height:1.5}.bb3-adult-traffic .header-meters{display:flex!important;gap:14px;flex-wrap:wrap;justify-content:flex-end}.bb3-adult-traffic .header-meter{min-width:155px;border:1px solid #d8e8d2;border-radius:14px;background:white;padding:14px}.bb3-adult-traffic .header-meter strong{color:#205b41;font-size:24px}
.trace-canvas,.tracing-canvas{border:2px solid #91b9a3!important}.trace-guide,.trace-model{opacity:.75!important}.reader-copy .bn{line-height:1.9}.reader-controls button,.reader-controls .btn,.reading-controls .btn{min-height:48px}
@media(min-width:1550px){.adventure-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.adventure-card .module-scene{height:195px}.story-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.bb3-hero{grid-template-columns:.95fr 1.05fr!important}.bb3-hero-copy{padding:32px}.bb3-hero-copy h1{font-size:clamp(40px,4.3vw,62px)}.adventure-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.bb3-adventure-map{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:36px 19px!important;gap:12px!important}.bb3-adventure-map .bb3-landmark{padding:10px!important}.bb3-adventure-map .island-toy{height:95px}.bb3-adventure-map .bb3-landmark h2{font-size:18px!important}}
@media(max-width:900px){.bb3-hero{grid-template-columns:1fr!important}.bb3-hero-copy{padding:34px}.bb3-hero-illustration{min-height:340px}.bb3-hero-copy h1{font-size:clamp(42px,7vw,65px)}.adventure-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bb3-adventure-map{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bb3-adventure-map:before{display:none}.bb3-adventure-map .bb3-landmark{min-height:205px}.bb3-real-garden .garden-bed{grid-template-columns:repeat(4,minmax(0,1fr))}.bb3-writer-section .writer-grid{grid-template-columns:1fr}.bb3-adult-traffic{flex-direction:column;align-items:stretch}}
@media(max-width:600px){.bb3-hero{border-radius:21px!important}.bb3-hero-copy{padding:30px 23px}.bb3-hero-copy h1{font-size:clamp(40px,10.5vw,53px);letter-spacing:-1.7px;margin:20px 0}.bb3-hero-copy>p{font-size:14px}.bb3-hero-copy .hero-buttons{gap:9px}.bb3-hero-copy .btn{font-size:12px;padding:12px 14px}.bb3-hero-illustration{min-height:260px}.bb3-hero-sticker{right:10px;bottom:10px;padding:7px 9px;font-size:10px}.bb3-hero-sticker .bn{font-size:27px}.adventure-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px}.adventure-card .module-scene{height:132px;margin:5px 5px 0}.bb3-module-emoji{font-size:51px}.bb3-module-glyph{font-size:20px;padding:4px 7px;right:7px;bottom:6px}.adventure-card .module-copy{padding:15px 12px 17px!important}.adventure-card .module-copy h3{font-size:17px;min-height:47px}.adventure-card .module-copy p{font-size:11px;min-height:39px}.bb3-legacy-toy .bb3-toy-stage{min-height:400px}.bb3-adventure-map{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;padding:19px 10px!important;border-radius:23px!important}.bb3-adventure-map .bb3-landmark{border-radius:17px!important;min-height:170px;padding:13px 5px!important}.bb3-adventure-map .bb3-landmark-icon{font-size:50px}.bb3-adventure-map .island-toy{height:82px}.bb3-adventure-map .bb3-landmark h2{font-size:16px!important;margin:2px 2px 6px!important}.bb3-adventure-map .bb3-landmark p{font-size:10px}.bb3-adventure-map .map-stop{top:4px;left:5px;padding:3px 7px;font-size:9px}.bb3-real-garden{padding:22px 13px!important}.bb3-real-garden .garden-bed{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.bb3-real-garden .bb3-bloom-pot{height:120px!important}.bb3-real-garden .garden-flower{transform:translateX(-50%) scale(.55)}.bb3-real-garden .seedling .garden-flower{transform:translateX(-50%) scale(.3)}.bb3-garden-greeting{font-size:12px;padding:9px}.bb3-writer-section{padding:19px 14px}.bb3-writer-section .writer-card{grid-template-columns:110px 1fr}.bb3-writer-section .writer-card .real-photo{height:100%;min-height:212px}.bb3-writer-section .writer-copy{padding:15px 10px 15px 0}.bb3-writer-section .writer-copy h3{font-size:21px}.content-grid .learning-card{min-height:220px}.bb3-learning-picture{height:87px}.bb3-picture-emoji{font-size:48px}.bb3-path-illustration{width:67px;height:67px;font-size:39px}.path-card{padding:13px;gap:10px}}
@media(max-width:375px){.bb3-hero-copy h1{font-size:39px}.bb3-hero-copy .hero-buttons .btn{font-size:11px}.adventure-card .module-copy h3{font-size:16px}.bb3-adventure-map .bb3-landmark h2{font-size:15px!important}.bb3-adult-traffic .header-meters{flex-direction:column}.bb3-writer-section .writer-card{grid-template-columns:1fr}.bb3-writer-section .writer-card .real-photo{height:160px}.bb3-writer-section .writer-copy{padding:16px}}
@media(prefers-reduced-motion:reduce){.adventure-card,.bb3-landmark,.learning-card{transition:none!important}.adventure-card:hover,.bb3-landmark:hover,.learning-card:hover{transform:none!important}}
.calm .adventure-card,.calm .bb3-landmark,.calm .learning-card{transition:none!important}.calm .adventure-card:hover,.calm .bb3-landmark:hover,.calm .learning-card:hover{transform:none!important}
.contrast .bb3-learning-picture,.contrast .bb3-landmark{border:2px solid #235240!important}.contrast .bb3-hero-copy{background:#133e2d}.contrast .bb3-hero-copy>p{color:#fff}
@media print{.bb3-hero,.bb3-legacy-toy,.bb3-writer-section,.bb3-adult-traffic{display:none!important}}
/* Mobile-first hero: let children see the tiger without scrolling below the entire headline. */
@media(max-width:680px){.bb3-hero{display:flex!important;flex-direction:column!important}.bb3-hero-illustration{order:0;min-height:255px}.bb3-hero-illustration img{object-position:42% 47%}.bb3-hero-copy{order:1;min-height:0}.bb3-hero-copy h1{margin:12px 0 18px}.bb3-hero-copy>p{margin-bottom:18px}.bb3-hero-copy .hero-buttons{margin-top:0}.bb3-hero-copy .hero-foot{margin-top:19px}}
.bb3-celebration .bb3-react-tiger{width:66px;height:66px;object-fit:cover;border-radius:50%;border:4px solid #fff6ce;box-shadow:0 4px 12px #24533c20;float:right;margin:0 0 10px 14px}
@media(max-width:390px){.bb3-celebration .bb3-react-tiger{width:48px;height:48px}}
.bb3-hero-copy .btn{min-height:48px}

/* Keep original game art readable, with decorative stamp in its corner. */
.bb3-game-stamp{left:auto;top:12px;right:12px;transform:none;font-size:26px;padding:6px 10px;border:1px solid #ffffffa6;border-radius:15px;background:#fffef0c9;box-shadow:0 3px 7px #285b3a16}
