/* ==========================================================================
   jaya 9 - palette-dynamic-4cdcf0.css
   Mobile-first shell for jaya-9.sbs (320-430px canvas, centered on wide screens)
   Palette: #1E1E1E base / #DEE2E6 ink / #A0522D brand accent
   All classes and variables use the site prefix shell4cdcf-
   ========================================================================== */

:root {
  --shell4cdcf-bg: #1e1e1e;
  --shell4cdcf-bg-deep: #151515;
  --shell4cdcf-bg-panel: #232323;
  --shell4cdcf-bg-panel-2: #292929;
  --shell4cdcf-ink: #dee2e6;
  --shell4cdcf-ink-soft: #b9bfc6;
  --shell4cdcf-ink-mute: #8f969e;
  --shell4cdcf-brand: #a0522d;
  --shell4cdcf-brand-hi: #c97a50;
  --shell4cdcf-brand-soft: #3a2a22;
  --shell4cdcf-line: #34383d;
  --shell4cdcf-line-soft: #2b2f33;
  --shell4cdcf-good: #7fae6f;
  --shell4cdcf-warn: #d8a657;
  --shell4cdcf-radius-card: 8px;
  --shell4cdcf-radius-btn: 999px;
  --shell4cdcf-font-head: "Bahnschrift", "Segoe UI Semibold", "Segoe UI", "Noto Sans Bengali", Arial, sans-serif;
  --shell4cdcf-font-body: "Segoe UI", "Noto Sans Bengali", "SolaimanLipi", "Kalpurush", system-ui, sans-serif;
  --shell4cdcf-tap: 44px;
  --shell4cdcf-topbar-h: 60px;
  --shell4cdcf-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #101010;
  color: var(--shell4cdcf-ink);
  font-family: var(--shell4cdcf-font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Phone canvas: always centered, never wider than 430px */
.shell4cdcf-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell4cdcf-bg);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

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

a { color: var(--shell4cdcf-brand-hi); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.shell4cdcf-canvas :focus-visible {
  outline: 2px solid var(--shell4cdcf-brand-hi);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell4cdcf-skip {
  position: absolute;
  left: 12px;
  top: -52px;
  z-index: 120;
  background: var(--shell4cdcf-brand-hi);
  color: #17110c;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--shell4cdcf-radius-btn);
  transition: top 0.2s ease;
}
.shell4cdcf-skip:focus { top: 8px; text-decoration: none; }

/* ==========================================================================
   Top bar - centered identity, actions on the sides
   ========================================================================== */

.shell4cdcf-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell4cdcf-topbar-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: rgba(24, 24, 24, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell4cdcf-line-soft);
}

.shell4cdcf-topbar__side {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
}

.shell4cdcf-topbar__side--right { justify-content: flex-end; }

.shell4cdcf-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--shell4cdcf-ink);
}

.shell4cdcf-identity__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--shell4cdcf-line);
  object-fit: cover;
  background: #171717;
}

.shell4cdcf-identity__name {
  font-family: var(--shell4cdcf-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
}
.shell4cdcf-identity__name em {
  font-style: normal;
  color: var(--shell4cdcf-brand-hi);
}

.shell4cdcf-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--shell4cdcf-tap);
  height: var(--shell4cdcf-tap);
  border: 0;
  background: transparent;
  color: var(--shell4cdcf-ink);
  border-radius: var(--shell4cdcf-radius-btn);
  transition: background 0.25s ease, color 0.25s ease;
}
.shell4cdcf-iconbtn:hover,
.shell4cdcf-iconbtn:active { background: #2e2e2e; color: var(--shell4cdcf-brand-hi); }

.shell4cdcf-iconbtn__bars {
  display: inline-block;
  width: 20px;
  height: 14px;
  position: relative;
}
.shell4cdcf-iconbtn__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}
.shell4cdcf-iconbtn__bars i:nth-child(1) { top: 0; }
.shell4cdcf-iconbtn__bars i:nth-child(2) { top: 6px; width: 76%; }
.shell4cdcf-iconbtn__bars i:nth-child(3) { top: 12px; }

