/* ==========================================================================
   melbet affiliate login - mobile-first display stylesheet
   File   : css/compact-9b285a-display.css
   Canvas : 320-430px phone frame, centered on wide screens
   Prefix : view85a54-
   Voice  : near-square utility edges, hot-pink / gold accents on deep navy,
            image-plus-name-bar game tiles, intro-sectioned reading rhythm
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --view85a54-bg: #2c3e50;          /* deep navy canvas */
  --view85a54-bg-deep: #223140;     /* sunken zones, top bar */
  --view85a54-panel: #34495e;       /* raised panels */
  --view85a54-panel-2: #3b5169;     /* hover / active panel */
  --view85a54-line: #4a637d;        /* hairline borders */
  --view85a54-ink: #ffe9f5;         /* primary light text */
  --view85a54-pink: #ff69b4;        /* action pink */
  --view85a54-pink-soft: #ffb3ff;   /* soft pink text */
  --view85a54-blush: #ffb6c1;       /* blush labels */
  --view85a54-gold: #ffd700;        /* money gold, primary CTA */
  --view85a54-silver: #a9a9a9;      /* muted secondary text */
  --view85a54-radius: 3px;          /* near-square corners */
  --view85a54-radius-lg: 5px;       /* only for large panels */
  --view85a54-press: 130ms;         /* press feedback duration */
  --view85a54-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  --view85a54-font-display: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --view85a54-shell-w: 430px;       /* widest phone canvas */
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--view85a54-font-body);
  background: var(--view85a54-bg-deep);
  color: var(--view85a54-ink);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
}

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

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

a { color: var(--view85a54-pink-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--view85a54-font-display);
  line-height: 1.25;
  color: var(--view85a54-ink);
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--view85a54-gold);
  outline-offset: 2px;
}

/* Phone frame that stays centered on desktop */
.view85a54-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--view85a54-bg);
  box-shadow: 0 0 0 1px rgba(255, 179, 255, 0.06);
}

/* Main column leaves room for the fixed bottom action bar */
.view85a54-main {
  padding: 14px 14px 108px;
}

/* Shared section block */
.view85a54-section {
  margin: 26px 0 0;
  scroll-margin-top: 64px;
}

.view85a54-h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.2px;
  padding-left: 10px;
  border-left: 4px solid var(--view85a54-pink);
}

.view85a54-sec-note {
  margin-top: 10px;
  color: var(--view85a54-silver);
  font-size: 13px;
}

.view85a54-lede {
  margin-top: 10px;
  font-size: 14px;
  color: var(--view85a54-ink);
}

/* Short-distance reveal transitions (only once JS is active) */
html.view85a54-js .view85a54-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

html.view85a54-js .view85a54-rise.view85a54-seen {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.view85a54-js .view85a54-rise { transition: none; opacity: 1; transform: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   3. Top bar - asymmetric brand header
   -------------------------------------------------------------------------- */
.view85a54-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  background: rgba(34, 49, 64, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--view85a54-line);
}

/* Brand block leans wide-left, logo carries the identity */
.view85a54-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1 1 auto;
}

.view85a54-brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: var(--view85a54-radius);
  border: 1px solid var(--view85a54-pink);
  object-fit: cover;
  background: var(--view85a54-panel);
}

.view85a54-brand-name {
  display: block;
  min-width: 0;
  font-family: var(--view85a54-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.2px;
  color: var(--view85a54-ink);
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
}

.view85a54-brand-name small {
  display: block;
  font-family: var(--view85a54-font-body);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--view85a54-blush);
  margin-top: 2px;
}

.view85a54-brand:hover { text-decoration: none; }
.view85a54-brand:hover .view85a54-brand-name { color: var(--view85a54-pink-soft); }

/* Action cluster sits tight-right, sizes are deliberately staggered */
.view85a54-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.view85a54-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--view85a54-radius);
  font-family: var(--view85a54-font-display);
  font-weight: 800;
  transition: transform var(--view85a54-press) ease, background var(--view85a54-press) ease, border-color var(--view85a54-press) ease;
}

