/* =====================================================================
   ke789.click — dynamic-6c4cbe-canvas.css
   Mobile-first canvas stylesheet tuned for a 320–430px phone canvas.
   Class prefix : shellc4cbe-
   Palette      : coral #FF7F50 / ink #0F0F23 / ember #BF360C
                  paper #EEEEEE / gold #FFEB3B
   Visual voice : bold compact headings + light body, softly rounded
                  cards with tight buttons, grouped cover-card game
                  grids, step-driven rhythm, restrained fade motion,
                  staggered primary/secondary CTA sizes.
   ===================================================================== */

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
  --shellc4cbe-ink: #0F0F23;
  --shellc4cbe-ink-deep: #0A0A18;
  --shellc4cbe-canvas-edge: #070714;
  --shellc4cbe-panel: #14142E;
  --shellc4cbe-panel-2: #181838;
  --shellc4cbe-line: #2C2C58;
  --shellc4cbe-line-soft: #20203F;
  --shellc4cbe-coral: #FF7F50;
  --shellc4cbe-ember: #BF360C;
  --shellc4cbe-paper: #EEEEEE;
  --shellc4cbe-mist: #B9B9D6;
  --shellc4cbe-mute: #8A8AAF;
  --shellc4cbe-gold: #FFEB3B;
  --shellc4cbe-on-accent: #1B0F07;
  --shellc4cbe-radius: 14px;
  --shellc4cbe-radius-s: 10px;
  --shellc4cbe-topbar-h: 58px;
  --shellc4cbe-dock-h: 62px;
  --shellc4cbe-font: "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "PingFang SC", sans-serif;
  --shellc4cbe-shadow: 0 10px 26px rgba(4, 4, 14, 0.45);
  --shellc4cbe-press: transform 0.16s ease;
}

/* ---------------------------------------------------------------
   2. Base reset
   --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--shellc4cbe-canvas-edge);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.shellc4cbe-lock { overflow: hidden; }

body {
  margin: 0;
  background: var(--shellc4cbe-canvas-edge);
  color: var(--shellc4cbe-paper);
  font-family: var(--shellc4cbe-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

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

ul,
ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, p, figure { margin: 0; }

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

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--shellc4cbe-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--shellc4cbe-coral); color: var(--shellc4cbe-on-accent); }

/* ---------------------------------------------------------------
   3. Phone canvas (centered on wide screens, edge to edge <= 430px)
   --------------------------------------------------------------- */
.shellc4cbe-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% -8%, rgba(255, 127, 80, 0.16), transparent 62%),
    var(--shellc4cbe-ink);
  overflow-x: clip;
}

.shellc4cbe-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 120;
  padding: 9px 14px;
  border-radius: 0 0 10px 10px;
  background: var(--shellc4cbe-gold);
  color: var(--shellc4cbe-on-accent);
  font-weight: 800;
  font-size: 0.8rem;
  transition: top 0.2s ease;
}

.shellc4cbe-skip:focus { top: 0; }

/* ---------------------------------------------------------------
   4. Top bar — asymmetric brand head
   ----------------------------------------------------------------
   Brand block hugs the left with a tilted logo tile and gold dot;
   register / login / menu live in a separate action cluster.
   --------------------------------------------------------------- */
.shellc4cbe-topbar {
  position: fixed;
  top: 0;
  left: max(0px, calc(50% - 215px));
  width: 100%;
  max-width: 430px;
  z-index: 60;
  height: var(--shellc4cbe-topbar-h);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 8px;
  background: linear-gradient(180deg, #14142F 0%, rgba(15, 15, 35, 0.97) 100%);
  border-bottom: 1px solid var(--shellc4cbe-line);
  backdrop-filter: blur(9px);
}

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

.shellc4cbe-logo-tile {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  padding: 3px;
  border-radius: 12px 12px 12px 4px;
  background: linear-gradient(135deg, var(--shellc4cbe-ember), var(--shellc4cbe-coral));
  transform: rotate(-4deg);
  box-shadow: 0 4px 12px rgba(255, 127, 80, 0.3);
}

.shellc4cbe-logo-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
  background: var(--shellc4cbe-ink);
}

.shellc4cbe-logo-tile::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--shellc4cbe-gold);
}

