/* ============================================================
   bbaji.sbs — display-responsive-308342.css
   Mobile-first stylesheet for a 320-430px phone canvas.
   All classes and variables use the site prefix "c30834-".
   Palette: #FFEBCD cream / #1A1A1A ink / #B03060 maroon /
            #B22222 firebrick / #FFCC33 gold
   ============================================================ */

:root {
  --c30834-bg: #1a1a1a;
  --c30834-bg-deep: #120f12;
  --c30834-panel: #241d24;
  --c30834-panel-2: #2b222b;
  --c30834-ink: #ffebcd;
  --c30834-ink-soft: rgba(255, 235, 205, 0.74);
  --c30834-ink-faint: rgba(255, 235, 205, 0.52);
  --c30834-line: rgba(255, 235, 205, 0.12);
  --c30834-maroon: #b03060;
  --c30834-fire: #b22222;
  --c30834-gold: #ffcc33;
  --c30834-gold-soft: rgba(255, 204, 51, 0.38);
  --c30834-radius: 6px;
  --c30834-radius-lg: 10px;
  --c30834-head-h: 104px;
  --c30834-dock-h: 64px;
  --c30834-font-head: 'Anek Bangla', 'Noto Sans Bengali', 'Hind Siliguri', system-ui, sans-serif;
  --c30834-font-body: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
}

/* ---------- base ---------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--c30834-bg-deep);
  color: var(--c30834-ink);
  font-family: var(--c30834-font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Centered phone canvas on any screen width */
.c30834-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c30834-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--c30834-gold);
}

:focus-visible {
  outline: 2px solid var(--c30834-gold);
  outline-offset: 2px;
}

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

/* ---------- top navigation (brand layer + action layer) ---------- */

.c30834-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 50;
  background: linear-gradient(180deg, #20191f 0%, #1a1a1a 100%);
  border-bottom: 1px solid var(--c30834-gold-soft);
}

/* layer 1: brand only (logo image + site name, nothing else) */
.c30834-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 12px;
}

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

.c30834-brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: var(--c30834-radius);
  border: 1px solid var(--c30834-gold-soft);
  background: #0d0b0d;
  object-fit: cover;
  flex: 0 0 auto;
}

.c30834-brand-name {
  font-family: var(--c30834-font-head);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--c30834-gold);
  line-height: 1.2;
  white-space: nowrap;
}

.c30834-menubtn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px 9px;
  background: transparent;
  border: 1px solid var(--c30834-line);
  border-radius: var(--c30834-radius);
  cursor: pointer;
}

.c30834-menubtn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c30834-ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.c30834-menubtn-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.c30834-menubtn-open span:nth-child(2) {
  opacity: 0;
}

.c30834-menubtn-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* layer 2: action area (register / login / quick routes) */
.c30834-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  min-height: 52px;
  background: linear-gradient(90deg, rgba(176, 48, 96, 0.28) 0%, rgba(178, 34, 34, 0.18) 100%);
  border-top: 1px solid rgba(255, 235, 205, 0.08);
}

.c30834-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 16px;
  border-radius: 8px;
  font-family: var(--c30834-font-head);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.14s ease, filter 0.14s ease;
  white-space: nowrap;
}

.c30834-btn:active {
  transform: scale(0.94);
}

.c30834-btn-reg {
  background: linear-gradient(135deg, var(--c30834-maroon) 0%, var(--c30834-fire) 100%);
  color: var(--c30834-ink);
  box-shadow: 0 3px 10px rgba(178, 34, 34, 0.35);
}

.c30834-btn-login {
  background: transparent;
  border-color: var(--c30834-gold);
  color: var(--c30834-gold);
}

.c30834-quicklinks {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.c30834-quicklinks::-webkit-scrollbar {
  display: none;
}

.c30834-quicklink {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--c30834-line);
  color: var(--c30834-ink-soft);
  text-decoration: none;
  font-size: 0.74rem;
  white-space: nowrap;
}

