/* kopk mobile shell - outlined tile cards, compact brand bar, side drawer, floating dock.
   Palette: #34495E deep slate / #FFE4B5 moccasin text / #A0522D sienna accent / #F5DEB3 wheat.
   All class names and custom properties use the shell82bb9- prefix. */

:root {
  --shell82bb9-ink: #34495E;
  --shell82bb9-ink-deep: #2A3B4D;
  --shell82bb9-ink-night: #22303F;
  --shell82bb9-wheat: #F5DEB3;
  --shell82bb9-moc: #FFE4B5;
  --shell82bb9-sienna: #A0522D;
  --shell82bb9-sienna-hi: #C06A3E;
  --shell82bb9-line: rgba(245, 222, 179, 0.32);
  --shell82bb9-line-soft: rgba(245, 222, 179, 0.16);
  --shell82bb9-radius: 10px;
  --shell82bb9-radius-btn: 8px;
  --shell82bb9-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell82bb9-ink-night);
  color: var(--shell82bb9-moc);
  font-family: var(--shell82bb9-font);
  font-size: 15px;
  line-height: 1.62;
}

body.shell82bb9-lock { overflow: hidden; }

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

a { color: var(--shell82bb9-moc); text-decoration: none; }
a:hover { color: var(--shell82bb9-wheat); }

:focus-visible { outline: 2px solid var(--shell82bb9-sienna-hi); outline-offset: 2px; }

/* Centered phone canvas on wide screens. */
.shell82bb9-canvas {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell82bb9-ink);
  box-shadow: 0 0 0 1px rgba(245, 222, 179, 0.08);
  position: relative;
}

/* ---------- top compact brand bar ---------- */
.shell82bb9-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
  background: var(--shell82bb9-ink-deep);
  border-bottom: 1px solid var(--shell82bb9-line);
}

.shell82bb9-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.shell82bb9-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--shell82bb9-line);
  object-fit: cover;
  flex: none;
}

.shell82bb9-brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--shell82bb9-moc);
  line-height: 1.1;
}

.shell82bb9-actions { display: flex; align-items: center; gap: 6px; }

.shell82bb9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--shell82bb9-sienna);
  border-radius: var(--shell82bb9-radius-btn);
  background: var(--shell82bb9-sienna);
  color: var(--shell82bb9-moc);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.shell82bb9-btn:active { background: var(--shell82bb9-sienna-hi); border-color: var(--shell82bb9-sienna-hi); }

.shell82bb9-btn--ghost {
  background: transparent;
  color: var(--shell82bb9-wheat);
  border-color: var(--shell82bb9-line);
}

.shell82bb9-btn--ghost:active { background: rgba(245, 222, 179, 0.1); color: var(--shell82bb9-moc); }

.shell82bb9-menu-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius-btn);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.shell82bb9-menu-btn:active { border-color: var(--shell82bb9-sienna-hi); background: rgba(245, 222, 179, 0.08); }

.shell82bb9-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shell82bb9-moc);
  border-radius: 1px;
}

/* ---------- side drawer ---------- */
.shell82bb9-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 32, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shell82bb9-scrim.shell82bb9-open { opacity: 1; visibility: visible; }

.shell82bb9-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  width: min(82vw, 308px);
  background: var(--shell82bb9-ink-deep);
  border-right: 1px solid var(--shell82bb9-line);
  transform: translateX(-102%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.shell82bb9-drawer.shell82bb9-open { transform: translateX(0); }

.shell82bb9-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--shell82bb9-line-soft);
}

.shell82bb9-drawer-title { font-size: 16px; font-weight: 800; letter-spacing: 0.5px; margin-right: auto; }

.shell82bb9-drawer-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius-btn);
  background: transparent;
  color: var(--shell82bb9-moc);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.shell82bb9-drawer-close:active { background: rgba(245, 222, 179, 0.12); }

.shell82bb9-drawer-nav { display: flex; flex-direction: column; padding: 8px; }

.shell82bb9-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--shell82bb9-radius-btn);
  border: 1px solid transparent;
  color: var(--shell82bb9-wheat);
  font-size: 15px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.shell82bb9-drawer-link:active { background: rgba(245, 222, 179, 0.08); }

.shell82bb9-drawer-link.shell82bb9-current {
  color: var(--shell82bb9-moc);
  font-weight: 800;
  border-color: var(--shell82bb9-line);
  background: rgba(245, 222, 179, 0.06);
}

.shell82bb9-drawer-link small {
  margin-left: auto;
  font-size: 11px;
  color: var(--shell82bb9-wheat);
  opacity: 0.75;
}