.shellc4cbe-sitename {
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.shellc4cbe-sitename b {
  color: var(--shellc4cbe-coral);
  font-weight: 800;
}

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

.shellc4cbe-login {
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--shellc4cbe-radius-s);
  border: 1px solid var(--shellc4cbe-line);
  background: rgba(24, 24, 56, 0.6);
  font-weight: 700;
  font-size: 0.74rem;
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-register {
  min-height: 44px;
  padding: 0 11px;
  border-radius: var(--shellc4cbe-radius-s);
  background: linear-gradient(135deg, var(--shellc4cbe-coral), var(--shellc4cbe-ember));
  color: var(--shellc4cbe-on-accent);
  font-weight: 800;
  font-size: 0.74rem;
  box-shadow: 0 4px 14px rgba(255, 127, 80, 0.35);
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 4px;
  border-radius: var(--shellc4cbe-radius-s);
  border: 1px solid var(--shellc4cbe-line);
  background: rgba(24, 24, 56, 0.6);
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-burger i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--shellc4cbe-paper);
}

.shellc4cbe-burger i:nth-child(1) { width: 18px; }
.shellc4cbe-burger i:nth-child(2) { width: 12px; background: var(--shellc4cbe-gold); }
.shellc4cbe-burger i:nth-child(3) { width: 18px; }

.shellc4cbe-login:active,
.shellc4cbe-register:active,
.shellc4cbe-burger:active { transform: scale(0.93); }

/* ---------------------------------------------------------------
   5. Side drawer menu + scrim
   --------------------------------------------------------------- */
.shellc4cbe-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 5, 16, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.shellc4cbe-scrim.shellc4cbe-on { opacity: 1; visibility: visible; }

.shellc4cbe-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: max(0px, calc(50% - 215px));
  z-index: 80;
  width: min(84vw, 312px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #12122B;
  border-left: 1px solid var(--shellc4cbe-line);
  transform: translateX(103%);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.32, 1);
}

.shellc4cbe-drawer.shellc4cbe-open { transform: none; }

.shellc4cbe-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.shellc4cbe-drawer-title {
  font-size: 1rem;
  font-weight: 800;
}

.shellc4cbe-drawer-title span { color: var(--shellc4cbe-coral); }

.shellc4cbe-close {
  width: 44px;
  height: 44px;
  border-radius: var(--shellc4cbe-radius-s);
  border: 1px solid var(--shellc4cbe-line);
  background: var(--shellc4cbe-panel-2);
  display: grid;
  place-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--shellc4cbe-mist);
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-close:active { transform: scale(0.92); }

.shellc4cbe-drawer-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.shellc4cbe-drawer-ctas .shellc4cbe-register,
.shellc4cbe-drawer-ctas .shellc4cbe-login { width: 100%; }

.shellc4cbe-drawer-group { margin-bottom: 13px; }

.shellc4cbe-drawer-label {
  margin: 0 0 7px 2px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shellc4cbe-mute);
}

.shellc4cbe-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  margin-bottom: 6px;
  padding: 0 12px;
  border-radius: var(--shellc4cbe-radius-s);
  background: var(--shellc4cbe-panel-2);
  border: 1px solid var(--shellc4cbe-line-soft);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-drawer-link:active { transform: scale(0.97); }

.shellc4cbe-drawer-link .shellc4cbe-arrow { color: var(--shellc4cbe-coral); font-weight: 800; }

.shellc4cbe-drawer-link.shellc4cbe-here {
  background: rgba(255, 127, 80, 0.15);
  border-color: rgba(255, 127, 80, 0.55);
}

.shellc4cbe-drawer-note {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.66rem;
  line-height: 1.5;
  color: var(--shellc4cbe-mute);
}

/* ---------------------------------------------------------------
   6. Main column
   --------------------------------------------------------------- */
.shellc4cbe-main {
  padding:
    calc(var(--shellc4cbe-topbar-h) + 12px)
    12px
    calc(var(--shellc4cbe-dock-h) + 46px + env(safe-area-inset-bottom));
}

.shellc4cbe-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellc4cbe-gold);
}

.shellc4cbe-kicker::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--shellc4cbe-coral);
}

.shellc4cbe-h1 {
  margin: 7px 0 9px;
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0.01em;
}

.shellc4cbe-h1 mark {
  background: none;
  color: var(--shellc4cbe-coral);
}

.shellc4cbe-lead {
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--shellc4cbe-mist);
}

.shellc4cbe-lead strong,
.shellc4cbe-sec-intro strong { color: var(--shellc4cbe-paper); }

.shellc4cbe-textroute {
  color: var(--shellc4cbe-coral);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 127, 80, 0.55);
  padding-bottom: 1px;
}

/* ---------------------------------------------------------------
   7. Hero carousel
   --------------------------------------------------------------- */
