/* ==========================================================================
   1xbet thailand - adaptive palette stylesheet
   Canvas: 320-430px mobile-first, centered phone frame on wide screens
   Palette anchors: #212F3D (canvas) / #8B008B (deep accent) /
                    #CC99FF (lilac ink) / #FFB3BA (blush ink)
   ========================================================================== */

/* ---------- design tokens (all variables carry the site prefix) ---------- */
:root {
  --shellfb8c0-canvas: #212f3d;
  --shellfb8c0-canvas-deep: #182431;
  --shellfb8c0-canvas-edge: #141e29;
  --shellfb8c0-panel: #253747;
  --shellfb8c0-panel-soft: #2a3f51;
  --shellfb8c0-magenta: #8b008b;
  --shellfb8c0-magenta-soft: #a11ba1;
  --shellfb8c0-lilac: #cc99ff;
  --shellfb8c0-lilac-bright: #dcb0ff;
  --shellfb8c0-blush: #ffb3ba;
  --shellfb8c0-ink: #ecdcf8;
  --shellfb8c0-ink-dim: #b9a6cd;
  --shellfb8c0-line: rgba(204, 153, 255, 0.22);
  --shellfb8c0-line-strong: rgba(204, 153, 255, 0.4);
  --shellfb8c0-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
  --shellfb8c0-radius-xl: 20px;
  --shellfb8c0-radius-lg: 16px;
  --shellfb8c0-radius-md: 12px;
  --shellfb8c0-radius-sm: 10px;
  --shellfb8c0-topbar-h: 58px;
  --shellfb8c0-dock-space: 122px;
  --shellfb8c0-tap: 44px;
  --shellfb8c0-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

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

body.shellfb8c0-page {
  margin: 0;
  padding: 0;
  font-family: var(--shellfb8c0-font);
  background: var(--shellfb8c0-canvas-edge);
  color: var(--shellfb8c0-ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: var(--shellfb8c0-lilac-bright);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

:focus-visible {
  outline: 2px solid var(--shellfb8c0-blush);
  outline-offset: 2px;
}

/* centered phone canvas; wide screens keep the same mobile experience */
.shellfb8c0-canvas {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shellfb8c0-canvas);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.shellfb8c0-main {
  padding: calc(var(--shellfb8c0-topbar-h) + 10px) 12px
    var(--shellfb8c0-dock-space);
}

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

/* ==========================================================================
   Top bar - edge-aligned functional header
   ========================================================================== */
.shellfb8c0-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--shellfb8c0-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(24, 36, 49, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shellfb8c0-line);
  z-index: 60;
}

.shellfb8c0-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-left: 2px;
}

.shellfb8c0-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--shellfb8c0-line-strong);
  object-fit: cover;
  flex: 0 0 auto;
}

.shellfb8c0-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--shellfb8c0-lilac-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shellfb8c0-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* lightly rounded text button group */
.shellfb8c0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--shellfb8c0-tap);
  padding: 9px 13px;
  border-radius: var(--shellfb8c0-radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.shellfb8c0-btn:active {
  transform: translateY(2px);
}

.shellfb8c0-btn--primary {
  background: linear-gradient(135deg, var(--shellfb8c0-magenta), #6d0d6d);
  color: #ffe6ff;
  box-shadow: 0 4px 14px rgba(139, 0, 139, 0.45);
}

.shellfb8c0-btn--ghost {
  background: transparent;
  border-color: var(--shellfb8c0-line-strong);
  color: var(--shellfb8c0-lilac-bright);
}

.shellfb8c0-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--shellfb8c0-tap);
  height: var(--shellfb8c0-tap);
  border-radius: var(--shellfb8c0-radius-sm);
  border: 1px solid var(--shellfb8c0-line);
  background: rgba(204, 153, 255, 0.08);
  color: var(--shellfb8c0-lilac-bright);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.shellfb8c0-menu-toggle:active {
  transform: translateY(2px);
}

.shellfb8c0-menu-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ==========================================================================
   Full-height menu layer
   ========================================================================== */
.shellfb8c0-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 23, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 70;
}

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

