.tg-wrap,.tg-single,.tg-board{--tg-color:#2e7d32;font-family:'Noto Sans Bengali','Hind Siliguri','SolaimanLipi','Kalpurush',system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.6;box-sizing:border-box}
.tg-wrap *,.tg-single *,.tg-board *{box-sizing:border-box}
.tg-wrap{max-width:1100px;margin:0 auto 24px}
.tg-filters{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:14px 16px;margin:0 0 16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 12px}
.tg-cascade{display:contents}
.tg-field{margin:0 0 10px}
.tg-field label{display:block;font-weight:600;margin-bottom:4px;font-size:.95rem}
.tg-field select,.tg-field input{width:100%;max-width:100%;min-height:44px;font-size:16px;padding:6px 10px}
.tg-actions{grid-column:1/-1;display:flex;gap:8px}
.tg-btn{min-height:44px;padding:0 20px;border:0;border-radius:8px;background:var(--tg-color);color:#fff;font-size:16px;cursor:pointer;font-family:inherit}
.tg-reset{background:#e5e7eb;color:#222}
.tg-count{margin:0 0 12px;color:#50575e}
.tg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.tg-card{background:#fff;border:1px solid #dcdcde;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;position:relative}
.tg-serial{position:absolute;top:10px;left:10px;min-width:34px;height:34px;padding:0 9px;border-radius:999px;background:var(--tg-color);color:#fff;font-weight:800;font-size:.95rem;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px rgba(0,0,0,.3);border:2px solid #fff}
.tg-body{flex:1;display:flex;flex-direction:column}
.tg-more{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;min-height:40px;padding:0 16px;margin-top:10px;border-radius:8px;background:var(--tg-color);color:#fff;text-decoration:none;font-weight:600;font-size:.95rem}
.tg-more:hover{filter:brightness(1.1)}
.tg-photo{display:block;aspect-ratio:4/3;background:#f0f0f1;overflow:hidden}
.tg-photo img{width:100%;height:100%;object-fit:cover;display:block}
.tg-nophoto{display:flex;align-items:center;justify-content:center;height:100%;color:#888}
.tg-body{padding:12px 14px 14px}
.tg-tree{margin:0 0 6px;font-size:1.1rem}
.tg-tree a{color:var(--tg-color);text-decoration:none}
.tg-line{margin:2px 0;font-size:.93rem}
.tg-line span{color:#646970}
.tg-addr{font-size:.88rem}
.tg-empty{color:#646970;margin:12px 0}
.tg-pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:20px 0 0}
.tg-pg{min-width:40px;min-height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dcdcde;border-radius:8px;background:#fff;color:#222;text-decoration:none}
.tg-cur{background:var(--tg-color);border-color:var(--tg-color);color:#fff}
.tg-dots{align-self:center;color:#888}
.tg-loading .tg-results{opacity:.5;transition:opacity .2s}
/* সিঙ্গেল পেজ */
.tg-single{max-width:760px;margin:0 auto 20px}
.tg-single-photo img{width:100%;height:auto;border-radius:10px;display:block}
.tg-details{margin:16px 0}
.tg-dr{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #eee}
.tg-dr dt{min-width:110px;color:#646970;margin:0}
.tg-dr dd{margin:0;font-weight:600}
.tg-share{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}
.tg-sh{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:8px;background:var(--tg-color);color:#fff;text-decoration:none;border:0;font-size:15px;cursor:pointer;font-family:inherit}
.tg-back a{color:var(--tg-color)}
/* লিডারবোর্ড */
.tg-board{max-width:760px;margin:0 auto 24px;background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:16px 18px}
.tg-board-title{margin:0 0 12px;font-size:1.2rem}
.tg-rank-list{list-style:none;margin:0;padding:0}
.tg-rank-list li{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #eee}
.tg-rank-list li:last-child{border-bottom:0}
.tg-rk{flex:0 0 36px;height:36px;border-radius:50%;background:var(--tg-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.tg-rk-body{flex:1;min-width:0}
.tg-rk-top{display:flex;justify-content:space-between;gap:8px}
.tg-rk-body small{display:block;color:#646970}
.tg-bar{height:10px;border-radius:5px;background:#e5e7eb;overflow:hidden;margin:6px 0 2px}
.tg-bar-fill{height:100%;background:var(--tg-color)}
@media (max-width:480px){.tg-grid{grid-template-columns:1fr}.tg-dr{flex-direction:column;gap:0}}