.c30834-quicklink-on {
  border-color: var(--c30834-gold-soft);
  color: var(--c30834-gold);
  background: rgba(255, 204, 51, 0.08);
}

/* ---------- slide-in route menu ---------- */

.c30834-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 6, 8, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.c30834-menu-backdrop-on {
  opacity: 1;
  pointer-events: auto;
}

.c30834-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(80%, 316px);
  background: #1f191f;
  border-left: 1px solid var(--c30834-gold-soft);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  overflow-y: auto;
}

.c30834-menu-open {
  transform: translateX(0);
  visibility: visible;
}

.c30834-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--c30834-line);
}

.c30834-menu-title {
  font-family: var(--c30834-font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--c30834-gold);
  margin: 0;
}

.c30834-menu-close {
  width: 40px;
  height: 40px;
  border-radius: var(--c30834-radius);
  border: 1px solid var(--c30834-line);
  background: transparent;
  color: var(--c30834-ink);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.c30834-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c30834-mroute {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: var(--c30834-radius);
  border: 1px solid var(--c30834-line);
  background: var(--c30834-panel);
  color: var(--c30834-ink);
  text-decoration: none;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.c30834-mroute:active {
  transform: scale(0.96);
  border-color: var(--c30834-gold-soft);
}

.c30834-mroute b {
  font-family: var(--c30834-font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c30834-ink);
}

.c30834-mroute small {
  font-size: 0.66rem;
  color: var(--c30834-ink-faint);
}

.c30834-mroute-on {
  border-color: var(--c30834-gold);
  background: rgba(255, 204, 51, 0.09);
}

.c30834-menu-note {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.7rem;
  color: var(--c30834-ink-faint);
  border-top: 1px dashed var(--c30834-line);
}

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

.c30834-main {
  padding-top: var(--c30834-head-h);
  /* keep clear of the fixed bottom dock */
  padding-bottom: calc(var(--c30834-dock-h) + 22px + env(safe-area-inset-bottom));
}

.c30834-hero {
  padding: 14px 14px 4px;
}

.c30834-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--c30834-gold);
  border: 1px solid var(--c30834-gold-soft);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.c30834-h1 {
  font-family: var(--c30834-font-head);
  font-size: 1.52rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 10px;
  color: var(--c30834-ink);
}

.c30834-h1 em {
  font-style: normal;
  color: var(--c30834-gold);
}

/* ---------- promo carousel ---------- */

.c30834-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--c30834-radius-lg);
  border: 1px solid var(--c30834-line);
  background: #161016;
}

.c30834-track {
  display: flex;
  transition: transform 0.45s ease;
}

.c30834-slide {
  position: relative;
  flex: 0 0 100%;
  cursor: pointer;
}

.c30834-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.c30834-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(18, 15, 18, 0.94) 78%);
  font-family: var(--c30834-font-head);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--c30834-ink);
}

.c30834-slide-cap small {
  display: block;
  font-family: var(--c30834-font-body);
  font-weight: 400;
  font-size: 0.68rem;
  color: var(--c30834-ink-soft);
  margin-top: 2px;
}

.c30834-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: rgba(18, 15, 18, 0.55);
  color: var(--c30834-ink);
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
}

.c30834-arrow-prev {
  left: 6px;
}

.c30834-arrow-next {
  right: 6px;
}

.c30834-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.c30834-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 235, 205, 0.42);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.c30834-dot-on {
  background: var(--c30834-gold);
  width: 20px;
  border-radius: 5px;
}

/* ---------- lead paragraph ---------- */

.c30834-lead {
  padding: 10px 14px 2px;
}

.c30834-lead-txt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--c30834-ink-soft);
}

