/* ==========================================================================
   phwin log in - frame-adaptive stylesheet (mobile-first, 320-430px canvas)
   Palette: #FDF5E6 cream / #1C2833 slate / #DEB887 tan / #8B7355 brown
   Direction: high-contrast display type + readable body, small radius density,
   grouped cover cards, step-by-step rhythm, square high-contrast CTAs.
   ========================================================================== */

:root {
  --mobilec39f2-bg: #0f151c;
  --mobilec39f2-canvas: #1C2833;
  --mobilec39f2-panel: #223140;
  --mobilec39f2-inset: #182430;
  --mobilec39f2-cream: #FDF5E6;
  --mobilec39f2-cream-dim: rgba(253, 245, 230, 0.74);
  --mobilec39f2-cream-faint: rgba(253, 245, 230, 0.52);
  --mobilec39f2-tan: #DEB887;
  --mobilec39f2-brown: #8B7355;
  --mobilec39f2-line: rgba(222, 184, 135, 0.28);
  --mobilec39f2-hairline: rgba(253, 245, 230, 0.12);
  --mobilec39f2-focus: #f2cc8f;
  --mobilec39f2-display: "Segoe UI Black", "Arial Black", "Franklin Gothic Medium", Impact, system-ui, sans-serif;
  --mobilec39f2-body: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mobilec39f2-r: 3px;
  --mobilec39f2-top-h: 104px;
  --mobilec39f2-dock-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--mobilec39f2-bg);
  color: var(--mobilec39f2-cream);
  font-family: var(--mobilec39f2-body);
  font-size: 15px;
  line-height: 1.62;
}

img { max-width: 100%; }

a { color: var(--mobilec39f2-tan); }

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

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

/* --------------------------------------------------------------------------
   App canvas: phone frame up to 430px, centered on wide viewports
   -------------------------------------------------------------------------- */

.mobilec39f2-app {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobilec39f2-canvas);
  box-shadow: 0 0 0 1px rgba(222, 184, 135, 0.10);
  overflow-x: hidden;
  padding-bottom: calc(var(--mobilec39f2-dock-h) + 26px + env(safe-area-inset-bottom));
}

.mobilec39f2-main {
  padding: calc(var(--mobilec39f2-top-h) + 14px) 12px 0;
}

/* --------------------------------------------------------------------------
   Top bar: brand layer + action layer
   -------------------------------------------------------------------------- */

.mobilec39f2-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #1d2836 0%, #151e28 100%);
  border-bottom: 1px solid var(--mobilec39f2-line);
}

.mobilec39f2-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px 5px;
}

.mobilec39f2-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
  color: var(--mobilec39f2-cream);
}

.mobilec39f2-brandlogo {
  width: 34px;
  height: 34px;
  border-radius: var(--mobilec39f2-r);
  border: 1px solid var(--mobilec39f2-line);
  background: #0f151c;
  display: block;
  object-fit: cover;
}

.mobilec39f2-brandname {
  font-family: var(--mobilec39f2-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.mobilec39f2-brandname em {
  font-style: normal;
  color: var(--mobilec39f2-tan);
}

/* Borderless menu symbol: three bars */
.mobilec39f2-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0;
}

.mobilec39f2-menubtn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mobilec39f2-cream);
  border-radius: 1px;
}

.mobilec39f2-menubtn span:nth-child(2) { width: 16px; }

.mobilec39f2-menubtn:active { transform: scale(0.9); }

.mobilec39f2-actionrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 10px 9px;
}

