/* ============================================================
   download 1xbet — site tokens & components
   Palette: #778899 / #696969 / #5D5D5D / #9370DB / #1A1A1A
   Style: stroke-driven restrained radius, compact metric rhythm,
   horizontal icon-name game bars, menu slide-in + card lift.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --shellfe2e2-bg: #1A1A1A;
  --shellfe2e2-bg-raise: #222222;
  --shellfe2e2-bg-panel: #262626;
  --shellfe2e2-bg-inset: #151515;
  --shellfe2e2-line: #5D5D5D;
  --shellfe2e2-line-soft: #3a3a3a;
  --shellfe2e2-line-mid: #696969;
  --shellfe2e2-mute: #778899;
  --shellfe2e2-txt: #EDEFF4;
  --shellfe2e2-txt-soft: #B9C0CC;
  --shellfe2e2-accent: #9370DB;
  --shellfe2e2-accent-hi: #B49BE8;
  --shellfe2e2-accent-dim: rgba(147, 112, 219, 0.16);
  --shellfe2e2-accent-line: rgba(147, 112, 219, 0.55);
  --shellfe2e2-danger: #d98a6a;
  --shellfe2e2-ok: #8fbf9f;
  --shellfe2e2-radius: 4px;
  --shellfe2e2-radius-lg: 6px;
  --shellfe2e2-head-h: 96px;
  --shellfe2e2-nav-h: 62px;
  --shellfe2e2-font-display: "Rajdhani", "Arial Narrow", sans-serif;
  --shellfe2e2-font-body: "Barlow", "Segoe UI", Arial, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #121212;
  color: var(--shellfe2e2-txt);
  font-family: var(--shellfe2e2-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--shellfe2e2-accent-hi); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--shellfe2e2-font-display);
  color: var(--shellfe2e2-txt);
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

h1 { font-size: 1.72rem; font-weight: 700; text-transform: none; }
h2 { font-size: 1.28rem; font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 600; color: var(--shellfe2e2-txt-soft); }
h4 { font-size: 0.95rem; font-weight: 600; }

p { margin: 0 0 0.9em; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 2px solid var(--shellfe2e2-accent-hi);
  outline-offset: 2px;
  border-radius: var(--shellfe2e2-radius);
}

::selection { background: var(--shellfe2e2-accent); color: #fff; }

/* ---------- phone canvas shell ---------- */
.shellfe2e2-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellfe2e2-bg);
  border-left: 1px solid var(--shellfe2e2-line-soft);
  border-right: 1px solid var(--shellfe2e2-line-soft);
  padding-bottom: calc(var(--shellfe2e2-nav-h) + env(safe-area-inset-bottom, 0px) + 14px);
  overflow-x: hidden;
}

.shellfe2e2-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 120;
  background: var(--shellfe2e2-accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--shellfe2e2-radius);
  font-weight: 600;
  transition: top 0.15s ease;
}
.shellfe2e2-skip:focus { top: 8px; text-decoration: none; }

.shellfe2e2-wrap { padding: 0 14px; }

/* ---------- header: centered identity bar + action strip ---------- */
.shellfe2e2-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shellfe2e2-line);
}

.shellfe2e2-head-id {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px 4px;
  position: relative;
}

.shellfe2e2-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--shellfe2e2-txt);
  text-decoration: none;
}
.shellfe2e2-brand:hover { text-decoration: none; }

.shellfe2e2-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--shellfe2e2-radius);
  border: 1px solid var(--shellfe2e2-line-mid);
  background: var(--shellfe2e2-bg-panel);
  object-fit: cover;
  flex: 0 0 auto;
}

.shellfe2e2-brand-name {
  font-family: var(--shellfe2e2-font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}
.shellfe2e2-brand-name b {
  color: var(--shellfe2e2-accent-hi);
  font-weight: 700;
}

.shellfe2e2-menu-btn {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellfe2e2-line);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-raise);
  color: var(--shellfe2e2-txt-soft);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.shellfe2e2-menu-btn:hover, .shellfe2e2-menu-btn:focus-visible {
  border-color: var(--shellfe2e2-accent);
  color: var(--shellfe2e2-txt);
}
.shellfe2e2-menu-btn svg { width: 20px; height: 20px; }

.shellfe2e2-head-act {
  display: flex;
  gap: 8px;
  padding: 4px 12px 10px;
}

