/* ==========================================================================
   Sarimanok Scatter - mobile interface stylesheet
   Palette: charcoal #2D2D2D base / plum #8B008B zones / violet #8A2BE2 accents
            powder blue #B0E0E6 text / sky blue #87CEFA links and highlights
   Design voice: humanist serif headlines, clear sans body, low-radius zoned
   panels, square high-contrast CTAs, image-plus-name-bar game tiles.
   ========================================================================== */

:root {
  --mobilefe690-ink: #2d2d2d;
  --mobilefe690-ink-deep: #232323;
  --mobilefe690-ink-soft: #343434;
  --mobilefe690-plum: #8b008b;
  --mobilefe690-plum-deep: #6d006d;
  --mobilefe690-violet: #8a2be2;
  --mobilefe690-powder: #b0e0e6;
  --mobilefe690-sky: #87cefa;
  --mobilefe690-line: #4a3a55;
  --mobilefe690-paper: #f2f7f9;
  --mobilefe690-font-head: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --mobilefe690-font-body: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mobilefe690-canvas: 480px;
  --mobilefe690-nav-h: 62px;
  --mobilefe690-head-h: 104px;
}

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

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--mobilefe690-ink-deep);
  color: var(--mobilefe690-powder);
  font-family: var(--mobilefe690-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--mobilefe690-sky); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--mobilefe690-sky);
  outline-offset: 2px;
}

.mobilefe690-stage {
  width: 100%;
  max-width: var(--mobilefe690-canvas);
  margin: 0 auto;
  background: var(--mobilefe690-ink);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.55);
}

/* Press feedback: color shift only, no movement or scale */
.mobilefe690-stage button:active,
.mobilefe690-stage .mobilefe690-tile:active {
  filter: brightness(1.28);
}

/* ---- fixed top header -------------------------------------------------- */

.mobilefe690-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobilefe690-canvas);
  z-index: 60;
  background: var(--mobilefe690-ink-deep);
  border-bottom: 2px solid var(--mobilefe690-plum);
}

/* centered identity strip: logo + site name only */
.mobilefe690-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px 6px;
  border-bottom: 1px solid #3a3a3a;
}

.mobilefe690-identity img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: 1px solid var(--mobilefe690-violet);
  background: #1b1b1b;
}

.mobilefe690-identity strong {
  font-family: var(--mobilefe690-font-head);
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--mobilefe690-powder);
}

.mobilefe690-identity strong span { color: var(--mobilefe690-sky); }

/* action strip: menu trigger left, register / login right */
.mobilefe690-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
}

.mobilefe690-menu-btn {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--mobilefe690-ink-soft);
  color: var(--mobilefe690-powder);
  border: 1px solid var(--mobilefe690-line);
  border-radius: 2px;
  font-family: var(--mobilefe690-font-body);
  font-size: 13px;
  cursor: pointer;
}

.mobilefe690-menu-btn svg { width: 18px; height: 18px; }

.mobilefe690-actions-spacer { flex: 1 1 auto; }