/* Square-corner, high-contrast CTA buttons */
.mobilec39f2-btn {
  min-height: 44px;
  border-radius: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.mobilec39f2-btn:active {
  transform: scale(0.96);
  filter: brightness(1.08);
}

.mobilec39f2-btn-cta {
  background: var(--mobilec39f2-tan);
  color: #1C2833;
}

.mobilec39f2-btn-ghost {
  background: transparent;
  color: var(--mobilec39f2-cream);
  border-color: var(--mobilec39f2-cream);
}

.mobilec39f2-btn-big {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Side drawer menu + scrim
   -------------------------------------------------------------------------- */

.mobilec39f2-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 14, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 70;
}

.mobilec39f2-scrim.mobilec39f2-open {
  opacity: 1;
  pointer-events: auto;
}

.mobilec39f2-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(80vw, 316px);
  background: #16202c;
  border-left: 1px solid var(--mobilec39f2-line);
  z-index: 80;
  transform: translateX(103%);
  transition: transform 0.26s ease;
  overflow-y: auto;
  padding: 12px 14px 26px;
}

.mobilec39f2-drawer.mobilec39f2-open {
  transform: none;
}

.mobilec39f2-drawerhead {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mobilec39f2-hairline);
}

.mobilec39f2-drawerhead img {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  object-fit: cover;
}

.mobilec39f2-drawerhead strong {
  font-family: var(--mobilec39f2-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  flex: 1;
}

.mobilec39f2-drawerclose {
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  color: var(--mobilec39f2-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobilec39f2-drawerclose:active { transform: scale(0.9); }

.mobilec39f2-drawerlabel {
  margin: 14px 2px 4px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mobilec39f2-cream-faint);
}

.mobilec39f2-drawerlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 6px 8px;
  text-decoration: none;
  color: var(--mobilec39f2-cream);
  font-size: 14.5px;
  border-bottom: 1px solid var(--mobilec39f2-hairline);
}

.mobilec39f2-drawerlink::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--mobilec39f2-brown);
  border-right: 2px solid var(--mobilec39f2-brown);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.mobilec39f2-drawerlink:active {
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-drawercta {
  margin-top: 18px;
}

.mobilec39f2-drawercta button {
  width: 100%;
  min-height: 46px;
  background: var(--mobilec39f2-tan);
  color: #1C2833;
  border: 0;
  border-radius: 0;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13.5px;
}

.mobilec39f2-drawercta button:active { transform: scale(0.97); }

/* --------------------------------------------------------------------------
   Hero: H1, lede, banner carousel, main CTA
   -------------------------------------------------------------------------- */

.mobilec39f2-hero { margin-bottom: 6px; }

.mobilec39f2-kicker {
  margin: 0 0 6px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-hero h1 {
  margin: 0 0 8px;
  font-family: var(--mobilec39f2-display);
  font-weight: 900;
  font-size: clamp(23px, 6.6vw, 29px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--mobilec39f2-brown);
}

.mobilec39f2-lede {
  margin: 10px 0 12px;
  color: var(--mobilec39f2-cream-dim);
  font-size: 14.5px;
}

.mobilec39f2-slidebox {
  position: relative;
  overflow: hidden;
  border-radius: var(--mobilec39f2-r);
  border: 1px solid var(--mobilec39f2-line);
  background: #0f151c;
}

.mobilec39f2-track {
  display: flex;
  transition: transform 0.45s ease;
}

.mobilec39f2-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  text-decoration: none;
}

.mobilec39f2-slide img {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
}

.mobilec39f2-slide:active { filter: brightness(1.06); }

.mobilec39f2-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 10px 8px;
  background: linear-gradient(180deg, rgba(15, 21, 28, 0) 0%, rgba(15, 21, 28, 0.92) 78%);
  color: var(--mobilec39f2-cream);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mobilec39f2-slidecap em {
  font-style: normal;
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 9px 0 12px;
}

.mobilec39f2-dot {
  width: 26px;
  height: 12px;
  padding: 0;
  background: none;
  border: 0;
  position: relative;
}

.mobilec39f2-dot::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 4px;
  height: 4px;
  background: rgba(253, 245, 230, 0.34);
}

.mobilec39f2-dot.mobilec39f2-on::before {
  background: var(--mobilec39f2-tan);
}

.mobilec39f2-herobar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Step strip (step-by-step information rhythm)
   -------------------------------------------------------------------------- */

.mobilec39f2-module {
  margin: 22px 0;
  padding: 14px 12px 16px;
  background: var(--mobilec39f2-inset);
  border: 1px solid rgba(253, 245, 230, 0.08);
  border-radius: var(--mobilec39f2-r);
}