/* compact icon+text CTA buttons */
.shellfe2e2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--shellfe2e2-radius);
  border: 1px solid var(--shellfe2e2-line);
  font-family: var(--shellfe2e2-font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.12s ease, border-color 0.15s ease, background 0.15s ease;
}
.shellfe2e2-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.shellfe2e2-btn:active { transform: translateY(1px); }

.shellfe2e2-btn--reg {
  flex: 1;
  background: var(--shellfe2e2-accent);
  border-color: var(--shellfe2e2-accent);
  color: #fff;
}
.shellfe2e2-btn--reg:hover { background: #a484e4; border-color: #a484e4; }

.shellfe2e2-btn--log {
  flex: 1;
  background: transparent;
  color: var(--shellfe2e2-txt-soft);
}
.shellfe2e2-btn--log:hover, .shellfe2e2-btn--log:focus-visible {
  border-color: var(--shellfe2e2-accent);
  color: var(--shellfe2e2-txt);
}

.shellfe2e2-btn--ghost {
  border-color: var(--shellfe2e2-accent-line);
  color: var(--shellfe2e2-accent-hi);
  background: var(--shellfe2e2-accent-dim);
}

/* ---------- slide-in sectioned menu ---------- */
.shellfe2e2-veil {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 80;
}
.shellfe2e2-veil.is-on { opacity: 1; visibility: visible; }

.shellfe2e2-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 340px);
  max-width: 340px;
  background: var(--shellfe2e2-bg-raise);
  border-left: 1px solid var(--shellfe2e2-line);
  z-index: 90;
  transform: translateX(102%);
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.shellfe2e2-menu.is-open { transform: translateX(0); }

.shellfe2e2-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--shellfe2e2-line-soft);
}
.shellfe2e2-menu-top span {
  font-family: var(--shellfe2e2-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellfe2e2-txt-soft);
}

.shellfe2e2-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shellfe2e2-line);
  border-radius: var(--shellfe2e2-radius);
  color: var(--shellfe2e2-txt-soft);
}
.shellfe2e2-menu-close:hover { border-color: var(--shellfe2e2-accent); color: var(--shellfe2e2-txt); }
.shellfe2e2-menu-close svg { width: 18px; height: 18px; }

.shellfe2e2-menu-sec { padding: 12px 14px 4px; }
.shellfe2e2-menu-sec + .shellfe2e2-menu-sec { border-top: 1px solid var(--shellfe2e2-line-soft); }

.shellfe2e2-menu-sec h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellfe2e2-mute);
  margin: 0 0 8px;
}

.shellfe2e2-menu-sec ul { list-style: none; margin: 0; padding: 0; }

.shellfe2e2-menu-sec a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px;
  border: 1px solid transparent;
  border-radius: var(--shellfe2e2-radius);
  color: var(--shellfe2e2-txt-soft);
  font-size: 0.95rem;
  text-decoration: none;
}
.shellfe2e2-menu-sec a:hover,
.shellfe2e2-menu-sec a:focus-visible {
  border-color: var(--shellfe2e2-accent-line);
  background: var(--shellfe2e2-accent-dim);
  color: var(--shellfe2e2-txt);
  text-decoration: none;
}
.shellfe2e2-menu-sec a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--shellfe2e2-mute);
  border-right: 1px solid var(--shellfe2e2-mute);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.shellfe2e2-menu-cta {
  margin: 10px 14px 18px;
  width: calc(100% - 28px);
}

/* ---------- hero ---------- */
.shellfe2e2-hero { padding: 16px 14px 6px; }

.shellfe2e2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellfe2e2-accent-hi);
  border: 1px solid var(--shellfe2e2-accent-line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.shellfe2e2-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shellfe2e2-accent);
}

.shellfe2e2-hero p { color: var(--shellfe2e2-txt-soft); margin-bottom: 0.6em; }
.shellfe2e2-hero-note {
  font-size: 0.8rem;
  color: var(--shellfe2e2-mute);
  margin: 0;
}

/* ---------- carousel ---------- */
.shellfe2e2-car {
  position: relative;
  margin: 12px 14px 4px;
  border: 1px solid var(--shellfe2e2-line);
  border-radius: var(--shellfe2e2-radius-lg);
  background: var(--shellfe2e2-bg-panel);
  overflow: hidden;
}

