/* ===== Bengali clarity + anti-clipping (loaded AFTER themes.css) ===== */
:root{
  --bn-ui:'Hind Siliguri','Noto Sans Bengali','Segoe UI',Arial,sans-serif;
  --bn-bold:'Noto Sans Bengali','Hind Siliguri','Segoe UI',Arial,sans-serif;
}
body{
  font-family:var(--bn-ui);
  font-size:15px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  font-kerning:normal;
  font-feature-settings:"kern" 1,"liga" 1,"clig" 1;
}
input,select,textarea,button{ font-family:inherit; }
strong,b{ font-weight:700; }

/* সব শিরোনামে বাংলার জন্য পর্যাপ্ত লাইন-হাইট */
:root:root h1,:root:root h2,:root:root h3,:root:root h4,:root:root h5,:root:root h6,
:root:root .card-title{
  line-height:1.5 !important;
  padding-top:.12em;
  padding-bottom:.08em;
  overflow:visible;
}

/* ব্র্যান্ডের নাম: গ্রেডিয়েন্ট-টেক্সট কাটা ঠেকাতে বাড়তি জায়গা */
:root:root .brand-name{
  font-family:var(--bn-bold) !important;
  line-height:1.55 !important;
  padding-top:.28em !important;
  padding-bottom:.22em !important;
  display:inline-block !important;
  overflow:visible !important;
}
:root:root .brand-text{ line-height:1.2 !important; padding-top:3px !important; overflow:visible !important; }

/* যেকোনো ইনলাইন গ্রেডিয়েন্ট-টেক্সট */
[style*="background-clip:text"],[style*="background-clip: text"]{
  display:inline-block;
  line-height:1.5;
  padding-top:.2em;
  padding-bottom:.15em;
}

/* সংখ্যা/টাকা: ইংরেজি সংখ্যা Inter, বাংলা ও ৳ Noto */
:root:root .stat .num,:root:root .stat .value,:root:root .wallet-balance{
  font-family:'Inter','Noto Sans Bengali','Hind Siliguri',sans-serif !important;
  line-height:1.45 !important;
}
:root:root .td-mono,:root:root .iprice{
  font-family:'JetBrains Mono','Noto Sans Bengali','Hind Siliguri',monospace !important;
}

/* বাটন, ব্যাজ, টেবিল, বার্তা */
.btn,button,.atk-btn,.chip,.badge,.tag,.pill,label,th,td,.flash,.msg-meta{ line-height:1.55; }
p,li,td,.card,.flash{ overflow-wrap:break-word; }

/* ===== v2: বড় লেখা + অঙ্ক কাটা ঠেকানো ===== */
body{ font-size:16.5px; }
:root:root .btn,:root:root button{ font-size:15.5px; }
:root:root input[type=text],:root:root input[type=number],:root:root input[type=email],
:root:root input[type=tel],:root:root input[type=password],:root:root select,:root:root textarea{
  font-size:16px; line-height:1.6;
}
:root:root td,:root:root th{ font-size:15.5px; line-height:1.7; }
:root:root .chip,:root:root .badge,:root:root .tag,:root:root .pill{ font-size:14.5px; }
:root:root .flash{ font-size:15.5px; }
:root:root .empty{ font-size:16px; }
:root:root .hero p{ font-size:17.5px; }
:root:root footer.site-footer{ font-size:14.5px; }
:root:root .muted{ font-size:13.5px; }

/* অঙ্ক ও টাকা: বাংলা সংখ্যার জন্য Noto Sans Bengali, বড় সাইজ, কাটা ও স্পেসিং ঠিক */
:root:root .stat .num,:root:root .stat .value{
  font-family:'Noto Sans Bengali','Hind Siliguri','Inter',sans-serif !important;
  font-size:30px !important;
  line-height:1.6 !important;
  letter-spacing:0 !important;
  padding-top:.1em; padding-bottom:.1em;
  overflow:visible !important;
  font-variant-numeric:normal !important;
}
:root:root .wallet-balance{
  font-family:'Noto Sans Bengali','Hind Siliguri','Inter',sans-serif !important;
  font-size:50px !important;
  line-height:1.5 !important;
  letter-spacing:0 !important;
  overflow:visible !important;
}
:root:root .iprice,:root:root .td-mono{
  font-family:'Noto Sans Bengali','Hind Siliguri',monospace !important;
  font-size:1.1em;
  letter-spacing:0 !important;
  line-height:1.6 !important;
  font-variant-numeric:normal !important;
}
:root:root .stat,:root:root .card{ overflow:visible; }
@media (max-width:600px){
  :root:root .stat .num,:root:root .stat .value{ font-size:26px !important; }
  :root:root .wallet-balance{ font-size:42px !important; }
}

/* ===== v3: ইনলাইন ছোট সাইজ বড় করা + অঙ্কের বাঁ দিক কাটা ঠেকানো ===== */
:root:root [style*="font-size:10px"],:root:root [style*="font-size: 10px"]{ font-size:13px !important; }
:root:root [style*="font-size:10.5px"]{ font-size:13.5px !important; }
:root:root [style*="font-size:11px"],:root:root [style*="font-size: 11px"]{ font-size:14.5px !important; }
:root:root [style*="font-size:11.5px"],:root:root [style*="font-size: 11.5px"]{ font-size:15px !important; }
:root:root [style*="font-size:12px"],:root:root [style*="font-size: 12px"]{ font-size:15px !important; }
:root:root [style*="font-size:12.5px"]{ font-size:15.5px !important; }
:root:root [style*="font-size:13px"],:root:root [style*="font-size: 13px"]{ font-size:16px !important; }

:root:root td,:root:root th,:root:root .muted,:root:root .msg-meta,:root:root small,:root:root time{
  overflow:visible !important;
  text-overflow:clip;
  text-indent:.12em;
  line-height:1.7 !important;
  letter-spacing:0 !important;
}
:root:root td,:root:root th{ padding-left:max(10px,.8em); }