.mobilec39f2-h2,
.mobilec39f2-grouptitle {
  font-family: var(--mobilec39f2-display);
  font-weight: 900;
  color: var(--mobilec39f2-cream);
  margin: 0;
  line-height: 1.28;
}

.mobilec39f2-h2 {
  font-size: 17.5px;
  padding-top: 9px;
  position: relative;
  margin-bottom: 10px;
}

.mobilec39f2-h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 3px;
  background: var(--mobilec39f2-tan);
}

.mobilec39f2-module p {
  margin: 0 0 10px;
  color: var(--mobilec39f2-cream-dim);
  font-size: 14px;
}

.mobilec39f2-module p:last-child { margin-bottom: 0; }

.mobilec39f2-modlead {
  color: var(--mobilec39f2-cream) !important;
  font-weight: 600;
}

.mobilec39f2-module a {
  color: var(--mobilec39f2-tan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobilec39f2-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mobilec39f2-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 10px;
  background: rgba(253, 245, 230, 0.045);
  border-left: 3px solid var(--mobilec39f2-brown);
  border-radius: 0 var(--mobilec39f2-r) var(--mobilec39f2-r) 0;
}

.mobilec39f2-stepnum {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mobilec39f2-tan);
  color: #1C2833;
  font-family: var(--mobilec39f2-display);
  font-weight: 900;
  font-size: 14px;
  border-radius: 2px;
}

.mobilec39f2-steps strong {
  display: block;
  font-size: 13.5px;
  color: var(--mobilec39f2-cream);
  letter-spacing: 0.02em;
}

.mobilec39f2-steps p {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mobilec39f2-cream-dim);
}

/* --------------------------------------------------------------------------
   Category quick jump row
   -------------------------------------------------------------------------- */

.mobilec39f2-jumprow {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 8px;
  -webkit-overflow-scrolling: touch;
}

.mobilec39f2-jumprow a {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mobilec39f2-cream);
  border: 1px solid var(--mobilec39f2-line);
  border-radius: var(--mobilec39f2-r);
  background: rgba(253, 245, 230, 0.04);
}

.mobilec39f2-jumprow a:active {
  color: var(--mobilec39f2-tan);
  border-color: var(--mobilec39f2-tan);
}

/* --------------------------------------------------------------------------
   Game groups: grouped cover cards
   -------------------------------------------------------------------------- */

.mobilec39f2-group { margin: 20px 0 4px; }

.mobilec39f2-grouphead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(222, 184, 135, 0.18) 0%, rgba(222, 184, 135, 0.03) 82%);
  border-left: 3px solid var(--mobilec39f2-tan);
  border-radius: 0 var(--mobilec39f2-r) var(--mobilec39f2-r) 0;
}

.mobilec39f2-grouptitle {
  font-size: 15px;
  flex: 1 1 auto;
  letter-spacing: 0.01em;
}

.mobilec39f2-count {
  flex: 0 0 auto;
  min-width: 26px;
  text-align: center;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 800;
  color: #1C2833;
  background: var(--mobilec39f2-cream);
  border-radius: 2px;
}

.mobilec39f2-groupgo {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mobilec39f2-tan);
  padding: 8px 4px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.mobilec39f2-groupgo:active { transform: scale(0.94); }

.mobilec39f2-groupnote {
  margin: 8px 2px 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mobilec39f2-cream-faint);
}

.mobilec39f2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
  margin-top: 10px;
}

.mobilec39f2-tile {
  display: block;
  min-width: 0;
  background: none;
  border: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.mobilec39f2-tile:active { transform: scale(0.94); }

.mobilec39f2-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--mobilec39f2-r);
  border: 1px solid rgba(253, 245, 230, 0.16);
  background: #0f151c;
}

.mobilec39f2-tile span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--mobilec39f2-cream-dim);
}

/* --------------------------------------------------------------------------
   Payment partner strip
   -------------------------------------------------------------------------- */