.view85a54-btn:active { transform: translateY(1px) scale(0.985); }

/* Small secondary door */
.view85a54-btn-login {
  min-height: 40px;
  min-width: 64px;
  padding: 0 12px;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--view85a54-pink-soft);
  border: 1px solid var(--view85a54-pink);
  background: transparent;
}

.view85a54-btn-login:hover { background: rgba(255, 105, 180, 0.14); text-decoration: none; }

/* Big money door */
.view85a54-btn-register {
  min-height: 44px;
  min-width: 86px;
  padding: 0 14px;
  font-size: 13.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #223140;
  background: var(--view85a54-gold);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.28);
}

.view85a54-btn-register:hover { background: #ffdf3d; }

/* Burger */
.view85a54-burger {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius);
}

.view85a54-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--view85a54-pink-soft);
  transition: transform var(--view85a54-press) ease, opacity var(--view85a54-press) ease;
}

.view85a54-burger:active { transform: scale(0.94); }

.view85a54-burger.view85a54-burger-x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.view85a54-burger.view85a54-burger-x span:nth-child(2) { opacity: 0; }
.view85a54-burger.view85a54-burger-x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. Full-height menu layer
   -------------------------------------------------------------------------- */
.view85a54-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  pointer-events: none;
  visibility: hidden;
}

.view85a54-menu.view85a54-menu-open { pointer-events: auto; visibility: visible; }

.view85a54-menu-panel {
  position: absolute;
  inset: 0;
  background: var(--view85a54-bg-deep);
  border-left: 1px solid var(--view85a54-line);
  transform: translateX(103%);
  transition: transform 260ms ease;
  overflow-y: auto;
  padding: 14px 16px 120px;
}

.view85a54-menu-open .view85a54-menu-panel { transform: translateX(0); }

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

.view85a54-menu-title {
  font-family: var(--view85a54-font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--view85a54-pink-soft);
}

.view85a54-menu-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius);
  color: var(--view85a54-pink-soft);
  font-size: 16px;
}

.view85a54-menu-close:active { transform: scale(0.94); }

.view85a54-menu-group { margin-top: 18px; }

.view85a54-menu-group-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--view85a54-silver);
  padding: 0 2px 6px;
}

.view85a54-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-bottom: 1px solid rgba(74, 99, 125, 0.45);
  color: var(--view85a54-ink);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--view85a54-radius);
  transition: background var(--view85a54-press) ease, border-color var(--view85a54-press) ease;
}

.view85a54-menu-link::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-top: 2px solid var(--view85a54-silver);
  border-right: 2px solid var(--view85a54-silver);
  transform: rotate(45deg);
}

.view85a54-menu-link:hover,
.view85a54-menu-link:focus-visible {
  background: var(--view85a54-panel);
  text-decoration: none;
}

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

.view85a54-menu-link.view85a54-menu-current {
  border-color: var(--view85a54-pink);
  color: var(--view85a54-gold);
  background: rgba(255, 105, 180, 0.08);
}

.view85a54-menu-cta {
  margin-top: 22px;
  display: flex;
  gap: 8px;
}

.view85a54-menu-cta .view85a54-btn { flex: 1; }

.view85a54-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 18, 26, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.view85a54-menu-backdrop.view85a54-backdrop-on { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.view85a54-hero {
  padding: 18px 2px 4px;
}

.view85a54-hero-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--view85a54-gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 4px 8px;
  border-radius: var(--view85a54-radius);
}

.view85a54-hero-title {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.view85a54-hero-title em {
  font-style: normal;
  color: var(--view85a54-pink);
}

.view85a54-hero-lede {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--view85a54-blush);
  max-width: 40ch;
}

.view85a54-hero-ctas {
  margin-top: 16px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}

/* Staggered hero pair: wide gold door + slimmer internal path */
.view85a54-hero-ctas .view85a54-btn-register {
  flex: 1 1 150px;
  min-height: 48px;
  font-size: 14.5px;
}

.view85a54-hero-path {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px dashed var(--view85a54-silver);
  border-radius: var(--view85a54-radius);
  color: var(--view85a54-silver);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--view85a54-press) ease, border-color var(--view85a54-press) ease;
}