.shell4cdcf-topbar.is-open .shell4cdcf-iconbtn__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell4cdcf-topbar.is-open .shell4cdcf-iconbtn__bars i:nth-child(2) { opacity: 0; }
.shell4cdcf-topbar.is-open .shell4cdcf-iconbtn__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* CTA pair: solid primary + outlined secondary, pill shaped */
.shell4cdcf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: var(--shell4cdcf-radius-btn);
  font-family: var(--shell4cdcf-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.shell4cdcf-btn:active { transform: scale(0.97); }

.shell4cdcf-btn--primary {
  background: linear-gradient(160deg, #b45c31, var(--shell4cdcf-brand));
  color: #f7ede5;
  box-shadow: 0 4px 14px rgba(160, 82, 45, 0.35);
}
.shell4cdcf-btn--primary:hover { background: linear-gradient(160deg, #c66a3a, #a9582f); text-decoration: none; }

.shell4cdcf-btn--ghost {
  background: transparent;
  color: var(--shell4cdcf-ink);
  border-color: #4a4f55;
}
.shell4cdcf-btn--ghost:hover { border-color: var(--shell4cdcf-brand-hi); color: var(--shell4cdcf-brand-hi); text-decoration: none; }

.shell4cdcf-btn--block { width: 100%; min-height: 44px; font-size: 14px; }

/* ==========================================================================
   Side drawer menu
   ========================================================================== */

.shell4cdcf-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 84%;
  max-width: 336px;
  z-index: 110;
  background: #1d1d1d;
  border-left: 1px solid var(--shell4cdcf-line-soft);
  transform: translateX(104%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  visibility: hidden;
}
.shell4cdcf-drawer.is-open { transform: translateX(0); visibility: visible; }

.shell4cdcf-drawer__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--shell4cdcf-line-soft);
}

.shell4cdcf-drawer__title {
  font-family: var(--shell4cdcf-font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 14px 6px 8px;
  color: var(--shell4cdcf-ink-mute);
  text-transform: uppercase;
}

.shell4cdcf-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  margin: 3px 0;
  border-radius: var(--shell4cdcf-radius-card);
  color: var(--shell4cdcf-ink);
  font-size: 15px;
  transition: background 0.22s ease, color 0.22s ease;
}
.shell4cdcf-drawer__link:hover { background: #282828; text-decoration: none; }
.shell4cdcf-drawer__link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #5a6067;
  border-right: 2px solid #5a6067;
  transform: rotate(45deg);
  flex: none;
}
.shell4cdcf-drawer__link[aria-current="page"] {
  background: var(--shell4cdcf-ink);
  color: #1c1c1c;
  font-weight: 700;
}
.shell4cdcf-drawer__link[aria-current="page"]::after { border-color: var(--shell4cdcf-brand); }

.shell4cdcf-drawer__cta {
  margin-top: auto;
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.shell4cdcf-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.shell4cdcf-scrim.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Page body layout
   ========================================================================== */

.shell4cdcf-main {
  padding: calc(var(--shell4cdcf-topbar-h) + 14px) 14px calc(var(--shell4cdcf-bottomnav-h) + 84px);
}

.shell4cdcf-sec { margin: 30px 0; }
.shell4cdcf-sec--first { margin-top: 18px; }

.shell4cdcf-sec__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shell4cdcf-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell4cdcf-brand-hi);
  margin-bottom: 6px;
}
.shell4cdcf-sec__kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--shell4cdcf-brand);
}

h1.shell4cdcf-sec__h1,
h2.shell4cdcf-sec__h2 {
  font-family: var(--shell4cdcf-font-head);
  color: var(--shell4cdcf-ink);
  margin: 0 0 10px;
  line-height: 1.32;
}

h1.shell4cdcf-sec__h1 { font-size: 24px; letter-spacing: 0.01em; }
h2.shell4cdcf-sec__h2 { font-size: 19px; }

h3.shell4cdcf-sec__h3 {
  font-family: var(--shell4cdcf-font-head);
  font-size: 15px;
  color: var(--shell4cdcf-brand-hi);
  margin: 18px 0 6px;
}

.shell4cdcf-lead {
  color: var(--shell4cdcf-ink-soft);
  font-size: 14.5px;
  margin: 0 0 12px;
}

.shell4cdcf-prose p { margin: 0 0 12px; color: var(--shell4cdcf-ink-soft); font-size: 14.5px; }
.shell4cdcf-prose strong { color: var(--shell4cdcf-ink); font-weight: 700; }

/* Hero */
.shell4cdcf-hero {
  padding: 6px 2px 2px;
}
.shell4cdcf-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.shell4cdcf-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: var(--shell4cdcf-radius-btn);
  background: var(--shell4cdcf-bg-panel);
  border: 1px solid var(--shell4cdcf-line-soft);
  color: var(--shell4cdcf-ink-soft);
  font-size: 12px;
  font-family: var(--shell4cdcf-font-head);
  letter-spacing: 0.04em;
}
.shell4cdcf-hero__tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell4cdcf-brand-hi);
}