.mobilec39f2-payrow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 6px;
  -webkit-overflow-scrolling: touch;
}

.mobilec39f2-paychip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 4px 10px;
  background: var(--mobilec39f2-cream);
  border-radius: var(--mobilec39f2-r);
}

.mobilec39f2-paychip img {
  max-height: 24px;
  width: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Testimonial quotes
   -------------------------------------------------------------------------- */

.mobilec39f2-quote {
  margin: 10px 0;
  padding: 9px 11px 10px;
  background: rgba(253, 245, 230, 0.045);
  border-left: 3px solid var(--mobilec39f2-brown);
  border-radius: 0 var(--mobilec39f2-r) var(--mobilec39f2-r) 0;
}

.mobilec39f2-quote p {
  margin: 0 0 6px !important;
  font-size: 13.5px !important;
  color: var(--mobilec39f2-cream) !important;
}

.mobilec39f2-quote cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mobilec39f2-tan);
}

/* --------------------------------------------------------------------------
   Latest winners list
   -------------------------------------------------------------------------- */

.mobilec39f2-winlist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.mobilec39f2-winlist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px dashed rgba(253, 245, 230, 0.16);
  min-height: 44px;
}

.mobilec39f2-winid {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(222, 184, 135, 0.16);
  border: 1px solid var(--mobilec39f2-line);
  color: var(--mobilec39f2-tan);
  font-family: var(--mobilec39f2-display);
  font-size: 11.5px;
  border-radius: 2px;
}

.mobilec39f2-winline {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--mobilec39f2-cream-dim);
}

.mobilec39f2-winline a {
  color: var(--mobilec39f2-tan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobilec39f2-winamt {
  flex: 0 0 auto;
  text-align: right;
  font-family: var(--mobilec39f2-display);
  font-size: 13px;
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-winamt em {
  display: block;
  font-family: var(--mobilec39f2-body);
  font-style: normal;
  font-size: 10px;
  color: var(--mobilec39f2-cream-faint);
}

.mobilec39f2-finenote {
  margin-top: 10px;
  font-size: 11px !important;
  color: var(--mobilec39f2-cream-faint) !important;
}

/* --------------------------------------------------------------------------
   Glossary terms
   -------------------------------------------------------------------------- */

.mobilec39f2-terms { margin: 12px 0 0; }

.mobilec39f2-term {
  padding: 9px 0 10px;
  border-bottom: 1px solid var(--mobilec39f2-hairline);
}

.mobilec39f2-term:last-child { border-bottom: 0; }

.mobilec39f2-term dt {
  font-family: var(--mobilec39f2-display);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-term dd {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mobilec39f2-cream-dim);
}

/* --------------------------------------------------------------------------
   Requirements checklist
   -------------------------------------------------------------------------- */

.mobilec39f2-checklist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.mobilec39f2-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 4px;
  min-height: 44px;
  border-bottom: 1px dashed rgba(253, 245, 230, 0.14);
  font-size: 13px;
  color: var(--mobilec39f2-cream-dim);
}

.mobilec39f2-checkic {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(222, 184, 135, 0.16);
  border-radius: 2px;
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-checklist a {
  color: var(--mobilec39f2-tan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobilec39f2-closing {
  margin-top: 12px;
  padding: 10px 11px;
  background: rgba(222, 184, 135, 0.08);
  border-left: 3px solid var(--mobilec39f2-tan);
  border-radius: 0 var(--mobilec39f2-r) var(--mobilec39f2-r) 0;
  font-size: 13px !important;
  color: var(--mobilec39f2-cream) !important;
}

/* --------------------------------------------------------------------------
   Extended footer: brand > directory > promotions > disclaimer
   -------------------------------------------------------------------------- */

.mobilec39f2-xfooter {
  margin-top: 28px;
  padding: 16px 12px 14px;
  border-top: 1px solid var(--mobilec39f2-line);
  background: #141d27;
}

.mobilec39f2-xbrandrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.mobilec39f2-xbrandrow img {
  width: 30px;
  height: 30px;
  border-radius: 2px;
  object-fit: cover;
  border: 1px solid var(--mobilec39f2-line);
}

.mobilec39f2-xfooter h3 {
  margin: 0 0 8px;
  font-family: var(--mobilec39f2-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mobilec39f2-cream);
}

.mobilec39f2-xbrandrow h3 { margin: 0; flex: 1; }

.mobilec39f2-xbrand > p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mobilec39f2-cream-dim);
}

.mobilec39f2-dir { margin-top: 16px; }

.mobilec39f2-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
  margin-top: 4px;
}

.mobilec39f2-dirlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 40px;
  padding: 4px 2px;
  font-size: 12.5px;
  text-decoration: none;
  color: var(--mobilec39f2-cream-dim);
  border-bottom: 1px solid var(--mobilec39f2-hairline);
}

.mobilec39f2-dirlink::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--mobilec39f2-brown);
  border-right: 2px solid var(--mobilec39f2-brown);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.mobilec39f2-dirlink:active,
