/* ==========================================================================
   2222 bet login - mobile-first viewport stylesheet
   Canvas: 320-430px phone column, centered on wide screens.
   Palette: #FFB6C1 / #FF69B4 / #DEE2E6 / #2E4057 / #D3D3D3 / #FF6347
   Design voice: mono accents + regular body, mixed radii, pure image cards,
   step-progress rhythm, restrained fade feedback, compact dual CTAs.
   ========================================================================== */

:root {
  --shell78ac2-night: #2e4057;
  --shell78ac2-night-deep: #22334b;
  --shell78ac2-night-soft: #35496b;
  --shell78ac2-steel: #3f557a;
  --shell78ac2-pink: #ff69b4;
  --shell78ac2-blush: #ffb6c1;
  --shell78ac2-tomato: #ff6347;
  --shell78ac2-mist: #dee2e6;
  --shell78ac2-silver: #d3d3d3;
  --shell78ac2-ink: #1c2a3f;
  --shell78ac2-line: rgba(222, 226, 230, 0.16);
  --shell78ac2-line-strong: rgba(255, 105, 180, 0.42);
  --shell78ac2-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shell78ac2-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular",
    Menlo, Consolas, "Liberation Mono", monospace;
  --shell78ac2-r-xs: 4px;
  --shell78ac2-r-sm: 8px;
  --shell78ac2-r-md: 14px;
  --shell78ac2-r-lg: 20px;
  --shell78ac2-r-pill: 999px;
  --shell78ac2-pad: 14px;
  --shell78ac2-tap: 44px;
}

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

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

body {
  background: #1a2637;
  font-family: var(--shell78ac2-font-body);
  color: var(--shell78ac2-mist);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

a { color: var(--shell78ac2-blush); text-decoration: none; }

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

:focus-visible {
  outline: 2px solid var(--shell78ac2-pink);
  outline-offset: 2px;
  border-radius: var(--shell78ac2-r-xs);
}

/* Phone canvas: fixed 430px column keeps the mobile layout on desktop. */
.shell78ac2-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 44% at 50% 0%, rgba(255, 105, 180, 0.14), transparent 62%),
    var(--shell78ac2-night);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 44px rgba(0, 0, 0, 0.5);
  overflow-x: clip;
}

.shell78ac2-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.shell78ac2-mono {
  font-family: var(--shell78ac2-font-mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Header: edge-aligned functional bar (brand flush left, actions flush right)
   ========================================================================== */

.shell78ac2-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(34, 51, 75, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell78ac2-line);
}

.shell78ac2-head-in {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 56px;
  padding: 8px 12px;
}

.shell78ac2-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-right: auto;
  color: var(--shell78ac2-mist);
}

.shell78ac2-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--shell78ac2-r-sm);
  border: 1px solid var(--shell78ac2-line-strong);
  flex: none;
}

.shell78ac2-brand-name {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell78ac2-menu-btn {
  flex: none;
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--shell78ac2-silver);
  border-radius: var(--shell78ac2-r-sm);
  transition: color 0.25s ease, background 0.25s ease;
}

.shell78ac2-menu-btn:hover { color: var(--shell78ac2-pink); background: rgba(255, 105, 180, 0.08); }

.shell78ac2-menu-btn[aria-expanded="true"] { color: var(--shell78ac2-pink); }

.shell78ac2-login-btn,
.shell78ac2-reg-btn {
  flex: none;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: var(--shell78ac2-r-pill);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  transition: filter 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.shell78ac2-login-btn {
  border: 1px solid var(--shell78ac2-line-strong);
  color: var(--shell78ac2-blush);
}

.shell78ac2-login-btn:hover { background: rgba(255, 105, 180, 0.12); }

.shell78ac2-reg-btn {
  background: linear-gradient(135deg, var(--shell78ac2-pink), var(--shell78ac2-tomato));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 99, 71, 0.35);
}

.shell78ac2-reg-btn:hover { filter: brightness(1.08); }

/* Compact route panel: drops straight under the header bar. */
.shell78ac2-routes {
  display: none;
  border-top: 1px solid var(--shell78ac2-line);
  background: var(--shell78ac2-night-deep);
  padding: 10px 12px 14px;
}

.shell78ac2-routes.shell78ac2-open { display: block; }