.shellc4cbe-hero {
  position: relative;
  margin: 15px 0 13px;
  border-radius: var(--shellc4cbe-radius);
  overflow: hidden;
  border: 1px solid var(--shellc4cbe-line);
  box-shadow: var(--shellc4cbe-shadow);
  background: var(--shellc4cbe-panel);
}

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

.shellc4cbe-slide-btn {
  flex: 0 0 100%;
  position: relative;
  width: 100%;
  display: block;
  text-align: left;
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-slide-btn:active { opacity: 0.92; }

.shellc4cbe-slide-btn img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shellc4cbe-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 30px 12px 11px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 20, 0.92));
}

.shellc4cbe-cap-kick {
  display: block;
  margin-bottom: 3px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--shellc4cbe-gold);
}

.shellc4cbe-cap-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.28;
}

.shellc4cbe-cap-cta {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--shellc4cbe-gold);
  color: var(--shellc4cbe-on-accent);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.shellc4cbe-dots {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.shellc4cbe-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(238, 238, 238, 0.42);
  transition: width 0.25s ease, background 0.25s ease;
}

.shellc4cbe-dot.shellc4cbe-dot-on {
  width: 16px;
  background: var(--shellc4cbe-gold);
}

/* ---------------------------------------------------------------
   8. Category chip strip (anchors to game groups)
   --------------------------------------------------------------- */
.shellc4cbe-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 11px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shellc4cbe-catstrip::-webkit-scrollbar { display: none; }

.shellc4cbe-cat-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--shellc4cbe-panel-2);
  border: 1px solid var(--shellc4cbe-line-soft);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-cat-chip:active { transform: scale(0.94); }

.shellc4cbe-cat-chip em {
  font-style: normal;
  color: var(--shellc4cbe-coral);
  font-weight: 800;
}

.shellc4cbe-cat-chip.shellc4cbe-chip-gold em { color: var(--shellc4cbe-gold); }

/* ---------------------------------------------------------------
   9. Game groups — grouped cover cards
   --------------------------------------------------------------- */
.shellc4cbe-sec {
  margin: 20px 0 0;
  scroll-margin-top: calc(var(--shellc4cbe-topbar-h) + 12px);
}

.shellc4cbe-sec-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px 12px 5px 12px;
  border: 1px solid var(--shellc4cbe-line-soft);
  background: linear-gradient(90deg, var(--shellc4cbe-panel-2) 0%, rgba(24, 24, 56, 0.25) 100%);
}

.shellc4cbe-sec-head::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 3px;
  background: var(--shellc4cbe-coral);
}

.shellc4cbe-sec-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.shellc4cbe-count {
  margin-left: auto;
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 235, 59, 0.35);
  background: rgba(255, 235, 59, 0.12);
  color: var(--shellc4cbe-gold);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.shellc4cbe-sec-intro {
  margin: 9px 2px 11px;
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--shellc4cbe-mist);
}

.shellc4cbe-sec--hot .shellc4cbe-sec-head::before,
.shellc4cbe-sec--hot .shellc4cbe-sec-head { border-color: rgba(255, 127, 80, 0.5); }
.shellc4cbe-sec--hot .shellc4cbe-sec-head::before { background: var(--shellc4cbe-coral); }

.shellc4cbe-sec--fish .shellc4cbe-sec-head::before { background: var(--shellc4cbe-gold); }

.shellc4cbe-sec--slot .shellc4cbe-sec-head::before { background: var(--shellc4cbe-ember); }

.shellc4cbe-sec--live .shellc4cbe-sec-head::before {
  background: linear-gradient(180deg, var(--shellc4cbe-paper), var(--shellc4cbe-coral));
}

.shellc4cbe-sec--card .shellc4cbe-sec-head::before {
  background: linear-gradient(180deg, var(--shellc4cbe-coral), var(--shellc4cbe-gold));
}

/* Cover-card grid: 4 columns at 320px, 5 columns on wider phones */
.shellc4cbe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
}

.shellc4cbe-gcard {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  border-radius: 12px;
  background: var(--shellc4cbe-panel);
  border: 1px solid var(--shellc4cbe-line-soft);
  transition: var(--shellc4cbe-press), border-color 0.16s ease;
}

.shellc4cbe-gcard:active {
  transform: scale(0.92);
  border-color: var(--shellc4cbe-coral);
}

.shellc4cbe-gthumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0C0C1E;
}

