/* ==========================================================================
   Arrion Play - visuals-compact-4afc9a.css
   Mobile-first casino floor styles for a 320-430px phone canvas.
   All classes and custom properties use the frame4afc9- prefix.
   Palette: #8A2BE2 / #0D1117 / #9966CC / #CD853F / #6A5ACD
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --frame4afc9-ink: #0D1117;          /* page base (dark) */
  --frame4afc9-ink-deep: #080B10;     /* page backdrop behind the canvas */
  --frame4afc9-panel: #141B29;        /* raised panel */
  --frame4afc9-panel-2: #101622;      /* sunken panel */
  --frame4afc9-violet: #8A2BE2;       /* primary brand violet */
  --frame4afc9-lilac: #9966CC;        /* soft lilac */
  --frame4afc9-gold: #CD853F;         /* peru gold accent / CTA */
  --frame4afc9-gold-hi: #E3A45F;      /* hover gold */
  --frame4afc9-indigo: #6A5ACD;       /* secondary indigo */
  --frame4afc9-text: #EDE9F7;         /* main light text */
  --frame4afc9-dim: #A79BC7;          /* muted text */
  --frame4afc9-faint: #7E739E;        /* faint labels */
  --frame4afc9-line: rgba(153, 102, 204, 0.26);
  --frame4afc9-line-soft: rgba(153, 102, 204, 0.14);
  --frame4afc9-gold-ink: #241303;     /* text on gold */
  --frame4afc9-font-head: "Avenir Next", "Futura", "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  --frame4afc9-font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame4afc9-radius-btn: 999px;     /* rounded buttons */
  --frame4afc9-radius-card: 8px;      /* squarish cards */
  --frame4afc9-topbar-h: 56px;
  --frame4afc9-dock-h: 62px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--frame4afc9-ink-deep);
  color: var(--frame4afc9-text);
  font-family: var(--frame4afc9-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a {
  color: var(--frame4afc9-gold-hi);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--frame4afc9-font-head);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.22;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--frame4afc9-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

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

body.frame4afc9-noscroll { overflow: hidden; }

/* ---------- Phone canvas ---------- */
.frame4afc9-shell {
  position: relative;
  width: 100%;
  max-width: 430px;           /* hard phone-canvas ceiling */
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% -8%, rgba(138, 43, 226, 0.22), transparent 60%),
    radial-gradient(90% 30% at 90% 12%, rgba(106, 90, 205, 0.14), transparent 55%),
    var(--frame4afc9-ink);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.65);
  overflow-x: clip;
}