.shell78ac2-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell78ac2-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 9px;
  border: 1px solid var(--shell78ac2-line);
  border-radius: var(--shell78ac2-r-sm);
  background: rgba(62, 85, 122, 0.22);
  color: var(--shell78ac2-mist);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.shell78ac2-route:hover {
  background: rgba(255, 105, 180, 0.12);
  border-color: var(--shell78ac2-line-strong);
}

.shell78ac2-route-num {
  font-family: var(--shell78ac2-font-mono);
  font-size: 10.5px;
  color: var(--shell78ac2-pink);
  border: 1px solid var(--shell78ac2-line-strong);
  border-radius: var(--shell78ac2-r-xs);
  padding: 1px 4px;
  flex: none;
}

.shell78ac2-route-current {
  border-color: var(--shell78ac2-pink);
  background: rgba(255, 105, 180, 0.16);
}

/* ==========================================================================
   Main flow
   ========================================================================== */

.shell78ac2-main { padding: 4px var(--shell78ac2-pad) 8px; }

.shell78ac2-section { margin-top: 22px; }

.shell78ac2-h2 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.005em;
}

.shell78ac2-h2 em {
  font-style: normal;
  color: var(--shell78ac2-pink);
}

.shell78ac2-section-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 6px;
}

.shell78ac2-count-chip {
  flex: none;
  margin-top: 3px;
  font-family: var(--shell78ac2-font-mono);
  font-size: 10.5px;
  color: var(--shell78ac2-blush);
  border: 1px solid var(--shell78ac2-line-strong);
  background: rgba(255, 105, 180, 0.1);
  border-radius: var(--shell78ac2-r-pill);
  padding: 2px 9px;
}

.shell78ac2-lede {
  font-size: 13.5px;
  color: var(--shell78ac2-silver);
  margin-bottom: 10px;
}

.shell78ac2-lede a {
  color: var(--shell78ac2-blush);
  border-bottom: 1px dashed var(--shell78ac2-line-strong);
  font-weight: 700;
}

/* Hero */
.shell78ac2-hero {
  padding: 18px 2px 4px;
}

.shell78ac2-hero h1 {
  font-size: 21px;
  line-height: 1.45;
  font-weight: 800;
  color: #ffffff;
}

.shell78ac2-hero h1 .shell78ac2-h1-accent {
  color: var(--shell78ac2-pink);
  font-family: var(--shell78ac2-font-mono);
  font-size: 19px;
}

.shell78ac2-hero p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--shell78ac2-silver);
}

.shell78ac2-duo {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.shell78ac2-duo > button {
  flex: 1 1 0;
  min-height: var(--shell78ac2-tap);
  border-radius: var(--shell78ac2-r-md);
  font-size: 14px;
  font-weight: 800;
  transition: filter 0.25s ease, background 0.25s ease;
}

.shell78ac2-duo-primary {
  background: linear-gradient(135deg, var(--shell78ac2-pink), var(--shell78ac2-tomato));
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 99, 71, 0.32);
}

.shell78ac2-duo-ghost {
  border: 1px solid var(--shell78ac2-line-strong);
  color: var(--shell78ac2-blush);
  background: rgba(34, 51, 75, 0.6);
}

.shell78ac2-duo-primary:hover { filter: brightness(1.08); }

.shell78ac2-duo-ghost:hover { background: rgba(255, 105, 180, 0.12); }

/* Quick mono stat strip */
.shell78ac2-strip {
  display: flex;
  gap: 8px;
  margin: 16px 0 2px;
  padding: 9px 10px;
  border: 1px dashed var(--shell78ac2-line-strong);
  border-radius: var(--shell78ac2-r-md);
  background: rgba(34, 51, 75, 0.55);
  overflow-x: auto;
  scrollbar-width: none;
}

.shell78ac2-strip::-webkit-scrollbar { display: none; }

.shell78ac2-strip span {
  flex: none;
  font-family: var(--shell78ac2-font-mono);
  font-size: 11px;
  color: var(--shell78ac2-blush);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.shell78ac2-strip i {
  flex: none;
  color: var(--shell78ac2-tomato);
  font-style: normal;
}

/* ==========================================================================
   Carousel: crossfade slides, dots on the right, caption chip on the left
   ========================================================================== */

.shell78ac2-carousel {
  position: relative;
  margin-top: 14px;
  border-radius: var(--shell78ac2-r-lg);
  overflow: hidden;
  border: 1px solid var(--shell78ac2-line);
  aspect-ratio: 430 / 176;
  background: var(--shell78ac2-night-deep);
}

.shell78ac2-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.shell78ac2-slide.shell78ac2-on { opacity: 1; z-index: 1; }

.shell78ac2-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell78ac2-slide-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: 74%;
  padding: 5px 11px;
  border-radius: var(--shell78ac2-r-pill);
  background: rgba(28, 42, 63, 0.82);
  border: 1px solid var(--shell78ac2-line-strong);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--shell78ac2-blush);
  backdrop-filter: blur(4px);
}