.view85a54-hero-path:hover { color: var(--view85a54-ink); border-color: var(--view85a54-ink); text-decoration: none; }

.view85a54-hero-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 11px;
  color: var(--view85a54-silver);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.view85a54-hero-meta b { color: var(--view85a54-gold); font-weight: 700; }

/* --------------------------------------------------------------------------
   6. Carousel
   -------------------------------------------------------------------------- */
.view85a54-carousel {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius-lg);
  background: var(--view85a54-bg-deep);
  overflow: hidden;
  touch-action: pan-y;
}

.view85a54-track {
  display: flex;
  transition: transform 340ms ease;
}

.view85a54-slide { flex: 0 0 100%; }

.view85a54-slide-hit {
  display: block;
  width: 100%;
  text-align: left;
  position: relative;
}

.view85a54-slide-hit img {
  width: 100%;
  aspect-ratio: 430 / 200;
  object-fit: cover;
  background: var(--view85a54-panel);
}

.view85a54-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(34, 49, 64, 0) 0%, rgba(34, 49, 64, 0.92) 62%);
}

.view85a54-slide-cap strong {
  display: block;
  font-family: var(--view85a54-font-display);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--view85a54-ink);
}

.view85a54-slide-cap em {
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: var(--view85a54-pink-soft);
  margin-top: 3px;
}

.view85a54-slide-hit:active img { filter: brightness(1.08); }

.view85a54-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--view85a54-ink);
  background: rgba(34, 49, 64, 0.72);
  border: 1px solid rgba(255, 179, 255, 0.25);
  border-radius: var(--view85a54-radius);
}

.view85a54-arrow svg { width: 16px; height: 16px; }

.view85a54-arrow-prev { left: 6px; }
.view85a54-arrow-next { right: 6px; }

.view85a54-arrow:active { transform: translateY(-50%) scale(0.92); }

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

.view85a54-dot {
  width: 22px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 179, 255, 0.28);
  transition: background var(--view85a54-press) ease, transform var(--view85a54-press) ease;
}

.view85a54-dot:active { transform: scaleY(0.8); }

.view85a54-dot.view85a54-dot-active { background: var(--view85a54-gold); }

/* --------------------------------------------------------------------------
   7. Access strip
   -------------------------------------------------------------------------- */
.view85a54-access {
  margin-top: 18px;
  border: 1px solid var(--view85a54-line);
  border-left: 4px solid var(--view85a54-gold);
  border-radius: var(--view85a54-radius);
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.9), rgba(34, 49, 64, 0.9));
  padding: 14px;
}

.view85a54-access-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--view85a54-gold);
}

.view85a54-access-text {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--view85a54-ink);
}

.view85a54-access-text b { color: var(--view85a54-pink-soft); font-weight: 700; }

.view85a54-access-cta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.view85a54-access-cta .view85a54-btn-register { min-height: 44px; padding: 0 18px; }

.view85a54-access-word {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--view85a54-gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.view85a54-access-word:hover { color: #ffdf3d; }

/* --------------------------------------------------------------------------
   8. Game zone - category blocks and 4/5 column tiles
   -------------------------------------------------------------------------- */
.view85a54-cat {
  margin-top: 20px;
}

.view85a54-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--view85a54-line);
}

.view85a54-cat-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--view85a54-ink);
}

.view85a54-cat-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  background: var(--view85a54-pink);
}

.view85a54-cat-tag {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--view85a54-silver);
  white-space: nowrap;
}

/* 4 columns at 320px */
.view85a54-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

/* 5 columns on wider phones */
@media (min-width: 398px) {
  .view85a54-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
}

/* Tile = square art with a name bar bolted underneath */
.view85a54-gcard {
  display: block;
  width: 100%;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius);
  background: var(--view85a54-panel);
  overflow: hidden;
  transition: transform var(--view85a54-press) ease, border-color var(--view85a54-press) ease;
  -webkit-tap-highlight-color: rgba(255, 215, 0, 0.18);
}