.shellfb8c0-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translate(calc(-50% - 104%), 0);
  width: 84%;
  max-width: 380px;
  background: var(--shellfb8c0-canvas-deep);
  border-right: 1px solid var(--shellfb8c0-line);
  z-index: 80;
  overflow-y: auto;
  padding: 14px 14px 28px;
  transition: transform 0.28s ease;
}

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

.shellfb8c0-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 12px;
  border-bottom: 1px solid var(--shellfb8c0-line);
  margin-bottom: 6px;
}

.shellfb8c0-menu-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--shellfb8c0-lilac-bright);
}

.shellfb8c0-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--shellfb8c0-tap);
  height: var(--shellfb8c0-tap);
  border-radius: var(--shellfb8c0-radius-sm);
  border: 1px solid var(--shellfb8c0-line);
  background: rgba(204, 153, 255, 0.08);
  color: var(--shellfb8c0-blush);
}

.shellfb8c0-menu-close svg {
  width: 18px;
  height: 18px;
  display: block;
}

.shellfb8c0-menu-group {
  margin-top: 16px;
}

.shellfb8c0-menu-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--shellfb8c0-blush);
  padding: 0 4px 8px;
}

.shellfb8c0-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--shellfb8c0-tap);
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: var(--shellfb8c0-radius-sm);
  background: rgba(204, 153, 255, 0.06);
  border: 1px solid var(--shellfb8c0-line);
  color: var(--shellfb8c0-ink);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease,
    border-color 0.2s ease;
}

.shellfb8c0-menu-item:active {
  transform: translateY(2px);
}

.shellfb8c0-menu-item:hover,
.shellfb8c0-menu-item:focus-visible {
  background: rgba(139, 0, 139, 0.32);
  border-color: var(--shellfb8c0-line-strong);
  text-decoration: none;
}

.shellfb8c0-menu-item .shellfb8c0-menu-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shellfb8c0-magenta-soft);
  flex: 0 0 auto;
}

.shellfb8c0-menu-item.shellfb8c0-is-current {
  border-color: var(--shellfb8c0-blush);
  background: rgba(255, 179, 186, 0.12);
  color: var(--shellfb8c0-blush);
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.shellfb8c0-hero {
  position: relative;
  border-radius: var(--shellfb8c0-radius-lg);
  overflow: hidden;
  border: 1px solid var(--shellfb8c0-line);
  box-shadow: var(--shellfb8c0-shadow);
  margin: 4px 0 14px;
}

.shellfb8c0-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s ease;
}

.shellfb8c0-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--shellfb8c0-panel);
  text-align: left;
}

.shellfb8c0-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shellfb8c0-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 14px 12px;
  background: linear-gradient(
    180deg,
    rgba(20, 30, 41, 0) 0%,
    rgba(20, 30, 41, 0.86) 62%,
    rgba(20, 30, 41, 0.96) 100%
  );
}

.shellfb8c0-slide-cap b {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.shellfb8c0-slide-cap span {
  font-size: 12px;
  color: var(--shellfb8c0-blush);
  font-weight: 600;
}

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

.shellfb8c0-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--shellfb8c0-blush);
  background: rgba(20, 30, 41, 0.55);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shellfb8c0-dot.shellfb8c0-is-active {
  background: var(--shellfb8c0-blush);
  transform: scale(1.18);
}

/* ==========================================================================
   Intro block
   ========================================================================== */
.shellfb8c0-intro {
  padding: 4px 2px 6px;
}

.shellfb8c0-h1 {
  font-size: 25px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 10px;
}

.shellfb8c0-h1 em {
  font-style: normal;
  color: var(--shellfb8c0-lilac-bright);
}

.shellfb8c0-lede {
  font-size: 14px;
  font-weight: 400;
  color: var(--shellfb8c0-ink);
  margin: 0 0 14px;
}

/* compact metric chips - label plus short explanation */
.shellfb8c0-chiprow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 6px;
}

.shellfb8c0-chip {
  background: var(--shellfb8c0-panel);
  border: 1px solid var(--shellfb8c0-line);
  border-radius: var(--shellfb8c0-radius-md);
  padding: 10px 12px;
}

.shellfb8c0-chip b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--shellfb8c0-blush);
  line-height: 1.2;
}