.shell78ac2-dots {
  position: absolute;
  right: 10px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.shell78ac2-dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.shell78ac2-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(222, 226, 230, 0.4);
  transition: background 0.25s ease, transform 0.25s ease;
}

.shell78ac2-dot[aria-selected="true"]::before {
  background: var(--shell78ac2-pink);
  transform: scale(1.25);
}

/* ==========================================================================
   Game grids: pure image cards with short names underneath
   ========================================================================== */

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

.shell78ac2-gcard {
  display: block;
  min-width: 0;
  border-radius: var(--shell78ac2-r-md);
  background: var(--shell78ac2-night-deep);
  border: 1px solid var(--shell78ac2-line);
  padding: 4px 4px 7px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.shell78ac2-gcard:hover,
.shell78ac2-gcard:active {
  border-color: var(--shell78ac2-line-strong);
  background: var(--shell78ac2-night-soft);
}

.shell78ac2-gimg {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #1a2637;
}

.shell78ac2-gimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell78ac2-gname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 6px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--shell78ac2-mist);
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Step blocks (security): numbered rail with mono badges
   ========================================================================== */

.shell78ac2-steps {
  list-style: none;
  position: relative;
  margin-top: 10px;
  padding-left: 0;
}

.shell78ac2-steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(180deg, var(--shell78ac2-pink), rgba(255, 99, 71, 0.25));
  opacity: 0.55;
}

.shell78ac2-steps li {
  position: relative;
  padding: 0 0 16px 48px;
}

.shell78ac2-steps li:last-child { padding-bottom: 2px; }

.shell78ac2-step-badge {
  position: absolute;
  left: 0;
  top: 2px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--shell78ac2-night-deep);
  border: 1px solid var(--shell78ac2-line-strong);
  font-family: var(--shell78ac2-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell78ac2-pink);
}

.shell78ac2-steps h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
}

.shell78ac2-steps p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--shell78ac2-silver);
}

/* Milestone track (progress rhythm) */
.shell78ac2-miles {
  margin-top: 12px;
  border: 1px solid var(--shell78ac2-line);
  border-radius: var(--shell78ac2-r-md);
  background: var(--shell78ac2-night-deep);
  padding: 12px 12px 4px;
}

.shell78ac2-mile { padding-bottom: 12px; }

.shell78ac2-mile-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.shell78ac2-mile-top strong { font-size: 13px; color: #ffffff; font-weight: 700; }

.shell78ac2-mile-top span {
  font-family: var(--shell78ac2-font-mono);
  font-size: 10.5px;
  color: var(--shell78ac2-blush);
}

.shell78ac2-mile-bar {
  margin-top: 6px;
  height: 8px;
  border-radius: var(--shell78ac2-r-pill);
  background: rgba(211, 211, 211, 0.16);
  overflow: hidden;
}

.shell78ac2-mile-fill {
  height: 100%;
  border-radius: var(--shell78ac2-r-pill);
  background: linear-gradient(90deg, var(--shell78ac2-pink), var(--shell78ac2-tomato));
}

.shell78ac2-mile p {
  margin-top: 5px;
  font-size: 12px;
  color: var(--shell78ac2-silver);
}

/* Payment condition list */
.shell78ac2-paylist { margin-top: 10px; }

.shell78ac2-payrow {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding: 10px 2px;
  border-top: 1px solid var(--shell78ac2-line);
}

.shell78ac2-payrow:last-child { border-bottom: 1px solid var(--shell78ac2-line); }

.shell78ac2-payrow dt {
  font-family: var(--shell78ac2-font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--shell78ac2-pink);
  letter-spacing: 0.03em;
}

.shell78ac2-payrow dd {
  font-size: 13px;
  color: var(--shell78ac2-silver);
}

/* Feature comparison chips */
.shell78ac2-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.shell78ac2-feat {
  border: 1px solid var(--shell78ac2-line);
  border-left: 3px solid var(--shell78ac2-pink);
  border-radius: var(--shell78ac2-r-sm);
  background: rgba(34, 51, 75, 0.6);
  padding: 9px 10px;
}

.shell78ac2-feat:nth-child(even) { border-left-color: var(--shell78ac2-tomato); }

.shell78ac2-feat b {
  display: block;
  font-family: var(--shell78ac2-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--shell78ac2-blush);
  margin-bottom: 3px;
}

.shell78ac2-feat span { font-size: 12px; color: var(--shell78ac2-silver); line-height: 1.6; }

/* CTA band */
.shell78ac2-cta {
  margin-top: 24px;
  border-radius: var(--shell78ac2-r-lg);
  padding: 16px 14px;
  background:
    linear-gradient(150deg, rgba(255, 105, 180, 0.16), rgba(255, 99, 71, 0.1)),
    var(--shell78ac2-night-deep);
  border: 1px solid var(--shell78ac2-line-strong);
}

.shell78ac2-cta h2 { font-size: 17px; color: #ffffff; }

.shell78ac2-cta p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--shell78ac2-silver);
}