/* ==========================================================================
   Carousel - light floating banner cards
   ========================================================================== */

.shell4cdcf-carousel {
  position: relative;
  border-radius: var(--shell4cdcf-radius-card);
  overflow: hidden;
  border: 1px solid var(--shell4cdcf-line-soft);
  background: #171717;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.shell4cdcf-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.shell4cdcf-carousel__track::-webkit-scrollbar { display: none; }

.shell4cdcf-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: #171717;
  text-align: left;
}

.shell4cdcf-slide__img {
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
}

.shell4cdcf-slide__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0) 0%, rgba(18, 12, 8, 0.88) 72%);
  color: #f4ece6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.shell4cdcf-carousel__dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.shell4cdcf-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(222, 226, 230, 0.4);
  transition: background 0.25s ease, width 0.25s ease;
}
.shell4cdcf-carousel__dot.is-on { background: var(--shell4cdcf-brand-hi); width: 20px; border-radius: 5px; }

/* ==========================================================================
   Category quick chips (in-page anchors)
   ========================================================================== */

.shell4cdcf-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.shell4cdcf-chips::-webkit-scrollbar { display: none; }

.shell4cdcf-chips__item {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--shell4cdcf-radius-btn);
  background: var(--shell4cdcf-bg-panel);
  border: 1px solid var(--shell4cdcf-line);
  color: var(--shell4cdcf-ink-soft);
  font-size: 13px;
  font-family: var(--shell4cdcf-font-head);
  letter-spacing: 0.03em;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.shell4cdcf-chips__item:hover { border-color: var(--shell4cdcf-brand-hi); color: var(--shell4cdcf-ink); text-decoration: none; }
.shell4cdcf-chips__item svg { width: 15px; height: 15px; }

/* ==========================================================================
   Game grid - floating tile cards, square radius, 4 columns on 320px
   ========================================================================== */

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

.shell4cdcf-game {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--shell4cdcf-ink-soft);
  text-align: center;
  border-radius: var(--shell4cdcf-radius-card);
  transition: transform 0.18s ease, color 0.22s ease;
}
.shell4cdcf-game:hover { color: var(--shell4cdcf-ink); }
.shell4cdcf-game:active { transform: translateY(2px) scale(0.97); }

.shell4cdcf-game__frame {
  position: relative;
  display: block;
  border-radius: var(--shell4cdcf-radius-card);
  border: 1px solid var(--shell4cdcf-line);
  background: linear-gradient(180deg, #2c2c2c, #212121);
  padding: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
  transition: border-color 0.25s ease;
}
.shell4cdcf-game:hover .shell4cdcf-game__frame { border-color: var(--shell4cdcf-brand); }

.shell4cdcf-game__frame::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 3px;
  height: 26px;
  border-radius: 6px 6px 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.shell4cdcf-game__frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: #1a1a1a;
}

.shell4cdcf-game__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.45;
  min-height: 2.9em;
  word-break: break-word;
}

.shell4cdcf-sec__related {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--shell4cdcf-brand);
  background: var(--shell4cdcf-bg-panel);
  border-radius: 0 var(--shell4cdcf-radius-card) var(--shell4cdcf-radius-card) 0;
  font-size: 13px;
  color: var(--shell4cdcf-ink-mute);
}
.shell4cdcf-sec__related a { font-weight: 600; }

.shell4cdcf-sec__count {
  float: right;
  font-family: var(--shell4cdcf-font-head);
  font-size: 11px;
  color: var(--shell4cdcf-ink-mute);
  border: 1px solid var(--shell4cdcf-line);
  border-radius: var(--shell4cdcf-radius-btn);
  padding: 2px 9px;
  margin-top: 3px;
}

/* ==========================================================================
   Content modules - varied presentation per block
   ========================================================================== */

/* Condition list (payment) */
.shell4cdcf-checks { list-style: none; margin: 10px 0; padding: 0; }
.shell4cdcf-checks li {
  position: relative;
  padding: 9px 10px 9px 34px;
  margin: 8px 0;
  background: var(--shell4cdcf-bg-panel);
  border: 1px solid var(--shell4cdcf-line-soft);
  border-radius: var(--shell4cdcf-radius-card);
  font-size: 13.5px;
  color: var(--shell4cdcf-ink-soft);
}
.shell4cdcf-checks li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--shell4cdcf-brand-hi);
}
.shell4cdcf-checks li strong { color: var(--shell4cdcf-ink); }

