/* ============================================================
   joining.click base stylesheet
   Mobile-first canvas 320-430px, near-square tool-like surfaces,
   dark base with light ink, segmented action controls.
   All classes share the surface16872- prefix.
   ============================================================ */

:root {
  --surface16872-bg: #262626;
  --surface16872-ink: #ECF0F1;
  --surface16872-paper: #F5F5F5;
  --surface16872-line: #DEE2E6;
  --surface16872-slate: #4A4A4A;
  --surface16872-dim: rgba(236, 240, 241, 0.62);
  --surface16872-faint: rgba(236, 240, 241, 0.42);
  --surface16872-panel: #2d2d2d;
  --surface16872-panel2: #333333;
  --surface16872-hair: rgba(222, 226, 230, 0.16);
  --surface16872-radius: 2px;
  --surface16872-touch: 44px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #1e1e1e;
  color: var(--surface16872-ink);
  font-family: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

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

a { color: var(--surface16872-ink); text-decoration: none; }
a:hover { color: var(--surface16872-paper); }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px dashed var(--surface16872-line);
  outline-offset: 2px;
}

/* ---------- mobile canvas ---------- */

.surface16872-stage {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface16872-bg);
  overflow-x: hidden;
}

.surface16872-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--surface16872-paper);
  color: var(--surface16872-bg);
  padding: 10px 16px;
  font-weight: 700;
}

.surface16872-skip:focus {
  left: 8px;
  top: 8px;
}

/* ---------- fixed tab-style top bar ---------- */

.surface16872-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: var(--surface16872-bg);
  border-bottom: 1px solid var(--surface16872-hair);
}

.surface16872-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
}

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

.surface16872-brandimg {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  background: var(--surface16872-panel);
  flex: 0 0 auto;
}

.surface16872-brandname {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: var(--surface16872-paper);
}

.surface16872-actbar {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--surface16872-line);
  border-radius: var(--surface16872-radius);
  overflow: hidden;
  flex: 0 0 auto;
}

.surface16872-actbtn {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.surface16872-actbtn + .surface16872-actbtn {
  border-left: 1px solid var(--surface16872-line);
}

.surface16872-actbtn-main {
  background: var(--surface16872-ink);
  color: var(--surface16872-bg);
}

.surface16872-actbtn-main:hover,
.surface16872-actbtn-main:active {
  background: var(--surface16872-paper);
  color: var(--surface16872-bg);
}

.surface16872-actbtn-ghost {
  background: transparent;
  color: var(--surface16872-ink);
}

.surface16872-actbtn-ghost:hover,
.surface16872-actbtn-ghost:active {
  background: rgba(222, 226, 230, 0.14);
}

.surface16872-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  color: var(--surface16872-ink);
  transition: background-color 0.2s ease;
}

.surface16872-menubtn:hover,
.surface16872-menubtn:active {
  background: rgba(222, 226, 230, 0.14);
}

.surface16872-menubtn svg { width: 20px; height: 20px; }

/* ---------- layered dropdown menu ---------- */

.surface16872-panel {
  display: none;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 6px 10px 12px;
  background: var(--surface16872-panel);
  border-top: 1px solid var(--surface16872-hair);
}

.surface16872-panel.surface16872-open { display: block; }

.surface16872-panelgroup + .surface16872-panelgroup {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--surface16872-hair);
}

.surface16872-paneltitle {
  margin: 6px 2px 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--surface16872-faint);
}

.surface16872-panellist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--surface16872-hair);
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  overflow: hidden;
}

.surface16872-panelitem {
  display: flex;
  align-items: center;
  min-height: var(--surface16872-touch);
  padding: 9px 10px;
  background: var(--surface16872-panel2);
  font-size: 12.5px;
  color: var(--surface16872-ink);
  transition: background-color 0.2s ease;
}

.surface16872-panelitem:hover,
.surface16872-panelitem:active {
  background: var(--surface16872-slate);
  color: var(--surface16872-paper);
}