.shell78ac2-cta .shell78ac2-duo { margin-top: 12px; }

/* Fact summary */
.shell78ac2-facts {
  margin-top: 10px;
  border: 1px dashed var(--shell78ac2-line);
  border-radius: var(--shell78ac2-r-md);
  overflow: hidden;
}

.shell78ac2-fact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(34, 51, 75, 0.55);
}

.shell78ac2-fact + .shell78ac2-fact { border-top: 1px dashed var(--shell78ac2-line); }

.shell78ac2-fact dt {
  font-family: var(--shell78ac2-font-mono);
  font-size: 10.5px;
  color: var(--shell78ac2-pink);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.shell78ac2-fact dd { font-size: 13px; color: var(--shell78ac2-mist); }

/* ==========================================================================
   Extended footer: brand > promo corner > page directory > disclaimer
   ========================================================================== */

.shell78ac2-ext {
  margin-top: 26px;
  padding: 18px var(--shell78ac2-pad) 6px;
  border-top: 1px solid var(--shell78ac2-line);
  background: var(--shell78ac2-night-deep);
}

.shell78ac2-ext-section { margin-bottom: 20px; }

.shell78ac2-ext h2 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.shell78ac2-ext h2::before {
  content: "//";
  font-family: var(--shell78ac2-font-mono);
  color: var(--shell78ac2-tomato);
  margin-right: 7px;
  font-size: 13px;
}

.shell78ac2-ext-brand p { font-size: 12.5px; color: var(--shell78ac2-silver); }

.shell78ac2-promos { list-style: none; }

.shell78ac2-promos a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 4px;
  border-bottom: 1px solid var(--shell78ac2-line);
  color: var(--shell78ac2-mist);
  font-size: 13.5px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

.shell78ac2-promos a:hover { color: var(--shell78ac2-blush); }

.shell78ac2-promo-ic {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--shell78ac2-r-sm);
  background: rgba(255, 105, 180, 0.12);
  border: 1px solid var(--shell78ac2-line-strong);
  color: var(--shell78ac2-pink);
}

.shell78ac2-promo-arrow {
  margin-left: auto;
  font-family: var(--shell78ac2-font-mono);
  color: var(--shell78ac2-tomato);
  font-size: 13px;
}

.shell78ac2-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell78ac2-directory a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 5px 8px;
  border: 1px solid var(--shell78ac2-line);
  border-radius: var(--shell78ac2-r-xs);
  font-size: 12px;
  font-weight: 600;
  color: var(--shell78ac2-mist);
  line-height: 1.4;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.shell78ac2-directory a:hover {
  background: rgba(255, 105, 180, 0.1);
  border-color: var(--shell78ac2-line-strong);
}

.shell78ac2-directory i {
  font-style: normal;
  font-family: var(--shell78ac2-font-mono);
  font-size: 10px;
  color: var(--shell78ac2-tomato);
  flex: none;
}

.shell78ac2-disclaimer {
  border-left: 3px solid var(--shell78ac2-tomato);
  border-radius: var(--shell78ac2-r-xs);
  background: rgba(255, 99, 71, 0.07);
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--shell78ac2-silver);
}