.c30834-lead-txt a {
  color: var(--c30834-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- generic section ---------- */

.c30834-sec {
  padding: 20px 14px 4px;
}

.c30834-sec-head {
  display: flex;
  align-items: center;
  gap: 9px;
  border-left: 3px solid var(--c30834-maroon);
  padding-left: 10px;
  margin-bottom: 8px;
  min-height: 34px;
}

.c30834-sec-title {
  font-family: var(--c30834-font-head);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.38;
  margin: 0;
  color: var(--c30834-ink);
}

.c30834-sec-tag {
  flex: 0 0 auto;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--c30834-gold);
  border: 1px solid var(--c30834-gold-soft);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

.c30834-sec-intro {
  margin: 0 0 12px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--c30834-ink-soft);
}

.c30834-sec-intro a,
.c30834-body-txt a {
  color: var(--c30834-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c30834-body-txt {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.82;
  color: var(--c30834-ink-soft);
}

/* ---------- game grid (image + bottom name bar) ---------- */

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

.c30834-gcard {
  display: flex;
  flex-direction: column;
  background: var(--c30834-panel);
  border: 1px solid var(--c30834-line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  text-align: inherit;
  font: inherit;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
  touch-action: manipulation;
}

.c30834-gcard:active {
  transform: translateY(-3px);
  border-color: var(--c30834-gold-soft);
}

.c30834-gthumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #171216;
}

.c30834-gthumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c30834-gname {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 5px 5px;
  font-size: 0.67rem;
  line-height: 1.32;
  text-align: center;
  color: var(--c30834-ink-soft);
  background: linear-gradient(180deg, rgba(176, 48, 96, 0.16), rgba(26, 26, 26, 0.4));
  border-top: 1px solid rgba(255, 235, 205, 0.07);
  overflow-wrap: break-word;
}

/* ---------- content panels ---------- */

.c30834-panel {
  background: var(--c30834-panel);
  border: 1px solid var(--c30834-line);
  border-radius: var(--c30834-radius-lg);
  padding: 14px 13px;
  margin: 10px 0 0;
}

.c30834-panel + .c30834-panel {
  margin-top: 10px;
}

.c30834-h3 {
  font-family: var(--c30834-font-head);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 14px 0 6px;
  color: var(--c30834-gold);
}

.c30834-panel .c30834-h3:first-child {
  margin-top: 0;
}

/* numbered steps */
.c30834-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c30834-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--c30834-line);
}

.c30834-step:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.c30834-step-n {
  flex: 0 0 26px;
  height: 26px;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--c30834-radius);
  background: linear-gradient(135deg, var(--c30834-maroon), var(--c30834-fire));
  color: var(--c30834-ink);
  font-family: var(--c30834-font-head);
  font-weight: 700;
  font-size: 0.8rem;
}

.c30834-step-txt {
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--c30834-ink-soft);
}

.c30834-step-txt b {
  color: var(--c30834-ink);
  font-weight: 600;
}

/* RTP meter rows */
.c30834-rtprow {
  display: grid;
  grid-template-columns: 92px 1fr 44px;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--c30834-line);
  font-size: 0.78rem;
}

.c30834-rtprow:last-child {
  border-bottom: 0;
}

.c30834-rtp-name {
  color: var(--c30834-ink);
}

.c30834-rtp-bar {
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 235, 205, 0.1);
  overflow: hidden;
}

.c30834-rtp-fill {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--c30834-maroon), var(--c30834-gold));
}

.c30834-rtp-val {
  text-align: right;
  color: var(--c30834-gold);
  font-family: var(--c30834-font-head);
  font-weight: 600;
}

/* guide cards */
.c30834-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c30834-guide-card {
  background: var(--c30834-panel-2);
  border: 1px solid var(--c30834-line);
  border-left: 3px solid var(--c30834-maroon);
  border-radius: var(--c30834-radius);
  padding: 9px 10px;
}

.c30834-guide-card b {
  display: block;
  font-family: var(--c30834-font-head);
  font-size: 0.8rem;
  color: var(--c30834-ink);
  margin-bottom: 3px;
}

