/* ==========================================================================
   cp jili - shell-native base stylesheet
   Canvas: 320-430px mobile-first; wide screens keep a centered phone frame.
   Class + property prefix: c490fe-
   Palette: #2D2D2D ink / #E0E0E0 paper / #880E4F plum / #FF5722 flame
   Voice: humanist serif headings, low-radius sections, sliding focus marks
   ========================================================================== */

:root {
  --c490fe-ink: #2D2D2D;
  --c490fe-ink-deep: #242424;
  --c490fe-ink-panel: #343434;
  --c490fe-ink-raise: #3B3B3B;
  --c490fe-paper: #E0E0E0;
  --c490fe-muted: #ADADAD;
  --c490fe-faint: #8F8F8F;
  --c490fe-plum: #880E4F;
  --c490fe-plum-soft: #A63A6C;
  --c490fe-flame: #FF5722;
  --c490fe-flame-ink: #20130C;
  --c490fe-line: #4A4A4A;
  --c490fe-line-soft: #414141;
  --c490fe-serif: "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --c490fe-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --c490fe-r: 3px;
  --c490fe-topbar-h: 58px;
  --c490fe-dock-h: 62px;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #1E1E1E;
  color: var(--c490fe-paper);
  font-family: var(--c490fe-sans);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

/* phone canvas: page shell never wider than 430px */
.c490fe-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c490fe-ink);
  border-left: 1px solid #3A3A3A;
  border-right: 1px solid #3A3A3A;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--c490fe-flame); }

h1, h2, h3 {
  font-family: var(--c490fe-serif);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

p { margin: 0 0 12px; }

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

:focus-visible {
  outline: 2px solid var(--c490fe-flame);
  outline-offset: 2px;
}

::selection { background: var(--c490fe-plum); color: #fff; }

.c490fe-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 90;
  background: var(--c490fe-flame);
  color: var(--c490fe-flame-ink);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--c490fe-r);
  transition: top 0.18s ease;
}
.c490fe-skip:focus { top: 6px; }

/* ---------- topbar: minimal title + action band ---------- */

.c490fe-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--c490fe-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: var(--c490fe-ink);
  border-top: 3px solid var(--c490fe-plum);
  border-bottom: 1px solid var(--c490fe-line);
}

.c490fe-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: var(--c490fe-paper);
}

.c490fe-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--c490fe-r);
  border: 1px solid var(--c490fe-line);
  display: block;
  flex: none;
}

.c490fe-brandname {
  font-family: var(--c490fe-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.c490fe-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* segmented action buttons (CTA shape) */
.c490fe-seg {
  display: inline-flex;
  align-items: stretch;
  min-height: 44px;
  border-radius: var(--c490fe-r);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.c490fe-seg > span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  white-space: nowrap;
}
.c490fe-seg > span + span {
  border-left: 1px solid rgba(32, 19, 12, 0.35);
  padding-left: 8px;
  font-family: var(--c490fe-serif);
}
.c490fe-seg:active { transform: translateY(1px) scale(0.98); }

.c490fe-seg--flame {
  background: var(--c490fe-flame);
  color: var(--c490fe-flame-ink);
}
.c490fe-seg--flame > span + span { border-left-color: rgba(32, 19, 12, 0.4); }

.c490fe-seg--ghost {
  border-color: var(--c490fe-flame);
  color: var(--c490fe-paper);
}
.c490fe-seg--ghost > span + span { border-left-color: rgba(224, 224, 224, 0.35); }

/* burger */
.c490fe-menubtn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: var(--c490fe-r);
  border: 1px solid var(--c490fe-line);
  background: var(--c490fe-ink-panel);
}
.c490fe-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c490fe-paper);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.c490fe-menubtn.c490fe-is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.c490fe-menubtn.c490fe-is-open span:nth-child(2) { opacity: 0; }
.c490fe-menubtn.c490fe-is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.c490fe-menubtn:active { transform: scale(0.94); }

/* ---------- slide-up route panel + scrim ---------- */

