	:root{--ok:#16a34a;--bad:#dc2626;--ink:#111827;--muted:#6b7280;--ring:#e5e7eb;--mm-green:#82c91e;--mm-blue:#62d4f5;--mm-border:#3eb5d6;} 
	body {  margin: 0; padding: 0;  font-family: 'Noto Serif Bengali', serif;  display: flex; flex-direction: column; align-items: center; user-select: none; -webkit-user-select: none; -moz-user-select: none;  -ms-user-select: none;} 
	img { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; pointer-events: none;}
	table {border-collapse: collapse; width: 100%;} 
    th, td {border: 1px solid #666;  padding: 6px;   text-align: center;} 
    th {background-color: #ddf7ff; } 
    td {background-color: ;} 
	li{padding:4px 0 ;}  
    button {cursor: pointer;  background-color: #4CAF50; color: white; padding: 5px 10px; font-size: 12px;  border: none; border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  transition: all 0.2s ease; } 
	button:hover {box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } 
	button:active {transform: translateY(0); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); }
	li {list-style-type:none; font-size:18px;}
  	/* live server এ margin-top হবে না */
	.mainHeader {/*margin-top:-20px;*/ background-color: #4CAF50; padding: 15px;  width: 100%; text-align: center; }  
    .class-btn {font-family: Arial, Helvetica, sans-serif;  font-size: large;cursor: pointer;   text-decoration: none;  color: white;  background-color: #4CAF50; padding: 8px 12px;  border-radius: 5px; }
    .class-btn:hover { background-color: #129317; } 
	.toggle-button, .toggleBtn,  .toggle-but, .btn{cursor: pointer;}
	 
	.hidden-data  th{ background-color: #ceffb4;}
	.hidden{display: none !important;}
	
 
	/* ড্র্যাগেবল শব্দের স্টাইল */
	.dragword { cursor: grab; display: inline-block;padding: 2px 5px;}
	.dragword:active {cursor: grabbing;}
	     /* content box */
    .card{margin-top:18px; padding:18px; background:white; border-radius:12px; box-shadow:0 6px 18px rgba(18,18,18,0.04); border:1px solid #eee}
    .card h2{margin:0 0 8px 0; font-size:18px}
	.card li{color:#2d0000;}
    .card p{margin:0;  padding-bottom: 15px; font-size: 17px;} 
	.note{color:#959595;}
	.notice{color:#003393;}
	.notice-box{border: 2px solid #333; padding: 20px; background-color: #f9f9f9; border-radius: 8px;}
	.notice-box h2{text-align: center; text-decoration: underline;}
	.notice-box p{text-align: center; font-weight: bold;}
	
	.extra > h3 > span, .extra > h2 > span{color: #ddd;} 
	.sftcolor{color:#c3c3c3;} 
	.right{text-align: right;}
	.poem{text-align: center;}
	.poem p{font-style: italic;} 
	
 						/* For all book */ 
	/* সকল বইয়ের ও অনুশীলনীর বর্ডার */
	.bookimg, .practice, .homework {margin: 10px auto;  padding: 10px; border-radius: 12px; }
	.bookimg { box-shadow: 0 0 10px rgb(63 63 63 / 59%);}  
	.practice {max-width: 690px; box-shadow: 0 0 10px rgb(19 169 42 / 77%); } 
	.practice h2{color:#035f0b; text-align: center;font-size:24px;} 
	.homework{max-width:690px; box-shadow: 0 0 10px rgb(219 7 7 / 60%); }
	.homework h2{color:#c70000; } 
	/* অনুশীলনী */
	.exercise {display: flex; justify-content: center;  }
	.anu {padding: 10px 35px;  border: 3px solid #4CAF50;  border-radius: 30px; position: relative;  } 
	.anu::before {content: ""; position: absolute; top: 5px;  left: 5px;  right: 5px; bottom: 5px;  border: 2px solid #4CAF50;  border-radius: 25px;} 
	.anu strong {font-size: 20px; }
	.eximg{width: 660px;}
	
	.section {max-width: 690px;margin-bottom: 20px;border-top: 1px solid #efefef;} 
	.section img{width:100px;}	 
	.section p {font-size:18px;} 
	.section th {background-color: #ffead8;}
	.section td {background:#fff; border:1px solid #dfdfdf;font-size: 18px;}
	.section a{text-decoration: none;color: #035d9f;} 
	
	
	.poet img{ float: left;margin-right: 20px;border: 2px solid #22d68e; border-radius: 10px;}
	.poet p{font-size: 18px;  }  
	.jukto th{background-color: #fbf4f4;} 
	.jk_brn span{color: red;} 
	.mcq p{font-size: larger;} 
	.match{height:650px;}
	.ques li {font-size: larger;color: #060657;} 
	 
	.q-type2 li {font-size: 1em;font-weight: bold;padding:0;} 
	.opt-btn{color: #000;  font-size: 20px; padding:4px 6px; box-shadow: none;background-color: #fff;}  
	.opt-btn:hover{background: none;} 
	.pmg img{width:690px;}  /* অনুশীলনীর ইমেজ */    
	#shuffleBtn{color:#12378d;} 
	.correct { color: #28a745 !important; } 
	.wrong, .incorrect { color: #dc3545 !important; }

	.list{text-align: center;} 
	 
	.toggle-con, .toggle-content, .div-hidden {display:none;}   
	.div-hidden span{color:#000; font-weight: bold;text-decoration: underline; } 
	.ques .toggle-content{display:none; margin-top: auto; padding:5px 5px;  border-left:3px solid #009b11; background: #fbfeff;  border-radius:8px;} 
	.btn:hover, .toggleBtn:hover, .toggle-button:hover, .toggle-but:hover{color: #0400b3;}
	.toggle-content img{width:100%;}
 
    .chok td { height: 40px; }  
	.tag{margin:5px;padding: 5px 20px; border-radius: 12px;  background: #fff8f6; border: 1px solid #bfbfbf;  font-weight:600; }
	.tableft{text-align: start;}
	 /* কোন প্রশ্নে শব্দ চেন্স */ 
	.hidden-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;border:none; color:#001caf;font-weight: bold;font-size:20px; cursor:pointer; outline:0;display:inline-block;text-align:center; }
	#width-helper{position:absolute;visibility:hidden;height:auto;width:auto;white-space:pre;font-size:24px;font-family:SolaimanLipi,Arial,sans-serif}
	.underline-group{margin-top:40px;display:flex;justify-content:center;gap:30px}
	.line{width:100px;border-bottom:2px solid #333}

 
	 	     /* বাংলা বই */ 
			 
	/* ক্লাস ১ - এলোমেলো করি*/ 
.letter-box {width: 30%;  margin: 0 auto;  padding: 10px;  font-size: 4em; text-align: center; border-radius: 20px;   background: #e8ffec;  font-weight: bold;}
.btn-area {text-align: center;   margin-bottom: 20px;}
.btn-area button {padding: 10px 25px;  margin: 5px;   font-size: 20px; border-radius: 10px; cursor: pointer; border: none;  background: #007bff; color: white;}
.word-grid {display: grid;  grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 20px auto;} 
.drow {padding: 40px 10px;border: 1px solid #2e8b45; background: #f5fff74f; text-align: center; border-radius: 10px;   font-size: 3em; }
.word-item.shuffled {letter-spacing: 10px;}
		 
.pori-likhi table{table-layout:fixed}
.pori-likhi td,.pori-likhi th{background-color:#fdf8ec;padding:15px 5px; border:none; border-bottom:1px solid #b5b5b5;font-size:24px}
.pori-likhi .answer-word{visibility:hidden;opacity:0;transition:opacity .3s;color:#2c7a7b}
.pori-likhi.active .answer-word{visibility:visible;opacity:1}

		
		/* শব্দের অর্থ*/ 
.section > .word-list { margin-top:20px; border-radius:10px;overflow: hidden;box-shadow: 0 4px 12px rgba(0,0,0,0.1);}
.sobdo { display: flex;padding: 8px 20px; transition: 0.3s;}
.section > .word-list > .sobdo:nth-child(even) {background: #f9f9f9;}
.sobdo:hover{background: #eaf6ff;}
.word { margin-right:20px;font-weight: bold;color: #043504;}
.meaning { transition: 0.3s;}
.hide-meaning .meaning {display: none;}
 
		/*   শূন্যস্থান   */
.bank-view, .bank{display:flex; flex-wrap:wrap; gap:8px; background:#f9fafb; border-radius:12px; padding:6px; margin:10px 0 14px; border:1px dashed #e5e7eb}
.chip-view, .chip{padding:6px 10px; border-radius:999px; background:#fff7ed; border:1px solid #fed7aa; font-weight:600;}  
 .chip {display:inline-block; padding:2px 6px; margin:2px; border:1px solid #333;border-radius:8px;  cursor:grab;  background:#f9f9f9;}
 .chip:active {cursor:grabbing;}
 .chip.active {background:#000;  color:white;}
 .q {margin:8px 0;font-size: 18px;border-radius:6px;}
 .q:hover {background:#f2f2f2;}
 .blank {display:inline-block; min-height: 20px; min-width:70px; border-bottom:2px dashed #000; text-align: center;}
 .blank.correct {color:green;}
 .blank.wrong {color:red;}  
  
 .fill-in-1 .blank {background: #fbfbfb;  min-width:20%;} 
 .q-type1 span {color:green; font-size:16px; text-align: center;} 
 
	 	 
/* সঠিক উত্তর ---(রিসেট ও এলোমেলো) */  
.question{padding:0 12px 12px 0;} 
.quiz h5{ font-size: 18px; margin: 10px 0;cursor: pointer;}
.opts { list-style: none; margin: 0; padding: 0;  display: grid; grid-template-columns: 1fr;  gap: 8px; } 
.opt { position: relative;  display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; user-select: none; transition: border-color .15s, background .15s; font-size: 16px;} 
.extra-q-box h5, .extra-ques li, .extra-ques p, .extra-fill>.q{color: #4d4d4d;}
.extra-q-box .opt{color: #454545;}
	
	
  /* মোবাইলের জন্য: ছোট স্ক্রিনে আবার এক কলামে ফিরিয়ে আনা */
  @media (max-width: 600px) {.opt { width: 100%;}}
	
			/* বড় স্ক্রিনে ২ কলাম */
	@media (min-width: 600px) {.opts {  grid-template-columns: repeat(2, 1fr); }}
	  .opt:hover{background:#fafafa}
	  .opt::before{  content:"";  }
	  .opt.correct{border-color:var(--ok); }
	  .opt.correct::before{content:"✓";   place-items:center;  color:var(--ok)}
	  .opt.wrong{border-color:var(--bad); }
	  .opt.wrong::before{content:"✗";  place-items:center; color:var(--bad)}
	  .opt.reveal:not(.correct):not(.wrong){border-color:#d1fae5}
 
 
	
			/* বাক্য - বিপরীত  - এককথা*/ 
.bakko {display: flex;}  
.bakko li, .bakko p {list-style: none; padding: 0px 5px; font-size: 18px;height: 25px; display: flex;align-items: center;transition: background 0.2s;}
.bakko li {padding: 10px 15px; }  
.bakko > .left p {font-weight: bold;}  
.bakko li:nth-child(even) { background-color: #f9f9f9;}  
.left span {margin-left: auto;color: #bbb;}
.ek-kotha{display: flex;} 
.onekw li, .ekw li{ font-size: 20px; line-height: 1.4em;} 
.onekw {min-width: 180px;} 
.ekw, .bold {font-weight: bold; color: #2c3e50;}
	  
	  
			/* যুক্তবর্ণ*/ 
.jukto-container{max-width:800px;margin:20px 0}.jukto{display:grid;grid-template-columns:1.2fr 0.3fr 0.8fr 0.3fr 1.2fr 2.5fr; padding:8px 5px;align-items:center; transition:background .2s}.jukto:hover{background-color:#f5f5f5}.cell{font-size:20px;color:#333}.hidden-answer{opacity:0!important;visibility:hidden!important;transition:opacity .3s} 
	
			 /* Click 1 item show */
.itemshow{padding:5px;}   
.itemshow p{font-size:18px;}  
.btn-row{display:flex; gap:12px; flex-wrap:wrap;margin:10px;}
.sci-btn{appearance:none; border:1px solid  #000; margin: 0; border-radius: 10px;background:#f9fff9; padding:2px 5px; box-shadow:0 3px 0 rgba(0,0,0,0.03), inset 0 -1px 0 rgba(0,0,0,0.02); cursor:pointer; font-weight:600; transition:transform .12s ease, box-shadow .12s ease; outline:none; color:#203d07;}
.sci-btn:hover{color:#000;}
.sci-btn:active{color:#fff;background:#000; }
.sci-btn[aria-pressed="true"]{ color: #fff;   background: linear-gradient(61deg, #000, #818181);  border-color: #000;  box-shadow: 0 4px 12px rgb(129 129 129 / 6%); }

 
	 	  /*  দাগ টেনে মিল করি */   
.game-container{display:flex;justify-content:space-between;align-items:center; margin:0 auto;position:relative;}.column{display:flex;flex-direction:column;z-index: 5;gap:5px;}.item{padding: 10px; font-size:20px; cursor:pointer;display:flex;justify-content:center}.item img{width:110px;height:auto;pointer-events:none}#svg-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:5}line{stroke-width:4;stroke-linecap:round}.temp-line{stroke:#aaa;stroke-dasharray:8} .game-container { touch-action: auto;} .col_lf{gap: 30px;}.dagtan{ display:flex; flex-direction:column; gap:20px;}
.imgbd{text-align: left;} 
 
  /*  দাগ টেনে মিল করি - বাক্য সহ */   
.game-wrapper{display:flex;justify-content:space-between;position:relative}.colam{display:flex;flex-direction:column;gap:10px;z-index:2; }.itm{padding:5px;font-size:19px;cursor:crosshair;line-height:1.5}.game-wrapper > canvas{position:absolute;top:0;left:0;z-index:1;pointer-events:none}.sentence-section{margin-top:40px}.sentence-line{font-size:19px;margin:12px 0;border-bottom:1px dotted #ccc;min-height:28px;color:#333}.wrong-text{color:red!important}

/*  বাক্য ড্রাগ ড্রপ*/ 
.source-area{font-size:20px; margin-bottom:50px;display:flex;flex-wrap:wrap;gap:5px; }.draggable-text{cursor:move;padding:2px 5px;transition:color .3s}.drop-container{display:flex;flex-wrap:wrap;gap:5px;border-bottom:2.5px solid #000;padding-bottom:10px;min-height:45px;align-items:center}
.sentence-row {display: flex; align-items: center;}
.serial-label {font-size:18px; min-width: 35px;}

/* ক্লিক বাক্য শো*/ 
.ma-sentence{font-size:18px;color:#333;margin-bottom:10px;font-weight:500}.dotted-line{display:block;border-bottom:2px dotted #888;width:100%;margin:15px 0;color:transparent;cursor:pointer;font-size:18px;padding-bottom:5px;transition:color .3s ease-in-out;user-select:none}.dotted-line.revealed{color:#0056b3;border-bottom:1px solid #ddd;cursor:default}
 
 
      /*  শূন্যস্থান - 3 passes Drag */
.instruction-title{color:#d81b60;cursor:pointer;text-align:center;margin-bottom:20px}
.word-bank{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:30px;list-style:none} 
.story-paragraph{line-height:1.8; text-align:justify}.word-placeholder{display:inline-block;min-width:80px;border-bottom:1px solid #555;margin:2px 5px;text-align:center;vertical-align:bottom; cursor:pointer;color:#1a73e8;font-weight:700}

 /*  শূন্যস্থান -4 Drag */
.move-w,.target{text-align:center; font-size: 18px;}
.gaps-drag4{display:flex;justify-content:space-between;gap:30px;margin-top:25px}.main-text{flex:2}.grow{font-size:18px;margin-bottom:12px; }.target{display:inline-block;width:120px;min-height:25px;border-bottom:1px solid #000; margin:0 5px;color:#27ae60;font-weight:700;vertical-align:bottom}.dr-options{ gap:12px; border-left:2px solid #b1b1b1}.move-w{padding:10px; cursor:grab; }.move-w:active{cursor:grabbing}

 	   /*  এলোমেলো শব্দ থেকে বাক্য */
.sortable-list{display:flex;flex-wrap:wrap;gap:5px;width:100%;min-height:40px}.ward{cursor:grab;user-select:none;font-size:19px;color:#333;    padding: 10px;border:none; }.ward:active{cursor:grabbing}.ward.dragging{opacity:.2}.correct-row .ward{color:#2e7d32; cursor:default}

/* পরের চরণ লিখি */
.poem-line {font-size: 18px; text-align: center;cursor: pointer min-height: 40px;}  
.gap-line {color: transparent;margin: 0 150px;  border-bottom: 2px dashed #999; user-select: none; }  
.show-line {color: black; border-bottom: 2px solid transparent;}

/*বিরাম চিহ্ন */
.draggable-word {background: #fff; padding: 5px 20px; border: 1px solid #ccc;   border-radius: 4px; cursor: grab; font-size: 18px; font-weight: bold;}
.draggable-word.selected { border-color: #007bff; }  
.story-paragraph { font-size: 18px; color: #000; } 
.punc-placeholder {  font-weight: bold; display: inline; transition: color 0.3s;  margin-left: 2px;}  
 
/* পদ আলাদা */
#category-select{font-family:inherit;font-size:inherit;color:inherit;font-weight:inherit;border:1px solid #fff; cursor: pointer;}
.pod{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}
.podtence{font-size:20px;flex:1}
.word-item{display:inline-block;cursor:grab; padding:2px;}
.drop-area{width:200px;border-bottom:1px solid #999;min-height:35px;display:flex; align-items:center;justify-content:center;font-size:20px;font-weight:700}

/* পদ ড্রাগ - ড্রপ */
.options-row{display:flex;justify-content:center;gap:10px;margin-bottom:20px}.drag-item{padding:5px 12px;background:#fcfcfc;border:1px solid #ccc;border-radius:5px;cursor:grab}.paragraph-box{font-size:19px;line-height:2.2}.word-target{border-bottom:1px solid #333;padding:0 3px;margin:0 2px;transition:.3s}


/* শব্দ আলাদা */
.odd-row{display:flex;justify-content:space-between;align-items:center; padding:10px;border-bottom:1px solid #eee}
 .word-item-odd{cursor:grab; font-size: 18px;margin-right:10px;padding:8px 12px; }
 .ans-placeholder{min-width:120px;display:inline-block;  ; text-align:center}
.is-correct{color:green!important;font-weight:700;border-bottom-color:green}
.is-wrong{color:red!important;font-weight:700;border-bottom-color:red}

/* জোড়া শব্দ ড্রাগ ড্রপ */
.ps-syn-pool { border: 2px dashed #e7b53cf7; padding: 10px; display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; border-radius: 10px; background: #fff3e2; }
.ps-drag-item { padding: 5px 12px; cursor: grab;  font-weight: bold;} 
.pssyn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.psrow { display: flex; align-items: center; gap: 8px; padding: 5px; border-radius: 5px; }
.ps-drop-zone { min-width: 120px; min-height: 30px; border-bottom: 1px solid #6b6b6b; display: flex; align-items: center; justify-content: center; cursor:pointer;  } 
.psrow.correct-match .ps-drop-zone { color: green; border-bottom: 2px solid green; }
.psrow.wrong-match .ps-drop-zone { color: red; border-bottom: 2px solid red; }
 
/*passage থেকে শব্দ আলাদা */
.passage-container{line-height:2;font-size:1.1rem}
.dragitem{cursor:grab;border-radius:4px;transition:.3s}
.drop-line-wrapper{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}
.custom-target-line{border-bottom:2px dotted #adb5bd;height:30px;display:flex;align-items:center;justify-content:center;}

 
/* বাক্য ভাব প্রকাশ সেকশনের স্টাইল */ 
.options-list {text-align: center; margin-bottom: 30px; font-size: 20px; font-weight: bold; display: flex; justify-content: center; gap: 15px; } 
.quiz-row {display: flex; align-items: center; margin-bottom: 18px; font-size: 18px; }
.sentence-text {flex: 1;}
.drzone {width: 220px; min-height: 30px; border-bottom: 1px dotted #333;   text-align: center;  margin-left: 10px;  display: inline-block;}  

 
/* শব্দ থেকে একটা বর্ণ হাইড */
.source-container {display: flex;gap: 30px;margin-bottom: 30px;justify-content: center;}
.letterbox {width: 40px; height: 35px; background: #efefef;  display: flex; justify-content: center; align-items: center; cursor: grab; font-size: 22px; border-radius: 5px; }
.word-row { display: flex; align-items: center; flex-wrap: wrap; }
.worditem { display: flex; min-height: 50px;align-items: center; padding: 0 25px; font-size: 20px; position: relative;}
.worditem:not(:last-child)::after { content: ""; position: absolute; right: 0; height: 40px; width: 2px; background: #000; }
.dzone { display: inline-block; min-width: 20px; text-align: center; color: #444; }
		

/* ক্লিক বাক্য */
.ansr,.lbl{font-size:18px}.rw{display:flex;align-items:center;margin-bottom:20px;border-bottom:1px dotted #ccc;padding-bottom:5px}.lbl{width:20%;font-weight:700;cursor:pointer; transition:color.2s} .lbl:hover{color:#031573}.ansr{flex-grw:1;color:#292929;visibility:hidden;transition:opacity .3s}
.show{visibility:visible!important} 
.worksheet-container{margin-top:20px;}
.line-item{position:relative;cursor:pointer; height:40px;display:flex;align-items:center;justify-content:center;background:0 0;transition:transform .2s}.line-item:hover{transform:scale(1.02)}.dotted-bg{color:#bbb;letter-spacing:3px;font-size:20px;width:100%;text-align:center;white-space:nowrap;overflow:hidden}.hidden-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.8);font-size:20px;font-weight:700; opacity:0;transition:.4s cubic-bezier(.175, .885, .32, 1.275);background-color:#fff;padding:0 15px;white-space:nowrap;z-index:2}.line-item.active .hidden-text{opacity:1;transform:translate(-50%,-50%) scale(1)}.line-item.active .dotted-bg{opacity:.1}

 
/* সময়ের শব্দ আলাদা */ 
.word-bank-time{margin:15px 0;font-size:18px;line-height:1.6}.draggable-word-time{cursor:move;display:inline-block;padding:5px 25px;transition:color .3s}.time-categorize-container{display:flex;border:1px solid #000;margin-top:20px}.category-box{flex:1;border-right:1px solid #000}.category-box:last-child{border-right:none}.category-box h4{background:#fbe5d6;margin:0;padding:10px;text-align:center;border-bottom:1px solid #000}.drop-zone-time{min-height:300px;display:flex;font-weight:700;flex-direction:column;text-align:center}


 /* অনুশীলনীর নোট লিখা */ 
.not-container { margin-top: 20px; font-size: 18px; }
.not-row { margin-bottom: 15px; display: flow-root;text-align: center;}
.not-label {font-weight: bold; margin-right: 10px; }
#notSelect {font-size: 24px;  font-weight: bold;  border: 1px solid #ffffff;} 
.wline { border-bottom: 1px dotted #555; min-height: 35px; margin-bottom: 5px; font-size: 19px; color: #2c3e50; padding-left: 10px;display: flex;align-items: flex-end;    text-align: center; display: flow-root;}
 
/* ইমেজ স্লাইডার*/
.slider{position:relative;max-width:100%;margin:auto}.slides{display:none; }
.slides img{width: 690px; border-radius:5px}
.next,.prev{cursor:pointer;position:absolute;top:250px;width:auto;padding:10px 10px;color:#fff;font-weight:700;font-size:20px;background-color:rgba(0,0,0,.4);border-radius:3px;text-decoration:none;z-index:10}
.prev{left:0px}.next{right:0px}
.dag-container{margin-top:60px;}.dag-line{height: 25px;border-bottom: 1px solid #000;}

/* শব্দের গেম*/
.wordgrid{display:grid;grid-template-columns:repeat(8,45px);gap:5px;justify-content:center}.grid-cell{width:45px;height:45px;border:1px solid #ddd;display:flex;align-items:center;justify-content:center;font-size:1.2rem;cursor:pointer;background:#fff;border-radius:4px;transition:.2s}.found-words-section{text-align:center; padding-top:20px}.found-title{color:#555;margin-bottom:15px;font-size:1.1rem}.tags-container{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}.found-word-tag{background:#f5f5f5;border-radius:16px;display:grid;justify-content:start;align-items:center;padding:4px 20px;font-size:18px}.animated-pop{animation:.4s cubic-bezier(.175,.885,.32,1.275) popIn}@keyframes popIn{0%{transform:scale(.5);opacity:0}100%{transform:scale(1);opacity:1}}.is-found{background-color:#28a745!important;color:#fff!important;border-color:#1e7e34!important}

/* বাক্য - কাল - আগে-পরে-এখন*/
.time-period-row { margin-bottom: 15px; font-size: 18px; border-bottom: 1px dashed #ccc; padding-bottom: 5px; }
.time-select { padding: 3px; border-radius: 5px; border: 1px solid #e7e7e7; float:right;   } 
.result-icon { font-weight: bold;} 

 /*  এলোমেলো বর্ণ দিয়ে শব্দ তৈরি - cv-bn1, ciii-en6 */
 .tofo-grid{display:grid;grid-template-columns:repeat(3,1fr); box-sizing:border-box}.tofo-word-wrapper{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.tofo-card{width:100%;max-width:215px;height:120px;border-radius:10px;position:relative;cursor:pointer;border:1px solid #ababab;background-color:#fff;box-sizing:border-box;transition:all 0.2s ease}.tofo-card:hover{border-color:#28a745}.tofo-scrambled-text{position:absolute;font-size:1.7rem;font-weight:700;color:#333;user-select:none;transition:transform 0.3s}.tofo-dots{margin-top:15px;font-size:24px;color:#333;letter-spacing:2px}.tofo-solv{display:flex;align-items:center;justify-content:center;background-color:#eef9f0;border-color:#28a745}.tofo-solved-word{font-size:2rem; font-weight:700;text-align:center}.tofo-pos-0{top:5%;left:10%}.tofo-pos-1{top:10%;left:55%}.tofo-pos-2{top:50%;left:5%}.tofo-pos-3{top:55%;left:60%}.tofo-pos-4{top:30%;left:35%}.tofo-pos-5{top:0;left:40%}.tofo-pos-6{top:60%;left:30%}.tofo-pos-7{top:35%;left:5%}.tofo-pos-8{top:35%;left:75%}.tofo-r1{transform:rotate(-10deg)}.tofo-r2{transform:rotate(10deg)}@media (max-width:768px){.tofo-grid{grid-template-columns:1fr;gap:15px}.tofo-card{max-width:100%;height:100px}}
 
 
    	/*   রচনা   */
.rocona h3{color:#6d1a1a;text-align:center;}
 
 
 
/* যা সঠিক উত্তরকে হাইলাইট করবে */
.highlight {background-color: #e7f5e8; padding: 10px; border-radius: 5px; margin-top: 10px; } 
.options-box.active .highlight { font-weight: bold; color: #004d40; background-color: #c8e6c9; padding: 2px 5px; border-radius: 3px;}  
	 /* pop up div */
 .custom-modal {display: none;  position: fixed;  z-index: 1000;  left: 0;  top: 0;  width: 100%; height: 100%;  background: rgba(0,0,0,0.6); } 
.custom-content {background: white;  margin: 10% auto; padding: 12px;border-radius:12px;width: 670px;box-shadow:0 5px 15px rgba(0,0,0,0.3); } 
.close-btn { float: right; font-size: 22px; font-weight: bold; color: #333; cursor: pointer;  } 
  
 /* pop up youtube video */
.div-link, .video-link{cursor:pointer;}
.popup { display: none;  position: fixed;  top: 0; left: 0;  width: 100%; height: 100%;  background: rgba(0,0,0,0.7);  justify-content: center;  align-items: center;  z-index: 1000; } 
.popup-content { position: relative;   max-width: 800px; width: 90%; } 
iframe {  width: 100%;  height: 450px;  border: none; border-radius: 8px;}
 
 
   /*পেজে ছবি শো করা */   
.img_container {display: flex; width: 695px;flex-wrap: wrap; justify-content: space-between; 
  margin-top: 15px; }
.img_item {text-align: center;width: 17%;margin: 10px 0;}
.img_item img{width: 100px; height: 100px;object-fit: contain;border: 1px solid #ccc; padding: 5px; background: #fff; border-radius:4px;} 
.img img{width: 100px;}
 /* ---ভিডিও শো --- */ 
.container h2{text-align:center;} 
#videoContainer {margin-top: 20px; width: 100% ; height: 400px ; border: 3px solid #ccc; display: none; position: relative;} 
#youtubeFrame {width: 100%;  height: 100%;  border: none;} 
.v-l{cursor: pointer;}
.dynamic-video-container {width: 100%; position: relative; margin: 20px 0;  background-color: #f0f0f0; padding: 10px; box-sizing: border-box;}
.dynamic-video-container .close-button {position: absolute;  top: 10px; right: 10px;   font-size: 25px; font-weight: bold;  color: #fff; background: rgba(0, 0, 0, 0.7); border: none; padding: 0 8px; cursor: pointer; line-height: 1; border-radius: 5px;  z-index: 10;}
.dynamic-video-container .close-button:hover{background:#4CAF50;}

/* ---খাতায় লিখা --- */ 
.notebook-page{font-family:'Courier New',Courier,monospace;background-color:#fffef0;min-height:150px;height:auto;padding:40px;box-shadow:0 10px 30px rgb(0 0 0 / .1);position:relative;border:1px solid #ddd;background-image:linear-gradient(#e1e1e1 1px,transparent 1px);background-size:100% 30px;line-height:30px;margin-top:20px;overflow:hidden;transition:height 0.3s ease}.notebook-page::before{content:'';position:absolute;top:0;left:60px;width:2px;height:100%;background-color:#ffadad}.page-margin{position:absolute;top:60px;left:0;width:100%;height:2px;border-top:1px solid #ffadad;border-bottom:1px solid #ffadad}.nontent{margin-left:40px;color:#2c3e50;font-size:18px;font-weight:700;position:relative;z-index:2}
.nontent h2{text-align:center;margin-top:27px;text-decoration:underline;color:#1a1a1a;font-size:22px;visibility:hidden;cursor:pointer} 
.timlit{color:#d35400!important;font-weight:900}#paragraph-text{opacity:0;transition:opacity 0.8s ease;visibility:hidden}
#note-text{opacity:0;transition:opacity 0.6s ease;visibility:hidden} 
.show-text{opacity:1!important;visibility:visible!important}.flash-anim{visibility:visible!important;animation:flash 0.5s ease-in-out}@keyframes flash{0%{opacity:0;transform:scale(.9)}50%{opacity:1;transform:scale(1.05)}100%{transform:scale(1)}}

/* ---কথোপকথন--- */ 
.conversation-container{display:flex;flex-direction:column;gap:30px;padding:30px;margin:0 auto}.character-wrapper{display:flex;position:relative;min-height:150px}.left-char{justify-content:flex-start}.right-char{justify-content:flex-end;margin-top:-120px}.avatar{width:120px;cursor:pointer;z-index:5}.spech-buble{position:absolute;background:#fff;border:1.5px solid #000;border-radius:15px;padding:12px 18px;width:200px;font-size:15px;box-shadow:2px 2px 0 #000;z-index:10}.side-right{left:110px}.side-left{right:110px}.one-side{right:150px}.spech-buble::after{content:'';position:absolute;top:50%;transform:translateY(-50%);border-style:solid}.side-right::after,.one-side::after{left:-10px;border-width:8px 10px 8px 0;border-color:#fff0 #000 #fff0 #fff0}.side-left::after{right:-10px;border-width:8px 0 8px 10px;border-color:#fff0 #fff0 #fff0 #000}

/* ---মাইন্ড ম্যাপ--- */ 
.mind-map{position:relative;width:100%;max-width:500px;height:450px;margin:40px auto;display:flex;justify-content:center;align-items:center}.mm-svg{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0;pointer-events:none}.mm-svg line{stroke:var(--mm-green);stroke-width:2;stroke-dasharray:1000;stroke-dashoffset:1000;transition:stroke-dashoffset 0.6s ease-in-out}.mm-svg line.active{stroke-dashoffset:0}.mm-centre,.mm-node{position:absolute;padding:12px 22px;border-radius:50px;font-weight:700;cursor:pointer;text-align:center;min-width:100px;box-shadow:0 4px 8px rgb(0 0 0 / .1);transition:all 0.4s cubic-bezier(.175,.885,.32,1.275)}.mm-centre{position:relative;background:var(--mm-blue);border:2px solid var(--mm-border);z-index:10}.mm-node{background:#fff;border:2px solid var(--mm-green);z-index:5;opacity:0;transform:scale(0)}.mm-node.show{opacity:1;transform:scale(1);background-color:#f8fff0; }.mm-node:hover{transform:scale(1.08);box-shadow:0 5px 15px rgb(130 201 30 / .3)} 
.mm-node.active-front {z-index: 100; box-shadow: 0 10px 20px rgba(0,0,0,0.2); background-color: #e7ffcb; transform: scale(1.1);}

#mindmap2{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%}
.mind-map2-root{padding:5px 10px;border:1px solid #3498db;border-radius:10px;background:#eef7ff;cursor:pointer;}
.mind-map2-branches-wrapper{display:none;flex-direction:row;gap:10px;border-top:1px solid #3498db;padding-top:27px;justify-content:center;width:fit-content; }
.mind-map2-connector{width:1px;height:30px;background:#3498db}
.mind-map2-branch{display:flex;flex-direction:column;align-items:center;position:relative}
.mind-map2-branch::before{content:'';position:absolute;top:-27px;width:1px;height:25px;background:#3498db}
.mind-map2-node{padding:5px;border:1px solid #3498db;border-radius:10px;background:#f8f9fa; text-align:center;cursor:pointer;position:relative}
.mind-map2-node::after{content:'';position:absolute;bottom:-20px;left:50%;width:1px;height:20px;background:#3498db}
.mind-map2-sub-node{display:none;margin-top:30px;padding:10px;border:1px dashed #3498db;border-radius:8px; text-align:center}.show-branches{display:flex!important}
.show-sub{display:block!important}

 /*Responsive Design Layer */ 
/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .area, .bgstion, .section, .eng_container {max-width: 100%; box-sizing: border-box;} 
  .eng_container {display: flex;  flex-direction: column;  align-items: stretch;} 
  .context, .word_mining {  float: none; width: 100%;} 
  .custom-content {width: 85%;} 
  .card, .practice, .bookimg {padding: 12px;}}
 
@media (max-width: 768px) {
.practice:{max-width: none;}
  .question-row {flex-direction: column;  align-items: flex-start;}
  .bookimg, .bgstion {float: none; width: 100%; padding: 0 10px;box-sizing: border-box;} 
  img, iframe, video {max-width: 100%; height: auto;  } 
  .poet img {  float: none;display: block;  margin: 0 auto 10px auto;}  
  table {width: 100%; overflow-x: auto;} 
  .custom-content {width: 90%; margin: 20% auto;} 
  iframe {  height: 260px;} 
  .match {   height: auto; display: flex; flex-direction: column;gap: 10px;} 
  .opts { grid-template-columns: 1fr;} 
  h2 {  font-size: 22px;}
  .section h3 { font-size: 18px;}
  .section p { font-size: 15px; }}

@media (max-width: 480px) {
  .practice:{max-width: none;}
  .area { padding: 8px; } 
  .anu strong {font-size: 16px;} 
  .practice h2 {font-size: 20px;} 
  .practice h3 {font-size: 18px;} 
  .practice h4 {font-size: 16px;} 
  .card, .practice {padding: 8px;}
}

		
		