.c30834-guide-card span {
  font-size: 0.74rem;
  line-height: 1.65;
  color: var(--c30834-ink-soft);
}

/* requirement list */
.c30834-req-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c30834-req-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c30834-line);
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--c30834-ink-soft);
}

.c30834-req-item:last-child {
  border-bottom: 0;
}

.c30834-req-ico {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: var(--c30834-gold);
}

/* quick-facts strip */
.c30834-facts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.c30834-facts li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--c30834-ink-soft);
  border-bottom: 1px dashed var(--c30834-line);
}

.c30834-facts li:last-child {
  border-bottom: 0;
}

.c30834-facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--c30834-gold);
}

/* checklist */
.c30834-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.c30834-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c30834-line);
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--c30834-ink-soft);
}

.c30834-check-item:last-child {
  border-bottom: 0;
}

.c30834-check-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 2px solid var(--c30834-gold-soft);
  border-radius: 4px;
  position: relative;
}

.c30834-check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--c30834-gold);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* ---------- extended footer (promo board + brand + directory) ---------- */

.c30834-xfoot {
  margin-top: 24px;
  border-top: 1px solid var(--c30834-gold-soft);
  background: #181218;
  padding: 16px 14px 10px;
}

.c30834-xfoot-head {
  font-family: var(--c30834-font-head);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--c30834-gold);
}

.c30834-promorow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.c30834-promorow::-webkit-scrollbar {
  display: none;
}

.c30834-promo-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid var(--c30834-gold-soft);
  background: linear-gradient(135deg, rgba(176, 48, 96, 0.34), rgba(178, 34, 34, 0.24));
  color: var(--c30834-ink);
  font-family: var(--c30834-font-head);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.14s ease;
}

.c30834-promo-chip:active {
  transform: scale(0.95);
}

.c30834-promo-chip i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c30834-gold);
}

.c30834-xbrand {
  margin: 12px 0 4px;
  padding: 11px 12px;
  border: 1px dashed var(--c30834-line);
  border-radius: var(--c30834-radius);
  font-size: 0.8rem;
  line-height: 1.78;
  color: var(--c30834-ink-soft);
}

.c30834-dir-title {
  font-family: var(--c30834-font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c30834-ink);
  margin: 16px 0 8px;
}

.c30834-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.c30834-dirlink {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: var(--c30834-radius);
  background: var(--c30834-panel);
  border-left: 3px solid var(--c30834-maroon);
  text-decoration: none;
}

.c30834-dirlink b {
  font-family: var(--c30834-font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c30834-ink);
}

.c30834-dirlink small {
  font-size: 0.64rem;
  color: var(--c30834-ink-faint);
}

.c30834-xdisclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--c30834-radius);
  background: rgba(178, 34, 34, 0.12);
  border: 1px solid rgba(178, 34, 34, 0.35);
  font-size: 0.72rem;
  line-height: 1.75;
  color: var(--c30834-ink-soft);
}

.c30834-xdisclaimer b {
  color: var(--c30834-ink);
}

/* ---------- common footer ---------- */

.c30834-footer {
  padding: 14px 14px 10px;
  text-align: center;
  color: var(--c30834-ink-faint);
  font-size: 0.72rem;
  line-height: 1.8;
}

.c30834-footer b {
  color: var(--c30834-ink-soft);
  font-weight: 500;
}

/* ---------- floating bottom dock (5 roles) ---------- */

.c30834-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: rgba(24, 19, 24, 0.98);
  border-top: 1px solid var(--c30834-gold-soft);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
}

.c30834-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: var(--c30834-ink-faint);
  text-decoration: none;
  font-family: var(--c30834-font-body);
  cursor: pointer;
  transition: transform 0.13s ease, color 0.13s ease;
}

.c30834-dock-item:active {
  transform: scale(0.9);
}

/* inactive icons: restrained outline feel; active: filled change */
.c30834-dock-ico {
  width: 22px;
  height: 22px;
  display: block;
}