.shell82bb9-drawer-foot {
  margin-top: auto;
  padding: 14px;
  border-top: 1px solid var(--shell82bb9-line-soft);
  font-size: 12px;
  color: var(--shell82bb9-wheat);
}

/* ---------- layout ---------- */
.shell82bb9-main {
  padding: 12px 10px 104px;
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

.shell82bb9-lead {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--shell82bb9-wheat);
}

/* ---------- hero ---------- */
.shell82bb9-hero {
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius);
  background: linear-gradient(160deg, rgba(245, 222, 179, 0.1), rgba(42, 59, 77, 0.4));
  padding: 16px 12px 14px;
  margin-bottom: 14px;
}

.shell82bb9-hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell82bb9-wheat);
  border: 1px solid var(--shell82bb9-line);
  border-radius: 999px;
  padding: 2px 9px;
  margin-bottom: 8px;
}

.shell82bb9-hero-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--shell82bb9-moc);
}

.shell82bb9-hero-copy { margin: 0 0 12px; color: var(--shell82bb9-wheat); }

.shell82bb9-hero-ctas { display: flex; flex-wrap: wrap; gap: 8px; }

.shell82bb9-hero-ctas .shell82bb9-btn { min-height: 42px; padding: 8px 16px; font-size: 14px; }

/* ---------- carousel ---------- */
.shell82bb9-carousel { margin-bottom: 16px; }

.shell82bb9-viewport {
  overflow: hidden;
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius);
  background: var(--shell82bb9-ink-deep);
}

.shell82bb9-reel {
  display: flex;
  transition: transform 0.3s ease;
}

.shell82bb9-slide {
  position: relative;
  flex: 0 0 100%;
  padding: 0;
  border: 0;
  background: var(--shell82bb9-ink-deep);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.shell82bb9-slide-img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }

.shell82bb9-slide-cap {
  position: absolute;
  left: 10px;
  bottom: 8px;
  right: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shell82bb9-moc);
  text-shadow: 0 1px 3px rgba(20, 28, 37, 0.9);
  background: linear-gradient(transparent, rgba(20, 28, 37, 0.78));
  padding: 18px 6px 2px;
}

.shell82bb9-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.shell82bb9-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.shell82bb9-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 222, 179, 0.35);
  transition: background-color 0.15s ease;
}

.shell82bb9-dot.shell82bb9-dot-on::before { background: var(--shell82bb9-sienna-hi); }

.shell82bb9-dot:active::before { background: var(--shell82bb9-moc); }

/* ---------- game lobby ---------- */
.shell82bb9-cat { margin-bottom: 18px; }

.shell82bb9-cat-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--shell82bb9-line-soft);
}

.shell82bb9-cat-title { margin: 0; font-size: 18px; font-weight: 800; color: var(--shell82bb9-moc); }

.shell82bb9-cat-note { margin-left: auto; font-size: 11px; color: var(--shell82bb9-wheat); opacity: 0.8; }

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

@media (min-width: 400px) {
  .shell82bb9-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
}

.shell82bb9-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: transparent;
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius);
  cursor: pointer;
  font-family: inherit;
  min-width: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.shell82bb9-tile:active { border-color: var(--shell82bb9-sienna-hi); background: rgba(245, 222, 179, 0.07); }

.shell82bb9-tile-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  overflow: hidden;
  background: var(--shell82bb9-ink-deep);
}

.shell82bb9-tile-img { width: 100%; height: 100%; object-fit: cover; }

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

/* ---------- content panels ---------- */
.shell82bb9-panel {
  border: 1px solid var(--shell82bb9-line-soft);
  border-radius: var(--shell82bb9-radius);
  padding: 14px 12px;
  margin-bottom: 14px;
  background: rgba(42, 59, 77, 0.45);
}

.shell82bb9-panel-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--shell82bb9-moc); line-height: 1.35; }

.shell82bb9-panel p { margin: 0 0 10px; color: var(--shell82bb9-wheat); }

.shell82bb9-panel p:last-child { margin-bottom: 0; }

.shell82bb9-metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.shell82bb9-metric {
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius-btn);
  padding: 8px 9px;
  background: rgba(34, 48, 63, 0.55);
}

.shell82bb9-metric b { display: block; font-size: 13px; color: var(--shell82bb9-moc); margin-bottom: 3px; }

.shell82bb9-metric span { font-size: 12px; line-height: 1.5; color: var(--shell82bb9-wheat); }

.shell82bb9-steps { margin: 10px 0; padding: 0; list-style: none; counter-reset: shell82bb9step; }

.shell82bb9-steps li {
  counter-increment: shell82bb9step;
  position: relative;
  padding: 0 0 10px 30px;
  font-size: 13px;
  color: var(--shell82bb9-wheat);
}