.shellfe2e2-car-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.shellfe2e2-car-item {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
  text-align: left;
  min-height: 150px;
}
.shellfe2e2-car-item img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}
.shellfe2e2-car-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,0.88) 62%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.shellfe2e2-car-cap b {
  display: block;
  font-family: var(--shellfe2e2-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.shellfe2e2-car-cap i {
  font-style: normal;
  display: block;
  font-size: 0.74rem;
  color: var(--shellfe2e2-txt-soft);
}
.shellfe2e2-car-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--shellfe2e2-accent-line);
  background: rgba(26, 26, 26, 0.72);
  color: var(--shellfe2e2-accent-hi);
  border-radius: var(--shellfe2e2-radius);
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shellfe2e2-car-go svg { width: 12px; height: 12px; }

.shellfe2e2-car-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 6px;
}
.shellfe2e2-car-dot {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  border: 1px solid var(--shellfe2e2-line-mid);
  background: rgba(26, 26, 26, 0.5);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.shellfe2e2-car-dot.is-on {
  background: var(--shellfe2e2-accent);
  border-color: var(--shellfe2e2-accent);
}

/* ---------- sections ---------- */
.shellfe2e2-sec { padding: 22px 14px 6px; }

.shellfe2e2-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--shellfe2e2-line);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.shellfe2e2-sec-head h2 { margin: 0; }
.shellfe2e2-sec-head h3 { margin: 0; }

.shellfe2e2-count {
  flex: 0 0 auto;
  font-family: var(--shellfe2e2-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--shellfe2e2-mute);
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}

.shellfe2e2-lead {
  color: var(--shellfe2e2-txt-soft);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.shellfe2e2-lead a { font-weight: 600; }

/* ---------- game grid: horizontal icon-name bars ---------- */
.shellfe2e2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shellfe2e2-gbar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  padding: 7px 8px;
  background: var(--shellfe2e2-bg-panel);
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  text-align: left;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.shellfe2e2-gbar:hover,
.shellfe2e2-gbar:focus-visible {
  transform: translateY(-2px);
  border-color: var(--shellfe2e2-accent-line);
  background: #2a2536;
}
.shellfe2e2-gbar:active { transform: translateY(0); }

.shellfe2e2-gbar-icn {
  width: 42px;
  height: 42px;
  border-radius: var(--shellfe2e2-radius);
  border: 1px solid var(--shellfe2e2-line-soft);
  background: var(--shellfe2e2-bg-inset);
  object-fit: cover;
  flex: 0 0 auto;
}

.shellfe2e2-gbar-nm {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--shellfe2e2-txt-soft);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.shellfe2e2-gbar:hover .shellfe2e2-gbar-nm,
.shellfe2e2-gbar:focus-visible .shellfe2e2-gbar-nm { color: var(--shellfe2e2-txt); }

/* reveal-on-scroll lift */
.shellfe2e2-rise { opacity: 0; transform: translateY(10px); }
.shellfe2e2-rise.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ---------- compact metric rows (features) ---------- */
.shellfe2e2-mrows { display: grid; gap: 8px; }

.shellfe2e2-mrow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--shellfe2e2-line-soft);
  border-left: 2px solid var(--shellfe2e2-accent);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-panel);
}
.shellfe2e2-mrow dt {
  font-family: var(--shellfe2e2-font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shellfe2e2-accent-hi);
  line-height: 1.2;
}
.shellfe2e2-mrow dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--shellfe2e2-txt-soft);
  line-height: 1.5;
}
.shellfe2e2-mrows { margin: 0 0 0.8em; }
.shellfe2e2-mrows dl { margin: 0; }

/* ---------- stat chips (RTP panel) ---------- */
.shellfe2e2-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.shellfe2e2-stat {
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-inset);
  padding: 9px 8px;
  text-align: center;
}
.shellfe2e2-stat b {
  display: block;
  font-family: var(--shellfe2e2-font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--shellfe2e2-accent-hi);
  line-height: 1.1;
}
.shellfe2e2-stat span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellfe2e2-mute);
  margin-top: 3px;
}

.shellfe2e2-meter {
  height: 5px;
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: 3px;
  background: var(--shellfe2e2-bg-inset);
  overflow: hidden;
  margin: 4px 0 2px;
}
.shellfe2e2-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--shellfe2e2-accent), var(--shellfe2e2-accent-hi));
}