.view85a54-gcard:active {
  transform: translateY(1px) scale(0.97);
  border-color: var(--view85a54-gold);
}

.view85a54-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--view85a54-bg-deep);
}

.view85a54-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 4px 5px 5px;
  min-height: 32px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1px;
  color: var(--view85a54-ink);
  background: linear-gradient(180deg, #2c3e50, #223140);
  border-top: 1px solid rgba(74, 99, 125, 0.6);
}

/* --------------------------------------------------------------------------
   9. Winners strip
   -------------------------------------------------------------------------- */
.view85a54-winners {
  margin-top: 12px;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.view85a54-wcard {
  flex: 0 0 150px;
  scroll-snap-align: start;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius);
  background: var(--view85a54-panel);
  padding: 10px;
}

.view85a54-wcard-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view85a54-wavatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 105, 180, 0.18);
  border: 1px solid var(--view85a54-pink);
  color: var(--view85a54-pink-soft);
  font-size: 12px;
  font-weight: 800;
}

.view85a54-wname {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view85a54-ink);
}

.view85a54-wtime {
  display: block;
  font-size: 10px;
  color: var(--view85a54-silver);
  letter-spacing: 0.5px;
}

.view85a54-wgame {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--view85a54-blush);
}

.view85a54-wamount {
  margin-top: 3px;
  font-family: var(--view85a54-font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--view85a54-gold);
  letter-spacing: -0.3px;
}

.view85a54-winners-note {
  font-size: 11.5px;
  color: var(--view85a54-silver);
  border-left: 3px solid var(--view85a54-line);
  padding-left: 9px;
}

/* --------------------------------------------------------------------------
   10. Category highlights - intro-sectioned reading list
   -------------------------------------------------------------------------- */
.view85a54-catinfo {
  margin-top: 12px;
  border-top: 1px solid var(--view85a54-line);
}

.view85a54-catinfo-item {
  padding: 13px 2px 13px 12px;
  border-bottom: 1px solid var(--view85a54-line);
  border-left: 3px solid transparent;
}

.view85a54-catinfo-item:nth-child(odd) { border-left-color: var(--view85a54-pink); }
.view85a54-catinfo-item:nth-child(even) { border-left-color: var(--view85a54-gold); }

.view85a54-catinfo-label {
  font-family: var(--view85a54-font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--view85a54-pink-soft);
}

.view85a54-catinfo-body {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--view85a54-ink);
}

.view85a54-catinfo-body a { color: var(--view85a54-gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   11. FAQ - native details blocks
   -------------------------------------------------------------------------- */
.view85a54-faq {
  margin-top: 12px;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius);
  overflow: hidden;
}

.view85a54-faq-item { border-bottom: 1px solid var(--view85a54-line); }
.view85a54-faq-item:last-child { border-bottom: 0; }

.view85a54-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--view85a54-ink);
  background: var(--view85a54-panel);
  transition: background var(--view85a54-press) ease;
}

.view85a54-faq-q::-webkit-details-marker { display: none; }

.view85a54-faq-q:hover { background: var(--view85a54-panel-2); }

.view85a54-faq-q::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 800;
  color: var(--view85a54-pink);
  transition: transform var(--view85a54-press) ease;
}

.view85a54-faq-item[open] .view85a54-faq-q::after { transform: rotate(45deg); }

.view85a54-faq-a {
  padding: 12px 14px 15px;
  font-size: 13.5px;
  color: var(--view85a54-blush);
  background: var(--view85a54-bg-deep);
}

.view85a54-faq-a a { color: var(--view85a54-gold); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   12. Scenario steps
   -------------------------------------------------------------------------- */
.view85a54-scenario {
  margin-top: 12px;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius);
  background: var(--view85a54-bg-deep);
  padding: 14px 14px 6px;
}

.view85a54-step {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 9px 0;
}

.view85a54-step-num {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--view85a54-gold);
  border-radius: var(--view85a54-radius);
  color: var(--view85a54-gold);
  font-size: 13px;
  font-weight: 800;
}

.view85a54-step p { font-size: 13.5px; color: var(--view85a54-ink); padding-top: 4px; }