.c490fe-scrim {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(18, 18, 18, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.c490fe-scrim.c490fe-is-open { opacity: 1; pointer-events: auto; }

.c490fe-sheet {
  position: fixed;
  bottom: calc(var(--c490fe-dock-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(112%);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 55;
  background: var(--c490fe-ink-panel);
  border: 1px solid var(--c490fe-line);
  border-top: 2px solid var(--c490fe-plum);
  border-radius: 6px;
  padding: 12px 14px 14px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.c490fe-sheet.c490fe-is-open { transform: translateX(-50%) translateY(0); }

.c490fe-sheetacts {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.c490fe-sheetacts .c490fe-seg { flex: 1; justify-content: center; }

.c490fe-sheetgroup {
  margin: 10px 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c490fe-plum-soft);
  font-family: var(--c490fe-sans);
}
.c490fe-sheetgroup:first-of-type { margin-top: 2px; }

.c490fe-sheet a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 4px;
  color: var(--c490fe-paper);
  text-decoration: none;
  font-size: 14.5px;
  border-bottom: 1px solid var(--c490fe-line-soft);
}
.c490fe-sheet a:last-child { border-bottom: none; }
.c490fe-sheet a::after {
  content: "\203A";
  font-family: var(--c490fe-serif);
  color: var(--c490fe-faint);
  font-size: 18px;
}
.c490fe-sheet a:active { color: var(--c490fe-flame); }

/* ---------- floating dock (bottom nav) ---------- */

.c490fe-dock {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 410px;
  height: var(--c490fe-dock-h);
  z-index: 58;
  display: flex;
  align-items: stretch;
  background: var(--c490fe-ink-raise);
  border: 1px solid var(--c490fe-line);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  padding: 4px 2px 2px;
}

.c490fe-dockbtn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--c490fe-muted);
  border-radius: var(--c490fe-r);
  position: relative;
  padding: 2px 0 5px;
  transition: color 0.15s ease, transform 0.12s ease;
}
.c490fe-dockbtn svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.c490fe-dockbtn span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.c490fe-dockbtn:active { transform: translateY(1px) scale(0.95); }

/* active role marker: sliding underline bar */
.c490fe-dockbtn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--c490fe-flame);
  transform: translateX(-50%);
  transition: width 0.22s ease;
}
.c490fe-dockbtn.c490fe-is-active { color: var(--c490fe-flame); }
.c490fe-dockbtn.c490fe-is-active::after { width: 22px; }

/* ---------- main column ---------- */

.c490fe-main {
  padding: calc(var(--c490fe-topbar-h) + 14px) 12px 8px;
}

.c490fe-sec {
  border-top: 1px solid var(--c490fe-line-soft);
  padding-top: 18px;
  margin-top: 20px;
}
.c490fe-sec:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.c490fe-sec > h2 {
  font-size: 19px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.c490fe-sec > h2::before {
  content: "";
  flex: none;
  width: 4px;
  height: 15px;
  background: var(--c490fe-plum);
  transform: translateY(1px);
}

.c490fe-lede { color: var(--c490fe-muted); }

/* ---------- hero ---------- */

.c490fe-hero h1 {
  font-size: 24.5px;
  margin-bottom: 8px;
}

.c490fe-kick {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c490fe-plum-soft);
  margin-bottom: 6px;
  font-family: var(--c490fe-sans);
}

/* banner carousel */
.c490fe-carousel {
  position: relative;
  margin: 12px 0 4px;
  border: 1px solid var(--c490fe-line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--c490fe-ink-deep);
}
.c490fe-stage {
  position: relative;
  height: clamp(168px, 46vw, 208px);
  touch-action: pan-y;
}
.c490fe-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  transform: translateX(110%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.3, 1), visibility 0.5s;
  visibility: hidden;
  pointer-events: none;
  text-decoration: none;
  color: var(--c490fe-paper);
}
.c490fe-slide.c490fe-is-on { transform: translateX(0); visibility: visible; pointer-events: auto; }
.c490fe-slide.c490fe-is-prev { transform: translateX(-110%); }
.c490fe-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c490fe-slidecap {
  position: relative;
  width: 100%;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(36, 36, 36, 0) 0%, rgba(30, 15, 22, 0.88) 62%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.c490fe-slidetag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c490fe-flame);
  display: block;
  margin-bottom: 2px;
  font-family: var(--c490fe-sans);
}
.c490fe-slidetext {
  font-family: var(--c490fe-serif);
  font-size: 14px;
  line-height: 1.3;
  max-width: 250px;
}
.c490fe-slidego {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  background: var(--c490fe-flame);
  color: var(--c490fe-flame-ink);
  font-weight: 700;
  font-size: 12.5px;
  border-radius: var(--c490fe-r);
  border: 1px solid rgba(32, 19, 12, 0.25);
}
.c490fe-slide:active .c490fe-slidego { transform: translateY(1px); }