/* ---------- Fixed top bar (edge-aligned functional header) ---------- */
.frame4afc9-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100vw);
  height: var(--frame4afc9-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 0 10px;
  background: rgba(11, 15, 23, 0.94);
  border-bottom: 1px solid var(--frame4afc9-line-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.frame4afc9-brand:hover { text-decoration: none; }

.frame4afc9-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid var(--frame4afc9-line);
  background: var(--frame4afc9-panel);
  object-fit: cover;
}

.frame4afc9-brandname {
  font-family: var(--frame4afc9-font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame4afc9-brandname em {
  font-style: normal;
  color: var(--frame4afc9-gold-hi);
}

.frame4afc9-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* Rounded action buttons */
.frame4afc9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: var(--frame4afc9-radius-btn);
  font-family: var(--frame4afc9-font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.frame4afc9-btn:active { transform: translateY(1px) scale(0.97); }

.frame4afc9-btn--register {
  background: linear-gradient(180deg, var(--frame4afc9-gold-hi), var(--frame4afc9-gold));
  color: var(--frame4afc9-gold-ink);
  box-shadow: 0 3px 12px rgba(205, 133, 63, 0.32);
  padding: 8px 14px;
}

.frame4afc9-btn--login {
  border: 1px solid var(--frame4afc9-line);
  color: var(--frame4afc9-text);
  background: rgba(138, 43, 226, 0.1);
  padding: 7px 13px;
}

/* Burger trigger */
.frame4afc9-btn--menu {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 11px;
  border: 1px solid var(--frame4afc9-line);
  background: var(--frame4afc9-panel);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.frame4afc9-btn--menu span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--frame4afc9-lilac);
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.frame4afc9-btn--menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.frame4afc9-btn--menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.frame4afc9-btn--menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Stacked overlay menu ---------- */
.frame4afc9-menu {
  position: fixed;
  top: var(--frame4afc9-topbar-h);
  left: 50%;
  transform: translateX(-50%);
  width: min(430px, 100vw);
  max-height: calc(100vh - var(--frame4afc9-topbar-h));
  overflow-y: auto;
  z-index: 55;
  background: rgba(10, 14, 21, 0.985);
  border-bottom: 1px solid var(--frame4afc9-line-soft);
  padding: 14px 14px 26px;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.frame4afc9-menu--open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.frame4afc9-menulabel {
  margin: 16px 4px 7px;
  font-family: var(--frame4afc9-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame4afc9-faint);
}

.frame4afc9-menulinks {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 10px;
  border: 1px solid var(--frame4afc9-line-soft);
  background: var(--frame4afc9-panel-2);
  overflow: hidden;
}

.frame4afc9-menulink {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 11px 14px;
  color: var(--frame4afc9-text);
  font-family: var(--frame4afc9-font-head);
  font-weight: 600;
  font-size: 14.5px;
  border-bottom: 1px solid var(--frame4afc9-line-soft);
  transition: background-color 0.12s ease;
}

.frame4afc9-menulink:last-child { border-bottom: 0; }

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

/* Active marker: underline */
.frame4afc9-menulink--on { color: var(--frame4afc9-gold-hi); }
.frame4afc9-menulink--on::before {
  content: "";
  position: absolute;
  left: 0; top: 18%;
  height: 64%;
  width: 3px;
  border-radius: 3px;
  background: var(--frame4afc9-gold);
}

/* ---------- Main canvas ---------- */
.frame4afc9-main {
  padding: calc(var(--frame4afc9-topbar-h) + 14px) 12px calc(var(--frame4afc9-dock-h) + 58px);
}

.frame4afc9-section { margin-top: 26px; }

/* ---------- Hero ---------- */
.frame4afc9-hero { margin-top: 4px; }

.frame4afc9-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--frame4afc9-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame4afc9-lilac);
}

.frame4afc9-kicker::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--frame4afc9-gold);
}

.frame4afc9-h1 {
  margin-top: 8px;
  font-size: clamp(24px, 7.4vw, 30px);
  letter-spacing: 0;
}

.frame4afc9-h1 .frame4afc9-h1sep { color: var(--frame4afc9-violet); }

.frame4afc9-lead {
  margin-top: 10px;
  color: var(--frame4afc9-dim);
  font-size: 14.5px;
}

.frame4afc9-lead strong { color: var(--frame4afc9-text); font-weight: 600; }

/* Floor stats strip */
.frame4afc9-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
  overflow: hidden;
}

.frame4afc9-stat {
  padding: 10px 8px 9px;
  text-align: center;
  border-right: 1px solid var(--frame4afc9-line-soft);
}

.frame4afc9-stat:last-child { border-right: 0; }

.frame4afc9-stat b {
  display: block;
  font-family: var(--frame4afc9-font-head);
  font-size: 18px;
  color: var(--frame4afc9-gold-hi);
  line-height: 1.1;
}

.frame4afc9-stat span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame4afc9-faint);
}

/* ---------- Carousel ---------- */
.frame4afc9-carousel {
  position: relative;
  margin-top: 18px;
  border-radius: var(--frame4afc9-radius-card);
  overflow: hidden;
  border: 1px solid var(--frame4afc9-line-soft);
  background: var(--frame4afc9-panel-2);
}