.surface16872-panelitem-current {
  background: var(--surface16872-ink);
  color: var(--surface16872-bg);
  font-weight: 700;
}

/* ---------- page body ---------- */

.surface16872-page {
  padding: 70px 12px 96px;
}

/* ---------- hero ---------- */

.surface16872-hero {
  padding: 14px 2px 4px;
}

.surface16872-herohead {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--surface16872-paper);
}

.surface16872-herosub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--surface16872-dim);
}

/* ---------- banner carousel ---------- */

.surface16872-carousel {
  position: relative;
  margin: 14px 0 4px;
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  background: var(--surface16872-panel);
  overflow: hidden;
}

.surface16872-strip {
  display: flex;
  transition: transform 0.45s ease;
}

.surface16872-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
}

.surface16872-slideimg {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.surface16872-carouselnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 38, 38, 0.72);
  color: var(--surface16872-ink);
  border: 1px solid var(--surface16872-hair);
  transition: background-color 0.2s ease;
}

.surface16872-carouselnav:hover { background: rgba(74, 74, 74, 0.92); }

.surface16872-carouselnav svg { width: 16px; height: 16px; }

.surface16872-carouselnav-prev { left: 4px; border-radius: var(--surface16872-radius) 0 0 var(--surface16872-radius); }
.surface16872-carouselnav-next { right: 4px; border-radius: 0 var(--surface16872-radius) var(--surface16872-radius) 0; }

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

.surface16872-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 1px solid rgba(236, 240, 241, 0.5);
  border-radius: var(--surface16872-radius);
  background: transparent;
  transition: background-color 0.25s ease;
}

.surface16872-dot.surface16872-on {
  background: var(--surface16872-paper);
  border-color: var(--surface16872-paper);
}

/* ---------- category sections ---------- */

.surface16872-cathead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--surface16872-slate);
}

.surface16872-cattitle {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--surface16872-paper);
}

.surface16872-catcount {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--surface16872-faint);
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  padding: 2px 6px;
  white-space: nowrap;
}

.surface16872-catnote {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--surface16872-dim);
}

/* ---------- game grid: pure image card + short name ---------- */

.surface16872-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
}

.surface16872-card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: center;
  border-radius: var(--surface16872-radius);
  transition: transform 0.15s ease;
  -webkit-tap-highlight-color: rgba(236, 240, 241, 0.16);
}

.surface16872-card:active { transform: translateY(1px) scale(0.985); }

.surface16872-cardimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  background: var(--surface16872-panel);
  transition: border-color 0.2s ease;
}

.surface16872-card:hover .surface16872-cardimg { border-color: var(--surface16872-line); }

.surface16872-cardname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  min-height: 28px;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--surface16872-dim);
  transition: color 0.2s ease;
}

.surface16872-card:hover .surface16872-cardname { color: var(--surface16872-paper); }

/* ---------- prose modules ---------- */

.surface16872-prose {
  margin-top: 24px;
  padding: 14px 12px;
  border: 1px solid var(--surface16872-hair);
  border-left: 3px solid var(--surface16872-line);
  border-radius: var(--surface16872-radius);
  background: var(--surface16872-panel);
}

.surface16872-prosehead {
  margin: 0 0 8px;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--surface16872-paper);
}

.surface16872-proselead {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--surface16872-ink);
}

.surface16872-prosebody {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--surface16872-dim);
}

.surface16872-prosebody + .surface16872-prosebody { margin-top: 8px; }

.surface16872-prosebody a,
.surface16872-catnote a,
.surface16872-herosub a {
  color: var(--surface16872-paper);
  border-bottom: 1px solid var(--surface16872-line);
  font-weight: 600;
}

.surface16872-steps {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: surface16872step;
}

.surface16872-steps li {
  position: relative;
  counter-increment: surface16872step;
  margin-bottom: 7px;
  padding-left: 30px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--surface16872-dim);
}