/* Common footer */
.shell78ac2-foot {
  padding: 14px var(--shell78ac2-pad) calc(20px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--shell78ac2-line);
  background: var(--shell78ac2-night-deep);
}

.shell78ac2-foot p {
  font-family: var(--shell78ac2-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: rgba(211, 211, 211, 0.75);
}

/* Reserve room so the fixed bottom bar never covers the last lines. */
.shell78ac2-bottom-spacer {
  height: calc(64px + env(safe-area-inset-bottom));
}

/* ==========================================================================
   Bottom nav: segmented action bar pinned to the phone canvas
   ========================================================================== */

.shell78ac2-bnav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(27, 40, 60, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell78ac2-line);
  padding-bottom: env(safe-area-inset-bottom);
}

.shell78ac2-bnav a,
.shell78ac2-bnav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  padding: 7px 2px 8px;
  color: rgba(211, 211, 211, 0.78);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.shell78ac2-bnav a + a,
.shell78ac2-bnav a + button,
.shell78ac2-bnav button + a,
.shell78ac2-bnav button + button {
  border-left: 1px solid rgba(222, 226, 230, 0.08);
}

.shell78ac2-bnav svg { width: 21px; height: 21px; flex: none; }

.shell78ac2-bnav a:hover,
.shell78ac2-bnav button:hover { color: var(--shell78ac2-blush); }

/* Active marker: slim bar on top + emphasized label color. */
.shell78ac2-bnav .shell78ac2-bnav-on { color: var(--shell78ac2-pink); }

.shell78ac2-bnav .shell78ac2-bnav-on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  border-radius: 0 0 var(--shell78ac2-r-pill) var(--shell78ac2-r-pill);
  background: linear-gradient(90deg, var(--shell78ac2-pink), var(--shell78ac2-tomato));
}

/* Promo segments carry a warm tone dot as a light marker. */
.shell78ac2-bnav-promo::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 18%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--shell78ac2-tomato);
}

/* ==========================================================================
   Restrained reveal feedback (JS pre-hides, observer fades in)
   ========================================================================== */

.shell78ac2-pre {
  opacity: 0;
  transform: translateY(10px);
}