.view85a54-scenario-close {
  margin-top: 10px;
  padding: 12px 2px 12px;
  border-top: 1px dashed var(--view85a54-line);
  font-size: 13.5px;
  color: var(--view85a54-blush);
}

.view85a54-scenario-close .view85a54-access-word { min-height: 40px; }

/* --------------------------------------------------------------------------
   13. Extended footer (home only) - sectioned list:
       promotions > brand > page directory > disclaimer
   -------------------------------------------------------------------------- */
.view85a54-ext {
  margin-top: 30px;
  border-top: 3px solid var(--view85a54-pink);
  background: var(--view85a54-bg-deep);
  padding: 4px 16px 18px;
}

.view85a54-ext-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--view85a54-silver);
  margin: 18px 0 8px;
}

.view85a54-ext-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.view85a54-ext-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--view85a54-line);
  border-left: 4px solid var(--view85a54-gold);
  border-radius: var(--view85a54-radius);
  background: var(--view85a54-panel);
  color: var(--view85a54-ink);
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
  transition: transform var(--view85a54-press) ease, border-color var(--view85a54-press) ease, background var(--view85a54-press) ease;
}

.view85a54-ext-promo::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-top: 2px solid var(--view85a54-gold);
  border-right: 2px solid var(--view85a54-gold);
  transform: rotate(45deg);
}

.view85a54-ext-promo:hover { background: var(--view85a54-panel-2); }
.view85a54-ext-promo:active { transform: translateY(1px); }

.view85a54-ext-brand {
  font-size: 13px;
  color: var(--view85a54-blush);
  line-height: 1.65;
}

.view85a54-ext-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.view85a54-ext-dir-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--view85a54-line);
  border-radius: var(--view85a54-radius);
  background: rgba(52, 73, 94, 0.45);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--view85a54-ink);
  line-height: 1.3;
  transition: border-color var(--view85a54-press) ease, color var(--view85a54-press) ease;
}

.view85a54-ext-dir-link:hover { border-color: var(--view85a54-pink); color: var(--view85a54-pink-soft); text-decoration: none; }

.view85a54-ext-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--view85a54-silver);
  border: 1px dashed var(--view85a54-line);
  border-radius: var(--view85a54-radius);
  padding: 10px;
}

.view85a54-ext-disclaimer b { color: var(--view85a54-blush); }

/* --------------------------------------------------------------------------
   14. Common footer + fixed bottom action bar
   -------------------------------------------------------------------------- */
.view85a54-foot {
  padding: 18px 16px 8px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.6px;
  color: var(--view85a54-silver);
  border-top: 1px solid var(--view85a54-line);
}

.view85a54-foot b { color: var(--view85a54-blush); font-weight: 700; }

/* Segmented action bar pinned to the phone canvas bottom */
.view85a54-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(34, 49, 64, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--view85a54-line);
  padding: 6px 2px calc(6px + env(safe-area-inset-bottom, 0px));
}

.view85a54-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  min-width: 44px;
  padding: 4px 2px;
  border-radius: var(--view85a54-radius);
  color: var(--view85a54-silver);
  transition: color var(--view85a54-press) ease, transform var(--view85a54-press) ease;
}

.view85a54-bnav-item:active { transform: translateY(1px) scale(0.95); }

.view85a54-bnav-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.view85a54-bnav-ico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill var(--view85a54-press) ease;
}

.view85a54-bnav-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
}

/* Color-switch active state: icon picks up a soft fill */
.view85a54-bnav-item.view85a54-bnav-active { color: var(--view85a54-gold); }

.view85a54-bnav-item.view85a54-bnav-active .view85a54-bnav-ico svg {
  fill: currentColor;
  fill-opacity: 0.16;
}

/* Promo roles keep the pink voice */
.view85a54-bnav-item.view85a54-bnav-promo { color: var(--view85a54-pink); }

.view85a54-bnav-item.view85a54-bnav-promo .view85a54-bnav-label { color: var(--view85a54-pink-soft); }