.shellfb8c0-chip span {
  display: block;
  font-size: 11px;
  color: var(--shellfb8c0-ink-dim);
  margin-top: 3px;
  line-height: 1.4;
}

/* ==========================================================================
   Section shell
   ========================================================================== */
.shellfb8c0-section {
  margin-top: 26px;
}

.shellfb8c0-sec-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.shellfb8c0-kicker {
  flex: 0 0 auto;
  margin-top: 4px;
  width: 26px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--shellfb8c0-blush),
    var(--shellfb8c0-magenta-soft)
  );
}

.shellfb8c0-h2 {
  font-size: 19px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

.shellfb8c0-h2 em {
  font-style: normal;
  color: var(--shellfb8c0-lilac-bright);
}

.shellfb8c0-sub {
  font-size: 13px;
  color: var(--shellfb8c0-ink-dim);
  margin: 0 0 12px;
  padding: 0 2px;
}

.shellfb8c0-sub a {
  color: var(--shellfb8c0-blush);
  font-weight: 600;
}

.shellfb8c0-h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shellfb8c0-lilac-bright);
  margin: 14px 0 6px;
}

.shellfb8c0-p {
  font-size: 13.5px;
  color: var(--shellfb8c0-ink);
  margin: 0 0 10px;
}

.shellfb8c0-p strong {
  color: var(--shellfb8c0-blush);
  font-weight: 700;
}

/* ==========================================================================
   Game grid - image with bottom name bar
   ========================================================================== */
.shellfb8c0-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shellfb8c0-tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--shellfb8c0-line);
  border-radius: var(--shellfb8c0-radius-md);
  background: var(--shellfb8c0-panel);
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.shellfb8c0-tile:active {
  transform: translateY(2px);
  border-color: var(--shellfb8c0-blush);
}

.shellfb8c0-tile-frame {
  display: block;
  padding: 5px;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(204, 153, 255, 0.14),
    rgba(33, 47, 61, 0) 70%
  );
}

.shellfb8c0-tile-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.shellfb8c0-tile-name {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 5px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shellfb8c0-ink);
  background: linear-gradient(
    180deg,
    rgba(139, 0, 139, 0.5),
    rgba(109, 13, 109, 0.62)
  );
  border-top: 1px solid rgba(255, 179, 186, 0.16);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.shellfb8c0-grid-more {
  grid-column: 1 / -1;
  margin-top: 2px;
  text-align: center;
}

.shellfb8c0-grid-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--shellfb8c0-tap);
  padding: 10px 16px;
  border-radius: var(--shellfb8c0-radius-sm);
  border: 1px dashed var(--shellfb8c0-line-strong);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shellfb8c0-blush);
  transition: background-color 0.2s ease;
}

.shellfb8c0-grid-more a:hover,
.shellfb8c0-grid-more a:focus-visible {
  background: rgba(255, 179, 186, 0.1);
  text-decoration: none;
}

/* ==========================================================================
   Payment condition rows (metric + explanation rhythm)
   ========================================================================== */
.shellfb8c0-rows {
  display: grid;
  gap: 8px;
}

.shellfb8c0-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--shellfb8c0-radius-md);
  border: 1px solid var(--shellfb8c0-line);
  background: var(--shellfb8c0-panel);
}

.shellfb8c0-row-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 0, 139, 0.35);
  border: 1px solid var(--shellfb8c0-line);
}

.shellfb8c0-row-ico svg {
  width: 17px;
  height: 17px;
  color: var(--shellfb8c0-blush);
}

.shellfb8c0-row-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shellfb8c0-lilac-bright);
  margin-bottom: 2px;
}

.shellfb8c0-row-text {
  display: block;
  font-size: 12.5px;
  color: var(--shellfb8c0-ink-dim);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.shellfb8c0-faq {
  display: grid;
  gap: 8px;
}

.shellfb8c0-qa {
  border: 1px solid var(--shellfb8c0-line);
  border-radius: var(--shellfb8c0-radius-md);
  background: var(--shellfb8c0-panel);
  overflow: hidden;
}

.shellfb8c0-qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--shellfb8c0-tap);
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shellfb8c0-ink);
  cursor: pointer;
}