.shell78ac2-reveal {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.shell78ac2-in { opacity: 1; transform: none; }

/* ==========================================================================
   Narrow-canvas refinements
   ========================================================================== */

@media (max-width: 359px) {
  .shell78ac2-brand img { width: 28px; height: 28px; }
  .shell78ac2-brand-name { font-size: 12.5px; }
  .shell78ac2-login-btn, .shell78ac2-reg-btn { padding: 6px 9px; font-size: 11.5px; }
  .shell78ac2-hero h1 { font-size: 19px; }
  .shell78ac2-routes-grid { grid-template-columns: 1fr; }
}

/* Slightly wider phones gain a fifth game column. */
@media (min-width: 396px) {
  .shell78ac2-ggrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell78ac2-gname { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .shell78ac2-pre { opacity: 1; transform: none; }
}

/* Help-page accents: branching notes, evidence rows, and compact action markers. */
.shell78ac2-help-hero {
  margin: 14px 0 18px;
  padding: 18px 14px 16px;
  border: 1px solid var(--shell78ac2-line-strong);
  border-radius: 4px 20px 12px 20px;
  background: linear-gradient(145deg, rgba(255, 105, 180, 0.16), rgba(46, 64, 87, 0.9));
}

.shell78ac2-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--shell78ac2-line-strong);
  border-radius: var(--shell78ac2-r-pill);
  color: var(--shell78ac2-blush);
  font-family: var(--shell78ac2-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shell78ac2-help-hero h1 { margin-top: 9px; }
.shell78ac2-help-hero p { margin-top: 8px; color: var(--shell78ac2-silver); font-size: 13.5px; }

.shell78ac2-signal-grid,
.shell78ac2-branch-grid,
.shell78ac2-device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shell78ac2-signal,
.shell78ac2-branch,
.shell78ac2-device {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--shell78ac2-line);
  border-radius: var(--shell78ac2-r-sm);
  background: rgba(34, 51, 75, 0.7);
}

.shell78ac2-signal strong,
.shell78ac2-branch h3,
.shell78ac2-device h3 {
  display: block;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
}

.shell78ac2-signal span,
.shell78ac2-branch p,
.shell78ac2-device p {
  display: block;
  margin-top: 4px;
  color: var(--shell78ac2-silver);
  font-size: 12px;
  line-height: 1.6;
}

.shell78ac2-signal b {
  display: block;
  margin-bottom: 3px;
  color: var(--shell78ac2-pink);
  font-family: var(--shell78ac2-font-mono);
  font-size: 10px;
}

.shell78ac2-branch { border-top: 3px solid var(--shell78ac2-pink); }
.shell78ac2-branch:nth-child(2n) { border-top-color: var(--shell78ac2-tomato); }
.shell78ac2-branch h3 { font-size: 14px; }

.shell78ac2-promo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 9px;
  padding: 7px 11px;
  border: 1px solid var(--shell78ac2-line-strong);
  border-radius: var(--shell78ac2-r-sm);
  background: rgba(255, 105, 180, 0.1);
  color: var(--shell78ac2-blush);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.shell78ac2-promo-action:hover {
  background: linear-gradient(135deg, var(--shell78ac2-pink), var(--shell78ac2-tomato));
  color: #ffffff;
  transform: translateY(-1px);
}

.shell78ac2-flow {
  list-style: none;
  counter-reset: portal-flow;
  margin-top: 12px;
}

.shell78ac2-flow li {
  position: relative;
  counter-increment: portal-flow;
  margin-bottom: 9px;
  padding: 12px 12px 12px 48px;
  border-left: 2px solid var(--shell78ac2-pink);
  border-radius: 0 var(--shell78ac2-r-sm) var(--shell78ac2-r-sm) 0;
  background: rgba(34, 51, 75, 0.65);
}

.shell78ac2-flow li::before {
  content: counter(portal-flow, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 13px;
  color: var(--shell78ac2-tomato);
  font-family: var(--shell78ac2-font-mono);
  font-size: 11px;
  font-weight: 700;
}

.shell78ac2-flow h3 { color: #ffffff; font-size: 14px; line-height: 1.5; }
.shell78ac2-flow p { margin-top: 3px; color: var(--shell78ac2-silver); font-size: 13px; }

.shell78ac2-answer-list { margin-top: 10px; }
.shell78ac2-answer-list details {
  border-bottom: 1px solid var(--shell78ac2-line);
  padding: 3px 0;
}

.shell78ac2-answer-list summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.shell78ac2-answer-list summary::-webkit-details-marker { display: none; }
.shell78ac2-answer-list summary::after { content: "+"; color: var(--shell78ac2-pink); font-family: var(--shell78ac2-font-mono); }
.shell78ac2-answer-list details[open] summary::after { content: "-"; color: var(--shell78ac2-tomato); }
.shell78ac2-answer-list details p { padding: 0 4px 10px 0; color: var(--shell78ac2-silver); font-size: 13px; }

.shell78ac2-requirements {
  margin-top: 11px;
  padding: 12px;
  border: 1px dashed var(--shell78ac2-line-strong);
  border-radius: var(--shell78ac2-r-md);
  background: rgba(34, 51, 75, 0.62);
}

.shell78ac2-requirements li,
.shell78ac2-takeaways li {
  margin: 7px 0 0 18px;
  padding-left: 3px;
  color: var(--shell78ac2-silver);
  font-size: 13px;
}

.shell78ac2-requirements li::marker,
.shell78ac2-takeaways li::marker { color: var(--shell78ac2-pink); font-family: var(--shell78ac2-font-mono); }
.shell78ac2-takeaways { margin-top: 10px; padding-left: 18px; }
.shell78ac2-callout {
  margin-top: 12px;
  padding: 11px 12px;
  border-left: 3px solid var(--shell78ac2-tomato);
  border-radius: var(--shell78ac2-r-xs);
  background: rgba(255, 99, 71, 0.08);
  color: var(--shell78ac2-mist);
  font-size: 13px;
}

/* Review page uses a ledger and relationship map rather than the tips flow. */
.shell78ac2-review-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.shell78ac2-review-stat {
  padding: 9px 6px;
  border-top: 2px solid var(--shell78ac2-pink);
  background: var(--shell78ac2-night-deep);
  text-align: center;
}

.shell78ac2-review-stat:nth-child(2) { border-top-color: var(--shell78ac2-tomato); }
.shell78ac2-review-stat:nth-child(3) { border-top-color: var(--shell78ac2-blush); }
.shell78ac2-review-stat b { display: block; color: #ffffff; font-family: var(--shell78ac2-font-mono); font-size: 13px; }
.shell78ac2-review-stat span { display: block; margin-top: 3px; color: var(--shell78ac2-silver); font-size: 10.5px; line-height: 1.4; }

.shell78ac2-device-grid { grid-template-columns: 1fr 1fr; }
.shell78ac2-device h3::before { content: "•"; margin-right: 5px; color: var(--shell78ac2-pink); }
.shell78ac2-device:nth-child(2n) h3::before { color: var(--shell78ac2-tomato); }

.shell78ac2-error-ledger { margin-top: 11px; }
.shell78ac2-error-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid var(--shell78ac2-line);
}

.shell78ac2-error-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: var(--shell78ac2-r-xs);
  background: rgba(255, 99, 71, 0.14);
  color: var(--shell78ac2-tomato);
  font-family: var(--shell78ac2-font-mono);
  font-weight: 700;
}

.shell78ac2-error-row strong { display: block; color: #ffffff; font-size: 13.5px; }
.shell78ac2-error-row p { margin-top: 3px; color: var(--shell78ac2-silver); font-size: 12.5px; }

.shell78ac2-checklist {
  margin-top: 11px;
  padding: 9px 11px;
  border: 1px solid var(--shell78ac2-line);
  border-radius: var(--shell78ac2-r-sm);
  background: rgba(34, 51, 75, 0.65);
}

.shell78ac2-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--shell78ac2-line);
  color: var(--shell78ac2-mist);
  font-size: 13px;
}

.shell78ac2-check:last-child { border-bottom: 0; }
.shell78ac2-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--shell78ac2-pink); flex: none; }
.shell78ac2-check em { display: block; color: var(--shell78ac2-silver); font-size: 11.5px; font-style: normal; }