.surface16872-steps li::before {
  content: counter(surface16872step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--surface16872-bg);
  background: var(--surface16872-dim);
  border-radius: var(--surface16872-radius);
}

.surface16872-termlist {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.surface16872-termlist li {
  margin-bottom: 7px;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--surface16872-dim);
  background: var(--surface16872-panel2);
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
}

.surface16872-termlist strong { color: var(--surface16872-paper); }

/* ---------- segmented CTA ---------- */

.surface16872-seg {
  display: flex;
  margin: 12px 0 4px;
  border: 1px solid var(--surface16872-line);
  border-radius: var(--surface16872-radius);
  overflow: hidden;
}

.surface16872-segbtn {
  flex: 1 1 50%;
  min-height: var(--surface16872-touch);
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.surface16872-segbtn + .surface16872-segbtn { border-left: 1px solid var(--surface16872-line); }

.surface16872-segbtn-main {
  background: var(--surface16872-ink);
  color: var(--surface16872-bg);
}

.surface16872-segbtn-main:hover,
.surface16872-segbtn-main:active {
  background: var(--surface16872-paper);
  color: var(--surface16872-bg);
}

.surface16872-segbtn-edge {
  background: transparent;
  color: var(--surface16872-ink);
}

.surface16872-segbtn-edge:hover,
.surface16872-segbtn-edge:active {
  background: rgba(222, 226, 230, 0.14);
}

/* ---------- extended footer (two-column directory) ---------- */

.surface16872-xtra {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 2px solid var(--surface16872-slate);
}

.surface16872-xtrabrand {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--surface16872-dim);
}

.surface16872-xtrahead {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--surface16872-faint);
}

.surface16872-xtrapromos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.surface16872-xtrapromo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  background: var(--surface16872-panel2);
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--surface16872-ink);
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.surface16872-xtrapromo:hover,
.surface16872-xtrapromo:active {
  background: var(--surface16872-slate);
  color: var(--surface16872-paper);
}

.surface16872-xtrapromo svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--surface16872-line);
}

.surface16872-xtradirectory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 8px;
  background: transparent;
  border: 1px solid var(--surface16872-hair);
  border-radius: var(--surface16872-radius);
  overflow: hidden;
}

.surface16872-xtralink {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  background: var(--surface16872-panel);
  font-size: 11.5px;
  color: var(--surface16872-dim);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.surface16872-xtralink:hover,
.surface16872-xtralink:active {
  background: var(--surface16872-slate);
  color: var(--surface16872-paper);
}

.surface16872-xtradisclaimer {
  margin: 12px 0 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--surface16872-faint);
}

/* ---------- common end bar ---------- */

.surface16872-endbar {
  margin-top: 18px;
  padding: 12px 2px 6px;
  border-top: 1px solid var(--surface16872-hair);
  text-align: center;
  font-size: 11px;
  color: var(--surface16872-faint);
}

/* ---------- fixed segmented action dock ---------- */

.surface16872-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 41;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--surface16872-bg);
  border-top: 1px solid var(--surface16872-hair);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.surface16872-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 6px 2px 5px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--surface16872-dim);
  transition: color 0.25s ease;
}

.surface16872-dockitem svg {
  width: 21px;
  height: 21px;
  transition: transform 0.15s ease;
}

.surface16872-dockitem:active svg { transform: translateY(1px); }

.surface16872-dockitem:hover { color: var(--surface16872-paper); }

.surface16872-dockitem-current {
  color: var(--surface16872-paper);
  box-shadow: inset 0 3px 0 0 var(--surface16872-paper);
}

/* ---------- wider phones keep 4-5 columns ---------- */

@media (min-width: 375px) {
  .surface16872-grid { grid-template-columns: repeat(5, 1fr); }
  .surface16872-herohead { font-size: 22px; }
  .surface16872-cattitle { font-size: 17.5px; }
}