.shellfe2e2-note {
  font-size: 0.86rem;
  color: var(--shellfe2e2-txt-soft);
  border: 1px dashed var(--shellfe2e2-line);
  border-radius: var(--shellfe2e2-radius);
  padding: 10px;
  background: rgba(119, 136, 153, 0.06);
  margin-bottom: 0.9em;
}
.shellfe2e2-note b { color: var(--shellfe2e2-txt); }

/* ---------- payment list ---------- */
.shellfe2e2-pays { display: grid; gap: 8px; }

.shellfe2e2-pay {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 10px 11px;
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-panel);
}
.shellfe2e2-pay b {
  font-family: var(--shellfe2e2-font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--shellfe2e2-txt);
}
.shellfe2e2-pay em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellfe2e2-mute);
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: 999px;
  padding: 2px 8px;
  align-self: start;
}
.shellfe2e2-pay span {
  grid-column: 1 / -1;
  font-size: 0.84rem;
  color: var(--shellfe2e2-txt-soft);
  line-height: 1.45;
}

/* ---------- entity map ---------- */
.shellfe2e2-emap { list-style: none; margin: 0 0 0.8em; padding: 0; display: grid; gap: 8px; }

.shellfe2e2-emap li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-panel);
  font-size: 0.86rem;
  color: var(--shellfe2e2-txt-soft);
}
.shellfe2e2-emap li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border: 1px solid var(--shellfe2e2-accent);
  background: var(--shellfe2e2-accent-dim);
  border-radius: 2px;
}
.shellfe2e2-emap b { color: var(--shellfe2e2-txt); font-weight: 600; }

/* ---------- Q&A blocks ---------- */
.shellfe2e2-qa { border-top: 1px solid var(--shellfe2e2-line-soft); }
.shellfe2e2-qa-item { border-bottom: 1px solid var(--shellfe2e2-line-soft); padding: 12px 0; }
.shellfe2e2-qa-item h3 { margin: 0 0 6px; }
.shellfe2e2-qa-item p { margin: 0; font-size: 0.9rem; color: var(--shellfe2e2-txt-soft); }

/* ---------- CTA band ---------- */
.shellfe2e2-cta {
  margin: 18px 14px 8px;
  border: 1px solid var(--shellfe2e2-accent-line);
  border-radius: var(--shellfe2e2-radius-lg);
  background:
    linear-gradient(160deg, rgba(147, 112, 219, 0.22), rgba(26, 26, 26, 0.4)),
    var(--shellfe2e2-bg-panel);
  padding: 16px 14px;
  text-align: center;
}
.shellfe2e2-cta h2 { margin-bottom: 4px; }
.shellfe2e2-cta p { font-size: 0.88rem; color: var(--shellfe2e2-txt-soft); margin-bottom: 12px; }
.shellfe2e2-cta .shellfe2e2-btn { width: 100%; }

/* compact inline CTA row (help pages) */
.shellfe2e2-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}
.shellfe2e2-cta-row .shellfe2e2-btn {
  flex: 1 1 150px;
  min-height: 44px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* ---------- extended footer ---------- */
.shellfe2e2-xfoot {
  margin-top: 20px;
  border-top: 1px solid var(--shellfe2e2-line);
  padding: 18px 14px 10px;
  background: var(--shellfe2e2-bg-raise);
}

.shellfe2e2-xfoot h2 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellfe2e2-mute);
  margin: 0 0 10px;
}

.shellfe2e2-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.shellfe2e2-dir a {
  display: inline-block;
  min-height: 24px;
  font-size: 0.82rem;
  color: var(--shellfe2e2-txt-soft);
  border-bottom: 1px dotted var(--shellfe2e2-line-soft);
  padding: 3px 0;
}
.shellfe2e2-dir a:hover, .shellfe2e2-dir a:focus-visible { color: var(--shellfe2e2-accent-hi); border-bottom-color: var(--shellfe2e2-accent); text-decoration: none; }

.shellfe2e2-xbrand {
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  padding: 11px 12px;
  font-size: 0.84rem;
  color: var(--shellfe2e2-txt-soft);
  margin-bottom: 14px;
}
.shellfe2e2-xbrand b { color: var(--shellfe2e2-txt); }

