/* ============================================================
   melber.click  -  shell-compact-f8375e.css
   Mobile-first shell for bn-BD casino portal (320-430px canvas)
   Prefix: c8375e-  |  Palette: #1A1A1A base, #B0E0E6 / #CED4DA
   text, #FFB6C1 / #FFAA00 / #FF8C00 accents
   Style direction: shaped headings, low radius outlined tiles,
   segmented action bars, underline active markers, light press fx
   ============================================================ */

:root {
  --c8375e-bg: #1a1a1a;
  --c8375e-bg-deep: #121212;
  --c8375e-panel: #232323;
  --c8375e-panel-2: #2b2b2b;
  --c8375e-line: #3a3a3a;
  --c8375e-line-soft: #333333;
  --c8375e-ink: #ced4da;
  --c8375e-ink-dim: #9aa3ab;
  --c8375e-cyan: #b0e0e6;
  --c8375e-pink: #ffb6c1;
  --c8375e-amber: #ffaa00;
  --c8375e-flame: #ff8c00;
  --c8375e-radius: 3px;
  --c8375e-radius-lg: 5px;
  --c8375e-topbar-h: 64px;
  --c8375e-bottomnav-h: 60px;
  --c8375e-font-head: "Segoe UI", "Noto Sans Bengali", Tahoma, sans-serif;
  --c8375e-font-body: "Noto Sans Bengali", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--c8375e-bg-deep);
  color: var(--c8375e-ink);
  font-family: var(--c8375e-font-body);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Phone canvas stays centered on wide screens */
.c8375e-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--c8375e-bg);
  min-height: 100vh;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; border: 0; }

a { color: var(--c8375e-cyan); text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--c8375e-amber);
  outline-offset: 2px;
}

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--c8375e-font-head);
  color: var(--c8375e-cyan);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

p { margin-bottom: 10px; }
ul, ol { padding-left: 20px; margin-bottom: 10px; }
li { margin-bottom: 6px; }

/* ============ top tab bar ============ */

.c8375e-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--c8375e-bg-deep);
  border-bottom: 1px solid var(--c8375e-line);
}

.c8375e-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--c8375e-topbar-h);
  padding: 8px 10px 6px;
}

.c8375e-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.c8375e-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid var(--c8375e-line);
  border-radius: var(--c8375e-radius);
  background: #0d0d0d;
  padding: 2px;
  flex: 0 0 auto;
}

.c8375e-sitename {
  font-family: var(--c8375e-font-head);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.c8375e-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* compact dual CTA pair */
.c8375e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--c8375e-radius);
  border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.15s ease, background-color 0.15s ease;
}

.c8375e-btn:active { transform: scale(0.96); }

.c8375e-btn-reg {
  background: linear-gradient(135deg, var(--c8375e-amber), var(--c8375e-flame));
  color: #1a1a1a;
}

.c8375e-btn-log {
  background: transparent;
  color: var(--c8375e-cyan);
  border-color: var(--c8375e-cyan);
}

.c8375e-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c8375e-line);
  border-radius: var(--c8375e-radius);
  background: var(--c8375e-panel);
  color: var(--c8375e-ink);
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.c8375e-menubtn:active { transform: scale(0.94); }

.c8375e-menubtn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* compact route panel (menu) */
.c8375e-routes {
  display: none;
  border-top: 1px solid var(--c8375e-line-soft);
  background: var(--c8375e-panel);
  padding: 8px 10px 12px;
}

.c8375e-routes.is-open { display: block; }