/* Steps (app / login) */
.shell4cdcf-steps { margin: 12px 0; padding: 0; list-style: none; counter-reset: shell4cdcf-step; }
.shell4cdcf-steps li {
  counter-increment: shell4cdcf-step;
  position: relative;
  margin: 0 0 10px;
  padding: 10px 12px 10px 46px;
  background: linear-gradient(180deg, #232323, #1f1f1f);
  border: 1px solid var(--shell4cdcf-line-soft);
  border-radius: var(--shell4cdcf-radius-card);
  font-size: 13.5px;
  color: var(--shell4cdcf-ink-soft);
}
.shell4cdcf-steps li::before {
  content: counter(shell4cdcf-step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--shell4cdcf-brand-soft);
  border: 1px solid var(--shell4cdcf-brand);
  color: var(--shell4cdcf-brand-hi);
  font-family: var(--shell4cdcf-font-head);
  font-size: 10.5px;
  font-weight: 700;
}

/* Note box */
.shell4cdcf-note {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px dashed #5c4632;
  border-radius: var(--shell4cdcf-radius-card);
  background: rgba(160, 82, 45, 0.1);
  color: var(--shell4cdcf-ink-soft);
  font-size: 13.5px;
}
.shell4cdcf-note strong { color: var(--shell4cdcf-warn); }

/* Mini cards (category highlights) */
.shell4cdcf-minis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.shell4cdcf-mini {
  background: var(--shell4cdcf-bg-panel);
  border: 1px solid var(--shell4cdcf-line-soft);
  border-radius: var(--shell4cdcf-radius-card);
  padding: 12px;
  transition: border-color 0.25s ease;
}
.shell4cdcf-mini:hover { border-color: var(--shell4cdcf-brand); }
.shell4cdcf-mini__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--shell4cdcf-brand-soft);
  color: var(--shell4cdcf-brand-hi);
  margin-bottom: 8px;
}
.shell4cdcf-mini__icon svg { width: 18px; height: 18px; }
.shell4cdcf-mini h3 { margin: 0 0 4px; font-size: 13.5px; color: var(--shell4cdcf-ink); font-family: var(--shell4cdcf-font-head); }
.shell4cdcf-mini p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--shell4cdcf-ink-mute); }

/* Promo band */
.shell4cdcf-band {
  margin: 16px 0;
  padding: 16px 14px;
  border-radius: var(--shell4cdcf-radius-card);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(160, 82, 45, 0.4) 0%, rgba(160, 82, 45, 0) 55%),
    linear-gradient(180deg, #262220, #201d1b);
  border: 1px solid #46352b;
}
.shell4cdcf-band h3 {
  margin: 0 0 6px;
  font-family: var(--shell4cdcf-font-head);
  font-size: 16px;
  color: var(--shell4cdcf-ink);
}
.shell4cdcf-band p { margin: 0 0 12px; font-size: 13.5px; color: var(--shell4cdcf-ink-soft); }
.shell4cdcf-band__row { display: flex; flex-direction: column; gap: 8px; }

/* Takeaway checklist */
.shell4cdcf-takeaways { list-style: none; margin: 12px 0; padding: 0; }
.shell4cdcf-takeaways li {
  position: relative;
  padding: 8px 8px 8px 30px;
  margin: 7px 0;
  font-size: 13.5px;
  color: var(--shell4cdcf-ink-soft);
  border-bottom: 1px solid var(--shell4cdcf-line-soft);
}
.shell4cdcf-takeaways li::before {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(127, 174, 111, 0.16);
  color: var(--shell4cdcf-good);
  font-size: 11px;
  font-weight: 700;
}
.shell4cdcf-takeaways li strong { color: var(--shell4cdcf-ink); }

/* ==========================================================================
   Extended footer: directory > brand > promotions > disclaimer
   ========================================================================== */

.shell4cdcf-xfoot {
  margin: 34px -14px 0;
  padding: 22px 16px 0;
  border-top: 1px solid var(--shell4cdcf-line-soft);
  background: linear-gradient(180deg, #1b1b1b, #161616);
}

.shell4cdcf-xfoot__h {
  font-family: var(--shell4cdcf-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell4cdcf-brand-hi);
  margin: 0 0 10px;
}

.shell4cdcf-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-bottom: 22px;
}
.shell4cdcf-directory a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--shell4cdcf-line-soft);
  border-radius: var(--shell4cdcf-radius-card);
  background: #1f1f1f;
  color: var(--shell4cdcf-ink-soft);
  font-size: 12.5px;
  line-height: 1.35;
  transition: border-color 0.22s ease, color 0.22s ease;
}
.shell4cdcf-directory a:hover { border-color: var(--shell4cdcf-brand); color: var(--shell4cdcf-ink); text-decoration: none; }
.shell4cdcf-directory svg { width: 14px; height: 14px; flex: none; color: var(--shell4cdcf-brand-hi); }