.frame4afc9-cviewport { overflow: hidden; }

.frame4afc9-ctrack {
  display: flex;
  transition: transform 0.32s cubic-bezier(0.33, 0.8, 0.4, 1);
}

.frame4afc9-cslide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

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

.frame4afc9-ccap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(8, 11, 16, 0.92));
  font-family: var(--frame4afc9-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--frame4afc9-text);
  pointer-events: none;
}

.frame4afc9-ccap small {
  display: block;
  margin-top: 1px;
  font-family: var(--frame4afc9-font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--frame4afc9-dim);
}

.frame4afc9-cdots {
  position: absolute;
  right: 10px; bottom: 9px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.frame4afc9-cdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(237, 233, 247, 0.34);
  transition: background-color 0.14s ease, width 0.14s ease;
  padding: 0;
}

.frame4afc9-cdot--on {
  width: 20px;
  border-radius: 4px;
  background: var(--frame4afc9-gold);
}

/* ---------- Category chips ---------- */
.frame4afc9-chips {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.frame4afc9-chips::-webkit-scrollbar { display: none; }

.frame4afc9-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: var(--frame4afc9-radius-btn);
  border: 1px solid var(--frame4afc9-line);
  background: var(--frame4afc9-panel-2);
  color: var(--frame4afc9-text);
  font-family: var(--frame4afc9-font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.frame4afc9-chip:active { transform: translateY(1px) scale(0.97); }

.frame4afc9-chip i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--frame4afc9-lilac);
}

.frame4afc9-chip:hover { text-decoration: none; border-color: var(--frame4afc9-gold); }

/* ---------- Section heading block ---------- */
.frame4afc9-sechead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.frame4afc9-h2 {
  font-size: clamp(18px, 5.4vw, 21px);
  color: var(--frame4afc9-text);
}

.frame4afc9-count {
  flex: 0 0 auto;
  font-family: var(--frame4afc9-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame4afc9-lilac);
  border: 1px solid var(--frame4afc9-line-soft);
  background: var(--frame4afc9-panel-2);
  border-radius: var(--frame4afc9-radius-btn);
  padding: 4px 10px;
  white-space: nowrap;
}

.frame4afc9-secintro {
  color: var(--frame4afc9-dim);
  font-size: 13.8px;
  margin: 6px 0 12px;
}

.frame4afc9-secintro strong { color: var(--frame4afc9-text); font-weight: 600; }

/* ---------- Game grids: large + small card mix ---------- */
.frame4afc9-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 8px 6px;
}

/* Small card */
.frame4afc9-gcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--frame4afc9-radius-card);
  border: 1px solid var(--frame4afc9-line-soft);
  background: var(--frame4afc9-panel);
  padding: 5px 5px 7px;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

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

.frame4afc9-gimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: var(--frame4afc9-panel-2);
}

.frame4afc9-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-family: var(--frame4afc9-font-head);
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--frame4afc9-text);
  overflow-wrap: anywhere;
}

/* Large card: spans two tracks */
.frame4afc9-gcard--xl {
  grid-column: span 2;
  padding: 7px 7px 9px;
  border-color: var(--frame4afc9-line);
  background:
    linear-gradient(180deg, rgba(138, 43, 226, 0.16), rgba(20, 27, 41, 0) 55%),
    var(--frame4afc9-panel);
}

.frame4afc9-gcard--xl .frame4afc9-gname {
  font-size: 12px;
  -webkit-line-clamp: 1;
}

.frame4afc9-gtag {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frame4afc9-gold-hi);
}

/* Section connector line between corridors */
.frame4afc9-secline {
  margin-top: 26px;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--frame4afc9-line), transparent);
}

/* ---------- Content modules (varied shapes, no repeated card shell) ---------- */

/* Trick list */
.frame4afc9-tiplist { margin-top: 4px; }