.c30834-dock-ico .c30834-ico-fill {
  opacity: 0.45;
  transition: opacity 0.16s ease;
}

.c30834-dock-label {
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.c30834-dock-item-on {
  color: var(--c30834-gold);
}

.c30834-dock-item-on .c30834-dock-ico .c30834-ico-fill {
  opacity: 1;
}

.c30834-dock-item-on::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c30834-gold);
  margin-top: 1px;
}

/* ---------- responsive tweaks ---------- */

/* phone canvas breakpoint */
@media (max-width: 430px) {
  .c30834-h1 {
    font-size: 1.38rem;
  }

  .c30834-sec-title {
    font-size: 1rem;
  }

  .c30834-ggrid {
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
  }

  .c30834-gname {
    font-size: 0.64rem;
    min-height: 34px;
  }

  .c30834-guide-grid,
  .c30834-dirgrid {
    grid-template-columns: 1fr 1fr;
  }

  .c30834-slide-cap {
    font-size: 0.8rem;
  }
}

/* slightly wider phones get a 5th game column */
@media (min-width: 392px) {
  .c30834-ggrid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 481px) {
  .c30834-shell {
    border-left: 1px solid rgba(255, 235, 205, 0.09);
    border-right: 1px solid rgba(255, 235, 205, 0.09);
  }
}

/* ---------- motion discipline ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- help-page compositions ---------- */
.c30834-help-hero {
  padding: 16px 14px 10px;
  background: linear-gradient(135deg, rgba(176, 48, 96, 0.22), rgba(26, 26, 26, 0.1));
  border-bottom: 1px solid var(--c30834-line);
}

.c30834-help-hero p {
  margin: 0;
  color: var(--c30834-ink-soft);
  font-size: 0.9rem;
  line-height: 1.82;
}

.c30834-signal-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 11px 0 0;
  color: var(--c30834-gold);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.c30834-signal-line::before {
  content: "";
  width: 25px;
  height: 2px;
  background: var(--c30834-gold);
}

.c30834-alert-stack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.c30834-alert {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(178, 34, 34, 0.42);
  border-left: 3px solid var(--c30834-fire);
  border-radius: 5px;
  background: rgba(178, 34, 34, 0.12);
}

.c30834-alert-mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--c30834-fire);
  color: var(--c30834-ink);
  font-family: var(--c30834-font-head);
  font-weight: 700;
}

.c30834-alert strong,
.c30834-alert span {
  display: block;
}

.c30834-alert strong {
  color: var(--c30834-ink);
  font-size: 0.82rem;
}

.c30834-alert span {
  color: var(--c30834-ink-soft);
  font-size: 0.76rem;
  line-height: 1.65;
}

.c30834-triage {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.c30834-triage-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--c30834-line);
}

.c30834-triage-row:last-child {
  border-bottom: 0;
}

.c30834-triage-label {
  align-self: start;
  padding: 3px 5px;
  border-radius: 3px;
  background: rgba(255, 204, 51, 0.12);
  color: var(--c30834-gold);
  font-size: 0.68rem;
  text-align: center;
}

.c30834-triage-copy {
  color: var(--c30834-ink-soft);
  font-size: 0.8rem;
  line-height: 1.72;
}

.c30834-triage-copy b {
  color: var(--c30834-ink);
}

.c30834-callout {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--c30834-gold-soft);
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255, 204, 51, 0.11), rgba(176, 48, 96, 0.1));
  color: var(--c30834-ink-soft);
  font-size: 0.82rem;
  line-height: 1.78;
}

.c30834-callout b {
  color: var(--c30834-gold);
}

.c30834-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.c30834-help-actions .c30834-btn {
  min-height: 44px;
  padding-inline: 12px;
  font-size: 0.78rem;
}

.c30834-safety-ladder {
  position: relative;
  display: grid;
  gap: 11px;
  margin-top: 12px;
  padding-left: 17px;
}