.view85a54-bnav-item.view85a54-bnav-promo:active .view85a54-bnav-ico svg {
  fill: currentColor;
  fill-opacity: 0.3;
}

.view85a54-bnav-item:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   15. Wide-screen framing (phone canvas stays centered)
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  body { background: #1a2836; }

  .view85a54-shell {
    border-left: 1px solid var(--view85a54-line);
    border-right: 1px solid var(--view85a54-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.45);
  }

  .view85a54-menu-panel { border-left: 1px solid var(--view85a54-line); }
}

/* Narrow-phone tightening */
@media (max-width: 359px) {
  .view85a54-main { padding: 12px 10px 104px; }

  .view85a54-hero-title { font-size: 23px; }

  .view85a54-topacts { gap: 4px; }

  .view85a54-btn-login { min-width: 54px; padding: 0 8px; }

  .view85a54-btn-register { min-width: 72px; padding: 0 10px; }

  .view85a54-grid { gap: 6px; }

  .view85a54-bnav-label { font-size: 8.5px; }
}

/* Long game names wrap inside their bar instead of overflowing */
.view85a54-gcard-name,
.view85a54-bnav-label,
.view85a54-brand-name,
.view85a54-ext-dir-link {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   16. Help pages - guide route and tips field notes
   -------------------------------------------------------------------------- */
.view85a54-help-main,
.view85a54-tips-main { padding-top: 18px; }

.view85a54-help-intro,
.view85a54-tips-mast {
  position: relative;
  padding: 8px 2px 18px;
  border-bottom: 1px solid var(--view85a54-line);
}

.view85a54-help-intro::after,
.view85a54-tips-mast::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: -1px;
  width: 74px;
  height: 3px;
  background: var(--view85a54-gold);
}

.view85a54-help-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.view85a54-help-actions .view85a54-btn { min-height: 46px; }
.view85a54-help-actions .view85a54-btn-register { flex: 1 1 160px; }
.view85a54-help-actions .view85a54-btn-login { flex: 0 1 145px; }

.view85a54-help-stamp {
  margin-top: 12px;
  color: var(--view85a54-silver);
  font-size: 11px;
  letter-spacing: .35px;
}

.view85a54-help-rail {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--view85a54-pink);
  border-left: 7px solid var(--view85a54-gold);
  background: linear-gradient(120deg, rgba(59, 81, 105, .96), rgba(34, 49, 64, .96));
}

.view85a54-help-rail-mark {
  display: block;
  color: var(--view85a54-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.view85a54-help-rail p {
  margin-top: 8px;
  color: var(--view85a54-ink);
  font-size: 14px;
}

.view85a54-help-rail strong { color: var(--view85a54-pink-soft); }

.view85a54-help-text-cta,
.view85a54-inline-promo,
.view85a54-help-chip,
.view85a54-help-wide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--view85a54-pink);
  border-radius: var(--view85a54-radius);
  color: var(--view85a54-pink-soft);
  background: rgba(255, 105, 180, .1);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .35px;
  text-align: center;
}

.view85a54-help-text-cta:hover,
.view85a54-inline-promo:hover,
.view85a54-help-chip:hover,
.view85a54-help-wide-cta:hover { color: var(--view85a54-bg-deep); background: var(--view85a54-gold); text-decoration: none; }
.view85a54-help-text-cta:active,
.view85a54-inline-promo:active,
.view85a54-help-chip:active,
.view85a54-help-wide-cta:active { transform: translateY(1px); }
.view85a54-help-rail .view85a54-help-text-cta { margin-top: 12px; }
.view85a54-help-after { margin-top: 14px; color: var(--view85a54-blush); font-size: 13.5px; }
.view85a54-help-after a { color: var(--view85a54-gold); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* The guide uses a numbered vertical route rather than a card grid. */
.view85a54-help-route {
  margin-top: 14px;
  counter-reset: view85a54-route;
  border-top: 1px solid var(--view85a54-line);
}

.view85a54-help-route > li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid var(--view85a54-line);
}

.view85a54-help-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--view85a54-gold);
  color: var(--view85a54-gold);
  font-size: 11px;
  font-weight: 900;
}