.frame4afc9-tip {
  position: relative;
  padding: 11px 12px 11px 32px;
  border-left: 2px solid var(--frame4afc9-indigo);
  background: var(--frame4afc9-panel-2);
  margin-bottom: 8px;
  border-radius: 0 var(--frame4afc9-radius-card) var(--frame4afc9-radius-card) 0;
  color: var(--frame4afc9-dim);
  font-size: 13.6px;
}

.frame4afc9-tip strong { color: var(--frame4afc9-text); font-weight: 600; }

.frame4afc9-tip::before {
  content: "";
  position: absolute;
  left: 12px; top: 17px;
  width: 8px; height: 8px;
  background: var(--frame4afc9-gold);
  transform: rotate(45deg);
}

/* Offer rows */
.frame4afc9-offer {
  display: block;
  padding: 13px 12px 12px 14px;
  margin-bottom: 9px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-left: 3px solid var(--frame4afc9-gold);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel);
}

.frame4afc9-offer h3 {
  font-size: 14.5px;
  color: var(--frame4afc9-text);
}

.frame4afc9-offer p {
  margin-top: 3px;
  font-size: 12.8px;
  color: var(--frame4afc9-dim);
}

.frame4afc9-offer-tag {
  display: inline-block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame4afc9-lilac);
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-btn);
  padding: 2px 9px;
}

/* CTA band */
.frame4afc9-ctaband {
  margin-top: 26px;
  padding: 20px 16px 18px;
  border-radius: 14px;
  text-align: center;
  background:
    radial-gradient(120% 130% at 50% -30%, rgba(205, 133, 63, 0.28), transparent 58%),
    linear-gradient(160deg, #2A1B4A, #171233 55%, #131926);
  border: 1px solid var(--frame4afc9-line);
}

.frame4afc9-ctaband .frame4afc9-h2 { margin-bottom: 6px; }

.frame4afc9-ctaband p {
  color: var(--frame4afc9-dim);
  font-size: 13.6px;
}

.frame4afc9-ctarow {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

/* Lightly rounded text button group */
.frame4afc9-btn--cta {
  background: linear-gradient(180deg, var(--frame4afc9-gold-hi), var(--frame4afc9-gold));
  color: var(--frame4afc9-gold-ink);
  min-height: 44px;
  padding: 11px 24px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(205, 133, 63, 0.3);
}

.frame4afc9-btn--ghost {
  border: 1px solid var(--frame4afc9-line);
  color: var(--frame4afc9-text);
  min-height: 44px;
  padding: 10px 20px;
  font-size: 14px;
  background: rgba(13, 17, 23, 0.5);
}

.frame4afc9-btn--text {
  color: var(--frame4afc9-gold-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  padding: 10px 6px;
  font-size: 13.5px;
}

/* Steps */
.frame4afc9-steps { counter-reset: frame4afc9step; margin-top: 4px; }

.frame4afc9-step {
  position: relative;
  counter-increment: frame4afc9step;
  padding: 10px 10px 10px 46px;
  margin-bottom: 7px;
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
  border: 1px solid var(--frame4afc9-line-soft);
  color: var(--frame4afc9-dim);
  font-size: 13.6px;
}

.frame4afc9-step strong { color: var(--frame4afc9-text); font-weight: 600; }

.frame4afc9-step::before {
  content: counter(frame4afc9step, decimal-leading-zero);
  position: absolute;
  left: 12px; top: 12px;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--frame4afc9-violet);
  color: #fff;
  font-family: var(--frame4afc9-font-head);
  font-size: 11px;
  font-weight: 700;
}

/* Comparison rows */
.frame4afc9-cmp {
  margin-top: 4px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  overflow: hidden;
}

.frame4afc9-cmprow {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border-bottom: 1px solid var(--frame4afc9-line-soft);
  background: var(--frame4afc9-panel-2);
}

.frame4afc9-cmprow:last-child { border-bottom: 0; }

.frame4afc9-cmprow:nth-child(odd) { background: rgba(20, 27, 41, 0.55); }

.frame4afc9-cmpkey {
  padding: 11px 10px;
  font-family: var(--frame4afc9-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--frame4afc9-gold-hi);
  display: flex;
  align-items: center;
  gap: 7px;
}

.frame4afc9-cmpkey i {
  width: 8px; height: 8px;
  flex: 0 0 auto;
  border-radius: 2px;
}

.frame4afc9-cmpval {
  padding: 11px 12px 11px 0;
  font-size: 13.2px;
  color: var(--frame4afc9-dim);
}

.frame4afc9-cmpval strong { color: var(--frame4afc9-text); font-weight: 600; }

.frame4afc9-cmpnote {
  margin-top: 10px;
  font-size: 12.8px;
  color: var(--frame4afc9-faint);
}

/* Q&A accordion */
.frame4afc9-qa { margin-top: 4px; }

.frame4afc9-qa details {
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
  margin-bottom: 8px;
  overflow: hidden;
}

.frame4afc9-qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--frame4afc9-font-head);
  font-weight: 700;
  font-size: 13.8px;
  color: var(--frame4afc9-text);
  cursor: pointer;
}

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