.mobilec39f2-dirlink:hover { color: var(--mobilec39f2-tan); }

.mobilec39f2-xpromo { margin-top: 18px; }

.mobilec39f2-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.mobilec39f2-promoitem {
  min-height: 44px;
  background: none;
  border: 1px solid var(--mobilec39f2-tan);
  color: var(--mobilec39f2-tan);
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.12s ease;
}

.mobilec39f2-promoitem:active { transform: scale(0.96); }

.mobilec39f2-promoitem.mobilec39f2-solid {
  background: var(--mobilec39f2-tan);
  color: #1C2833;
}

.mobilec39f2-promoitem.mobilec39f2-wide {
  grid-column: 1 / -1;
}

.mobilec39f2-xdisc {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--mobilec39f2-hairline);
  font-size: 11px;
  line-height: 1.6;
  color: var(--mobilec39f2-cream-faint);
}

/* --------------------------------------------------------------------------
   Common footer (copyright only) + floating docked bottom nav
   -------------------------------------------------------------------------- */

.mobilec39f2-footer {
  padding: 14px 12px 6px;
  text-align: center;
}

.mobilec39f2-footer p {
  margin: 0;
  font-size: 11.5px;
  color: var(--mobilec39f2-cream-faint);
  letter-spacing: 0.03em;
}

.mobilec39f2-dock {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 4px 2px;
  background: rgba(14, 20, 27, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--mobilec39f2-line);
  border-radius: 8px;
}

.mobilec39f2-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 5px 2px;
  background: none;
  border: 0;
  text-decoration: none;
  color: var(--mobilec39f2-cream-dim);
  border-radius: 6px;
  transition: transform 0.12s ease, color 0.12s ease;
}

.mobilec39f2-dockitem:active { transform: scale(0.9); }

.mobilec39f2-dockitem svg {
  width: 21px;
  height: 21px;
  display: block;
}

.mobilec39f2-docklabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mobilec39f2-dockon {
  color: var(--mobilec39f2-tan);
}

/* --------------------------------------------------------------------------
   Breakpoints: stable tracks from 320 up to the 430px canvas edge
   -------------------------------------------------------------------------- */

/* Widen grids to 5 columns once tiles have room */
@media (min-width: 396px) {
  .mobilec39f2-grid { grid-template-columns: repeat(5, 1fr); }
}

/* At the 430px canvas edge the frame keeps its phone proportions */
@media (min-width: 430px) {
  .mobilec39f2-app {
    box-shadow: 0 0 0 1px rgba(222, 184, 135, 0.16), 0 18px 50px rgba(0, 0, 0, 0.5);
  }

  .mobilec39f2-slide img { height: 186px; }

  .mobilec39f2-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 359px) {
  .mobilec39f2-brandname { font-size: 15px; }
  .mobilec39f2-count { display: none; }
}

/* Honor reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Part2 page extensions: game cores, media strips, fact rows, CTA panels.
   Additive only; reuses the tokens and visual language defined above.
   ========================================================================== */