.shellfb8c0-qa summary::-webkit-details-marker {
  display: none;
}

.shellfb8c0-qa summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--shellfb8c0-line-strong);
  color: var(--shellfb8c0-blush);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.shellfb8c0-qa[open] summary::after {
  content: "\2212";
  background: rgba(255, 179, 186, 0.16);
  transform: rotate(180deg);
}

.shellfb8c0-qa-body {
  padding: 0 14px 13px;
  font-size: 13px;
  color: var(--shellfb8c0-ink-dim);
  border-top: 1px solid var(--shellfb8c0-line);
  padding-top: 10px;
}

.shellfb8c0-qa-body a {
  color: var(--shellfb8c0-blush);
  font-weight: 600;
}

/* ==========================================================================
   Achievements - milestone bars
   ========================================================================== */
.shellfb8c0-mile {
  margin-bottom: 12px;
}

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

.shellfb8c0-mile-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--shellfb8c0-ink);
}

.shellfb8c0-mile-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellfb8c0-blush);
}

.shellfb8c0-mile-bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(204, 153, 255, 0.12);
  border: 1px solid var(--shellfb8c0-line);
  overflow: hidden;
  margin-bottom: 5px;
}

.shellfb8c0-mile-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    var(--shellfb8c0-magenta),
    var(--shellfb8c0-blush)
  );
}

.shellfb8c0-mile-text {
  font-size: 12px;
  color: var(--shellfb8c0-ink-dim);
}

/* ==========================================================================
   RTP stat cards
   ========================================================================== */
.shellfb8c0-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.shellfb8c0-stat {
  padding: 12px 10px;
  border-radius: var(--shellfb8c0-radius-md);
  border: 1px solid var(--shellfb8c0-line);
  background: var(--shellfb8c0-panel);
  text-align: center;
}

.shellfb8c0-stat b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--shellfb8c0-blush);
  line-height: 1.15;
}

.shellfb8c0-stat span {
  display: block;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--shellfb8c0-ink-dim);
  margin-top: 5px;
}

/* ==========================================================================
   Category highlights - compact 2-col mini cards
   ========================================================================== */
.shellfb8c0-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shellfb8c0-cat {
  padding: 12px;
  border-radius: var(--shellfb8c0-radius-md);
  border: 1px solid var(--shellfb8c0-line);
  background: linear-gradient(
    160deg,
    var(--shellfb8c0-panel-soft),
    var(--shellfb8c0-canvas-deep)
  );
}

.shellfb8c0-cat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shellfb8c0-blush);
  border: 1px solid rgba(255, 179, 186, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 8px;
}

.shellfb8c0-cat b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.shellfb8c0-cat p {
  font-size: 12px;
  color: var(--shellfb8c0-ink-dim);
  margin: 0;
  line-height: 1.5;
}

.shellfb8c0-cat--wide {
  grid-column: 1 / -1;
}

/* ==========================================================================
   Key takeaways - numbered list
   ========================================================================== */
.shellfb8c0-takes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: shellfb8c0-take;
}

.shellfb8c0-take {
  counter-increment: shellfb8c0-take;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--shellfb8c0-radius-md);
  border: 1px solid var(--shellfb8c0-line);
  background: var(--shellfb8c0-panel);
  font-size: 12.8px;
  color: var(--shellfb8c0-ink);
}

.shellfb8c0-take::before {
  content: counter(shellfb8c0-take, decimal-leading-zero);
  font-size: 13px;
  font-weight: 800;
  color: var(--shellfb8c0-blush);
  border-right: 1px solid var(--shellfb8c0-line);
  height: 100%;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Extended footer (homepage exclusive)
   ========================================================================== */
.shellfb8c0-xfooter {
  /* negative side margins stretch the block to the full canvas width
     while it lives inside the padded main column */
  margin: 30px -12px 0;
  border-top: 1px solid var(--shellfb8c0-line-strong);
  padding: 18px 12px 16px;
  background: var(--shellfb8c0-canvas-deep);
  border-radius: var(--shellfb8c0-radius-lg) var(--shellfb8c0-radius-lg) 0 0;
}

.shellfb8c0-xfooter-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellfb8c0-blush);
  margin: 0 0 10px;
}