.frame4afc9-qa summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 400;
  color: var(--frame4afc9-gold-hi);
  transition: transform 0.16s ease;
}

.frame4afc9-qa details[open] summary::after { transform: rotate(45deg); }

.frame4afc9-qa p {
  padding: 0 14px 13px;
  color: var(--frame4afc9-dim);
  font-size: 13.2px;
  border-top: 1px dashed var(--frame4afc9-line-soft);
  padding-top: 10px;
  margin: 0;
}

/* ---------- Homepage extended footer (sectioned list) ---------- */
.frame4afc9-ext {
  margin-top: 30px;
  border-top: 1px solid var(--frame4afc9-line);
  padding-top: 18px;
}

.frame4afc9-extlabel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-family: var(--frame4afc9-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame4afc9-faint);
}

.frame4afc9-extlabel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--frame4afc9-line-soft);
}

.frame4afc9-extbrand {
  font-size: 13px;
  color: var(--frame4afc9-dim);
}

.frame4afc9-extbrand strong { color: var(--frame4afc9-text); }

.frame4afc9-extbrand .frame4afc9-btn {
  margin-top: 6px;
}

/* Directory: two-column short-label list */
.frame4afc9-dir {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.frame4afc9-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
  color: var(--frame4afc9-text);
  font-family: var(--frame4afc9-font-head);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.12s ease, transform 0.12s ease;
}

.frame4afc9-dirlink:active { transform: translateY(1px) scale(0.98); }
.frame4afc9-dirlink:hover { text-decoration: none; border-color: var(--frame4afc9-gold); }

.frame4afc9-dirlink i {
  width: 6px; height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--frame4afc9-indigo);
}

/* Promotion actions: 4 short-label entries */
.frame4afc9-extacts {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.frame4afc9-extact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 54px;
  padding: 10px 13px;
  border-radius: var(--frame4afc9-radius-card);
  border: 1px solid var(--frame4afc9-line);
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.18), rgba(106, 90, 205, 0.08)), var(--frame4afc9-panel);
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

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

.frame4afc9-extact b {
  font-family: var(--frame4afc9-font-head);
  font-size: 13px;
  color: var(--frame4afc9-text);
}

.frame4afc9-extact span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--frame4afc9-lilac);
}

.frame4afc9-extnote {
  margin-top: 22px;
  padding: 11px 13px;
  border-radius: var(--frame4afc9-radius-card);
  border: 1px dashed var(--frame4afc9-line);
  color: var(--frame4afc9-faint);
  font-size: 11.8px;
  line-height: 1.6;
}

/* ---------- Common footer ---------- */
.frame4afc9-foot {
  margin-top: 26px;
  padding: 14px 4px 6px;
  border-top: 1px solid var(--frame4afc9-line-soft);
  text-align: center;
}