/* square high-contrast CTAs */
.mobilefe690-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  font-family: var(--mobilefe690-font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 0;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.mobilefe690-btn:hover, .mobilefe690-btn:focus { text-decoration: none; }

.mobilefe690-btn-register {
  background: var(--mobilefe690-plum);
  color: #ffffff;
}

.mobilefe690-btn-register:hover,
.mobilefe690-btn-register:focus { background: var(--mobilefe690-plum-deep); }

.mobilefe690-btn-login {
  background: transparent;
  color: var(--mobilefe690-sky);
  border-color: var(--mobilefe690-sky);
}

.mobilefe690-btn-login:hover,
.mobilefe690-btn-login:focus { background: rgba(135, 206, 250, 0.12); }

.mobilefe690-btn-sky { background: var(--mobilefe690-sky); color: #1d2430; }
.mobilefe690-btn-sky:hover, .mobilefe690-btn-sky:focus { background: #a5dafc; }

.mobilefe690-btn-violet { background: var(--mobilefe690-violet); color: #ffffff; }
.mobilefe690-btn-violet:hover, .mobilefe690-btn-violet:focus { background: #7419c6; }

.mobilefe690-btn-outline {
  background: transparent;
  color: var(--mobilefe690-powder);
  border-color: var(--mobilefe690-line);
}
.mobilefe690-btn-outline:hover,
.mobilefe690-btn-outline:focus { border-color: var(--mobilefe690-sky); color: var(--mobilefe690-sky); }

/* ---- zoned slide-down menu -------------------------------------------- */

.mobilefe690-menu {
  position: fixed;
  top: var(--mobilefe690-head-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: var(--mobilefe690-canvas);
  max-height: calc(100vh - var(--mobilefe690-head-h));
  overflow-y: auto;
  background: #262626;
  border-bottom: 3px solid var(--mobilefe690-violet);
  z-index: 55;
  padding: 12px 14px 18px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.mobilefe690-menu[data-open="1"] {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobilefe690-menu-zone { margin-bottom: 14px; }

.mobilefe690-menu-zone-name {
  font-family: var(--mobilefe690-font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--mobilefe690-sky);
  border-bottom: 1px solid var(--mobilefe690-line);
  padding-bottom: 5px;
  margin-bottom: 8px;
}

.mobilefe690-menu-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

.mobilefe690-menu-list a {
  display: block;
  min-height: 44px;
  padding: 10px 10px;
  background: var(--mobilefe690-ink-soft);
  border: 1px solid #414141;
  border-left: 3px solid var(--mobilefe690-plum);
  color: var(--mobilefe690-powder);
  font-size: 13px;
  line-height: 1.3;
}

.mobilefe690-menu-list a:hover,
.mobilefe690-menu-list a:focus {
  background: #3c3230;
  border-left-color: var(--mobilefe690-sky);
  color: #ffffff;
  text-decoration: none;
}

.mobilefe690-menu-list a[aria-current="page"] {
  border-left-color: var(--mobilefe690-sky);
  background: #35303b;
  color: #ffffff;
}

/* ---- main flow --------------------------------------------------------- */

.mobilefe690-main {
  padding: calc(var(--mobilefe690-head-h) + 10px) 12px calc(var(--mobilefe690-nav-h) + 34px);
}

.mobilefe690-section { margin-bottom: 22px; }

.mobilefe690-h1 {
  font-family: var(--mobilefe690-font-head);
  font-size: 25px;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 8px;
}

.mobilefe690-h2 {
  font-family: var(--mobilefe690-font-head);
  font-size: 20px;
  line-height: 1.3;
  color: #ffffff;
  padding-left: 9px;
  border-left: 4px solid var(--mobilefe690-plum);
  margin-bottom: 9px;
}

.mobilefe690-h3 {
  font-family: var(--mobilefe690-font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--mobilefe690-sky);
  margin: 12px 0 5px;
}

.mobilefe690-lede { color: var(--mobilefe690-powder); margin-bottom: 10px; }

.mobilefe690-lead-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0 4px;
}

.mobilefe690-note {
  background: #2f2a33;
  border: 1px solid var(--mobilefe690-line);
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--mobilefe690-powder);
  margin: 10px 0;
}

/* ---- hero and promo carousel ------------------------------------------- */

.mobilefe690-hero {
  border: 1px solid var(--mobilefe690-line);
  border-top: 3px solid var(--mobilefe690-violet);
  background: #292929;
  padding: 14px 12px 12px;
  margin-bottom: 20px;
}

.mobilefe690-carousel {
  position: relative;
  margin-top: 12px;
  border: 1px solid #414141;
  background: #1e1e1e;
  overflow: hidden;
}

.mobilefe690-slides { display: flex; width: 100%; overflow: hidden; }

.mobilefe690-slide {
  flex: 0 0 100%;
  display: block;
  position: relative;
  cursor: pointer;
}

.mobilefe690-slide img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.mobilefe690-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(20, 8, 24, 0) 0%, rgba(30, 5, 36, 0.92) 78%);
}

.mobilefe690-slide[data-active="0"] { display: none; }

.mobilefe690-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: #241a28;
  border-top: 1px solid var(--mobilefe690-line);
}

.mobilefe690-carousel-bar p {
  font-size: 12px;
  color: var(--mobilefe690-powder);
  line-height: 1.35;
}

.mobilefe690-dots { display: inline-flex; gap: 7px; }

.mobilefe690-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.mobilefe690-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  background: #5a5a5a;
  display: block;
}

.mobilefe690-dot[aria-current="true"]::before { background: var(--mobilefe690-sky); }

/* ---- game finder ------------------------------------------------------- */

.mobilefe690-finder {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.mobilefe690-finder label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mobilefe690-sky);
  flex: 0 0 auto;
}

.mobilefe690-finder input {
  flex: 1 1 auto;
  min-height: 44px;
  background: #1f1f1f;
  border: 1px solid var(--mobilefe690-line);
  border-radius: 2px;
  color: var(--mobilefe690-powder);
  font-family: var(--mobilefe690-font-body);
  font-size: 15px;
  padding: 8px 10px;
}

.mobilefe690-finder input::placeholder { color: #7d8b90; }

.mobilefe690-finder-count { font-size: 12px; color: #9fb3ba; flex: 0 0 auto; }

/* ---- category zone ----------------------------------------------------- */

.mobilefe690-zone {
  border: 1px solid #3f3f3f;
  border-left: 4px solid var(--mobilefe690-plum);
  background: #2b2b2b;
  padding: 12px 10px 14px;
  margin-bottom: 20px;
}

.mobilefe690-zone[data-tone="violet"] { border-left-color: var(--mobilefe690-violet); }
.mobilefe690-zone[data-tone="sky"] { border-left-color: var(--mobilefe690-sky); }

.mobilefe690-zone-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.mobilefe690-zone-head .mobilefe690-zone-tag {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9fb3ba;
}

.mobilefe690-zone-intro { font-size: 13.5px; color: #cfd8dc; margin-bottom: 10px; }

.mobilefe690-zone-links {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed #4a4a4a;
  font-size: 12.5px;
  color: #9fb3ba;
  line-height: 1.9;
}

/* ---- game grid: image tile with bottom name bar ------------------------ */

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

.mobilefe690-tile {
  display: flex;
  flex-direction: column;
  background: #1f1f1f;
  border: 1px solid #3d3d3d;
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  min-height: 44px;
}

.mobilefe690-tile:hover, .mobilefe690-tile:focus { border-color: var(--mobilefe690-violet); text-decoration: none; }

.mobilefe690-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #171717;
}

.mobilefe690-tile-name {
  display: block;
  padding: 5px 4px 6px;
  font-size: 11.5px;
  line-height: 1.25;
  color: var(--mobilefe690-powder);
  background: #262626;
  border-top: 1px solid #3d3d3d;
  overflow-wrap: anywhere;
}

.mobilefe690-tile:hover .mobilefe690-tile-name { color: #ffffff; background: #322a3a; }

.mobilefe690-tile[data-hidden="1"] { display: none; }

/* ---- question-driven article blocks ------------------------------------ */

.mobilefe690-qa {
  border: 1px solid #3f3f3f;
  background: #2b2b2b;
  padding: 13px 12px 15px;
  margin-bottom: 16px;
}

.mobilefe690-qa[data-tone="plum"] { border-top: 3px solid var(--mobilefe690-plum); }
.mobilefe690-qa[data-tone="violet"] { border-top: 3px solid var(--mobilefe690-violet); }
.mobilefe690-qa[data-tone="sky"] { border-top: 3px solid var(--mobilefe690-sky); }

.mobilefe690-answer { color: var(--mobilefe690-powder); margin-bottom: 8px; }

.mobilefe690-qa ul, .mobilefe690-qa ol {
  margin: 6px 0 10px 20px;
  color: var(--mobilefe690-powder);
  font-size: 14px;
}

.mobilefe690-qa li { margin-bottom: 6px; }

/* compact fact row used by comparison and checklist modules */
.mobilefe690-facts { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 10px 0; }

.mobilefe690-fact {
  border: 1px solid #434343;
  border-left: 3px solid var(--mobilefe690-violet);
  background: #242424;
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--mobilefe690-powder);
}

.mobilefe690-fact strong { color: var(--mobilefe690-sky); display: block; margin-bottom: 2px; }

/* step list for guidance modules */
.mobilefe690-steps { list-style: none; counter-reset: mobilefe690-step; margin: 10px 0; }

.mobilefe690-steps li {
  counter-increment: mobilefe690-step;
  position: relative;
  padding: 0 0 10px 34px;
  font-size: 14px;
  color: var(--mobilefe690-powder);
}

.mobilefe690-steps li::before {
  content: counter(mobilefe690-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  background: var(--mobilefe690-plum);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

/* ---- extended site footer ---------------------------------------------- */

.mobilefe690-extended {
  margin-top: 26px;
  border-top: 3px double var(--mobilefe690-plum);
  padding-top: 16px;
}

.mobilefe690-extended-brand {
  font-family: var(--mobilefe690-font-head);
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 6px;
}

.mobilefe690-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 10px 0 4px; }

.mobilefe690-directory a {
  display: block;
  background: #262626;
  border: 1px solid #3d3d3d;
  border-radius: 2px;
  padding: 8px 9px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--mobilefe690-powder);
}

.mobilefe690-directory a:hover,
.mobilefe690-directory a:focus { border-color: var(--mobilefe690-sky); color: #ffffff; text-decoration: none; }

/* six horizontal promo shortcuts */
.mobilefe690-promo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0;
}

.mobilefe690-promo-strip .mobilefe690-btn { min-height: 46px; font-size: 12.5px; padding: 8px 9px; }

.mobilefe690-disclaimer {
  border: 1px dashed #575757;
  background: #242424;
  padding: 10px 11px;
  font-size: 12.5px;
  color: #a9b7bc;
  line-height: 1.55;
  margin: 12px 0 4px;
}

/* ---- common footer ------------------------------------------------------ */

.mobilefe690-foot {
  border-top: 1px solid #3d3d3d;
  padding: 12px 12px 8px;
  text-align: center;
  font-size: 12px;
  color: #8fa0a6;
}

.mobilefe690-foot a { color: var(--mobilefe690-sky); }

/* ---- fixed bottom navigation band --------------------------------------- */

.mobilefe690-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobilefe690-canvas);
  height: calc(var(--mobilefe690-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #2c1030 0%, #1d0a21 100%);
  border-top: 2px solid var(--mobilefe690-plum);
  z-index: 65;
}

.mobilefe690-bottomnav a,
.mobilefe690-bottomnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: #b9c6ca;
  font-family: var(--mobilefe690-font-body);
  font-size: 10.5px;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  padding: 6px 2px 4px;
}

.mobilefe690-bottomnav a:hover,
.mobilefe690-bottomnav button:hover { text-decoration: none; }

/* contained symbol tiles: square icon block that changes fill when active */
.mobilefe690-sym {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3a1f40;
  border: 1px solid #5a3562;
  border-radius: 3px;
}

.mobilefe690-sym svg { width: 17px; height: 17px; stroke: var(--mobilefe690-powder); fill: none; stroke-width: 1.8; }

.mobilefe690-bottomnav a:hover .mobilefe690-sym,
.mobilefe690-bottomnav button:hover .mobilefe690-sym { border-color: var(--mobilefe690-sky); }

.mobilefe690-bottomnav a[aria-current="page"] .mobilefe690-sym {
  background: var(--mobilefe690-sky);
  border-color: var(--mobilefe690-sky);
}

.mobilefe690-bottomnav a[aria-current="page"] .mobilefe690-sym svg { stroke: #241030; }

.mobilefe690-bottomnav a[aria-current="page"] { color: #ffffff; font-weight: 700; }

/* ---- utilities ---------------------------------------------------------- */

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

.mobilefe690-hide { display: none; }

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

/* Slightly larger type and roomier zones from 375px phones */
@media (min-width: 375px) {
  .mobilefe690-h1 { font-size: 27px; }
  .mobilefe690-h2 { font-size: 21px; }
  .mobilefe690-slide img { height: 186px; }
  .mobilefe690-grid { gap: 9px; }
  .mobilefe690-directory a { font-size: 13px; }
}

/* 430px breakpoint: five game columns, wider promo shortcuts */
@media (min-width: 430px) {
  .mobilefe690-main { padding-left: 16px; padding-right: 16px; }
  .mobilefe690-h1 { font-size: 29px; }
  .mobilefe690-h2 { font-size: 22px; }
  .mobilefe690-grid { grid-template-columns: repeat(5, 1fr); }
  .mobilefe690-slide img { height: 200px; }
  .mobilefe690-promo-strip { grid-template-columns: repeat(3, 1fr); }
  .mobilefe690-directory { grid-template-columns: repeat(3, 1fr); }
  .mobilefe690-menu-list { grid-template-columns: repeat(3, 1fr); }
  .mobilefe690-tile-name { font-size: 12px; }
}

/* Cap the phone canvas and keep the fixed rails aligned on wide screens */
@media (min-width: 500px) {
  body { background: #141414; }
  .mobilefe690-stage { border-left: 1px solid #3a3a3a; border-right: 1px solid #3a3a3a; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .mobilefe690-menu { transition: none; }
}