.c8375e-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.c8375e-routes a {
  display: block;
  padding: 8px 9px;
  font-size: 13px;
  color: var(--c8375e-ink);
  border-left: 3px solid transparent;
  border-radius: 0 var(--c8375e-radius) var(--c8375e-radius) 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.c8375e-routes a:nth-child(odd) { border-left-color: var(--c8375e-line); }

.c8375e-routes a:hover,
.c8375e-routes a.is-here {
  background: var(--c8375e-panel-2);
  border-left-color: var(--c8375e-flame);
  color: #ffffff;
}

/* ============ hero / banner carousel ============ */

.c8375e-hero {
  position: relative;
  margin: 10px 10px 4px;
  border: 1px solid var(--c8375e-line);
  border-radius: var(--c8375e-radius-lg);
  overflow: hidden;
  background: var(--c8375e-panel);
}

.c8375e-track {
  display: flex;
  transition: transform 0.35s ease;
}

.c8375e-slide {
  flex: 0 0 100%;
  width: 100%;
}

.c8375e-slide button {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
}

.c8375e-slide img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.c8375e-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 44px;
  border: 1px solid rgba(176, 224, 230, 0.5);
  border-radius: var(--c8375e-radius);
  background: rgba(18, 18, 18, 0.6);
  color: var(--c8375e-cyan);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.c8375e-slide-btn:active { transform: translateY(-50%) scale(0.92); }

.c8375e-prev { left: 6px; }
.c8375e-next { right: 6px; }

.c8375e-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.c8375e-dot {
  width: 44px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  position: relative;
}

.c8375e-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  border: 1px solid var(--c8375e-cyan);
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.c8375e-dot.is-on::before { background: var(--c8375e-amber); border-color: var(--c8375e-amber); }

/* ============ intro / headline ============ */

.c8375e-intro {
  padding: 14px 12px 6px;
}

.c8375e-intro h1 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}

.c8375e-defbox {
  border-left: 3px solid var(--c8375e-flame);
  padding: 2px 0 2px 10px;
  margin-bottom: 10px;
  color: var(--c8375e-ink);
}

.c8375e-chipline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 2px;
}

.c8375e-chip {
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  border: 1px solid var(--c8375e-line);
  border-radius: var(--c8375e-radius);
  color: var(--c8375e-ink-dim);
  background: var(--c8375e-panel);
  white-space: nowrap;
}

.c8375e-ctapair {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}

.c8375e-ctapair .c8375e-btn { flex: 1 1 0; min-height: 40px; font-size: 14px; }

/* ============ section shells ============ */

.c8375e-sec {
  padding: 16px 12px 6px;
  border-top: 1px solid var(--c8375e-line-soft);
  margin-top: 12px;
}

.c8375e-sec:first-of-type { border-top: 0; }

.c8375e-sec > h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--c8375e-line);
}

.c8375e-sec > h2 .c8375e-hmark {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  background: var(--c8375e-flame);
  vertical-align: 2px;
}

.c8375e-sec h3 {
  font-size: 14.5px;
  color: var(--c8375e-pink);
  margin: 12px 0 6px;
}

.c8375e-lead {
  color: var(--c8375e-cyan);
  font-weight: 600;
}

.c8375e-note {
  font-size: 12px;
  color: var(--c8375e-ink-dim);
  margin: 6px 0 10px;
}

.c8375e-upd {
  display: inline-block;
  font-size: 11px;
  color: var(--c8375e-amber);
  border: 1px dashed var(--c8375e-amber);
  border-radius: var(--c8375e-radius);
  padding: 2px 7px;
  margin-left: 4px;
  white-space: nowrap;
}

/* ============ game grid (outlined tiles) ============ */

.c8375e-gsec { padding: 14px 12px 4px; border-top: 1px solid var(--c8375e-line-soft); margin-top: 12px; }

.c8375e-ghead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c8375e-line);
}

.c8375e-ghead h2 {
  font-size: 16.5px;
  font-weight: 700;
}

.c8375e-gcount {
  font-size: 11px;
  color: var(--c8375e-ink-dim);
  white-space: nowrap;
}

.c8375e-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

@media (min-width: 375px) {
  .c8375e-grid { gap: 10px 8px; }
}

.c8375e-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px 6px;
  background: transparent;
  border: 1px solid var(--c8375e-line);
  border-radius: var(--c8375e-radius);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.12s ease;
  min-width: 0;
}

.c8375e-tile:active {
  transform: scale(0.93);
  border-color: var(--c8375e-amber);
  background: var(--c8375e-panel);
}

.c8375e-tile img {
  width: 100%;
  max-width: 74px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--c8375e-radius);
  border: 1px solid var(--c8375e-line-soft);
}

.c8375e-tile span {
  font-size: 11px;
  line-height: 1.35;
  color: var(--c8375e-ink);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  min-height: 2.7em;
}

/* ============ short list blocks ============ */

.c8375e-listrows { display: grid; gap: 7px; }

.c8375e-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid var(--c8375e-line);
  border-radius: var(--c8375e-radius);
  background: var(--c8375e-panel);
}

.c8375e-rownum {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--c8375e-font-head);
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  background: var(--c8375e-amber);
  border-radius: var(--c8375e-radius);
}