/* focus dots slide into a pill */
.c490fe-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.c490fe-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  padding: 0;
  background: rgba(224, 224, 224, 0.4);
  border: 1px solid rgba(36, 36, 36, 0.6);
  transition: width 0.25s ease, background 0.25s ease;
}
.c490fe-dot.c490fe-is-on { width: 22px; background: var(--c490fe-flame); }

/* ---------- metrics strip: compact number + caption ---------- */

.c490fe-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 4px;
}
.c490fe-metric {
  border: 1px solid var(--c490fe-line-soft);
  border-left: 3px solid var(--c490fe-plum);
  border-radius: var(--c490fe-r);
  background: var(--c490fe-ink-panel);
  padding: 8px 10px;
}
.c490fe-metric b {
  display: block;
  font-family: var(--c490fe-serif);
  font-size: 19px;
  color: var(--c490fe-paper);
  line-height: 1.1;
}
.c490fe-metric small {
  display: block;
  font-size: 11.5px;
  color: var(--c490fe-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* quick start strip */
.c490fe-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px dashed var(--c490fe-line);
  border-radius: var(--c490fe-r);
  padding: 10px;
  margin: 4px 0 6px;
}
.c490fe-quick p { margin: 0; font-size: 13px; color: var(--c490fe-muted); flex: 1 1 180px; }
.c490fe-quick .c490fe-seg { min-height: 40px; font-size: 12.5px; }

/* ---------- category jump chips ---------- */

.c490fe-jumps {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 8px;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  scrollbar-width: none;
}
.c490fe-jumps::-webkit-scrollbar { display: none; }
.c490fe-jump {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--c490fe-line);
  border-radius: 18px;
  background: var(--c490fe-ink-panel);
  color: var(--c490fe-paper);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s ease;
}
.c490fe-jump:active { border-color: var(--c490fe-flame); color: var(--c490fe-flame); }
.c490fe-jump b { color: var(--c490fe-plum-soft); margin-right: 5px; font-family: var(--c490fe-serif); }

/* ---------- game shelf ---------- */

.c490fe-shelfhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.c490fe-shelfhead h2 { margin: 0; font-size: 18.5px; }
.c490fe-shelfcount {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--c490fe-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.c490fe-shelfintro { font-size: 14px; color: var(--c490fe-muted); margin: 6px 0 10px; }
.c490fe-shelfintro a { color: var(--c490fe-flame); }

.c490fe-shelflinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 12px;
}
.c490fe-shelflinks a {
  font-size: 12.5px;
  color: var(--c490fe-paper);
  text-decoration: none;
  border-bottom: 2px solid var(--c490fe-plum);
  padding-bottom: 1px;
}
.c490fe-shelflinks a:active { color: var(--c490fe-flame); border-color: var(--c490fe-flame); }

.c490fe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

/* game tile: square art with a bottom name bar */
.c490fe-gtile {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: var(--c490fe-paper);
}
.c490fe-gtile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--c490fe-ink-deep);
  border: 1px solid var(--c490fe-line-soft);
  border-radius: var(--c490fe-r);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.c490fe-gtile:active img { transform: scale(0.95); border-color: var(--c490fe-flame); }
.c490fe-gname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 4px;
  padding: 3px 4px;
  background: #3A3A3A;
  border: 1px solid var(--c490fe-line-soft);
  border-top: none;
  border-radius: 0 0 var(--c490fe-r) var(--c490fe-r);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  min-height: 30px;
}

/* ---------- module: security checkpoints ---------- */

.c490fe-verdict {
  border-left: 3px solid var(--c490fe-plum);
  background: var(--c490fe-ink-panel);
  padding: 10px 12px;
  border-radius: var(--c490fe-r);
  font-size: 14px;
}

.c490fe-guardlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}
.c490fe-guardlist li {
  border: 1px solid var(--c490fe-line-soft);
  border-radius: var(--c490fe-r);
  padding: 8px 10px;
  background: var(--c490fe-ink-deep);
}
.c490fe-guardlist b {
  display: block;
  font-size: 13px;
  color: var(--c490fe-paper);
  margin-bottom: 2px;
}
.c490fe-guardlist small { font-size: 12.5px; color: var(--c490fe-muted); line-height: 1.4; display: block; }

