/* ============================================================
   777 SH — Mobile-first visual system
   Class prefix: shell41af4-
   Palette anchor: #2C2C2C bg / #FFCCCB+#FFB3BA text / #FF9500 accent / #6F4E37 deep
   Direction: high-contrast display type, mixed radii, pure image game
   cards, short-list rhythm, restrained fade-ins, solid + outlined CTAs.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shell41af4-bg: #2C2C2C;
  --shell41af4-bg-deep: #1c1a18;
  --shell41af4-bg-elev: #3a2f27;
  --shell41af4-bg-card: #463a30;
  --shell41af4-bg-soft: #332b25;
  --shell41af4-bg-glass: rgba(28, 26, 24, 0.92);

  --shell41af4-text: #FFCCCB;
  --shell41af4-text-soft: #FFB3BA;
  --shell41af4-text-muted: rgba(255, 204, 203, 0.66);
  --shell41af4-text-faint: rgba(255, 204, 203, 0.42);

  --shell41af4-accent: #FF9500;
  --shell41af4-accent-hi: #ffb84d;
  --shell41af4-accent-deep: #6F4E37;

  --shell41af4-line: rgba(255, 179, 186, 0.16);
  --shell41af4-line-strong: rgba(255, 149, 0, 0.55);
  --shell41af4-line-soft: rgba(255, 179, 186, 0.08);

  --shell41af4-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shell41af4-shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shell41af4-shadow-accent: 0 6px 18px rgba(255, 149, 0, 0.32);

  --shell41af4-radius-xs: 6px;
  --shell41af4-radius-sm: 10px;
  --shell41af4-radius-md: 14px;
  --shell41af4-radius-lg: 20px;
  --shell41af4-radius-pill: 999px;

  --shell41af4-header-h: 58px;
  --shell41af4-bottomnav-h: 68px;

  --shell41af4-font-display: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  --shell41af4-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--shell41af4-font-body);
  background: #0c0b0a;
  color: var(--shell41af4-text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--shell41af4-accent-hi);
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

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

/* ---------- Mobile canvas ---------- */
.shell41af4-canvas {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell41af4-bg);
  background-image:
    radial-gradient(circle at 12% -8%, rgba(255, 149, 0, 0.14), transparent 42%),
    radial-gradient(circle at 92% 6%, rgba(255, 179, 186, 0.09), transparent 48%),
    linear-gradient(180deg, #302722 0%, var(--shell41af4-bg) 22%, var(--shell41af4-bg) 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.shell41af4-main {
  padding: 0 0 calc(var(--shell41af4-bottomnav-h) + 18px);
}

/* ---------- Page intro (H1) ---------- */
.shell41af4-intro {
  padding: 16px 14px 4px;
}

.shell41af4-intro-title {
  font-family: var(--shell41af4-font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.1px;
  color: var(--shell41af4-text);
}

.shell41af4-intro-title em {
  font-style: normal;
  color: var(--shell41af4-accent);
}

.shell41af4-intro-sub {
  margin-top: 7px;
  font-size: 13px;
  color: var(--shell41af4-text-muted);
  line-height: 1.55;
}

.shell41af4-intro-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shell41af4-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--shell41af4-radius-pill);
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.28);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell41af4-accent-hi);
  letter-spacing: 0.2px;
}

/* ---------- Header ---------- */
.shell41af4-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--shell41af4-header-h);
  padding: 0 14px;
  background: var(--shell41af4-bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--shell41af4-line);
}

.shell41af4-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.shell41af4-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 149, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.14), var(--shell41af4-shadow-sm);
  flex-shrink: 0;
}

.shell41af4-brand-name {
  font-family: var(--shell41af4-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.6px;
  color: var(--shell41af4-text);
  line-height: 1;
  white-space: nowrap;
}

.shell41af4-brand-name b {
  color: var(--shell41af4-accent);
  font-weight: 800;
}

.shell41af4-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ---------- Buttons ---------- */
.shell41af4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--shell41af4-radius-pill);
  font-family: var(--shell41af4-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  line-height: 1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.shell41af4-btn--solid {
  background: linear-gradient(135deg, var(--shell41af4-accent) 0%, #ff7a00 100%);
  color: #1d1408;
  box-shadow: var(--shell41af4-shadow-accent);
}

.shell41af4-btn--solid:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(255, 149, 0, 0.28);
}

.shell41af4-btn--outline {
  background: transparent;
  color: var(--shell41af4-text);
  border: 1px solid var(--shell41af4-line-strong);
}

.shell41af4-btn--outline:active {
  transform: translateY(1px);
  border-color: var(--shell41af4-accent);
  background: rgba(255, 149, 0, 0.08);
}

.shell41af4-btn--ghost {
  min-height: 34px;
  padding: 0 12px;
  background: rgba(255, 149, 0, 0.12);
  color: var(--shell41af4-accent-hi);
  border: 1px solid rgba(255, 149, 0, 0.3);
  font-size: 12.5px;
}

.shell41af4-btn--ghost:active {
  transform: translateY(1px);
}

.shell41af4-btn--block {
  width: 100%;
}

/* ---------- Menu toggle ---------- */
.shell41af4-menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--shell41af4-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
}