.shellc4cbe-gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shellc4cbe-gflag {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--shellc4cbe-coral);
  color: var(--shellc4cbe-on-accent);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.shellc4cbe-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  padding: 0 1px 1px;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--shellc4cbe-paper);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ---------------------------------------------------------------
   10. Winners board
   --------------------------------------------------------------- */
.shellc4cbe-winlist {
  margin-top: 12px;
  border-radius: var(--shellc4cbe-radius);
  border: 1px solid var(--shellc4cbe-line-soft);
  background: var(--shellc4cbe-panel);
  overflow: hidden;
}

.shellc4cbe-winrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shellc4cbe-line-soft);
}

.shellc4cbe-winrow:last-child { border-bottom: 0; }

.shellc4cbe-winava {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: linear-gradient(135deg, var(--shellc4cbe-gold), var(--shellc4cbe-coral));
  color: var(--shellc4cbe-on-accent);
  font-weight: 800;
  font-size: 0.8rem;
}

.shellc4cbe-winmeta { min-width: 0; flex: 1; }

.shellc4cbe-winname {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shellc4cbe-wingame {
  font-size: 0.7rem;
  color: var(--shellc4cbe-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shellc4cbe-winamt { flex: none; text-align: right; }

.shellc4cbe-winval {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--shellc4cbe-gold);
  white-space: nowrap;
}

.shellc4cbe-wintime {
  margin-top: 1px;
  font-size: 0.62rem;
  color: var(--shellc4cbe-mute);
}

/* ---------------------------------------------------------------
   11. Promo cards
   --------------------------------------------------------------- */
.shellc4cbe-promos {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.shellc4cbe-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--shellc4cbe-radius);
  border: 1px solid var(--shellc4cbe-line-soft);
  background: linear-gradient(120deg, #1A1A3A 0%, #12122A 100%);
}

.shellc4cbe-promo-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 127, 80, 0.4);
  background: rgba(255, 127, 80, 0.13);
}

.shellc4cbe-promo-body { min-width: 0; flex: 1; }

.shellc4cbe-promo-t { font-size: 0.88rem; font-weight: 800; line-height: 1.3; }

.shellc4cbe-promo-d {
  margin-top: 2px;
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--shellc4cbe-mist);
}

.shellc4cbe-promo-btn {
  flex: none;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shellc4cbe-coral), var(--shellc4cbe-ember));
  color: var(--shellc4cbe-on-accent);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-promo-btn:active { transform: scale(0.93); }

.shellc4cbe-promo-btn.shellc4cbe-btn-gold { background: var(--shellc4cbe-gold); }
.shellc4cbe-promo-btn.shellc4cbe-btn-line {
  background: none;
  border: 1px solid var(--shellc4cbe-coral);
  color: var(--shellc4cbe-coral);
}

/* ---------------------------------------------------------------
   12. Step flow
   --------------------------------------------------------------- */
.shellc4cbe-steps {
  counter-reset: shellc4cbe-step;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.shellc4cbe-step {
  position: relative;
  padding: 12px 12px 12px 48px;
  border-radius: var(--shellc4cbe-radius);
  border: 1px solid var(--shellc4cbe-line-soft);
  background: var(--shellc4cbe-panel);
}

.shellc4cbe-step::before {
  counter-increment: shellc4cbe-step;
  content: counter(shellc4cbe-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: grid;
  place-content: center;
  background: linear-gradient(135deg, var(--shellc4cbe-coral), var(--shellc4cbe-ember));
  color: var(--shellc4cbe-on-accent);
  font-weight: 800;
  font-size: 0.86rem;
}

.shellc4cbe-step::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 44px;
  bottom: -13px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 127, 80, 0.55), rgba(255, 127, 80, 0.06));
}

.shellc4cbe-step:last-child::after { display: none; }

.shellc4cbe-step-t { font-size: 0.92rem; font-weight: 800; }

.shellc4cbe-step p {
  margin-top: 4px;
  font-size: 0.8rem;
  line-height: 1.58;
  color: var(--shellc4cbe-mist);
}

.shellc4cbe-step-link {
  display: inline-block;
  margin-top: 7px;
  min-height: 44px;
  line-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--shellc4cbe-gold);
  color: var(--shellc4cbe-on-accent);
  font-size: 0.72rem;
  font-weight: 800;
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-step-link:active { transform: scale(0.94); }

/* ---------------------------------------------------------------
   13. FAQ (native details)
   --------------------------------------------------------------- */