.shellfb8c0-promos {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.shellfb8c0-promo-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: var(--shellfb8c0-tap);
  padding: 11px 14px;
  border-radius: var(--shellfb8c0-radius-md);
  border: 1px solid var(--shellfb8c0-line-strong);
  background: linear-gradient(
    120deg,
    rgba(139, 0, 139, 0.5),
    rgba(33, 47, 61, 0.4)
  );
  color: var(--shellfb8c0-ink);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.shellfb8c0-promo-btn:active {
  transform: translateY(2px);
  border-color: var(--shellfb8c0-blush);
}

.shellfb8c0-promo-btn small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--shellfb8c0-ink-dim);
  margin-top: 2px;
}

.shellfb8c0-promo-btn svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--shellfb8c0-blush);
}

.shellfb8c0-brandnote {
  font-size: 12.5px;
  color: var(--shellfb8c0-ink-dim);
  margin: 0 0 18px;
  padding: 0 2px;
}

.shellfb8c0-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-bottom: 16px;
}

.shellfb8c0-dir-col {
  display: grid;
  gap: 6px;
  align-content: start;
}

.shellfb8c0-dir-link {
  font-size: 12px;
  line-height: 1.4;
  color: var(--shellfb8c0-lilac-bright);
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--shellfb8c0-line);
  background: rgba(204, 153, 255, 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.shellfb8c0-dir-link:hover,
.shellfb8c0-dir-link:focus-visible {
  background: rgba(139, 0, 139, 0.3);
  border-color: var(--shellfb8c0-line-strong);
  text-decoration: none;
}

.shellfb8c0-note {
  font-size: 11px;
  line-height: 1.55;
  color: var(--shellfb8c0-ink-dim);
  border-top: 1px solid var(--shellfb8c0-line);
  padding-top: 12px;
}

/* ==========================================================================
   Common footer
   ========================================================================== */
.shellfb8c0-footer {
  margin: 0 -12px;
  padding: 14px 12px 16px;
  text-align: center;
  border-top: 1px solid var(--shellfb8c0-line);
}

.shellfb8c0-footer p {
  margin: 0;
  font-size: 11.5px;
  color: var(--shellfb8c0-ink-dim);
}

.shellfb8c0-footer b {
  color: var(--shellfb8c0-lilac-bright);
}

/* ==========================================================================
   Floating dock - mobile bottom navigation
   ========================================================================== */
.shellfb8c0-dock {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 456px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 6px;
  border-radius: var(--shellfb8c0-radius-xl);
  background: rgba(24, 36, 49, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--shellfb8c0-line-strong);
  box-shadow: var(--shellfb8c0-shadow);
  z-index: 50;
}

.shellfb8c0-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shellfb8c0-tap);
  padding: 6px 2px 5px;
  border: 0;
  background: transparent;
  border-radius: 14px;
  color: var(--shellfb8c0-ink-dim);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, color 0.2s ease,
    background-color 0.2s ease;
}

.shellfb8c0-dock-item svg {
  width: 21px;
  height: 21px;
  display: block;
}

/* active role: fill change plus a short vertical lift */
.shellfb8c0-dock-item.shellfb8c0-is-active {
  color: var(--shellfb8c0-blush);
  background: rgba(255, 179, 186, 0.12);
  transform: translateY(-3px);
}

.shellfb8c0-dock-item:active {
  transform: translateY(-3px);
}

.shellfb8c0-dock-item:hover {
  color: var(--shellfb8c0-lilac-bright);
  text-decoration: none;
}

.shellfb8c0-dock-item.shellfb8c0-is-active:hover {
  color: var(--shellfb8c0-blush);
}

/* ==========================================================================
   Responsive refinements inside the 320-430px band and above
   ========================================================================== */

/* small phones: keep 4 game columns, tighten type */
@media (max-width: 359px) {
  .shellfb8c0-h1 {
    font-size: 22px;
  }

  .shellfb8c0-h2 {
    font-size: 17.5px;
  }

  .shellfb8c0-brand-name {
    font-size: 15px;
  }

  .shellfb8c0-btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  .shellfb8c0-stats {
    grid-template-columns: 1fr;
  }
}

