/* ===== সংবাদ পোর্টাল ===== */
.news-portal { width: 100%; max-width: none; margin: 0; padding: 0; box-sizing: border-box; }
.news-card { background: var(--card-bg); backdrop-filter: blur(12px); border-radius: 0; box-shadow: none; border-top: 5px solid var(--primary-green); padding: 14px 10px; }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.news-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--primary-green); }
.news-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; color: #fff; background: #d61b30; padding: 3px 9px; border-radius: 20px; letter-spacing: .3px; }
.news-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: newsBlink 1.2s infinite; }
@keyframes newsBlink { 50% { opacity: .25; } }
.news-tools { display: flex; align-items: center; gap: 8px; }
.news-updated { font-size: 11px; color: var(--muted-text); }
.news-refresh { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(0,106,78,.3); background: transparent; color: var(--primary-green); cursor: pointer; }
.news-refresh:hover { background: var(--primary-green); color: #fff; }
.news-refresh.spin i { animation: newsSpin .8s linear infinite; }
@keyframes newsSpin { to { transform: rotate(360deg); } }

/* শিরোনাম টিকার */
.news-ticker { display: flex; align-items: center; background: rgba(0,106,78,.08); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.news-ticker-label { background: var(--primary-green); color: #fff; font-size: 12px; font-weight: 800; padding: 9px 13px; white-space: nowrap; flex-shrink: 0; }
.news-ticker-view { overflow: hidden; flex: 1; }
.news-ticker-track { display: inline-flex; white-space: nowrap; animation: newsTick 70s linear infinite; }
.news-ticker-view:hover .news-ticker-track { animation-play-state: paused; }
.news-ticker-track a { color: var(--text-dark); text-decoration: none; font-size: 12.5px; font-weight: 600; padding: 0 22px; }
.news-ticker-track a::before { content: "●"; color: #d61b30; font-size: 8px; margin-right: 8px; vertical-align: middle; }
.news-ticker-track a:hover { color: var(--primary-green); }
@keyframes newsTick { to { transform: translateX(-50%); } }

/* ফিল্টার চিপ ও সার্চ */
.news-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.news-chips { display: flex; gap: 7px; overflow-x: auto; flex: 1; padding-bottom: 4px; scrollbar-width: thin; }
.news-chip { flex-shrink: 0; border: 1.5px solid rgba(0,106,78,.2); background: rgba(0,106,78,.05); color: var(--text-dark); font-family: inherit; font-size: 12px; font-weight: 700; padding: 7px 13px; border-radius: 20px; cursor: pointer; transition: all .2s; }
.news-chip:hover { background: rgba(0,106,78,.14); }
.news-chip.active { background: var(--primary-green); color: #fff; border-color: transparent; }
.news-search { position: relative; flex-shrink: 0; width: 210px; }
.news-search input { width: 100%; box-sizing: border-box; padding: 8px 12px 8px 32px; border-radius: 20px; border: 1.5px solid rgba(0,106,78,.2); background: transparent; color: var(--text-dark); font-family: inherit; font-size: 12.5px; }
.news-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--muted-text); }

/* গ্রিড ও কার্ড — গুগল ডিসকভার স্টাইল: বড় ছবি, নিচে শিরোনাম, তারপর সূত্র · সময় + হার্ট/শেয়ার/মেনু */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px 18px; }
.news-item { position: relative; display: flex; flex-direction: column; min-width: 0; }
.news-thumb { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #0a7d5c, #064e3b); color: rgba(255,255,255,.5); font-size: 34px; text-decoration: none; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.news-item:hover .news-thumb img { transform: scale(1.03); }
.news-h { margin: 12px 4px 0; font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-h a { color: inherit; text-decoration: none; }
.news-h a:hover { color: var(--primary-green); }
.news-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 0 4px; }
.news-srcline { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--muted-text); }
.news-srcico { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,0,.08); object-fit: contain; padding: 4px; box-sizing: border-box; flex-shrink: 0; }
.news-srcico.ph { display: inline-flex; align-items: center; justify-content: center; color: var(--primary-green); font-size: 14px; }
.news-src { font-weight: 700; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.news-time { white-space: nowrap; flex-shrink: 0; }
.news-acts { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.news-act { width: 38px; height: 38px; border: none; background: transparent; border-radius: 50%; color: var(--text-dark); font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.news-act:hover { background: rgba(0,106,78,.12); }
.news-act:active { transform: scale(.9); }
.news-act.like.on { color: #e11d48; }
.news-menu { position: absolute; right: 0; top: 100%; z-index: 30; min-width: 200px; background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.2); padding: 6px; }
.news-menu[hidden] { display: none; }
body.dark-mode .news-menu { background: #1b2a26; border-color: rgba(255,255,255,.12); }
.news-menu-i { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; padding: 10px 12px; border: none; background: transparent; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-dark); text-align: left; text-decoration: none; cursor: pointer; }
.news-menu-i:hover { background: rgba(0,106,78,.1); }
.news-menu-i i { width: 16px; color: var(--primary-green); }
.news-vbadge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; background: rgba(0,0,0,.72); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 20px; }
.news-vbadge i { font-size: 11px; }

.news-more-wrap { display: flex; justify-content: center; margin-top: 16px; }
.news-more { background: var(--primary-green); color: #fff; border: none; border-radius: 22px; padding: 10px 26px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.news-more:hover { background: var(--secondary-green); }
.news-state { text-align: center; padding: 26px 10px; color: var(--muted-text); font-size: 13px; }
.news-state button { margin-top: 10px; }
.news-skel { height: 300px; border-radius: 18px; background: linear-gradient(90deg, rgba(0,106,78,.07) 25%, rgba(0,106,78,.15) 50%, rgba(0,106,78,.07) 75%); background-size: 200% 100%; animation: newsSkel 1.3s infinite; }
@keyframes newsSkel { to { background-position: -200% 0; } }
.news-credit { text-align: center; font-size: 10.5px; color: var(--muted-text); margin-top: 12px; }

/* ট্যাবলেট */
@media (max-width: 900px) { .news-search { width: 160px; } }

/* মোবাইল — একটি কলাম, ছবি দুই পাশ ছুঁয়ে (গুগল ডিসকভারের মতো) */
@media (max-width: 640px) {
    .news-card { padding: 12px 8px; border-radius: 0; }
    .news-title { font-size: 15px; }
    .news-filter { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
    .news-search { width: 100%; }
    .news-grid { grid-template-columns: 1fr; gap: 26px; margin: 0 -8px; }
    .news-thumb { border-radius: 0; aspect-ratio: 16/10; font-size: 28px; }
    .news-h { margin: 12px 14px 0; font-size: 20px; line-height: 1.4; }
    .news-foot { margin: 8px 6px 0 14px; }
    .news-menu { right: 6px; }
    .news-updated { display: none; }
}

/* ===== টিউটোরিয়াল ভিডিও পপ-আপ ===== */
.tut-modal { position: fixed; inset: 0; z-index: 9100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6,20,16,.72); backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s; }
.tut-modal[hidden] { display: none; }
.tut-modal.show { opacity: 1; }
.tut-sheet { position: relative; width: 100%; max-width: 860px; background: #0b1512; border-radius: 16px; padding: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.5); transform: scale(.96); transition: transform .25s; }
.tut-modal.show .tut-sheet { transform: none; }
.tut-bar { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 14px; font-weight: 700; padding: 2px 4px 10px; }
.tut-close { width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 15px; cursor: pointer; }
.tut-close:hover { background: #f42a41; }
.tut-frame { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; }
.tut-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tut-yt { display: block; text-align: center; margin-top: 10px; color: #ff8a8a; font-size: 12px; font-weight: 600; text-decoration: none; }

/* ===== ভাসমান "গ্রুপে জয়েন করুন" বাটন — স্ক্রোল করলে ডানপাশে দেখা যাবে ===== */
.join-float { position: fixed; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 800; padding: 12px 18px; border-radius: 30px; box-shadow: 0 10px 26px rgba(37,211,102,.45); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s; }
.join-float i { font-size: 20px; }
.join-float.show { opacity: 1; transform: none; pointer-events: auto; }
.join-float:hover { background: #1ebe5a; }
@media (max-width: 480px) { .join-float { right: 10px; padding: 11px 15px; font-size: 12.5px; } }
main.news-main { padding: 0; gap: 0; margin: 0; }

/* ===== ব্যান্ডের বাটন — সব এডমিন/রেঞ্জ বাটনের মতো একই স্টাইল ===== */
.auth-mini-cmd .am-ic   { background: linear-gradient(135deg, #ffd15c, #f2a900); color: #4a3000; }
.auth-mini-install .am-ic { background: linear-gradient(135deg, #34d399, #0d9488); }
.auth-mini-calc .am-ic  { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.auth-mini-leave .am-ic { background: linear-gradient(135deg, #f97316, #c2410c); }
.is-installed .auth-mini-install { display: none; }
/* ছবি না থাকলে পত্রিকার আইকন */
.news-thumb .news-fav { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 8px; box-sizing: border-box; object-fit: contain; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
@media (max-width: 640px) { .news-thumb .news-fav { width: 40px; height: 40px; padding: 5px; border-radius: 10px; } }

/* স্লাইডারের উপরের ফাঁকা জায়গা বাদ — বাটন-ব্যান্ড ও স্লাইডার গায়ে গায়ে */
header.header-tight + .auth-btn-row,
.hero-carousel-section + .auth-btn-row { margin: 0 !important; border-radius: 0 !important; }
.hero-carousel-section { gap: 0; }
.carousel-dots { min-height: 14px; padding: 6px 0; }

/* ডানে-বামের ফাঁকা জায়গা বাদ — theme.css-এর "main { padding-left/right: 20px !important }" নিয়মকে হারিয়ে */
main.news-main { padding-left: 0 !important; padding-right: 0 !important; width: 100% !important; max-width: none !important; }
main.news-main > .news-portal { width: 100%; }

/* ===== স্কোর স্ট্রিপ (ফুটবল ও ক্রিকেট) — আড়াআড়ি স্ক্রল, গুগলের স্কোর কার্ডের মতো ===== */
.score-strip { margin: 0 0 14px; }
.score-tabs { display: flex; gap: 7px; margin-bottom: 9px; }
.score-tab { border: 1.5px solid rgba(0,106,78,.2); background: rgba(0,106,78,.05); color: var(--text-dark); font-family: inherit; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 20px; cursor: pointer; transition: all .2s; }
.score-tab:hover { background: rgba(0,106,78,.14); }
.score-tab.active { background: var(--primary-green); color: #fff; border-color: transparent; }
.score-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.score-track::-webkit-scrollbar { display: none; }
.score-card { flex: 0 0 auto; width: 210px; box-sizing: border-box; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 13px 15px; border: 1.5px solid rgba(0,106,78,.25); border-radius: 22px; background: rgba(255,255,255,.55); color: var(--text-dark); text-decoration: none; transition: box-shadow .2s, transform .2s; }
body.dark-mode .score-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
a.score-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.13); }
.score-card.cr { width: 236px; }
.score-card.is-live { border-color: #d61b30; }
.score-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.score-vs { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.score-pill { flex-shrink: 0; font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 20px; background: rgba(0,0,0,.09); white-space: nowrap; }
body.dark-mode .score-pill { background: rgba(255,255,255,.14); }
.score-pill.live { background: #d61b30; color: #fff; display: inline-flex; align-items: center; gap: 5px; }
.score-pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: newsBlink 1.2s infinite; }
.score-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.score-mid { font-size: 26px; font-weight: 600; letter-spacing: .5px; white-space: nowrap; }
.score-mid.soon { font-size: 15px; font-weight: 700; color: var(--primary-green); letter-spacing: 0; }
.score-logo { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 30px; flex-shrink: 0; overflow: hidden; border-radius: 5px; }
.score-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.score-logo.txt { background: rgba(0,106,78,.12); color: var(--primary-green); font-size: 10px; font-weight: 800; }
.score-cr-row { display: flex; align-items: center; gap: 9px; }
.score-cr-row .score-logo { width: 28px; height: 22px; }
.score-cr-n { font-size: 14px; font-weight: 700; flex: 1; min-width: 0; }
.score-cr-s { font-size: 15px; font-weight: 700; white-space: nowrap; }
.score-cr-row:not(.win) .score-cr-n, .score-cr-row:not(.win) .score-cr-s { font-weight: 600; opacity: .85; }
.score-note { font-size: 11.5px; color: var(--muted-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .score-card { width: 172px; padding: 12px 13px; border-radius: 20px; } .score-card.cr { width: 226px; } .score-vs { font-size: 14px; } .score-mid { font-size: 24px; } }

/* ===== চাকরির বিজ্ঞপ্তি বাটন ও প্যানেল ===== */
.news-headl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.news-jobs-btn { display: inline-flex; align-items: center; gap: 7px; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800; color: #4a3000; background: linear-gradient(135deg, #ffd15c, #f2a900); padding: 8px 15px; border-radius: 22px; box-shadow: 0 4px 12px rgba(242,169,0,.4); transition: transform .15s, box-shadow .2s; }
.news-jobs-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(242,169,0,.5); }
.news-jobs-btn:active { transform: scale(.96); }
.news-jobs-btn[aria-pressed="true"] { background: var(--primary-green); color: #fff; box-shadow: 0 4px 12px rgba(0,106,78,.35); }

/* চাকরির মোডে সংবাদের অংশ লুকানো (ইনলাইন স্টাইল হারাতে !important) */
.news-card.mode-jobs .news-ticker,
.news-card.mode-jobs .score-strip,
.news-card.mode-jobs > .news-filter,
.news-card.mode-jobs > .news-grid,
.news-card.mode-jobs > .news-more-wrap,
.news-card.mode-jobs > .news-credit,
.news-card.mode-jobs > .news-head .news-tools,
.news-card.mode-jobs > .news-head .news-live { display: none !important; }
.news-card.mode-jobs > .news-head .news-title { display: none; }

.jobs-panel[hidden] { display: none; }
.jobs-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.jobs-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--primary-green); }
.jobs-official { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--muted-text); background: rgba(242,169,0,.12); border-radius: 12px; padding: 9px 13px; margin-bottom: 12px; }
.jobs-official a { color: var(--primary-green); font-weight: 700; text-decoration: none; }
.jobs-official a:hover { text-decoration: underline; }
.jobs-official i { font-size: 10px; }
.jobs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.job-item { display: flex; flex-direction: column; gap: 8px; padding: 13px 15px; border: 1.5px solid rgba(0,106,78,.16); border-radius: 16px; background: rgba(255,255,255,.55); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
body.dark-mode .job-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.job-item:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.12); border-color: var(--primary-green); }
.job-top { display: flex; align-items: center; gap: 7px; }
.job-cat { font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; background: rgba(0,106,78,.12); color: var(--primary-green); }
.job-cat-ansar { background: rgba(0,106,78,.16); }
.job-cat-force { background: rgba(30,64,175,.14); color: #1e40af; }
.job-cat-bank { background: rgba(13,148,136,.16); color: #0f766e; }
.job-cat-edu { background: rgba(124,58,237,.14); color: #6d28d9; }
.job-cat-health { background: rgba(225,29,72,.13); color: #be123c; }
.job-cat-other { background: rgba(242,169,0,.2); color: #8a6400; }
body.dark-mode .job-cat-force { color: #93b4ff; } body.dark-mode .job-cat-edu { color: #c4a6ff; } body.dark-mode .job-cat-bank { color: #5eead4; } body.dark-mode .job-cat-health { color: #fda4af; } body.dark-mode .job-cat-other { color: var(--ansar-gold); }
.job-new { font-size: 10.5px; font-weight: 800; color: #fff; background: #d61b30; padding: 2px 8px; border-radius: 20px; }
.job-h { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--text-dark); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-item:hover .job-h { color: var(--primary-green); }
.job-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-text); margin-top: auto; }
.job-src { font-weight: 700; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.job-go { margin-left: auto; flex-shrink: 0; font-weight: 700; color: var(--primary-green); font-size: 12px; }
.job-go i { font-size: 10px; }
.job-skel { height: 110px; border-radius: 16px; }
@media (max-width: 640px) {
    .news-headl { gap: 8px; }
    .news-jobs-btn { font-size: 12.5px; padding: 7px 13px; }
    .jobs-title { font-size: 15px; }
    .jobs-list { grid-template-columns: 1fr; gap: 10px; }
}

/* ===== সাধারণ জ্ঞান বাটন ও প্যানেল (assets/js/gk.js) ===== */
.news-gk-btn { display: inline-flex; align-items: center; gap: 7px; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2f6fe4, #1e40af); padding: 8px 15px; border-radius: 22px; box-shadow: 0 4px 12px rgba(30,64,175,.35); transition: transform .15s, box-shadow .2s; }
.news-gk-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(30,64,175,.45); }
.news-gk-btn:active { transform: scale(.96); }
.news-gk-btn[aria-pressed="true"] { background: var(--primary-green); box-shadow: 0 4px 12px rgba(0,106,78,.35); }

/* সাধারণ জ্ঞান মোডে সংবাদের অংশ লুকানো (চাকরির মোডের মতোই) */
.news-card.mode-gk .news-ticker,
.news-card.mode-gk .score-strip,
.news-card.mode-gk > .news-filter,
.news-card.mode-gk > .news-grid,
.news-card.mode-gk > .news-more-wrap,
.news-card.mode-gk > .news-credit,
.news-card.mode-gk > .news-head .news-tools,
.news-card.mode-gk > .news-head .news-live { display: none !important; }
.news-card.mode-gk > .news-head .news-title { display: none; }
.gk-panel[hidden] { display: none; }

.gk-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; margin-bottom: 4px; scrollbar-width: none; }
.gk-tabs::-webkit-scrollbar { display: none; }
.gk-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(0,106,78,.22); background: rgba(255,255,255,.55); color: var(--text-dark); font-family: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 22px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
body.dark-mode .gk-tab { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.gk-tab.active { background: var(--primary-green); color: #fff; border-color: var(--primary-green); }

/* চলতি ঘটনার বিভাগ-রঙ */
.gk-cat-bd { background: rgba(0,106,78,.14); color: var(--primary-green); }
.gk-cat-intl { background: rgba(30,64,175,.14); color: #1e40af; }
.gk-cat-eco { background: rgba(13,148,136,.16); color: #0f766e; }
.gk-cat-sport { background: rgba(225,29,72,.13); color: #be123c; }
.gk-cat-sci { background: rgba(124,58,237,.14); color: #6d28d9; }
.gk-cat-award { background: rgba(242,169,0,.2); color: #8a6400; }
body.dark-mode .gk-cat-intl { color: #93b4ff; } body.dark-mode .gk-cat-eco { color: #5eead4; } body.dark-mode .gk-cat-sport { color: #fda4af; } body.dark-mode .gk-cat-sci { color: #c4a6ff; } body.dark-mode .gk-cat-award { color: var(--ansar-gold); }

/* ইতিহাসে আজ */
.gk-today-h { font-size: 15px; font-weight: 800; color: var(--primary-green); margin: 4px 0 10px; }
.gk-events { display: flex; flex-direction: column; gap: 8px; }
.gk-event { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border: 1.5px solid rgba(0,106,78,.14); border-radius: 14px; background: rgba(255,255,255,.55); }
body.dark-mode .gk-event { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.gk-year { flex-shrink: 0; min-width: 54px; text-align: center; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary-green), #0b8f6a); padding: 4px 8px; border-radius: 10px; }
.gk-event-t { font-size: 14px; line-height: 1.6; color: var(--text-dark); }

/* কুইজ */
.gk-quiz { max-width: 760px; margin: 4px auto 0; }
.gk-intro, .gk-result { text-align: center; padding: 18px 8px 8px; }
.gk-intro-ic { font-size: 42px; line-height: 1; }
.gk-intro-t { margin: 10px 0 4px; font-size: 20px; font-weight: 800; color: var(--text-dark); }
.gk-intro-s { font-size: 13px; color: var(--muted-text); margin-bottom: 14px; }
.gk-note { font-size: 12.5px; background: rgba(242,169,0,.14); color: #7a5600; border-radius: 12px; padding: 8px 12px; margin: 0 auto 12px; max-width: 520px; }
body.dark-mode .gk-note { color: var(--ansar-gold); }
.gk-streak { font-size: 13.5px; font-weight: 700; color: #b45309; margin-bottom: 12px; }
.gk-pchips { justify-content: center; margin-bottom: 16px; }
.gk-btn { border: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary-green), #0b8f6a); padding: 11px 24px; border-radius: 24px; box-shadow: 0 4px 12px rgba(0,106,78,.3); transition: transform .15s; }
.gk-btn:hover { transform: translateY(-1px); }
.gk-btn:active { transform: scale(.97); }
.gk-btn.ghost { background: transparent; color: var(--primary-green); border: 1.5px solid var(--primary-green); box-shadow: none; }
.gk-qhead { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted-text); margin-bottom: 6px; }
.gk-bar { height: 6px; border-radius: 6px; background: rgba(0,106,78,.14); overflow: hidden; margin-bottom: 14px; }
.gk-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary-green), #22b573); border-radius: 6px; transition: width .3s; }
.gk-q { margin: 0 0 14px; font-size: 18px; line-height: 1.6; font-weight: 800; color: var(--text-dark); }
.gk-opts { display: grid; gap: 10px; }
.gk-opt { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--text-dark); background: rgba(255,255,255,.6); border: 1.5px solid rgba(0,106,78,.2); border-radius: 14px; padding: 11px 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
body.dark-mode .gk-opt { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.gk-opt:not(:disabled):hover { border-color: var(--primary-green); transform: translateX(2px); }
.gk-opt:disabled { cursor: default; }
.gk-let { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: rgba(0,106,78,.12); color: var(--primary-green); }
.gk-opt.right { border-color: #16a34a; background: rgba(22,163,74,.14); }
.gk-opt.right .gk-let { background: #16a34a; color: #fff; }
.gk-opt.wrong { border-color: #dc2626; background: rgba(220,38,38,.12); }
.gk-opt.wrong .gk-let { background: #dc2626; color: #fff; }
.gk-fb { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.gk-fb.show { display: block; }
.gk-fb.ok { background: rgba(22,163,74,.12); color: #15803d; }
.gk-fb.bad { background: rgba(220,38,38,.1); color: #b91c1c; }
body.dark-mode .gk-fb.ok { color: #86efac; } body.dark-mode .gk-fb.bad { color: #fca5a5; }
.gk-exp { margin-top: 4px; color: var(--text-dark); font-size: 13.5px; }
.gk-src { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary-green); text-decoration: none; }
.gk-src:hover { text-decoration: underline; }
.gk-next { margin-top: 14px; text-align: right; }
.gk-big { font-size: 46px; font-weight: 800; color: var(--primary-green); line-height: 1.1; }
.gk-rmsg { font-size: 16px; font-weight: 700; margin: 6px 0 12px; color: var(--text-dark); }
.gk-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 6px 0 18px; }
.gk-rev-h { text-align: left; font-size: 14px; font-weight: 800; color: var(--text-dark); margin: 6px 0 8px; }
.gk-rev { text-align: left; border: 1.5px solid rgba(220,38,38,.25); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: rgba(220,38,38,.04); }
.gk-rev-q { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.gk-rev-a { font-size: 13px; font-weight: 700; color: #15803d; margin-top: 3px; }
body.dark-mode .gk-rev-a { color: #86efac; }
@media (max-width: 640px) {
    .news-gk-btn { font-size: 12.5px; padding: 7px 13px; }
    .gk-q { font-size: 16.5px; }
    .gk-opt { font-size: 14.5px; padding: 10px 12px; }
    .gk-tab { font-size: 12.5px; padding: 7px 12px; }
}

/* ===== নোটিশ বোর্ড বাটন ও প্যানেল (assets/js/notices.js) ===== */
.news-notice-btn { display: inline-flex; align-items: center; gap: 7px; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f0546a, #d61b30); padding: 8px 15px; border-radius: 22px; box-shadow: 0 4px 12px rgba(214,27,48,.35); transition: transform .15s, box-shadow .2s; }
.news-notice-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(214,27,48,.45); }
.news-notice-btn:active { transform: scale(.96); }
.news-notice-btn[aria-pressed="true"] { background: var(--primary-green); box-shadow: 0 4px 12px rgba(0,106,78,.35); }

/* নোটিশ মোডে সংবাদের অংশ লুকানো (চাকরি/সাধারণ জ্ঞান মোডের মতোই) */
.news-card.mode-notice .news-ticker,
.news-card.mode-notice .score-strip,
.news-card.mode-notice > .news-filter,
.news-card.mode-notice > .news-grid,
.news-card.mode-notice > .news-more-wrap,
.news-card.mode-notice > .news-credit,
.news-card.mode-notice > .news-head .news-tools,
.news-card.mode-notice > .news-head .news-live { display: none !important; }
.news-card.mode-notice > .news-head .news-title { display: none; }
.notice-panel[hidden] { display: none; }
@media (max-width: 640px) {
    .news-notice-btn { font-size: 12.5px; padding: 7px 13px; }
}

/* ===== ক্রিকেট স্কোর কার্ড ফিক্স — লম্বা স্কোর (যেমন "167 & 28/1 (13 ov, target 365)") আর দলের নামের উপর চড়ে বসবে না =====
   লোগো বাঁয়ে; ডানে উপরে দলের নাম, নিচে স্কোর (দরকার হলে ভেঙে পরের লাইনে যাবে) */
.score-cr-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 9px; row-gap: 1px; align-items: center; }
.score-cr-row .score-logo { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
.score-cr-row .score-cr-n { grid-column: 2; grid-row: 1; flex: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-cr-row .score-cr-s { grid-column: 2; grid-row: 2; white-space: normal; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.35; text-align: left; }
.score-cr-row .score-cr-s:empty { display: none; }
.score-card.cr { width: 250px; }
.score-note { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }
@media (max-width: 640px) { .score-card.cr { width: 250px; } }