.shell82bb9-steps li::before {
  content: counter(shell82bb9step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell82bb9-sienna);
  border-radius: 50%;
  color: var(--shell82bb9-moc);
  font-size: 12px;
  font-weight: 800;
}

/* FAQ answers use a quieter stacked rhythm than numbered homepage steps. */
.shell82bb9-steps > div {
  position: relative;
  padding: 10px 10px 10px 14px;
  margin-bottom: 7px;
  border-left: 3px solid var(--shell82bb9-sienna);
  border-bottom: 1px solid var(--shell82bb9-line-soft);
  color: var(--shell82bb9-wheat);
  font-size: 13px;
}

.shell82bb9-steps > div:last-child { margin-bottom: 0; }
.shell82bb9-steps > div b { color: var(--shell82bb9-moc); }

.shell82bb9-twocol { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 10px 0; }

@media (min-width: 400px) { .shell82bb9-twocol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.shell82bb9-twocol section {
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius-btn);
  padding: 9px 10px;
  background: rgba(34, 48, 63, 0.5);
}

.shell82bb9-twocol h3 { margin: 0 0 5px; font-size: 14px; color: var(--shell82bb9-moc); }

.shell82bb9-twocol ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--shell82bb9-wheat); }

.shell82bb9-twocol li { margin-bottom: 4px; }

.shell82bb9-twocol li:last-child { margin-bottom: 0; }

.shell82bb9-fine { font-size: 12px; color: var(--shell82bb9-wheat); opacity: 0.85; }

.shell82bb9-inline-link {
  color: var(--shell82bb9-moc);
  border-bottom: 1px dotted var(--shell82bb9-sienna-hi);
  font-weight: 700;
}

/* ---------- extended homepage footer ---------- */
.shell82bb9-xfoot {
  margin-top: 18px;
  border: 1px solid var(--shell82bb9-line);
  border-radius: var(--shell82bb9-radius);
  background: var(--shell82bb9-ink-deep);
  padding: 14px 12px;
}

.shell82bb9-xfoot-block { margin-bottom: 14px; }

.shell82bb9-xfoot-block:last-child { margin-bottom: 0; }

.shell82bb9-xfoot-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

.shell82bb9-xfoot-brand img { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--shell82bb9-line); }

.shell82bb9-xfoot-brand b { font-size: 17px; letter-spacing: 1px; color: var(--shell82bb9-moc); }

.shell82bb9-xfoot p { margin: 0; font-size: 13px; color: var(--shell82bb9-wheat); }

.shell82bb9-xfoot-promos { display: flex; flex-wrap: wrap; gap: 7px; }

.shell82bb9-xfoot-promos .shell82bb9-btn { flex: 1 1 auto; justify-content: center; font-size: 12.5px; min-height: 40px; }

.shell82bb9-xfoot-dir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }

@media (min-width: 400px) { .shell82bb9-xfoot-dir { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.shell82bb9-xfoot-dir a {
  display: block;
  padding: 7px 8px;
  border: 1px solid var(--shell82bb9-line-soft);
  border-radius: var(--shell82bb9-radius-btn);
  font-size: 12px;
  color: var(--shell82bb9-wheat);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shell82bb9-xfoot-dir a:active { color: var(--shell82bb9-moc); border-color: var(--shell82bb9-sienna-hi); }

.shell82bb9-xfoot-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--shell82bb9-line-soft);
  font-size: 11.5px;
  color: var(--shell82bb9-wheat);
  opacity: 0.8;
}

/* ---------- common footer + floating dock ---------- */
.shell82bb9-foot {
  padding: 10px 12px 8px;
  text-align: center;
  font-size: 11.5px;
  color: var(--shell82bb9-wheat);
  opacity: 0.85;
}

.shell82bb9-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 480px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
  background: var(--shell82bb9-ink-night);
  border-top: 1px solid var(--shell82bb9-line);
}

.shell82bb9-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 3px 2px;
  border: 0;
  background: transparent;
  border-radius: var(--shell82bb9-radius-btn);
  color: var(--shell82bb9-wheat);
  font-family: inherit;
  font-size: 10px;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.shell82bb9-dock-item:active { color: var(--shell82bb9-moc); background: rgba(245, 222, 179, 0.08); }

.shell82bb9-dock-item.shell82bb9-current { color: var(--shell82bb9-moc); font-weight: 800; }

.shell82bb9-dock-item svg { width: 21px; height: 21px; display: block; }

.shell82bb9-dock-item .shell82bb9-dock-mark {
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: transparent;
  margin-top: 1px;
}

.shell82bb9-dock-item.shell82bb9-current .shell82bb9-dock-mark { background: var(--shell82bb9-sienna-hi); }