.c8375e-row b { color: #ffffff; font-weight: 600; }

.c8375e-row p { margin: 0; font-size: 12.5px; color: var(--c8375e-ink); }

/* ============ question blocks ============ */

.c8375e-faq { display: grid; gap: 8px; }

.c8375e-faq details {
  border: 1px solid var(--c8375e-line);
  border-radius: var(--c8375e-radius);
  background: var(--c8375e-panel);
  overflow: hidden;
}

.c8375e-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 34px 10px 11px;
  font-family: var(--c8375e-font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--c8375e-cyan);
  position: relative;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.c8375e-faq summary::-webkit-details-marker { display: none; }

.c8375e-faq summary::after {
  content: "+";
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c8375e-amber);
  font-size: 17px;
  font-weight: 700;
}

.c8375e-faq details[open] summary::after { content: "\2013"; }

.c8375e-faq details[open] summary { border-bottom: 1px dashed var(--c8375e-line); }

.c8375e-faqbody {
  padding: 9px 11px 11px;
  font-size: 13px;
  color: var(--c8375e-ink);
}

.c8375e-faqbody p:last-child { margin-bottom: 0; }

/* ============ English mini Q&A ============ */

.c8375e-enqa {
  border: 1px solid var(--c8375e-line);
  border-left: 3px solid var(--c8375e-pink);
  border-radius: var(--c8375e-radius);
  background: var(--c8375e-panel);
  padding: 10px 11px;
  margin-bottom: 8px;
}

.c8375e-enqa b {
  display: block;
  font-family: var(--c8375e-font-head);
  font-size: 13px;
  color: var(--c8375e-pink);
  margin-bottom: 3px;
}

.c8375e-enqa p { margin: 0; font-size: 12.5px; }

/* ============ extended footer ============ */

.c8375e-xfoot {
  margin-top: 16px;
  border-top: 2px solid var(--c8375e-flame);
  background: var(--c8375e-bg-deep);
  padding: 14px 12px 10px;
}

.c8375e-xfh {
  font-family: var(--c8375e-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c8375e-ink-dim);
  margin: 12px 0 7px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c8375e-line-soft);
}

.c8375e-xfh:first-child { margin-top: 0; }

.c8375e-dirlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.c8375e-dirlist a {
  display: block;
  font-size: 12.5px;
  color: var(--c8375e-ink);
  padding: 4px 0;
  border-bottom: 1px dotted var(--c8375e-line-soft);
}

.c8375e-dirlist a:hover { color: var(--c8375e-amber); }

.c8375e-brandnote {
  font-size: 12.5px;
  color: var(--c8375e-ink-dim);
}

.c8375e-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.c8375e-promogrid .c8375e-btn {
  min-height: 38px;
  font-size: 12.5px;
  padding: 6px 8px;
}

.c8375e-promo-a {
  background: var(--c8375e-panel-2);
  color: var(--c8375e-cyan);
  border-color: var(--c8375e-line);
}

.c8375e-promo-b {
  background: transparent;
  color: var(--c8375e-pink);
  border-color: var(--c8375e-pink);
}

.c8375e-closing {
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--c8375e-line-soft);
  font-size: 12px;
  color: var(--c8375e-ink-dim);
  text-align: center;
}

/* ============ common footer ============ */

.c8375e-foot {
  padding: 12px 12px 8px;
  border-top: 1px solid var(--c8375e-line-soft);
  text-align: center;
  font-size: 12px;
  color: var(--c8375e-ink-dim);
  margin-bottom: var(--c8375e-bottomnav-h);
}

/* ============ bottom segmented action bar ============ */

.c8375e-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: calc(var(--c8375e-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  display: flex;
  background: var(--c8375e-bg-deep);
  border-top: 1px solid var(--c8375e-line);
  z-index: 70;
}

.c8375e-bottomnav a,
.c8375e-bottomnav button {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: 0;
  border-top: 3px solid transparent;
  color: var(--c8375e-ink-dim);
  font-size: 10.5px;
  font-family: var(--c8375e-font-body);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px) / 2);
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.c8375e-bottomnav a:active,
.c8375e-bottomnav button:active { transform: translateY(1px); }

.c8375e-bottomnav svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c8375e-bottomnav .is-on {
  color: var(--c8375e-amber);
  border-top-color: var(--c8375e-amber);
}

.c8375e-bottomnav .c8375e-bnpromo { color: var(--c8375e-pink); }

.c8375e-bottomnav .c8375e-bnpromo.is-on { color: var(--c8375e-flame); border-top-color: var(--c8375e-flame); }