.shell4cdcf-brandbox { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.shell4cdcf-brandbox img { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--shell4cdcf-line); flex: none; }
.shell4cdcf-brandbox p { margin: 0; font-size: 12.5px; color: var(--shell4cdcf-ink-mute); line-height: 1.7; }
.shell4cdcf-brandbox strong { color: var(--shell4cdcf-ink-soft); }

/* Horizontal promo shortcuts (6 actions) */
.shell4cdcf-shorts {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
}
.shell4cdcf-shorts::-webkit-scrollbar { display: none; }

.shell4cdcf-short {
  flex: none;
  width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px 6px 10px;
  border-radius: var(--shell4cdcf-radius-card);
  border: 1px solid #43332a;
  background: #221d1a;
  color: var(--shell4cdcf-ink-soft);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.15s ease;
}
.shell4cdcf-short:hover { border-color: var(--shell4cdcf-brand-hi); color: var(--shell4cdcf-ink); }
.shell4cdcf-short:active { transform: scale(0.96); }
.shell4cdcf-short svg { width: 21px; height: 21px; color: var(--shell4cdcf-brand-hi); transition: color 0.25s ease; }
.shell4cdcf-short:hover svg { color: #e09a72; }

.shell4cdcf-disclaimer {
  padding: 14px 2px 16px;
  border-top: 1px solid var(--shell4cdcf-line-soft);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--shell4cdcf-ink-mute);
}

.shell4cdcf-copyright {
  padding: 12px 16px 10px;
  border-top: 1px solid var(--shell4cdcf-line-soft);
  text-align: center;
  font-size: 11.5px;
  color: var(--shell4cdcf-ink-mute);
  font-family: var(--shell4cdcf-font-head);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Bottom navigation rail - 5 roles, fixed to the phone canvas bottom
   ========================================================================== */

.shell4cdcf-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shell4cdcf-bottomnav-h) + env(safe-area-inset-bottom));
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(21, 21, 21, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell4cdcf-line-soft);
}

.shell4cdcf-bottomnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  color: #8b9199;
  font-size: 10.5px;
  line-height: 1.25;
  text-align: center;
  transition: color 0.25s ease, background 0.25s ease;
}
.shell4cdcf-bottomnav__item svg { width: 21px; height: 21px; }
.shell4cdcf-bottomnav__item:hover { color: var(--shell4cdcf-ink); text-decoration: none; }

.shell4cdcf-bottomnav__item--on {
  background: var(--shell4cdcf-ink);
  color: #1d1d1d;
  font-weight: 700;
}