/* Game core: framed icon beside intro and actions */
.mobilec39f2-core {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
  margin: 12px 0 4px;
}

.mobilec39f2-coreicon {
  display: block;
  width: 96px;
  padding: 0;
  background: none;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.mobilec39f2-coreicon img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--mobilec39f2-r);
  border: 1px solid var(--mobilec39f2-line);
  background: #0f151c;
}

.mobilec39f2-coreicon:active { transform: scale(0.95); }

.mobilec39f2-corename {
  margin: 0 0 6px;
  font-family: var(--mobilec39f2-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-coretag {
  margin: 0 0 9px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--mobilec39f2-cream-faint);
}

.mobilec39f2-coreactions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Stacked variant of the game core */
.mobilec39f2-core-v {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.mobilec39f2-core-v .mobilec39f2-coreactions { width: 100%; }

/* Horizontal media strip: screens and promo art */
.mobilec39f2-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  -webkit-overflow-scrolling: touch;
}

.mobilec39f2-stripitem {
  flex: 0 0 46%;
  min-width: 0;
  display: block;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.mobilec39f2-stripitem img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: var(--mobilec39f2-r);
  border: 1px solid rgba(253, 245, 230, 0.16);
  background: #0f151c;
}

.mobilec39f2-stripitem:active { transform: scale(0.97); }

.mobilec39f2-stripcap {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--mobilec39f2-cream-dim);
}

/* Static screenshot figure grid */
.mobilec39f2-figs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 8px;
  margin-top: 10px;
}

.mobilec39f2-figs .mobilec39f2-stripitem { flex: none; }

/* Fact summary rows (dl > div > dt + dd) */
.mobilec39f2-facts { margin: 12px 0 0; }

.mobilec39f2-fact {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(253, 245, 230, 0.14);
}

.mobilec39f2-fact dt {
  flex: 0 0 42%;
  font-family: var(--mobilec39f2-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mobilec39f2-tan);
}

.mobilec39f2-fact dd {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mobilec39f2-cream-dim);
}

/* Decision CTA panel */
.mobilec39f2-panel {
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(222, 184, 135, 0.14) 0%, rgba(222, 184, 135, 0.04) 100%);
  border: 1px solid var(--mobilec39f2-line);
  border-radius: var(--mobilec39f2-r);
}

/* Related game rows: compact vertical list */
.mobilec39f2-rows { margin-top: 10px; }

.mobilec39f2-rowbtn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 6px;
  background: none;
  border: 0;
  border-bottom: 1px dashed rgba(253, 245, 230, 0.16);
  color: var(--mobilec39f2-cream);
  text-align: left;
  min-height: 56px;
  -webkit-tap-highlight-color: transparent;
}

.mobilec39f2-rowbtn img {
  width: 44px;
  height: 44px;
  border-radius: var(--mobilec39f2-r);
  border: 1px solid rgba(253, 245, 230, 0.16);
  object-fit: cover;
  background: #0f151c;
  flex: 0 0 auto;
}

.mobilec39f2-rowbtn strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
}

.mobilec39f2-rowbtn em {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mobilec39f2-tan);
}

/* Pros and limitations: paired columns */
.mobilec39f2-duel {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.mobilec39f2-duelcol {
  padding: 10px 11px 11px;
  background: rgba(253, 245, 230, 0.045);
  border-left: 3px solid var(--mobilec39f2-brown);
  border-radius: 0 var(--mobilec39f2-r) var(--mobilec39f2-r) 0;
}

.mobilec39f2-duelcol.mobilec39f2-pro { border-left-color: var(--mobilec39f2-tan); }

.mobilec39f2-duelcol h4 {
  margin: 0 0 6px;
  font-family: var(--mobilec39f2-display);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mobilec39f2-cream);
}

.mobilec39f2-duelcol ul {
  margin: 0;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mobilec39f2-cream-dim);
}

.mobilec39f2-duelcol li { margin-bottom: 4px; }

.mobilec39f2-duelcol li:last-child { margin-bottom: 0; }