.shell41af4-menu-toggle-bar,
.shell41af4-menu-toggle-bar::before,
.shell41af4-menu-toggle-bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shell41af4-text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease, background 0.18s ease;
}

.shell41af4-menu-toggle-bar {
  position: relative;
}

.shell41af4-menu-toggle-bar::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.shell41af4-menu-toggle-bar::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.shell41af4-menu-toggle.is-open .shell41af4-menu-toggle-bar {
  background: transparent;
}

.shell41af4-menu-toggle.is-open .shell41af4-menu-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
  background: var(--shell41af4-accent);
}

.shell41af4-menu-toggle.is-open .shell41af4-menu-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--shell41af4-accent);
}

/* ---------- Menu overlay ---------- */
.shell41af4-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 100%;
  max-width: 480px;
  max-height: 100vh;
  overflow-y: auto;
  background: var(--shell41af4-bg-deep);
  background-image: radial-gradient(circle at 80% 0%, rgba(255, 149, 0, 0.16), transparent 50%);
  z-index: 70;
  padding: calc(var(--shell41af4-header-h) + 16px) 18px 32px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}

.shell41af4-menu.is-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

.shell41af4-menu-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 65;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease;
}

.shell41af4-menu-scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.shell41af4-menu-block {
  margin-bottom: 18px;
}

.shell41af4-menu-label {
  font-family: var(--shell41af4-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell41af4-accent);
  margin-bottom: 8px;
  padding-left: 2px;
}

.shell41af4-menu-list {
  display: grid;
  gap: 6px;
}

.shell41af4-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--shell41af4-radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--shell41af4-line-soft);
  color: var(--shell41af4-text);
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.shell41af4-menu-link:active {
  transform: translateY(1px);
}

.shell41af4-menu-link:hover {
  background: rgba(255, 149, 0, 0.08);
  border-color: var(--shell41af4-line-strong);
}

.shell41af4-menu-link small {
  color: var(--shell41af4-text-muted);
  font-size: 12px;
  font-weight: 500;
}

.shell41af4-menu-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

/* ---------- Hero carousel ---------- */
.shell41af4-hero {
  position: relative;
  margin: 14px 12px 0;
  border-radius: var(--shell41af4-radius-lg);
  overflow: hidden;
  box-shadow: var(--shell41af4-shadow-md);
  background: var(--shell41af4-bg-deep);
}

.shell41af4-hero-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.shell41af4-hero-slide {
  position: relative;
  min-width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

.shell41af4-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell41af4-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(28, 26, 24, 0) 35%, rgba(28, 26, 24, 0.88) 100%);
}

.shell41af4-hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--shell41af4-radius-pill);
  background: rgba(255, 149, 0, 0.9);
  color: #1d1408;
  font-family: var(--shell41af4-font-display);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.shell41af4-hero-title {
  font-family: var(--shell41af4-font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.shell41af4-hero-sub {
  color: var(--shell41af4-text-soft);
  font-size: 13px;
  margin-bottom: 2px;
}

.shell41af4-hero-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--shell41af4-radius-pill);
  background: linear-gradient(135deg, var(--shell41af4-accent), #ff7a00);
  color: #1d1408;
  font-family: var(--shell41af4-font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: var(--shell41af4-shadow-accent);
}

.shell41af4-hero-cta:active {
  transform: translateY(1px);
}

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

.shell41af4-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--shell41af4-radius-pill);
  background: rgba(255, 204, 203, 0.45);
  transition: width 0.25s ease, background 0.25s ease;
  padding: 0;
}

.shell41af4-hero-dot.is-active {
  width: 20px;
  background: var(--shell41af4-accent);
}

/* ---------- Stats strip ---------- */
.shell41af4-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 12px 0;
}

.shell41af4-stat {
  padding: 10px 8px;
  border-radius: var(--shell41af4-radius-md);
  background: var(--shell41af4-bg-soft);
  border: 1px solid var(--shell41af4-line-soft);
  text-align: center;
}

.shell41af4-stat-num {
  font-family: var(--shell41af4-font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--shell41af4-accent-hi);
  line-height: 1.1;
}

.shell41af4-stat-label {
  font-size: 11px;
  color: var(--shell41af4-text-muted);
  letter-spacing: 0.4px;
  margin-top: 3px;
}

/* ---------- Section heading ---------- */
.shell41af4-section {
  margin: 24px 0 0;
  padding: 0 12px;
}