/* ============ utility ============ */

.c8375e-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.c8375e-backtop {
  position: fixed;
  right: 12px;
  bottom: calc(var(--c8375e-bottomnav-h) + 14px);
  width: 38px;
  height: 38px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c8375e-amber);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.85);
  color: var(--c8375e-amber);
  z-index: 65;
  transition: display 0.2s ease;
}

.c8375e-backtop.is-show { display: flex; }

/* keep main clear of fixed bars */
.c8375e-main { padding-bottom: 18px; }

@media (max-width: 359px) {
  .c8375e-dirlist,
  .c8375e-promogrid,
  .c8375e-routes-grid { grid-template-columns: 1fr; }
  .c8375e-intro h1 { font-size: 19px; }
  .c8375e-topacts .c8375e-btn { padding: 4px 7px; font-size: 12px; }
  .c8375e-sitename { font-size: 16px; }
}

/* ============ app page: step rail, branches, trouble rows ============ */

.c8375e-rail { display: grid; gap: 0; margin: 8px 0 12px; }

.c8375e-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 0 0 12px;
}

.c8375e-stepmark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--c8375e-flame);
  color: var(--c8375e-amber);
  font-family: var(--c8375e-font-head);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.c8375e-stepmark::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: -12px;
  left: 13px;
  width: 1px;
  background: var(--c8375e-line);
}

.c8375e-step:last-child .c8375e-stepmark::after { display: none; }

.c8375e-step h3 { margin: 2px 0 4px; }

.c8375e-step p { margin: 0; font-size: 13px; }

.c8375e-branch {
  border-top: 1px solid var(--c8375e-line);
  padding: 8px 0;
}

.c8375e-branch b {
  display: block;
  color: var(--c8375e-pink);
  font-size: 13px;
  margin-bottom: 3px;
}

.c8375e-trouble { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }

.c8375e-trouble th,
.c8375e-trouble td {
  border: 1px solid var(--c8375e-line);
  padding: 8px 7px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.45;
}

.c8375e-trouble th {
  color: var(--c8375e-amber);
  font-weight: 700;
  background: var(--c8375e-panel);
}

.c8375e-dl { margin: 6px 0 10px; }

.c8375e-dl dt {
  font-family: var(--c8375e-font-head);
  color: var(--c8375e-cyan);
  font-weight: 700;
  font-size: 14px;
  margin-top: 10px;
}

.c8375e-dl dd { margin: 4px 0 0; font-size: 13px; }

.c8375e-textlink {
  background: none;
  border: 0;
  padding: 0;
  color: var(--c8375e-amber);
  font-weight: 700;
  font-size: inherit;
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ============ review page: verdict, criteria, pairs ============ */

.c8375e-verdict {
  border: 1px solid var(--c8375e-flame);
  padding: 10px 12px;
  margin: 8px 0 12px;
  background: var(--c8375e-panel);
}

.c8375e-verdict strong {
  display: block;
  color: var(--c8375e-amber);
  font-family: var(--c8375e-font-head);
  margin-bottom: 4px;
}

.c8375e-criteria { width: 100%; border-collapse: collapse; margin: 8px 0; }

.c8375e-criteria th,
.c8375e-criteria td {
  border-bottom: 1px solid var(--c8375e-line);
  padding: 8px 4px;
  text-align: left;
  font-size: 12.5px;
  vertical-align: top;
}

.c8375e-criteria th { color: var(--c8375e-pink); font-weight: 700; width: 34%; }

.c8375e-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 8px 0;
}

.c8375e-pair div {
  border: 1px solid var(--c8375e-line);
  padding: 8px;
  min-height: 44px;
  font-size: 12.5px;
}

.c8375e-pair .c8375e-bad { border-top: 3px solid var(--c8375e-pink); }
.c8375e-pair .c8375e-good { border-top: 3px solid var(--c8375e-cyan); }

.c8375e-meter {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 6px 8px;
  align-items: center;
  margin: 8px 0 12px;
  font-size: 12.5px;
}

.c8375e-bar {
  height: 8px;
  background: var(--c8375e-line);
  position: relative;
}

.c8375e-bar span {
  display: block;
  height: 100%;
  background: var(--c8375e-flame);
}

.c8375e-device {
  padding: 8px 0 8px 10px;
  border-left: 3px solid var(--c8375e-cyan);
  margin-bottom: 8px;
}

.c8375e-device h3 { margin-top: 0; }