.c490fe-partners {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  margin: 10px -12px 4px;
  padding: 6px 12px;
  list-style: none;
  scrollbar-width: none;
  border-top: 1px solid var(--c490fe-line-soft);
  border-bottom: 1px solid var(--c490fe-line-soft);
}
.c490fe-partners::-webkit-scrollbar { display: none; }
.c490fe-partners li { flex: none; }
.c490fe-partners img {
  height: 26px;
  width: auto;
  display: block;
  opacity: 0.9;
}

/* ---------- module: tricks (numbered ledger) ---------- */

.c490fe-tricks {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  counter-reset: c490fe-trick;
}
.c490fe-tricks li {
  counter-increment: c490fe-trick;
  position: relative;
  padding: 0 0 12px 40px;
  border-bottom: 1px dashed var(--c490fe-line-soft);
  margin-bottom: 12px;
}
.c490fe-tricks li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 2px; }
.c490fe-tricks li::before {
  content: counter(c490fe-trick);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--c490fe-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--c490fe-paper);
  background: var(--c490fe-plum);
  border-radius: var(--c490fe-r);
}
.c490fe-tricks b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.c490fe-tricks p { margin: 0; font-size: 13px; color: var(--c490fe-muted); }

.c490fe-followup {
  font-size: 13px;
  color: var(--c490fe-muted);
  border-top: 1px solid var(--c490fe-line-soft);
  padding-top: 10px;
  margin: 2px 0 0;
}

/* ---------- module: achievement ladder ---------- */

.c490fe-miles { list-style: none; margin: 10px 0 12px; padding: 0; }
.c490fe-miles li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--c490fe-line-soft);
}
.c490fe-miles li:last-child { border-bottom: none; }
.c490fe-miles b {
  grid-row: span 2;
  font-family: var(--c490fe-serif);
  font-size: 13.5px;
  color: var(--c490fe-plum-soft);
  border: 1px solid var(--c490fe-plum);
  border-radius: var(--c490fe-r);
  text-align: center;
  padding: 6px 2px;
  letter-spacing: 0.4px;
}
.c490fe-miles small { font-size: 12.5px; color: var(--c490fe-muted); line-height: 1.4; }
.c490fe-milebar {
  grid-column: 2;
  height: 5px;
  border-radius: 2px;
  background: var(--c490fe-ink-deep);
  border: 1px solid var(--c490fe-line-soft);
  overflow: hidden;
}
.c490fe-milebar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c490fe-plum) 0%, var(--c490fe-flame) 100%);
}

/* ---------- module: app steps ---------- */

.c490fe-appsteps {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  counter-reset: c490fe-step;
}
.c490fe-appsteps li {
  counter-increment: c490fe-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--c490fe-line-soft);
}
.c490fe-appsteps li::before {
  content: counter(c490fe-step);
  flex: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--c490fe-flame);
  color: var(--c490fe-flame);
  border-radius: 50%;
  margin-top: 1px;
}
.c490fe-appsteps b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.c490fe-appsteps p { margin: 0; font-size: 13px; color: var(--c490fe-muted); }

.c490fe-appcta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border: 1px solid var(--c490fe-line);
  border-radius: var(--c490fe-r);
  background: var(--c490fe-ink-panel);
  padding: 10px;
}
.c490fe-appcta span { font-size: 12.5px; color: var(--c490fe-muted); flex: 1 1 140px; }

.c490fe-reqs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.c490fe-reqs li {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c490fe-muted);
  border: 1px solid var(--c490fe-line-soft);
  border-radius: var(--c490fe-r);
  padding: 3px 8px;
}

/* ---------- module: offers ---------- */

.c490fe-offers {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.c490fe-offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  border: 1px solid var(--c490fe-line-soft);
  border-left: 3px solid var(--c490fe-flame);
  border-radius: var(--c490fe-r);
  background: var(--c490fe-ink-panel);
  padding: 8px 10px;
}
.c490fe-offer b {
  font-family: var(--c490fe-serif);
  font-size: 15.5px;
  color: var(--c490fe-paper);
}
.c490fe-offer .c490fe-offerwin {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c490fe-flame);
  align-self: center;
  white-space: nowrap;
}
.c490fe-offer small { grid-column: 1 / -1; font-size: 12.5px; color: var(--c490fe-muted); line-height: 1.4; }

/* ---------- module: scenes ---------- */