.shell41af4-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--shell41af4-line-soft);
}

.shell41af4-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--shell41af4-font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2px;
  color: var(--shell41af4-text);
}

.shell41af4-section-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--shell41af4-accent), var(--shell41af4-accent-deep));
}

.shell41af4-section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--shell41af4-text-muted);
  text-transform: uppercase;
}

/* ---------- Game grid & cards ---------- */
.shell41af4-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
}

.shell41af4-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  transition: transform 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell41af4-game-card:active {
  transform: translateY(2px);
}

.shell41af4-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell41af4-radius-md);
  background: var(--shell41af4-bg-deep);
  border: 1px solid var(--shell41af4-line);
  box-shadow: var(--shell41af4-shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.shell41af4-game-card:hover .shell41af4-game-thumb,
.shell41af4-game-card:focus-visible .shell41af4-game-thumb {
  border-color: var(--shell41af4-line-strong);
  box-shadow: 0 0 0 2px rgba(255, 149, 0, 0.25);
}

.shell41af4-game-name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--shell41af4-text-soft);
  text-align: center;
  max-height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

/* ---------- Content modules ---------- */
.shell41af4-content {
  margin-top: 26px;
}

.shell41af4-panel {
  margin: 0 12px 14px;
  padding: 16px 15px;
  border-radius: var(--shell41af4-radius-lg);
  background: linear-gradient(180deg, var(--shell41af4-bg-elev), var(--shell41af4-bg-soft));
  border: 1px solid var(--shell41af4-line-soft);
  box-shadow: var(--shell41af4-shadow-sm);
}

.shell41af4-panel-title {
  font-family: var(--shell41af4-font-display);
  font-weight: 800;
  font-size: 16.5px;
  line-height: 1.3;
  color: var(--shell41af4-text);
  margin-bottom: 8px;
}

.shell41af4-panel-lead {
  font-size: 13.5px;
  color: var(--shell41af4-text);
  margin-bottom: 10px;
}

.shell41af4-panel p {
  font-size: 13.5px;
  color: var(--shell41af4-text-muted);
  margin-bottom: 10px;
}

.shell41af4-panel p strong,
.shell41af4-panel strong {
  color: var(--shell41af4-text);
  font-weight: 700;
}

.shell41af4-panel a {
  color: var(--shell41af4-accent-hi);
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 184, 77, 0.45);
}

.shell41af4-list {
  display: grid;
  gap: 9px;
  margin: 8px 0 4px;
}

.shell41af4-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--shell41af4-text-muted);
  line-height: 1.5;
}

.shell41af4-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell41af4-accent);
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.18);
}

.shell41af4-list li strong {
  color: var(--shell41af4-text);
}

.shell41af4-subq {
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: var(--shell41af4-radius-md);
  background: rgba(255, 149, 0, 0.07);
  border-left: 3px solid var(--shell41af4-accent);
}

.shell41af4-subq dt {
  font-family: var(--shell41af4-font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--shell41af4-text);
  margin-bottom: 3px;
}

.shell41af4-subq dd {
  font-size: 13px;
  color: var(--shell41af4-text-muted);
}

.shell41af4-subq dl {
  display: grid;
  gap: 8px;
}

/* ---------- Inline CTA strip ---------- */
.shell41af4-ctastrip {
  margin: 14px 12px 0;
  padding: 14px;
  border-radius: var(--shell41af4-radius-lg);
  background: linear-gradient(120deg, rgba(255, 149, 0, 0.18), rgba(111, 78, 55, 0.18));
  border: 1px solid var(--shell41af4-line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shell41af4-ctastrip-text {
  font-family: var(--shell41af4-font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--shell41af4-text);
  line-height: 1.3;
}

.shell41af4-ctastrip-text small {
  display: block;
  font-weight: 500;
  font-size: 11.5px;
  color: var(--shell41af4-text-muted);
  margin-top: 2px;
}

/* ---------- Comparison table ---------- */
.shell41af4-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-top: 6px;
  border-radius: var(--shell41af4-radius-md);
  overflow: hidden;
  border: 1px solid var(--shell41af4-line-soft);
}

.shell41af4-compare th,
.shell41af4-compare td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--shell41af4-line-soft);
  vertical-align: top;
}

.shell41af4-compare th {
  background: rgba(255, 149, 0, 0.12);
  color: var(--shell41af4-text);
  font-family: var(--shell41af4-font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shell41af4-compare td {
  color: var(--shell41af4-text-muted);
}

.shell41af4-compare tr:last-child td {
  border-bottom: none;
}

.shell41af4-compare td strong {
  color: var(--shell41af4-text);
}

/* ---------- Extended footer ---------- */
.shell41af4-ext {
  margin: 26px 12px 0;
  padding: 18px 15px;
  border-radius: var(--shell41af4-radius-lg);
  background: var(--shell41af4-bg-deep);
  border: 1px solid var(--shell41af4-line-soft);
}

.shell41af4-ext-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--shell41af4-line-soft);
}