.shellc4cbe-faq {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shellc4cbe-faq details {
  border-radius: 12px;
  border: 1px solid var(--shellc4cbe-line-soft);
  background: var(--shellc4cbe-panel);
  overflow: hidden;
}

.shellc4cbe-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.35;
  cursor: pointer;
}

.shellc4cbe-faq summary::-webkit-details-marker { display: none; }

.shellc4cbe-faq summary::before {
  content: "+";
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  display: grid;
  place-content: center;
  background: rgba(255, 235, 59, 0.14);
  border: 1px solid rgba(255, 235, 59, 0.4);
  color: var(--shellc4cbe-gold);
  font-weight: 800;
  font-size: 0.85rem;
}

.shellc4cbe-faq details[open] summary { border-bottom: 1px dashed var(--shellc4cbe-line); }

.shellc4cbe-faq details[open] summary::before { content: "–"; }

.shellc4cbe-faq-a {
  padding: 10px 13px 13px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--shellc4cbe-mist);
}

/* ---------------------------------------------------------------
   14. Checklist + scenario cards
   --------------------------------------------------------------- */
.shellc4cbe-checklist {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shellc4cbe-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--shellc4cbe-line-soft);
  background: var(--shellc4cbe-panel);
  font-size: 0.8rem;
  line-height: 1.55;
}

.shellc4cbe-check::before {
  content: "✓";
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 6px;
  display: grid;
  place-content: center;
  background: rgba(255, 235, 59, 0.13);
  border: 1px solid rgba(255, 235, 59, 0.42);
  color: var(--shellc4cbe-gold);
  font-size: 0.7rem;
  font-weight: 800;
}

.shellc4cbe-check b { color: var(--shellc4cbe-paper); }

.shellc4cbe-cases {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.shellc4cbe-case {
  padding: 12px 13px;
  border-radius: var(--shellc4cbe-radius);
  border: 1px solid var(--shellc4cbe-line-soft);
  background: linear-gradient(150deg, #1A1A3A 0%, #12122A 100%);
}

.shellc4cbe-case-t {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 0.9rem;
  font-weight: 800;
}

.shellc4cbe-case-t::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--shellc4cbe-gold);
  transform: rotate(45deg);
}

.shellc4cbe-case-t em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellc4cbe-coral);
}

.shellc4cbe-case p {
  font-size: 0.79rem;
  line-height: 1.6;
  color: var(--shellc4cbe-mist);
}

/* ---------------------------------------------------------------
   15. Extended home footer (brand, promo actions, directory, note)
   --------------------------------------------------------------- */
.shellc4cbe-ext {
  margin-top: 26px;
  padding: 17px 2px 6px;
  border-top: 1px solid var(--shellc4cbe-line);
  display: grid;
  gap: 17px;
}

.shellc4cbe-ext-brand p {
  font-size: 0.79rem;
  line-height: 1.62;
  color: var(--shellc4cbe-mist);
}

.shellc4cbe-ext-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shellc4cbe-ext-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.76rem;
  text-align: center;
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-ext-cta:active { transform: scale(0.94); }

/* Staggered CTA sizes: wide lead button, then compact partners */
.shellc4cbe-ext-cta--lead {
  grid-column: 1 / -1;
  min-height: 54px;
  font-size: 0.88rem;
  background: linear-gradient(135deg, var(--shellc4cbe-coral), var(--shellc4cbe-ember));
  color: var(--shellc4cbe-on-accent);
  box-shadow: 0 6px 18px rgba(255, 127, 80, 0.32);
}

.shellc4cbe-ext-cta--gold {
  background: var(--shellc4cbe-gold);
  color: var(--shellc4cbe-on-accent);
}

.shellc4cbe-ext-cta--line {
  border: 1px solid var(--shellc4cbe-coral);
  color: var(--shellc4cbe-coral);
}

.shellc4cbe-ext-cta--ghost {
  border: 1px solid var(--shellc4cbe-line);
  color: var(--shellc4cbe-paper);
}

.shellc4cbe-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shellc4cbe-ext-dir a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 8px 11px;
  border-radius: var(--shellc4cbe-radius-s);
  border: 1px solid var(--shellc4cbe-line-soft);
  background: var(--shellc4cbe-panel);
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-ext-dir a:active { transform: scale(0.96); }

.shellc4cbe-ext-dir b { font-size: 0.76rem; line-height: 1.3; }

.shellc4cbe-ext-dir span {
  font-size: 0.64rem;
  line-height: 1.35;
  color: var(--shellc4cbe-mute);
}