.c490fe-scenes { list-style: none; margin: 10px 0 12px; padding: 0; }
.c490fe-scenes li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--c490fe-line-soft);
}
.c490fe-scenes li:last-child { border-bottom: none; }
.c490fe-scenetag {
  font-family: var(--c490fe-serif);
  font-size: 13px;
  color: var(--c490fe-paper);
  background: var(--c490fe-ink-deep);
  border: 1px solid var(--c490fe-line-soft);
  border-radius: var(--c490fe-r);
  text-align: center;
  align-self: start;
  padding: 6px 4px;
  line-height: 1.3;
}
.c490fe-scenetag em { display: block; font-style: normal; font-size: 10.5px; color: var(--c490fe-faint); }
.c490fe-scenes p { margin: 0; font-size: 13px; color: var(--c490fe-muted); }

/* ---------- module: faq pairs (help pages) ---------- */

.c490fe-faq { list-style: none; margin: 10px 0 12px; padding: 0; }
.c490fe-faq li {
  border: 1px solid var(--c490fe-line-soft);
  border-left: 3px solid var(--c490fe-plum);
  border-radius: var(--c490fe-r);
  background: var(--c490fe-ink-deep);
  padding: 10px 12px;
}
.c490fe-faq li + li { margin-top: 8px; }
.c490fe-faq b {
  display: block;
  font-family: var(--c490fe-serif);
  font-size: 14.5px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.c490fe-faq p { margin: 0; font-size: 13px; color: var(--c490fe-muted); line-height: 1.45; }

/* ---------- extended footer (homepage only) ---------- */

.c490fe-xfooter {
  margin-top: 26px;
  border-top: 2px solid var(--c490fe-plum);
  padding-top: 16px;
}

.c490fe-xlabel {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c490fe-plum-soft);
  margin: 16px 0 8px;
  font-family: var(--c490fe-sans);
}
.c490fe-xlabel:first-child { margin-top: 0; }

.c490fe-xbrand { font-size: 13.5px; color: var(--c490fe-muted); margin: 0; }

.c490fe-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.c490fe-dir a {
  display: block;
  min-height: 24px;
  font-size: 12.5px;
  color: var(--c490fe-paper);
  text-decoration: none;
  border-bottom: 1px dotted var(--c490fe-line);
  padding: 3px 0 4px;
}
.c490fe-dir a:active { color: var(--c490fe-flame); }
.c490fe-dir span {
  display: block;
  font-size: 10.5px;
  color: var(--c490fe-faint);
}

/* horizontal promotion shortcuts */
.c490fe-xtiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.c490fe-xtile {
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 1px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 42px;
  padding: 0 10px;
  background: var(--c490fe-ink-panel);
  border: 1px solid var(--c490fe-line);
  border-radius: var(--c490fe-r);
  color: var(--c490fe-paper);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
}
.c490fe-xtile i {
  font-style: normal;
  font-family: var(--c490fe-serif);
  color: var(--c490fe-flame);
  font-size: 15px;
}
.c490fe-xtile:active { border-color: var(--c490fe-flame); transform: translateY(1px); }

.c490fe-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--c490fe-faint);
  border: 1px dashed var(--c490fe-line);
  border-radius: var(--c490fe-r);
  padding: 10px;
  margin: 14px 0 0;
}

.c490fe-endbar {
  text-align: center;
  font-size: 11.5px;
  color: var(--c490fe-faint);
  padding: 16px 0 4px;
  border-top: 1px solid var(--c490fe-line-soft);
  margin-top: 18px;
  /* keep the last line clear of the floating dock */
  margin-bottom: calc(var(--c490fe-dock-h) + 30px);
}

/* ---------- responsive ladder ---------- */

/* 375px and up: game grid breathes at 5 columns, metrics line up */
@media (min-width: 375px) {
  .c490fe-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 9px; }
  .c490fe-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c490fe-hero h1 { font-size: 26px; }
  .c490fe-guardlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c490fe-xtile { flex: 1 1 calc(33.33% - 8px); }
}

/* at the 430px canvas edge: headings and jumps get their final scale */
@media (min-width: 430px) {
  .c490fe-shell { box-shadow: 0 0 32px rgba(0, 0, 0, 0.5); }
  .c490fe-main { padding-left: 16px; padding-right: 16px; }
  .c490fe-sec > h2 { font-size: 20px; }
  .c490fe-shelfhead h2 { font-size: 19.5px; }
  .c490fe-slidetext { font-size: 15px; max-width: 280px; }
  .c490fe-gname { font-size: 11px; }
}

/* desktop keeps the phone canvas; page frame darkens around it */
@media (min-width: 768px) {
  body { background: #191919; }
  .c490fe-shell { border-left-color: #333; border-right-color: #333; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