.shellfe2e2-xpromo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.shellfe2e2-xpromo .shellfe2e2-btn { min-height: 44px; font-size: 0.82rem; padding: 8px 8px; letter-spacing: 0.03em; }

.shellfe2e2-xdisc {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--shellfe2e2-mute);
  border-top: 1px solid var(--shellfe2e2-line-soft);
  padding-top: 10px;
  margin: 0;
}

/* ---------- common footer ---------- */
.shellfe2e2-foot {
  padding: 16px 14px 8px;
  border-top: 1px solid var(--shellfe2e2-line);
  text-align: center;
}
.shellfe2e2-foot p {
  margin: 0;
  font-size: 0.76rem;
  color: var(--shellfe2e2-mute);
  letter-spacing: 0.04em;
}

/* ---------- bottom nav: outlined function bar ---------- */
.shellfe2e2-bnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: calc(var(--shellfe2e2-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(24, 24, 24, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shellfe2e2-line);
  z-index: 70;
}

.shellfe2e2-bnav-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--shellfe2e2-nav-h);
  list-style: none;
  margin: 0;
  padding: 0 4px;
}

.shellfe2e2-bnav-it {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--shellfe2e2-mute);
  text-decoration: none;
  padding-top: 7px;
}
button.shellfe2e2-bnav-it { width: 100%; }

/* containerized symbol tile */
.shellfe2e2-bnav-tile {
  width: 26px;
  height: 26px;
  border: 1px solid var(--shellfe2e2-line-mid);
  border-radius: var(--shellfe2e2-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
  flex: 0 0 auto;
}
.shellfe2e2-bnav-tile svg {
  width: 14px;
  height: 14px;
  transition: color 0.18s ease, fill 0.18s ease, stroke 0.18s ease;
}

.shellfe2e2-bnav-lb {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.shellfe2e2-bnav-it:hover .shellfe2e2-bnav-tile { border-color: var(--shellfe2e2-accent-line); }
.shellfe2e2-bnav-it:hover { color: var(--shellfe2e2-txt-soft); }

/* active state: tile fills, icon fill inverts */
.shellfe2e2-bnav-it.is-on { color: var(--shellfe2e2-txt); }
.shellfe2e2-bnav-it.is-on .shellfe2e2-bnav-tile {
  background: var(--shellfe2e2-accent);
  border-color: var(--shellfe2e2-accent);
}
.shellfe2e2-bnav-it.is-on .shellfe2e2-bnav-tile svg { color: #fff; fill: #fff; stroke: #fff; }

/* sliding indicator */
.shellfe2e2-bnav-ind {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--shellfe2e2-accent-hi);
  border-radius: 0 0 2px 2px;
  transition: transform 0.28s cubic-bezier(0.3, 0.8, 0.3, 1);
  pointer-events: none;
}

/* ---------- step list ---------- */
.shellfe2e2-steps { list-style: none; margin: 0 0 1em; padding: 0; counter-reset: shellfe2e2step; display: grid; gap: 8px; }
.shellfe2e2-steps li {
  counter-increment: shellfe2e2step;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-panel);
  font-size: 0.88rem;
  color: var(--shellfe2e2-txt-soft);
}
.shellfe2e2-steps li::before {
  content: counter(shellfe2e2step, decimal-leading-zero);
  font-family: var(--shellfe2e2-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--shellfe2e2-accent-hi);
  border: 1px solid var(--shellfe2e2-line);
  border-radius: var(--shellfe2e2-radius);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shellfe2e2-steps b { color: var(--shellfe2e2-txt); font-weight: 600; }

/* ---------- prose helper ---------- */
.shellfe2e2-body { color: var(--shellfe2e2-txt-soft); font-size: 0.92rem; }
.shellfe2e2-body strong { color: var(--shellfe2e2-txt); font-weight: 600; }
.shellfe2e2-body a { font-weight: 600; }

/* ---------- responsive: 320-430px phone canvas ---------- */
@media (min-width: 360px) {
  .shellfe2e2-gbar-nm { font-size: 0.84rem; }
  .shellfe2e2-xpromo { gap: 8px; }
}

/* wider phones: denser game grid, three bars per row */
@media (min-width: 400px) {
  .shellfe2e2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shellfe2e2-car-item img { height: 184px; }
}

/* 430px phone canvas breakpoint */
@media (min-width: 430px) {
  .shellfe2e2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .shellfe2e2-gbar { min-height: 62px; }
  .shellfe2e2-gbar-icn { width: 46px; height: 46px; }
  .shellfe2e2-car-item img { height: 196px; }
  .shellfe2e2-stats { gap: 10px; }
  .shellfe2e2-hero h1 { font-size: 1.85rem; }
}

/* wide screens keep the centered phone canvas */
@media (min-width: 480px) {
  body { background: #0d0d0d; }
  .shellfe2e2-shell {
    border-left: 1px solid var(--shellfe2e2-line);
    border-right: 1px solid var(--shellfe2e2-line);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- part2 page helpers (additive, same tokens) ---------- */
.shellfe2e2-gamehead { display: flex; gap: 12px; align-items: flex-start; margin: 2px 0 12px; }
.shellfe2e2-gamehead-icn {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border: 1px solid var(--shellfe2e2-line);
  border-radius: var(--shellfe2e2-radius-lg);
  background: var(--shellfe2e2-bg-panel);
  padding: 5px;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.shellfe2e2-gamehead-icn:hover, .shellfe2e2-gamehead-icn:focus-visible { border-color: var(--shellfe2e2-accent); transform: translateY(-2px); }
.shellfe2e2-gamehead-icn img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--shellfe2e2-radius); }
.shellfe2e2-gamehead-txt { flex: 1 1 auto; min-width: 0; }
.shellfe2e2-gamehead-txt p { margin: 0; font-size: 0.92rem; color: var(--shellfe2e2-txt-soft); }
.shellfe2e2-gamehead-txt .shellfe2e2-btn { margin-top: 10px; }

.shellfe2e2-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 0.9em; }
.shellfe2e2-shot {
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-panel);
  padding: 6px;
}
.shellfe2e2-shot img { width: 100%; height: 96px; object-fit: cover; border-radius: var(--shellfe2e2-radius); }
.shellfe2e2-shot figcaption { font-size: 0.74rem; color: var(--shellfe2e2-mute); line-height: 1.45; margin-top: 6px; }

.shellfe2e2-duo { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 0.9em; }
.shellfe2e2-duo > div {
  border: 1px solid var(--shellfe2e2-line-soft);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-panel);
  padding: 10px 12px;
}
.shellfe2e2-duo h3 { margin: 0 0 6px; }
.shellfe2e2-duo ul { margin: 0; padding-left: 1.1em; font-size: 0.86rem; color: var(--shellfe2e2-txt-soft); }

.shellfe2e2-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 0.9em; }
.shellfe2e2-fact {
  border: 1px solid var(--shellfe2e2-line-soft);
  border-left: 2px solid var(--shellfe2e2-accent);
  border-radius: var(--shellfe2e2-radius);
  background: var(--shellfe2e2-bg-panel);
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--shellfe2e2-txt-soft);
  line-height: 1.45;
}
.shellfe2e2-fact b {
  display: block;
  font-family: var(--shellfe2e2-font-display);
  color: var(--shellfe2e2-accent-hi);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.shellfe2e2-bangrid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 0.9em; }