.shell41af4-ext-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 149, 0, 0.5);
  flex-shrink: 0;
}

.shell41af4-ext-brand-text {
  font-size: 12.5px;
  color: var(--shell41af4-text-muted);
  line-height: 1.5;
}

.shell41af4-ext-brand-text b {
  display: block;
  font-family: var(--shell41af4-font-display);
  font-size: 15px;
  color: var(--shell41af4-text);
  font-weight: 800;
  margin-bottom: 2px;
}

.shell41af4-ext-dir-title {
  font-family: var(--shell41af4-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell41af4-accent);
  margin-bottom: 9px;
}

.shell41af4-ext-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  margin-bottom: 16px;
}

.shell41af4-ext-dir a {
  font-size: 12.5px;
  color: var(--shell41af4-text-soft);
  padding: 4px 0;
  border-bottom: 1px dotted var(--shell41af4-line-soft);
}

.shell41af4-ext-dir a:active {
  color: var(--shell41af4-accent-hi);
}

.shell41af4-ext-promo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.shell41af4-ext-promo button,
.shell41af4-ext-promo a.shell41af4-ext-promo-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--shell41af4-radius-md);
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.16), rgba(111, 78, 55, 0.16));
  border: 1px solid var(--shell41af4-line-strong);
  text-align: left;
  min-height: 48px;
}

.shell41af4-ext-promo-btn b {
  font-family: var(--shell41af4-font-display);
  font-size: 12.5px;
  color: var(--shell41af4-text);
  font-weight: 800;
}

.shell41af4-ext-promo-btn span {
  font-size: 11px;
  color: var(--shell41af4-text-muted);
}

.shell41af4-ext-disclaimer {
  padding-top: 12px;
  border-top: 1px solid var(--shell41af4-line-soft);
  font-size: 11.5px;
  color: var(--shell41af4-text-faint);
  line-height: 1.55;
}

/* ---------- Common footer ---------- */
.shell41af4-footer {
  margin: 18px 12px 0;
  padding: 14px 0 6px;
  border-top: 1px solid var(--shell41af4-line-soft);
  text-align: center;
}

.shell41af4-footer-copy {
  font-size: 11.5px;
  color: var(--shell41af4-text-faint);
  line-height: 1.6;
}

.shell41af4-footer-copy b {
  color: var(--shell41af4-text-muted);
  font-weight: 700;
}

/* ---------- Bottom navigation ---------- */
.shell41af4-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--shell41af4-bottomnav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--shell41af4-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--shell41af4-line);
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.4);
  z-index: 55;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.shell41af4-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  color: var(--shell41af4-text-muted);
  transition: transform 0.18s ease, color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell41af4-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--shell41af4-accent);
  transition: width 0.22s ease;
}

.shell41af4-nav-item.is-active {
  color: var(--shell41af4-accent-hi);
  transform: translateY(-3px);
}

.shell41af4-nav-item.is-active::before {
  width: 28px;
}

.shell41af4-nav-item:active {
  transform: translateY(-2px);
}

.shell41af4-nav-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.shell41af4-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shell41af4-nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
}

.shell41af4-nav-item.is-promo .shell41af4-nav-label {
  color: var(--shell41af4-accent-hi);
}

.shell41af4-nav-badge {
  position: absolute;
  top: 4px;
  right: 50%;
  margin-right: -16px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: var(--shell41af4-radius-pill);
  background: var(--shell41af4-accent);
  color: #1d1408;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---------- Animations ---------- */
@keyframes shell41af4-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shell41af4-fade {
  animation: shell41af4-fade-up 0.5s ease both;
}

@keyframes shell41af4-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 149, 0, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 149, 0, 0);
  }
}

.shell41af4-pulse {
  animation: shell41af4-pulse 2.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Responsive tweaks inside mobile canvas ---------- */
@media (min-width: 360px) {
  .shell41af4-brand-name {
    font-size: 20px;
  }
  .shell41af4-hero-title {
    font-size: 21px;
  }
}

@media (min-width: 393px) {
  .shell41af4-game-grid {
    gap: 12px 10px;
  }
  .shell41af4-game-name {
    font-size: 11.5px;
  }
  .shell41af4-section-title {
    font-size: 17px;
  }
}

@media (min-width: 414px) {
  .shell41af4-stats {
    gap: 10px;
  }
  .shell41af4-stat-num {
    font-size: 20px;
  }
}

/* Wide-screen backdrop keeps the mobile canvas centered */
@media (min-width: 481px) {
  body {
    background: #0c0b0a;
    background-image: radial-gradient(circle at 50% 0%, #1a1714, #0c0b0a 60%);
  }
}