.c30834-safety-ladder::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: linear-gradient(var(--c30834-gold), var(--c30834-maroon));
}

.c30834-ladder-item {
  position: relative;
  padding: 10px 11px;
  border: 1px solid var(--c30834-line);
  border-radius: 5px;
  background: var(--c30834-panel-2);
}

.c30834-ladder-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 15px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--c30834-gold);
  border-radius: 50%;
  background: var(--c30834-bg);
}

.c30834-ladder-item b,
.c30834-ladder-item span {
  display: block;
}

.c30834-ladder-item b {
  color: var(--c30834-gold);
  font-family: var(--c30834-font-head);
  font-size: 0.82rem;
}

.c30834-ladder-item span {
  margin-top: 3px;
  color: var(--c30834-ink-soft);
  font-size: 0.78rem;
  line-height: 1.72;
}

.c30834-fact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 9px;
  font-size: 0.77rem;
}

.c30834-fact-table th,
.c30834-fact-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--c30834-line);
  text-align: left;
  vertical-align: top;
}

.c30834-fact-table th {
  width: 35%;
  color: var(--c30834-gold);
  font-weight: 600;
}

.c30834-fact-table td {
  color: var(--c30834-ink-soft);
  line-height: 1.62;
}

.c30834-about-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.c30834-map-cell {
  min-height: 74px;
  padding: 8px 7px;
  border-top: 3px solid var(--c30834-maroon);
  border-radius: 4px;
  background: var(--c30834-panel-2);
}

.c30834-map-cell:nth-child(2) {
  border-top-color: var(--c30834-gold);
}

.c30834-map-cell:nth-child(3) {
  border-top-color: var(--c30834-fire);
}

.c30834-map-cell b,
.c30834-map-cell span {
  display: block;
}

.c30834-map-cell b {
  color: var(--c30834-ink);
  font-size: 0.72rem;
}

.c30834-map-cell span {
  margin-top: 4px;
  color: var(--c30834-ink-faint);
  font-size: 0.67rem;
  line-height: 1.5;
}

.c30834-route-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: c30834-route;
}

.c30834-route-list li {
  counter-increment: c30834-route;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--c30834-line);
  color: var(--c30834-ink-soft);
  font-size: 0.81rem;
  line-height: 1.72;
}

.c30834-route-list li::before {
  content: counter(c30834-route);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--c30834-maroon);
  color: var(--c30834-ink);
  font-family: var(--c30834-font-head);
  font-weight: 700;
}

.c30834-route-list li b {
  color: var(--c30834-ink);
}

.c30834-split-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 11px;
}

.c30834-note-cell {
  padding: 9px 10px;
  border: 1px solid var(--c30834-line);
  border-radius: 4px;
  background: rgba(255, 235, 205, 0.035);
}

.c30834-note-cell b,
.c30834-note-cell span {
  display: block;
}

.c30834-note-cell b {
  color: var(--c30834-gold);
  font-size: 0.75rem;
}

.c30834-note-cell span {
  margin-top: 3px;
  color: var(--c30834-ink-soft);
  font-size: 0.7rem;
  line-height: 1.6;
}

.c30834-qblock {
  padding: 10px 0;
  border-bottom: 1px solid var(--c30834-line);
}

.c30834-qblock:last-child {
  border-bottom: 0;
}

.c30834-qblock dt {
  color: var(--c30834-gold);
  font-family: var(--c30834-font-head);
  font-weight: 600;
  font-size: 0.83rem;
}

.c30834-qblock dd {
  margin: 4px 0 0;
  color: var(--c30834-ink-soft);
  font-size: 0.79rem;
  line-height: 1.75;
}

@media (max-width: 350px) {
  .c30834-about-map {
    grid-template-columns: 1fr;
  }

  .c30834-split-note {
    grid-template-columns: 1fr;
  }
}