.shellc4cbe-ext-note {
  padding: 10px 12px;
  border-radius: var(--shellc4cbe-radius-s);
  border: 1px dashed var(--shellc4cbe-line);
  font-size: 0.68rem;
  line-height: 1.55;
  color: var(--shellc4cbe-mute);
}

/* ---------------------------------------------------------------
   16. Common footer line
   --------------------------------------------------------------- */
.shellc4cbe-foot {
  padding: 15px 0 4px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--shellc4cbe-mute);
}

.shellc4cbe-foot b { color: var(--shellc4cbe-mist); font-weight: 700; }

/* ---------------------------------------------------------------
   17. Mobile bottom dock — center-raised five role nav
   --------------------------------------------------------------- */
.shellc4cbe-dock {
  position: fixed;
  bottom: 0;
  left: max(0px, calc(50% - 215px));
  width: 100%;
  max-width: 430px;
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(13, 13, 28, 0.97);
  border-top: 1px solid var(--shellc4cbe-line);
  backdrop-filter: blur(10px);
}

.shellc4cbe-dock-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: var(--shellc4cbe-dock-h);
}

.shellc4cbe-dock-item {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  width: 100%;
  min-height: 44px;
  padding-top: 8px;
  color: var(--shellc4cbe-mute);
  transition: var(--shellc4cbe-press);
}

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

.shellc4cbe-dock-item svg { width: 22px; height: 22px; }

.shellc4cbe-dock-label {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Active state = supporting background block */
.shellc4cbe-dock-item.shellc4cbe-here { color: var(--shellc4cbe-paper); }

.shellc4cbe-dock-item.shellc4cbe-here::before {
  content: "";
  position: absolute;
  inset: 4px 5px 2px;
  z-index: -1;
  border-radius: 11px;
  background: rgba(255, 127, 80, 0.18);
  border: 1px solid rgba(255, 127, 80, 0.4);
}

/* Raised center promo orb */
.shellc4cbe-dock-center {
  margin-top: -21px;
  align-items: center;
  color: var(--shellc4cbe-gold);
}

.shellc4cbe-dock-orb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: linear-gradient(140deg, var(--shellc4cbe-coral), var(--shellc4cbe-ember));
  box-shadow:
    0 6px 18px rgba(255, 127, 80, 0.42),
    0 0 0 4px rgba(13, 13, 28, 0.97),
    0 0 0 5px rgba(255, 235, 59, 0.5);
  transition: var(--shellc4cbe-press);
}

.shellc4cbe-dock-center:active .shellc4cbe-dock-orb { transform: scale(0.92); }

.shellc4cbe-dock-orb svg { width: 24px; height: 24px; }

.shellc4cbe-dock-center .shellc4cbe-dock-label { margin-top: 4px; }

/* ---------------------------------------------------------------
   18. Reveal-on-scroll (applied only when JS is live)
   --------------------------------------------------------------- */
.shellc4cbe-js [data-shellc4cbe-reveal] {
  opacity: 0;
  transform: translateY(12px);
}

.shellc4cbe-js [data-shellc4cbe-reveal].shellc4cbe-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ---------------------------------------------------------------
   19. Phone canvas fine-tuning
   --------------------------------------------------------------- */

/* Comfortable size step once the canvas reaches common 5-column phones */
@media (min-width: 396px) {
  .shellc4cbe-grid { grid-template-columns: repeat(5, 1fr); gap: 11px 7px; }
  .shellc4cbe-gname { font-size: 0.64rem; }
  .shellc4cbe-sitename { font-size: 1.14rem; }
  .shellc4cbe-login,
  .shellc4cbe-register { font-size: 0.78rem; }
}

/* The literal 430px boundary: the widest this canvas ever gets */
@media (max-width: 430px) {
  .shellc4cbe-h1 { font-size: 1.46rem; }
  .shellc4cbe-cap-title { font-size: 0.98rem; }
  .shellc4cbe-main { padding-left: 11px; padding-right: 11px; }
}

/* Tight 320px devices: shave chrome, keep 4 stable game columns */
@media (max-width: 359px) {
  .shellc4cbe-main { padding-left: 9px; padding-right: 9px; }
  .shellc4cbe-grid { gap: 8px 5px; }
  .shellc4cbe-gname { font-size: 0.63rem; }
  .shellc4cbe-sitename { font-size: 0.98rem; }
  .shellc4cbe-cap-title { font-size: 0.9rem; }
  .shellc4cbe-ext-dir { grid-template-columns: 1fr; }
}