.frame4afc9-foot p {
  font-size: 11.5px;
  color: var(--frame4afc9-faint);
  line-height: 1.7;
}

.frame4afc9-foot b {
  color: var(--frame4afc9-dim);
  font-family: var(--frame4afc9-font-head);
}

/* ---------- Floating docked bottom nav ---------- */
.frame4afc9-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(406px, calc(100vw - 22px));
  height: var(--frame4afc9-dock-h);
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  padding: 5px 6px;
  border-radius: 17px;
  background: rgba(16, 22, 34, 0.97);
  border: 1px solid var(--frame4afc9-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.frame4afc9-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  border-radius: 12px;
  color: var(--frame4afc9-faint);
  font-family: var(--frame4afc9-font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.12s ease, background-color 0.12s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.frame4afc9-dockitem:active {
  transform: translateY(1px) scale(0.94);
  background: rgba(138, 43, 226, 0.14);
  color: var(--frame4afc9-text);
}

.frame4afc9-dockitem svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

/* Filled icon + restrained idle state; underline marks the active role */
.frame4afc9-dockitem--on { color: var(--frame4afc9-text); }

.frame4afc9-dockitem--on::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--frame4afc9-gold);
}

.frame4afc9-dockitem--promo { color: var(--frame4afc9-lilac); }

.frame4afc9-dockitem--promo svg { fill: var(--frame4afc9-gold-hi); }

/* ---------- Reveal micro-motion (short-distance, section level) ---------- */
[data-frame4afc9-reveal] { transition: opacity 0.22s ease, transform 0.22s ease; }

.frame4afc9-rv {
  opacity: 0;
  transform: translateY(10px);
}

.frame4afc9-rv-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .frame4afc9-rv { opacity: 1; transform: none; }
}

/* ---------- Breakpoints inside the phone canvas ---------- */

/* Slightly roomier phones */
@media (min-width: 375px) {
  .frame4afc9-gname { font-size: 11px; }
  .frame4afc9-gcard--xl .frame4afc9-gname { font-size: 12.5px; }
  .frame4afc9-games { gap: 10px 8px; }
  .frame4afc9-lead { font-size: 15px; }
}

/* At the 430px canvas ceiling keep 4-5 comfortable tracks */
@media (min-width: 430px) {
  .frame4afc9-main { padding-left: 16px; padding-right: 16px; }
  .frame4afc9-games { gap: 12px 10px; }
  .frame4afc9-gname { font-size: 11.5px; }
  .frame4afc9-dir { gap: 9px; }
  .frame4afc9-topbar { padding: 0 16px 0 14px; }
}

/* Very narrow phones: protect the 4-track grid from clipping */
@media (max-width: 339px) {
  .frame4afc9-games { gap: 6px 4px; }
  .frame4afc9-gcard { padding: 4px 4px 6px; }
  .frame4afc9-gname { font-size: 10px; }
  .frame4afc9-topacts { gap: 5px; }
  .frame4afc9-btn--register { padding: 8px 10px; }
  .frame4afc9-btn--login { padding: 7px 9px; }
  .frame4afc9-brandname { font-size: 15.5px; }
}

/* Wide screens: keep the centered phone canvas experience */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 34% at 50% 0%, rgba(138, 43, 226, 0.1), transparent 70%),
      var(--frame4afc9-ink-deep);
  }
}

/* ==========================================================================
   Help-desk components (compatible additions for the help pages)
   ========================================================================== */

/* Fact summary rows */
.frame4afc9-facts {
  margin-top: 4px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
  overflow: hidden;
}

.frame4afc9-fact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  border-bottom: 1px solid var(--frame4afc9-line-soft);
}

.frame4afc9-fact:last-child { border-bottom: 0; }

.frame4afc9-fact dt {
  padding: 10px 8px 10px 12px;
  display: flex;
  align-items: center;
  font-family: var(--frame4afc9-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--frame4afc9-lilac);
}