/* 375px and up: a little more air */
@media (min-width: 375px) {
  .shellfb8c0-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .shellfb8c0-h1 {
    font-size: 27px;
  }

  .shellfb8c0-chiprow {
    gap: 10px;
  }

  .shellfb8c0-xfooter {
    margin-left: -14px;
    margin-right: -14px;
  }

  .shellfb8c0-footer {
    margin-left: -14px;
    margin-right: -14px;
  }
}

/* 400px and up: game grid may widen to five columns */
@media (min-width: 400px) {
  .shellfb8c0-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .shellfb8c0-tile-name {
    font-size: 10.5px;
  }

  .shellfb8c0-cats {
    gap: 10px;
  }
}

/* 430px and up: full five-column grid and roomier modules */
@media (min-width: 430px) {
  .shellfb8c0-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .shellfb8c0-grid {
    gap: 10px;
  }

  .shellfb8c0-h2 {
    font-size: 20px;
  }

  .shellfb8c0-lede,
  .shellfb8c0-p {
    font-size: 14px;
  }

  .shellfb8c0-chiprow {
    grid-template-columns: repeat(4, 1fr);
  }

  .shellfb8c0-promo-btn {
    padding: 12px 16px;
  }

  .shellfb8c0-xfooter {
    margin-left: -16px;
    margin-right: -16px;
  }

  .shellfb8c0-footer {
    margin-left: -16px;
    margin-right: -16px;
  }
}

/* wide screens keep the centered phone canvas */
@media (min-width: 560px) {
  body.shellfb8c0-page {
    background: radial-gradient(
        circle at 50% 0%,
        rgba(139, 0, 139, 0.22),
        rgba(20, 30, 41, 0) 55%
      ),
      var(--shellfb8c0-canvas-edge);
  }

  .shellfb8c0-canvas {
    border-left: 1px solid var(--shellfb8c0-line);
    border-right: 1px solid var(--shellfb8c0-line);
  }
}

/* Guide page: route cards and decision-focused reading blocks */
.shellfb8c0-guide-eyebrow,
.shellfb8c0-about-eyebrow {
  margin: 0 0 7px;
  color: var(--shellfb8c0-blush);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shellfb8c0-guide-actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.shellfb8c0-guide-action,
.shellfb8c0-guide-final,
.shellfb8c0-guide-inline {
  width: 100%;
  min-height: var(--shellfb8c0-tap);
  border: 1px solid var(--shellfb8c0-line-strong);
  border-radius: var(--shellfb8c0-radius-md);
  background: linear-gradient(120deg, rgba(139, 0, 139, 0.48), rgba(42, 63, 81, 0.7));
  color: var(--shellfb8c0-ink);
  text-align: left;
  padding: 11px 13px;
  transition: transform 0.15s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.shellfb8c0-guide-action:active,
.shellfb8c0-guide-final:active,
.shellfb8c0-guide-inline:active,
.shellfb8c0-guide-use-grid button:active,
.shellfb8c0-about-cta:active {
  transform: translateY(2px);
}

.shellfb8c0-guide-action b,
.shellfb8c0-guide-final,
.shellfb8c0-guide-inline {
  font-size: 13px;
  font-weight: 800;
}

.shellfb8c0-guide-action span {
  display: block;
  margin-top: 3px;
  color: var(--shellfb8c0-ink-dim);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

.shellfb8c0-guide-inline {
  margin-top: 7px;
  color: var(--shellfb8c0-blush);
  background: transparent;
}

.shellfb8c0-guide-checks,
.shellfb8c0-guide-route,
.shellfb8c0-guide-use-grid {
  display: grid;
  gap: 8px;
}

.shellfb8c0-guide-check,
.shellfb8c0-guide-route > div,
.shellfb8c0-guide-use-grid > div,
.shellfb8c0-guide-ticket,
.shellfb8c0-guide-steps li {
  border: 1px solid var(--shellfb8c0-line);
  border-radius: var(--shellfb8c0-radius-md);
  background: var(--shellfb8c0-panel);
}

.shellfb8c0-guide-check {
  position: relative;
  padding: 12px 12px 12px 42px;
}

.shellfb8c0-guide-check > span {
  position: absolute;
  left: 12px;
  top: 13px;
  color: var(--shellfb8c0-blush);
  font-size: 11px;
  font-weight: 800;
}

.shellfb8c0-guide-check b,
.shellfb8c0-guide-route b,
.shellfb8c0-guide-use-grid b {
  display: block;
  color: var(--shellfb8c0-lilac-bright);
  font-size: 13.5px;
}

.shellfb8c0-guide-check p,
.shellfb8c0-guide-route p,
.shellfb8c0-guide-use-grid p,
.shellfb8c0-guide-ticket p {
  margin: 3px 0 0;
  color: var(--shellfb8c0-ink-dim);
  font-size: 12px;
  line-height: 1.5;
}

.shellfb8c0-guide-steps {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

.shellfb8c0-guide-steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 11px;
}

.shellfb8c0-guide-step-no,
.shellfb8c0-guide-route-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 179, 186, 0.12);
  border: 1px solid var(--shellfb8c0-line-strong);
  color: var(--shellfb8c0-blush);
  font-size: 12px;
  font-weight: 800;
}

.shellfb8c0-guide-steps b {
  color: #ffffff;
  font-size: 13px;
}

.shellfb8c0-guide-steps p {
  margin: 2px 0 0;
  color: var(--shellfb8c0-ink-dim);
  font-size: 12px;
}

.shellfb8c0-guide-route > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  padding: 11px;
}