.shell4cdcf-bottomnav__item--promo { color: var(--shell4cdcf-brand-hi); }
.shell4cdcf-bottomnav__item--promo:hover { color: #e09a72; }

/* ==========================================================================
   Responsive tuning inside the 320-430px band, then wide-screen framing
   ========================================================================== */

/* Keep the top action row inside the 320px canvas */
@media (max-width: 359px) {
  .shell4cdcf-topbar { padding: 0 6px; }
  .shell4cdcf-btn { padding: 7px 10px; font-size: 12px; min-height: 34px; }
  .shell4cdcf-identity__logo { width: 32px; height: 32px; }
  .shell4cdcf-identity__name { font-size: 17px; }
  h1.shell4cdcf-sec__h1 { font-size: 22px; }
  h2.shell4cdcf-sec__h2 { font-size: 17.5px; }
}

@media (min-width: 360px) {
  h1.shell4cdcf-sec__h1 { font-size: 25px; }
  .shell4cdcf-slide__cap { font-size: 13.5px; }
}

@media (min-width: 400px) {
  .shell4cdcf-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell4cdcf-game__title { font-size: 11.5px; }
}

@media (min-width: 431px) {
  .shell4cdcf-canvas { border-left: 1px solid #262626; border-right: 1px solid #262626; }
}

@media (prefers-reduced-motion: reduce) {
  .shell4cdcf-drawer,
  .shell4cdcf-scrim,
  .shell4cdcf-game,
  .shell4cdcf-btn,
  .shell4cdcf-iconbtn__bars i { transition: none; }
}

/* Help-page compositions: each page uses a different reading rhythm. */
.shell4cdcf-help-intro {
  padding: 14px 14px 16px;
  border: 1px solid var(--shell4cdcf-line);
  border-radius: 12px;
  background: linear-gradient(145deg, #2b2521, #201f1f 62%);
}
.shell4cdcf-help-intro__eyebrow {
  margin: 0 0 7px;
  color: var(--shell4cdcf-brand-hi);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.shell4cdcf-help-intro h1 { margin: 0 0 9px; font-size: 24px; line-height: 1.3; }
.shell4cdcf-help-intro p { margin: 0; color: var(--shell4cdcf-ink-soft); font-size: 14px; }
.shell4cdcf-rule { height: 1px; margin: 20px 0; background: var(--shell4cdcf-line-soft); border: 0; }
.shell4cdcf-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.shell4cdcf-fact { padding: 11px; border-left: 3px solid var(--shell4cdcf-brand); background: var(--shell4cdcf-bg-panel); border-radius: 0 8px 8px 0; }
.shell4cdcf-fact strong { display: block; color: var(--shell4cdcf-ink); font-size: 13px; }
.shell4cdcf-fact span { display: block; margin-top: 3px; color: var(--shell4cdcf-ink-mute); font-size: 11.5px; line-height: 1.5; }
.shell4cdcf-accordion { margin: 12px 0; }
.shell4cdcf-accordion details { margin: 8px 0; padding: 0 11px; border: 1px solid var(--shell4cdcf-line-soft); border-radius: 8px; background: #202020; }
.shell4cdcf-accordion summary { padding: 11px 0; cursor: pointer; color: var(--shell4cdcf-ink); font-size: 13.5px; font-weight: 700; }
.shell4cdcf-accordion details p { margin: 0 0 12px; color: var(--shell4cdcf-ink-soft); font-size: 13px; }
.shell4cdcf-callout { margin: 16px 0; padding: 13px 14px; border-radius: 9px; background: #28221e; border: 1px solid #574031; }
.shell4cdcf-callout h3 { margin: 0 0 6px; color: var(--shell4cdcf-warn); font-size: 15px; }
.shell4cdcf-callout p { margin: 0; color: var(--shell4cdcf-ink-soft); font-size: 13px; }
.shell4cdcf-linkrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.shell4cdcf-linkrow a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 11px; border: 1px solid var(--shell4cdcf-line); border-radius: 999px; background: var(--shell4cdcf-bg-panel); font-size: 12px; }
.shell4cdcf-issue-list { margin: 10px 0 14px; padding: 0; list-style: none; }
.shell4cdcf-issue-list li { margin: 7px 0; padding: 9px 10px 9px 30px; position: relative; color: var(--shell4cdcf-ink-soft); font-size: 13px; background: var(--shell4cdcf-bg-panel); border-radius: 7px; }
.shell4cdcf-issue-list li::before { content: "!"; position: absolute; left: 10px; top: 9px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: var(--shell4cdcf-brand-soft); color: var(--shell4cdcf-brand-hi); font-size: 10px; font-weight: 700; }
.shell4cdcf-profile { padding: 14px; border: 1px solid var(--shell4cdcf-line-soft); border-radius: 12px; background: #202020; }
.shell4cdcf-profile__row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--shell4cdcf-line-soft); font-size: 12.5px; }
.shell4cdcf-profile__row:last-child { border-bottom: 0; }
.shell4cdcf-profile__row strong { color: var(--shell4cdcf-ink); }
.shell4cdcf-profile__row span { color: var(--shell4cdcf-ink-soft); }
.shell4cdcf-proscons { display: grid; gap: 10px; margin: 12px 0; }
.shell4cdcf-proscons > div { padding: 12px; border-radius: 8px; background: var(--shell4cdcf-bg-panel); }
.shell4cdcf-proscons h3 { margin: 0 0 5px; color: var(--shell4cdcf-brand-hi); font-size: 14px; }
.shell4cdcf-proscons ul { margin: 0; padding-left: 18px; color: var(--shell4cdcf-ink-soft); font-size: 13px; }
.shell4cdcf-proscons li { margin: 4px 0; }

@media (max-width: 359px) {
  .shell4cdcf-help-intro h1 { font-size: 22px; }
  .shell4cdcf-profile__row { grid-template-columns: 82px 1fr; }
}