/* Wide screens: keep the phone canvas centered with a soft edge */
@media (min-width: 431px) {
  .shellc4cbe-canvas {
    border-left: 1px solid var(--shellc4cbe-line);
    border-right: 1px solid var(--shellc4cbe-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shellc4cbe-js [data-shellc4cbe-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .shellc4cbe-track { transition: none; }
}

/* ---------------------------------------------------------------
   20. Help-page information treatments
   --------------------------------------------------------------- */
.shellc4cbe-guide-hero,
.shellc4cbe-safety-answer {
  margin: 16px 0 14px;
  padding: 14px;
  border: 1px solid rgba(255, 127, 80, 0.55);
  border-radius: var(--shellc4cbe-radius);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(255, 235, 59, 0.13), transparent 65%),
    linear-gradient(145deg, #24204A, #14142E);
  box-shadow: var(--shellc4cbe-shadow);
}

.shellc4cbe-guide-hero-t,
.shellc4cbe-safety-answer-t {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.shellc4cbe-guide-hero p,
.shellc4cbe-safety-answer p {
  margin-top: 6px;
  color: var(--shellc4cbe-mist);
  font-size: 0.82rem;
  line-height: 1.62;
}

.shellc4cbe-guide-note,
.shellc4cbe-safety-note {
  margin-top: 9px;
  color: var(--shellc4cbe-mist);
  font-size: 0.72rem;
  line-height: 1.52;
}

.shellc4cbe-guide-actions,
.shellc4cbe-safety-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shellc4cbe-guide-actions button,
.shellc4cbe-safety-actions button {
  min-height: 46px;
  padding: 0 9px;
  border-radius: 10px;
  background: var(--shellc4cbe-gold);
  color: var(--shellc4cbe-on-accent);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.shellc4cbe-guide-actions button:last-child,
.shellc4cbe-safety-actions button:last-child {
  border: 1px solid var(--shellc4cbe-coral);
  background: transparent;
  color: var(--shellc4cbe-coral);
}

.shellc4cbe-routebar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0 18px;
}

.shellc4cbe-routebar a {
  min-height: 52px;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--shellc4cbe-line);
  border-radius: 10px;
  background: var(--shellc4cbe-panel);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.28;
}

.shellc4cbe-routebar a span {
  margin-top: 2px;
  color: var(--shellc4cbe-mute);
  font-size: 0.59rem;
  font-weight: 600;
}

.shellc4cbe-guide-timeline {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.shellc4cbe-guide-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(var(--shellc4cbe-coral), rgba(255, 127, 80, 0.12));
}

.shellc4cbe-guide-node {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 9px;
  align-items: start;
  padding: 11px 11px 11px 7px;
  border: 1px solid var(--shellc4cbe-line-soft);
  border-radius: 12px;
  background: var(--shellc4cbe-panel);
}

.shellc4cbe-guide-node-no {
  width: 22px;
  height: 22px;
  margin: 3px auto 0;
  display: grid;
  place-content: center;
  border-radius: 8px;
  background: var(--shellc4cbe-coral);
  color: var(--shellc4cbe-on-accent);
  font-size: 0.7rem;
  font-weight: 900;
  box-shadow: 0 0 0 4px var(--shellc4cbe-panel);
}

.shellc4cbe-guide-node h3,
.shellc4cbe-verify-card h3,
.shellc4cbe-prep-item h3,
.shellc4cbe-decision h3 {
  font-size: 0.88rem;
  line-height: 1.35;
}

.shellc4cbe-guide-node p,
.shellc4cbe-verify-card p,
.shellc4cbe-prep-item p,
.shellc4cbe-decision p {
  margin-top: 4px;
  color: var(--shellc4cbe-mist);
  font-size: 0.78rem;
  line-height: 1.58;
}

.shellc4cbe-guide-node button,
.shellc4cbe-prep-item button,
.shellc4cbe-safety-cta button {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shellc4cbe-coral), var(--shellc4cbe-ember));
  color: var(--shellc4cbe-on-accent);
  font-size: 0.68rem;
  font-weight: 800;
}

.shellc4cbe-verify-grid,
.shellc4cbe-prep-grid,
.shellc4cbe-decision-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shellc4cbe-verify-card,
.shellc4cbe-prep-item,
.shellc4cbe-decision {
  padding: 12px;
  border: 1px solid var(--shellc4cbe-line-soft);
  border-radius: 12px;
  background: linear-gradient(155deg, #1C1C3D, #13132C);
}

.shellc4cbe-verify-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
}

.shellc4cbe-verify-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-content: center;
  border-radius: 8px;
  background: rgba(255, 235, 59, 0.14);
  border: 1px solid rgba(255, 235, 59, 0.4);
  color: var(--shellc4cbe-gold);
  font-weight: 900;
}