.shell78ac2-verify-table { margin-top: 11px; border: 1px solid var(--shell78ac2-line); border-radius: var(--shell78ac2-r-sm); overflow: hidden; }
.shell78ac2-verify-row { display: grid; grid-template-columns: 100px 1fr; gap: 9px; padding: 10px; background: rgba(34, 51, 75, 0.64); }
.shell78ac2-verify-row + .shell78ac2-verify-row { border-top: 1px solid var(--shell78ac2-line); }
.shell78ac2-verify-row b { color: var(--shell78ac2-pink); font-family: var(--shell78ac2-font-mono); font-size: 10.5px; line-height: 1.55; }
.shell78ac2-verify-row span { color: var(--shell78ac2-silver); font-size: 12.5px; }

.shell78ac2-entity-map { margin-top: 11px; display: grid; gap: 6px; }
.shell78ac2-entity {
  display: grid;
  grid-template-columns: 94px 18px 1fr;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 7px 9px;
  border: 1px solid var(--shell78ac2-line);
  border-radius: var(--shell78ac2-r-xs);
  background: rgba(34, 51, 75, 0.66);
}

.shell78ac2-entity b { color: var(--shell78ac2-blush); font-size: 12px; }
.shell78ac2-entity i { color: var(--shell78ac2-tomato); font-family: var(--shell78ac2-font-mono); font-style: normal; text-align: center; }
.shell78ac2-entity span { color: var(--shell78ac2-silver); font-size: 12px; }

.shell78ac2-numbered-guide { list-style: none; counter-reset: review-guide; margin-top: 11px; }
.shell78ac2-numbered-guide li { counter-increment: review-guide; position: relative; padding: 10px 10px 10px 40px; background: rgba(34, 51, 75, 0.64); }
.shell78ac2-numbered-guide li + li { margin-top: 5px; }
.shell78ac2-numbered-guide li::before { content: counter(review-guide); position: absolute; left: 12px; top: 11px; color: var(--shell78ac2-pink); font-family: var(--shell78ac2-font-mono); font-weight: 700; }
.shell78ac2-numbered-guide strong { display: block; color: #ffffff; font-size: 13.5px; }
.shell78ac2-numbered-guide p { margin-top: 3px; color: var(--shell78ac2-silver); font-size: 12.5px; }

@media (max-width: 359px) {
  .shell78ac2-review-board { grid-template-columns: 1fr; }
  .shell78ac2-review-stat { text-align: left; padding-left: 10px; }
  .shell78ac2-entity { grid-template-columns: 82px 16px 1fr; gap: 5px; }
}