.view85a54-help-route h3,
.view85a54-help-mistakes h3,
.view85a54-payment-step h3,
.view85a54-ratio-board h3,
.view85a54-boundary h3 {
  font-size: 15px;
  color: var(--view85a54-pink-soft);
}

.view85a54-help-route p,
.view85a54-help-mistakes p,
.view85a54-payment-step p,
.view85a54-ratio-board p,
.view85a54-boundary p { margin-top: 6px; color: var(--view85a54-ink); font-size: 13.5px; }
.view85a54-help-route .view85a54-inline-promo { margin-top: 10px; }

/* The guide mistake module uses compact editorial bands. */
.view85a54-help-mistakes {
  margin-top: 13px;
  display: grid;
  gap: 8px;
}

.view85a54-help-mistakes article {
  padding: 13px 12px;
  border-left: 4px solid var(--view85a54-pink);
  background: var(--view85a54-panel);
}

.view85a54-help-mistakes article:nth-child(even) { border-left-color: var(--view85a54-gold); }
.view85a54-help-mistakes .view85a54-help-chip { margin-top: 10px; min-height: 40px; }

.view85a54-help-checklist,
.view85a54-ticklist {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.view85a54-help-checklist label,
.view85a54-ticklist label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--view85a54-line);
  background: rgba(52, 73, 94, .62);
  color: var(--view85a54-ink);
  font-size: 13px;
}

.view85a54-help-checklist input,
.view85a54-ticklist input { width: 19px; height: 19px; flex: 0 0 19px; accent-color: var(--view85a54-gold); margin-top: 1px; }
.view85a54-help-wide-cta { width: 100%; margin-top: 12px; min-height: 48px; }

.view85a54-help-branches {
  margin-top: 13px;
  border-top: 2px solid var(--view85a54-line);
}

.view85a54-help-branches > div {
  padding: 13px 2px;
  border-bottom: 1px solid var(--view85a54-line);
}

.view85a54-help-branches dt { color: var(--view85a54-gold); font-size: 14px; font-weight: 800; }
.view85a54-help-branches dd { margin-top: 5px; color: var(--view85a54-blush); font-size: 13.5px; }
.view85a54-help-branches + .view85a54-help-text-cta { margin-top: 12px; }

.view85a54-help-qa {
  margin-top: 13px;
  border-top: 1px solid var(--view85a54-line);
}

.view85a54-help-qa details { border-bottom: 1px solid var(--view85a54-line); }
.view85a54-help-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 50px;
  padding: 11px 3px;
  color: var(--view85a54-ink);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.view85a54-help-qa summary::-webkit-details-marker { display: none; }
.view85a54-help-qa summary::after { content: "+"; color: var(--view85a54-pink); font-size: 19px; }
.view85a54-help-qa details[open] summary::after { transform: rotate(45deg); }
.view85a54-help-qa details p { padding: 0 3px 14px; color: var(--view85a54-blush); font-size: 13.5px; }
.view85a54-help-qa details p a { color: var(--view85a54-gold); font-weight: 700; text-decoration: underline; }

.view85a54-help-end,
.view85a54-tips-close {
  margin-top: 28px;
  padding: 16px 13px 18px;
  border-top: 3px solid var(--view85a54-pink);
  background: linear-gradient(145deg, rgba(59, 81, 105, .92), rgba(34, 49, 64, .92));
}

.view85a54-help-end > p:not(.view85a54-hero-kicker),
.view85a54-tips-close > p:not(.view85a54-hero-kicker) { margin-top: 10px; color: var(--view85a54-ink); font-size: 13.5px; }
.view85a54-help-end .view85a54-help-actions,
.view85a54-tips-close .view85a54-help-actions { margin-top: 14px; }