.shellfb8c0-guide-route-mark {
  grid-row: span 2;
}

.shellfb8c0-guide-ticket {
  margin: 12px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--shellfb8c0-blush);
}

.shellfb8c0-guide-ticket p + p {
  border-top: 1px solid var(--shellfb8c0-line);
  padding-top: 8px;
}

.shellfb8c0-guide-ticket span {
  display: inline-block;
  min-width: 62px;
  color: var(--shellfb8c0-blush);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shellfb8c0-guide-use-grid > div {
  padding: 12px;
}

.shellfb8c0-guide-use-grid button {
  min-height: var(--shellfb8c0-tap);
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid var(--shellfb8c0-line-strong);
  border-radius: var(--shellfb8c0-radius-sm);
  background: rgba(204, 153, 255, 0.08);
  color: var(--shellfb8c0-blush);
  font-size: 11.5px;
  font-weight: 700;
}

.shellfb8c0-guide-final {
  margin-top: 12px;
  text-align: center;
  color: #ffffff;
}

/* About page: editorial split, audit table and scope map */
.shellfb8c0-about-hero {
  display: grid;
  gap: 13px;
  margin-top: 4px;
}

.shellfb8c0-about-hero-copy {
  padding: 2px;
}

.shellfb8c0-about-poster {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--shellfb8c0-line-strong);
  border-radius: var(--shellfb8c0-radius-lg);
  background: var(--shellfb8c0-panel);
  box-shadow: var(--shellfb8c0-shadow);
}

.shellfb8c0-about-poster img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shellfb8c0-about-poster figcaption {
  padding: 8px 11px;
  color: var(--shellfb8c0-blush);
  font-size: 11px;
  font-weight: 700;
}

.shellfb8c0-about-cta,
.shellfb8c0-about-final {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--shellfb8c0-tap);
  margin-top: 12px;
  padding: 10px 13px;
  border: 1px solid var(--shellfb8c0-line-strong);
  border-radius: var(--shellfb8c0-radius-md);
  background: var(--shellfb8c0-magenta);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
}

.shellfb8c0-about-cta--quiet {
  background: transparent;
  color: var(--shellfb8c0-blush);
}

.shellfb8c0-about-columns,
.shellfb8c0-about-definitions,
.shellfb8c0-about-qa,
.shellfb8c0-about-next-grid {
  display: grid;
  gap: 8px;
}

.shellfb8c0-about-columns > div,
.shellfb8c0-about-definitions > div,
.shellfb8c0-about-qa > div,
.shellfb8c0-about-next-grid > a {
  padding: 12px;
  border: 1px solid var(--shellfb8c0-line);
  border-radius: var(--shellfb8c0-radius-md);
  background: var(--shellfb8c0-panel);
}