.frame4afc9-fact dd {
  margin: 0;
  padding: 10px 12px 10px 0;
  font-size: 13px;
  color: var(--frame4afc9-dim);
}

.frame4afc9-fact dd b { color: var(--frame4afc9-text); font-weight: 600; }

/* Checklist items */
.frame4afc9-check {
  margin-top: 4px;
  display: grid;
  gap: 7px;
}

.frame4afc9-checkitem {
  position: relative;
  padding: 11px 12px 11px 42px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
  color: var(--frame4afc9-dim);
  font-size: 13.4px;
}

.frame4afc9-checkitem strong { color: var(--frame4afc9-text); font-weight: 600; }

.frame4afc9-checkitem::before {
  content: "";
  position: absolute;
  left: 12px; top: 15px;
  width: 15px; height: 15px;
  border-radius: 4px;
  border: 2px solid var(--frame4afc9-indigo);
  background: rgba(106, 90, 205, 0.18);
}

.frame4afc9-checkitem::after {
  content: "";
  position: absolute;
  left: 16px; top: 18px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--frame4afc9-gold-hi);
  border-bottom: 2px solid var(--frame4afc9-gold-hi);
  transform: rotate(-45deg);
}

/* Troubleshooting rows: symptom strip + cause/fix body */
.frame4afc9-fix {
  margin-bottom: 9px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
  overflow: hidden;
}

.frame4afc9-fixsym {
  display: block;
  padding: 10px 12px;
  background: rgba(138, 43, 226, 0.15);
  border-bottom: 1px solid var(--frame4afc9-line-soft);
  font-family: var(--frame4afc9-font-head);
  font-weight: 700;
  font-size: 13.4px;
  color: var(--frame4afc9-text);
}

.frame4afc9-fixbody {
  display: block;
  padding: 10px 12px 12px;
  font-size: 13px;
  color: var(--frame4afc9-dim);
}

.frame4afc9-fixlabel {
  font-style: normal;
  font-family: var(--frame4afc9-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame4afc9-gold-hi);
}

/* Pros and limitations duo panels */
.frame4afc9-duo {
  margin-top: 4px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.frame4afc9-duopane {
  padding: 12px 13px 13px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel);
}

.frame4afc9-duopane--pro { border-left: 3px solid var(--frame4afc9-gold); }
.frame4afc9-duopane--con { border-left: 3px solid var(--frame4afc9-indigo); }

.frame4afc9-duopane h3 { font-size: 14px; color: var(--frame4afc9-text); }

.frame4afc9-duopane ul {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.frame4afc9-duopane li {
  position: relative;
  padding-left: 16px;
  font-size: 12.8px;
  color: var(--frame4afc9-dim);
}

.frame4afc9-duopane li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--frame4afc9-lilac);
}

.frame4afc9-duopane li strong { color: var(--frame4afc9-text); font-weight: 600; }

@media (min-width: 400px) {
  .frame4afc9-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Always-visible question blocks (help desk answers) */
.frame4afc9-qalist {
  margin-top: 4px;
  display: grid;
  gap: 10px;
}

.frame4afc9-qablock {
  padding: 11px 13px 12px;
  border: 1px solid var(--frame4afc9-line-soft);
  border-radius: var(--frame4afc9-radius-card);
  background: var(--frame4afc9-panel-2);
}

.frame4afc9-qablock h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.6px;
  color: var(--frame4afc9-text);
}

.frame4afc9-qablock h3::before {
  content: "Q";
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--frame4afc9-violet);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.frame4afc9-qablock p {
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px dashed var(--frame4afc9-line-soft);
  font-size: 13px;
  color: var(--frame4afc9-dim);
}

@media (max-width: 339px) {
  .frame4afc9-fact { grid-template-columns: 96px minmax(0, 1fr); }
  .frame4afc9-checkitem { padding-left: 38px; }
}