@media (min-width: 431px) {
  body { background: #191919; }
  .surface16872-stage {
    border-left: 1px solid rgba(222, 226, 230, 0.12);
    border-right: 1px solid rgba(222, 226, 230, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .surface16872-strip { transition: none; }
  .surface16872-card,
  .surface16872-dockitem svg,
  .surface16872-xtrapromo,
  .surface16872-panelitem { transition: none; }
}

/* ---------- help-page reading surfaces ---------- */
.surface16872-helpintro {
  margin: 14px 0 18px;
  padding: 14px 12px;
  border: 1px solid var(--surface16872-line);
  background: var(--surface16872-paper);
  color: var(--surface16872-bg);
  border-radius: var(--surface16872-radius);
}

.surface16872-helpintro h2,
.surface16872-helpintro p { color: var(--surface16872-bg); }
.surface16872-helpintro h2 { margin: 0 0 7px; font-size: 16px; line-height: 1.4; }
.surface16872-helpintro p { margin: 0; font-size: 12.5px; line-height: 1.75; }

.surface16872-helpband {
  margin-top: 18px;
  padding: 13px 12px;
  border-top: 2px solid var(--surface16872-line);
  border-bottom: 1px solid var(--surface16872-hair);
  background: linear-gradient(90deg, var(--surface16872-panel2), var(--surface16872-panel));
}
.surface16872-helpband h2 { margin: 0 0 7px; font-size: 15.5px; line-height: 1.45; color: var(--surface16872-paper); }
.surface16872-helpband p { margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--surface16872-dim); }

.surface16872-checkgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}
.surface16872-checkitem {
  min-height: 58px;
  padding: 9px 9px 8px 30px;
  position: relative;
  background: var(--surface16872-panel2);
  border: 1px solid var(--surface16872-hair);
  color: var(--surface16872-dim);
  font-size: 12px;
  line-height: 1.65;
}
.surface16872-checkitem::before {
  content: "✓";
  position: absolute;
  left: 9px;
  top: 9px;
  color: var(--surface16872-paper);
  font-weight: 800;
}

.surface16872-answerlist { margin: 10px 0 0; padding: 0; list-style: none; }
.surface16872-answerlist li {
  margin: 0 0 8px;
  padding: 9px 10px;
  border-left: 3px solid var(--surface16872-line);
  background: var(--surface16872-panel2);
  color: var(--surface16872-dim);
  font-size: 12.5px;
  line-height: 1.75;
}
.surface16872-answerlist strong { color: var(--surface16872-paper); }

.surface16872-promo-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0;
  padding: 9px 10px;
  border: 1px solid var(--surface16872-hair);
  background: var(--surface16872-panel);
  color: var(--surface16872-ink);
  font-size: 12px;
  line-height: 1.5;
}
.surface16872-promo-line span { min-width: 0; }
.surface16872-promo-line button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--surface16872-line);
  color: var(--surface16872-bg);
  background: var(--surface16872-ink);
  font-size: 11.5px;
  font-weight: 800;
}
.surface16872-promo-line button:hover { background: var(--surface16872-paper); }

.surface16872-aboutmap {
  display: grid;
  gap: 1px;
  margin-top: 10px;
  border: 1px solid var(--surface16872-hair);
  background: var(--surface16872-hair);
}
.surface16872-aboutrow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 9px 10px;
  background: var(--surface16872-panel2);
  font-size: 12px;
  line-height: 1.65;
}
.surface16872-aboutrow strong { color: var(--surface16872-paper); }
.surface16872-aboutrow span { color: var(--surface16872-dim); }

@media (max-width: 359px) {
  .surface16872-checkgrid { grid-template-columns: 1fr; }
  .surface16872-promo-line { align-items: flex-start; flex-direction: column; }
  .surface16872-promo-line button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .surface16872-promo-line button { transition: none; }
}