.shellc4cbe-prep-grid { grid-template-columns: 1fr 1fr; }
.shellc4cbe-prep-item { min-width: 0; }
.shellc4cbe-prep-item h3 { color: var(--shellc4cbe-coral); }

.shellc4cbe-issue-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.shellc4cbe-issue {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 9px;
  padding: 10px;
  border-left: 3px solid var(--shellc4cbe-gold);
  border-radius: 0 10px 10px 0;
  background: var(--shellc4cbe-panel);
}

.shellc4cbe-issue strong {
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--shellc4cbe-paper);
}

.shellc4cbe-issue span {
  color: var(--shellc4cbe-mist);
  font-size: 0.75rem;
  line-height: 1.55;
}

.shellc4cbe-decision-grid { grid-template-columns: 1fr 1fr; }
.shellc4cbe-decision::before {
  content: "CHECK";
  display: block;
  margin-bottom: 5px;
  color: var(--shellc4cbe-gold);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* Safety pages use an alert-board rhythm instead of the guide timeline. */
.shellc4cbe-safety-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 235, 59, 0.42);
  border-radius: 11px;
  background: rgba(255, 235, 59, 0.08);
  color: var(--shellc4cbe-mist);
  font-size: 0.79rem;
  line-height: 1.58;
}

.shellc4cbe-safety-alert b { color: var(--shellc4cbe-gold); }
.shellc4cbe-safety-alert::before {
  content: "!";
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--shellc4cbe-gold);
  color: var(--shellc4cbe-on-accent);
  font-weight: 900;
}

.shellc4cbe-threats {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.shellc4cbe-threat {
  position: relative;
  overflow: hidden;
  padding: 13px 12px 12px 17px;
  border: 1px solid var(--shellc4cbe-line-soft);
  border-radius: 13px;
  background: var(--shellc4cbe-panel);
}

.shellc4cbe-threat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--shellc4cbe-coral);
}

.shellc4cbe-threat:nth-child(2)::before { background: var(--shellc4cbe-gold); }
.shellc4cbe-threat:nth-child(3)::before { background: #B9B9D6; }
.shellc4cbe-threat h3 { font-size: 0.9rem; line-height: 1.35; }
.shellc4cbe-threat p { margin-top: 5px; color: var(--shellc4cbe-mist); font-size: 0.78rem; line-height: 1.6; }
.shellc4cbe-threat em { color: var(--shellc4cbe-coral); font-style: normal; font-weight: 800; }

.shellc4cbe-safety-pulse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.shellc4cbe-pulse-cell {
  min-height: 76px;
  padding: 9px 7px;
  border: 1px solid var(--shellc4cbe-line-soft);
  border-radius: 10px;
  background: #171735;
  text-align: center;
}

.shellc4cbe-pulse-cell b { display: block; color: var(--shellc4cbe-gold); font-size: 0.78rem; }
.shellc4cbe-pulse-cell span { display: block; margin-top: 4px; color: var(--shellc4cbe-mist); font-size: 0.63rem; line-height: 1.4; }

.shellc4cbe-safety-table {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.shellc4cbe-safety-row {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--shellc4cbe-line-soft);
  background: var(--shellc4cbe-panel);
}

.shellc4cbe-safety-row:first-child {
  border-radius: 10px 10px 0 0;
  background: #24204A;
  color: var(--shellc4cbe-gold);
  font-weight: 800;
}

.shellc4cbe-safety-row:last-child { border-radius: 0 0 10px 10px; }
.shellc4cbe-safety-row span { font-size: 0.73rem; line-height: 1.5; }
.shellc4cbe-safety-row span:last-child { color: var(--shellc4cbe-mist); }

.shellc4cbe-safety-cta {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 13px;
  border-radius: 12px;
  border: 1px dashed var(--shellc4cbe-coral);
  background: rgba(255, 127, 80, 0.07);
}

.shellc4cbe-safety-cta p { color: var(--shellc4cbe-mist); font-size: 0.78rem; line-height: 1.58; }

@media (max-width: 359px) {
  .shellc4cbe-routebar a { font-size: 0.62rem; }
  .shellc4cbe-issue { grid-template-columns: 76px 1fr; }
  .shellc4cbe-prep-grid,
  .shellc4cbe-decision-grid { grid-template-columns: 1fr; }
}