.shellfe2e2-ban {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid var(--shellfe2e2-line);
  border-radius: var(--shellfe2e2-radius-lg);
  overflow: hidden;
  padding: 0;
  background: var(--shellfe2e2-bg-panel);
  text-align: left;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.shellfe2e2-ban:hover, .shellfe2e2-ban:focus-visible { transform: translateY(-2px); border-color: var(--shellfe2e2-accent-line); }
.shellfe2e2-ban img { width: 100%; height: 138px; object-fit: cover; }
.shellfe2e2-ban figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  font-size: 0.8rem;
  color: var(--shellfe2e2-txt-soft);
}
.shellfe2e2-ban figcaption b { color: var(--shellfe2e2-txt); font-weight: 600; }
.shellfe2e2-ban-go {
  flex: 0 0 auto;
  font-family: var(--shellfe2e2-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellfe2e2-accent-hi);
  border: 1px solid var(--shellfe2e2-accent-line);
  border-radius: var(--shellfe2e2-radius);
  padding: 4px 8px;
  white-space: nowrap;
}

@media (min-width: 400px) {
  .shellfe2e2-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shellfe2e2-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shellfe2e2-ban img { height: 158px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .shellfe2e2-rise { opacity: 1; transform: none; }
  .shellfe2e2-car-track { transition: none; }
}