.shellfb8c0-about-number {
  display: block;
  margin-bottom: 5px;
  color: var(--shellfb8c0-blush);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.shellfb8c0-about-columns b,
.shellfb8c0-about-definitions b,
.shellfb8c0-about-qa b {
  display: block;
  color: var(--shellfb8c0-lilac-bright);
  font-size: 13.5px;
}

.shellfb8c0-about-columns p,
.shellfb8c0-about-definitions p,
.shellfb8c0-about-qa p {
  margin: 4px 0 0;
  color: var(--shellfb8c0-ink-dim);
  font-size: 12px;
  line-height: 1.5;
}

.shellfb8c0-about-audit {
  overflow: hidden;
  border: 1px solid var(--shellfb8c0-line);
  border-radius: var(--shellfb8c0-radius-md);
  background: var(--shellfb8c0-panel);
}

.shellfb8c0-about-audit-head,
.shellfb8c0-about-audit > div:not(.shellfb8c0-about-audit-head) {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 9px;
  padding: 10px;
}

.shellfb8c0-about-audit-head {
  color: var(--shellfb8c0-blush);
  background: rgba(139, 0, 139, 0.38);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.shellfb8c0-about-audit > div + div {
  border-top: 1px solid var(--shellfb8c0-line);
}

.shellfb8c0-about-audit b {
  color: var(--shellfb8c0-lilac-bright);
  font-size: 12.5px;
}

.shellfb8c0-about-audit p {
  margin: 0;
  color: var(--shellfb8c0-ink-dim);
  font-size: 11.5px;
  line-height: 1.45;
}

.shellfb8c0-about-map {
  display: grid;
  gap: 8px;
}

.shellfb8c0-about-map-main,
.shellfb8c0-about-map-edge {
  padding: 12px;
  border-radius: var(--shellfb8c0-radius-md);
  border: 1px solid var(--shellfb8c0-line);
}

.shellfb8c0-about-map-main {
  background: linear-gradient(145deg, rgba(139, 0, 139, 0.42), var(--shellfb8c0-panel));
}

.shellfb8c0-about-map-edge {
  background: rgba(20, 30, 41, 0.54);
}

.shellfb8c0-about-map b {
  color: #ffffff;
  font-size: 13.5px;
}

.shellfb8c0-about-map ul {
  margin: 7px 0 0;
  padding-left: 17px;
  color: var(--shellfb8c0-ink-dim);
  font-size: 12px;
  line-height: 1.55;
}

.shellfb8c0-about-next-grid a {
  display: block;
  color: var(--shellfb8c0-ink);
}

.shellfb8c0-about-next-grid a:hover,
.shellfb8c0-about-next-grid a:focus-visible {
  border-color: var(--shellfb8c0-blush);
  text-decoration: none;
}

.shellfb8c0-about-next-grid span {
  display: block;
  color: var(--shellfb8c0-blush);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shellfb8c0-about-next-grid b {
  display: block;
  margin-top: 4px;
  color: var(--shellfb8c0-lilac-bright);
  font-size: 13.5px;
}

.shellfb8c0-about-next-grid small {
  display: block;
  margin-top: 3px;
  color: var(--shellfb8c0-ink-dim);
  font-size: 11.5px;
}

.shellfb8c0-about-final {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

@media (min-width: 375px) {
  .shellfb8c0-guide-checks,
  .shellfb8c0-guide-route,
  .shellfb8c0-guide-use-grid,
  .shellfb8c0-about-columns,
  .shellfb8c0-about-definitions,
  .shellfb8c0-about-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shellfb8c0-about-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .shellfb8c0-guide-use-grid > div:last-child,
  .shellfb8c0-about-columns > div:last-child {
    grid-column: 1 / -1;
  }
}

/* reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .shellfb8c0-track,
  .shellfb8c0-tile,
  .shellfb8c0-dock-item,
  .shellfb8c0-btn,
  .shellfb8c0-menu,
  .shellfb8c0-scrim,
  .shellfb8c0-promo-btn {
    transition: none;
  }
}