/* Tips page uses a horizontal pause/check/choose meter and decision boards. */
.view85a54-tips-meter {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--view85a54-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.view85a54-tips-meter i { display: block; flex: 1; height: 1px; background: var(--view85a54-pink); }

.view85a54-tip-cards {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.view85a54-tip-cards article {
  position: relative;
  padding: 15px 13px 13px 48px;
  border: 1px solid var(--view85a54-line);
  background: var(--view85a54-panel);
}

.view85a54-tip-cards article:nth-child(2) { background: rgba(59, 81, 105, .76); }
.view85a54-tip-no { position: absolute; left: 13px; top: 15px; color: var(--view85a54-gold); font-size: 12px; font-weight: 900; }
.view85a54-tip-cards h3 { color: var(--view85a54-pink-soft); font-size: 15px; }
.view85a54-tip-cards p { margin-top: 6px; color: var(--view85a54-ink); font-size: 13.5px; }
.view85a54-tip-cards .view85a54-help-chip { margin-top: 10px; min-height: 40px; }

.view85a54-payment-map {
  position: relative;
  margin-top: 14px;
  padding-left: 13px;
  border-left: 2px solid var(--view85a54-pink);
}

.view85a54-payment-step {
  position: relative;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0 14px;
  border-bottom: 1px dashed var(--view85a54-line);
}
.view85a54-payment-step:last-child { border-bottom: 0; }
.view85a54-payment-step > b { color: var(--view85a54-gold); font-size: 16px; }
.view85a54-payment-step .view85a54-help-text-cta { margin-top: 10px; }
.view85a54-payment-note { margin-top: 12px; padding: 11px 12px; border: 1px dashed var(--view85a54-gold); color: var(--view85a54-blush); font-size: 12.5px; }
.view85a54-payment-note strong { color: var(--view85a54-gold); }

.view85a54-ratio-board {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.view85a54-ratio-board > div { padding: 13px; border-top: 3px solid var(--view85a54-gold); background: var(--view85a54-panel); }
.view85a54-ratio-board > div:nth-child(2) { border-top-color: var(--view85a54-pink); }
.view85a54-ratio-board > div:nth-child(3) { border-top-color: var(--view85a54-blush); }
.view85a54-ratio-value { color: var(--view85a54-gold); font-size: 10px; font-weight: 900; letter-spacing: 1.8px; }
.view85a54-ratio-board .view85a54-help-chip { margin-top: 10px; min-height: 40px; }

.view85a54-boundary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.view85a54-boundary > div { padding: 14px 12px; border: 1px solid var(--view85a54-line); background: var(--view85a54-bg-deep); }
.view85a54-boundary > div:first-child { border-left: 4px solid var(--view85a54-gold); }
.view85a54-boundary > div:nth-child(2) { border-left: 4px solid var(--view85a54-pink); }
.view85a54-boundary > div:last-child { border-left: 4px solid var(--view85a54-blush); }
.view85a54-boundary .view85a54-help-chip { margin-top: 10px; min-height: 40px; }

.view85a54-takeaways {
  margin-top: 14px;
  border-top: 1px solid var(--view85a54-line);
}
.view85a54-takeaways > div { display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--view85a54-line); }
.view85a54-takeaways span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--view85a54-pink); color: var(--view85a54-bg-deep); font-size: 12px; font-weight: 900; }
.view85a54-takeaways p { color: var(--view85a54-ink); font-size: 13.5px; }
.view85a54-takeaways + .view85a54-help-text-cta { margin-top: 12px; }

.view85a54-decision-grid { display: grid; gap: 7px; margin-top: 13px; }
.view85a54-decision-grid button { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 9px; align-items: center; min-height: 52px; padding: 9px 10px; border: 1px solid var(--view85a54-line); background: var(--view85a54-panel); text-align: left; }
.view85a54-decision-grid button:hover { border-color: var(--view85a54-gold); background: var(--view85a54-panel-2); }
.view85a54-decision-grid b { color: var(--view85a54-gold); font-size: 11px; letter-spacing: 1px; }
.view85a54-decision-grid span { color: var(--view85a54-ink); font-size: 13px; }

@media (max-width: 359px) {
  .view85a54-help-actions .view85a54-btn-login { flex-basis: 125px; padding-left: 8px; padding-right: 8px; }
  .view85a54-help-route > li { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; }
  .view85a54-help-index { width: 30px; height: 30px; }
}
