/* Rana88 Help Center — floating help widget (bottom right). */
.r88w { position: fixed; right: 24px; bottom: 24px; z-index: 90; font-size: 15px; }
.r88w__launcher { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: #0b2a2b; box-shadow: 0 8px 24px rgb(0 0 0 / 40%), 0 0 0 1px rgb(255 255 255 / 8%) inset; color: #fff; transition: transform .2s, background .2s; }
.r88w__launcher:hover { transform: scale(1.06); }
.r88w__mark { font-family: "Inter", Arial, sans-serif; font-size: 21px; font-weight: 900; font-style: italic; letter-spacing: -1px; line-height: 1; color: #ffb52e; transition: opacity .2s, transform .2s; }
.r88w__mark b { color: #fff; font-weight: 900; }
.r88w__down { position: absolute; width: 26px; height: 26px; opacity: 0; transform: rotate(-90deg); transition: opacity .2s, transform .2s; }
.r88w.is-open .r88w__launcher { background: #222; }
.r88w.is-open .r88w__mark { opacity: 0; transform: rotate(90deg) scale(.6); }
.r88w.is-open .r88w__down { opacity: 1; transform: none; }

.r88w__panel { position: absolute; right: 0; bottom: 76px; display: flex; flex-direction: column; width: 380px; height: min(640px, calc(100vh - 130px)); overflow: hidden; border-radius: 18px; background: #fff; color: #1b1f22; box-shadow: 0 20px 60px rgb(0 0 0 / 45%); animation: r88w-in .2s ease-out; }
.r88w__panel[hidden] { display: none; }
@keyframes r88w-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.r88w__view { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.r88w__view[hidden] { display: none; }
.r88w__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.r88w__head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 58px; padding: 0 10px; border-bottom: 1px solid #eceff1; }
.r88w__head h2 { margin: 0; text-align: center; font-size: 1.05rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r88w__x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: #5d666b; }
.r88w__x:hover { background: #f1f3f4; color: #1b1f22; }
.r88w__x[hidden] { visibility: hidden; display: grid; }
.r88w__x .r88-icon { width: 20px; height: 20px; }
.r88w__back { transform: rotate(180deg); }
.r88w__x--light { color: rgb(255 255 255 / 85%); }
.r88w__x--light:hover { background: rgb(255 255 255 / 12%); color: #fff; }

/* Home — same layout as the reference: dark header fading to white, greeting, message row, links, promo cards */
.r88w__view--home .r88w__scroll { background: linear-gradient(180deg, #0b2a2b 0, #0b2a2b 230px, #ffffff 340px); }
.r88w__view--home .r88w__hero { background: none; padding: 24px 24px 26px; }
.r88w__view--home .r88w__hero-top { margin-bottom: 64px; }
.r88w__view--home .r88w__hero-top img { height: 18px; }
.r88w__greet { margin: 0; color: #fff; font-size: 1.55rem; font-weight: 700; line-height: 1.3; }
.r88w__view--home .r88w__cards { margin-top: 0; gap: 12px; padding: 0 16px 20px; }
.r88w__view--home .r88w__card { padding: 0; border-radius: 10px; box-shadow: 0 1px 6px rgb(0 0 0 / 10%), 0 0 0 1px rgb(0 0 0 / 6%); overflow: hidden; }
.r88w__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; color: #1b1f22; font-size: .9rem; }
.r88w__row svg { width: 16px; height: 16px; flex: none; color: #1b1f22; }
.r88w__row:hover { background: #f6f8f9; }
.r88w__view--home .r88w__row--send { padding: 17px 20px; }
.r88w__row--send strong { font-size: .92rem; font-weight: 600; }
.r88w__row--send:hover strong { color: #c46d00; }
.r88w__links { padding: 6px 0 !important; }
.r88w__links .r88w__row { margin: 0 20px; padding: 10px 0; }
.r88w__links .r88w__row + .r88w__row { border-top: 1px solid #eceff1; }
.r88w__links .r88w__row:hover { background: none; color: #c46d00; }
.r88w__promo { display: block; color: #1b1f22; }
.r88w__promo-label { display: block; padding: 16px 20px 12px; font-size: .92rem; font-weight: 600; }
.r88w__promo-img { display: block; width: calc(100% - 40px); height: auto; aspect-ratio: 16 / 5; object-fit: cover; margin: 0 20px; border-radius: 2px; }
.r88w__promo-body { display: flex; flex-direction: column; gap: 3px; margin-top: 18px; padding: 14px 20px 16px; border-top: 1px solid #eceff1; }
.r88w__promo-body strong { font-size: .92rem; font-weight: 600; line-height: 1.4; }
.r88w__promo-body small { font-size: .85rem; color: #5d666b; line-height: 1.45; }
.r88w__promo:hover .r88w__promo-body strong { color: #c46d00; }

/* (older Home styles kept for the other tabs' shared parts) */
.r88w__hero { padding: 18px 20px 70px; background: radial-gradient(120% 100% at 0% 0%, #1f6b70 0%, #003a3b 55%, #062424 100%); color: #fff; }
.r88w__hero-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.r88w__hero-top img { height: 26px; width: auto; }
.r88w__hi { margin: 0; font-size: 1.6rem; font-weight: 700; color: rgb(255 255 255 / 70%); line-height: 1.25; }
.r88w__how { margin: 2px 0 0; font-size: 1.6rem; font-weight: 700; line-height: 1.25; }
.r88w__cards { display: grid; gap: 12px; padding: 0 14px 16px; margin-top: -52px; }
.r88w__card { padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / 10%), 0 0 0 1px #eceff1; }
.r88w__card--send { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: inherit; }
.r88w__card--send strong { display: block; font-size: .95rem; }
.r88w__card--send small { color: #6b7479; font-size: .82rem; }
.r88w__card--send:hover strong { color: #c46d00; }
.r88w__send-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #ffb52e 0%, #ff9c0b 100%); color: #282b37; flex: none; }
.r88w__send-ico svg { width: 17px; height: 17px; }
.r88w__searchlink { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: #f3f5f6; color: #59636a; font-size: .92rem; text-align: left; }
.r88w__searchlink:hover { background: #e9eef0; }
.r88w__searchlink .r88-icon { width: 18px; height: 18px; color: #145156; }
.r88w__card--reach { padding: 14px 16px; }
.r88w__label { margin: 0 0 10px; font-size: .78rem; font-weight: 700; color: #6b7479; text-transform: uppercase; letter-spacing: .06em; }
.lang-bn .r88w__label { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.r88w__channels { display: flex; flex-wrap: wrap; gap: 8px; }
.r88w__channels a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #f3f5f6; font-size: .85rem; font-weight: 600; color: #1b1f22; }
.r88w__channels a:hover { background: #e7ecee; }
.r88w__channels img { width: 24px; height: 24px; }

/* Lists */
.r88w__list { list-style: none; margin: 0; padding: 4px 0; }
.r88w__list--results { padding: 0 14px; }
.r88w__list--results[hidden] { display: none; }
.r88w__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 10px; border: 0; border-radius: 8px; background: none; color: #1b1f22; font-size: .92rem; line-height: 1.4; text-align: left; }
.r88w__item:hover { background: #f3f5f6; color: #c46d00; }
.r88w__chev { width: 16px; height: 16px; flex: none; color: #9aa3a8; }
.r88w__none { padding: 16px 10px; color: #6b7479; font-size: .9rem; }
.r88w [data-r88w-pane="topic"] .r88w__list { padding: 8px 10px; }
.r88w [data-r88w-pane][hidden] { display: none; }

/* Help */
.r88w__search { display: flex; align-items: center; gap: 8px; margin: 14px; padding: 0 12px; border-radius: 10px; background: #f3f5f6; border: 1px solid transparent; }
.r88w__search:focus-within { border-color: #1f6b70; background: #fff; }
.r88w__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 11px 0; font: inherit; font-size: .92rem; color: #1b1f22; }
.r88w__search .r88-icon { width: 18px; height: 18px; color: #145156; }
.r88w [data-r88w-topiclist] { padding: 0 14px 14px; }
.r88w [data-r88w-topiclist][hidden] { display: none; }
.r88w__topics { list-style: none; margin: 0; padding: 0; border: 1px solid #eceff1; border-radius: 12px; overflow: hidden; }
.r88w__topics li + li { border-top: 1px solid #eceff1; }
.r88w__topics button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; background: #fff; text-align: left; color: #1b1f22; }
.r88w__topics button:hover { background: #f6f8f9; }
.r88w__tico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: #e6f1f1; color: #145156; }
.r88w__tico .r88-icon { width: 18px; height: 18px; }
.r88w__tname { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.r88w__tname strong { font-size: .92rem; font-weight: 600; }
.r88w__tname small { font-size: .78rem; color: #7b858a; }

/* Article inside the panel */
.r88w__article { padding: 18px 20px 24px; }
.r88w__article h3 { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.35; color: #1b1f22; }
.r88w .r88-prose { color: #374045; font-size: .92rem; }
.r88w .r88-prose strong { color: #1b1f22; }
.r88w .r88-prose a:not(.r88-cta-link) { color: #c46d00; }
.r88w .r88-prose .r88-note { background: #eef6f6; }
.r88w .r88-prose .r88-tip { background: #eef8f0; }
.r88w .r88-prose .r88-warn { background: #fff5e8; }
.r88w .r88-prose table { border-color: #e3e7e9; }
.r88w .r88-prose th { background: #f3f5f6; color: #1b1f22; }
.r88w .r88-prose th, .r88w .r88-prose td { border-color: #e3e7e9; }
.r88w .r88-prose ol.r88-steps > li { padding-left: 40px; }
.r88w .r88-prose ol.r88-steps > li::before { width: 26px; height: 26px; font-size: .8rem; }
.r88w .r88-prose ol.r88-steps > li:not(:last-child)::after { left: 12px; top: 30px; }
.r88w__full { display: inline-block; margin-top: 10px; color: #c46d00; font-weight: 600; font-size: .9rem; }
.r88w__loading { color: #7b858a; }

/* Messages */
.r88w__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 26px; text-align: center; }
.r88w__empty-ico { width: 48px; height: 48px; color: #1b1f22; }
.r88w__empty h3 { margin: 14px 0 6px; font-size: 1.2rem; }
.r88w__empty p { margin: 0 0 28px; color: #3f474c; }
.r88w__btn { display: inline-flex; align-items: center; gap: 14px; padding: 12px 24px; border-radius: 10px; background: #1b1f22; color: #fff; font-weight: 600; }
.r88w__btn:hover { background: #003a3b; }
.r88w__btn svg { width: 18px; height: 18px; }

/* Bottom tabs */
.r88w__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #eceff1; background: #fff; }
.r88w__tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 0 14px; border: 0; background: none; color: #7b858a; font-size: .88rem; }
.r88w__tabs button svg { width: 26px; height: 26px; }
.r88w__tabs button.is-active { color: #1b1f22; font-weight: 600; }
.r88w__tabs button:hover { color: #1b1f22; }

@media (max-width: 680px) {
	.r88w { right: 14px; bottom: 14px; }
	.r88w__launcher { width: 54px; height: 54px; }
	.r88w__panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; }
	.r88w.is-open .r88w__launcher { display: none; }
}
