/* =====================================================================
   SportsPlus Login - chrome-native-849f70.css
   Mobile-first base stylesheet for the 320-430px phone canvas.
   Palette: #999999 ink / #1A1A1A ground / #800080 accent.
   Direction: rounded headings + compact body, near-square corners,
   icon+name-bar game tiles, metric-then-explanation rhythm,
   light press feedback, square high-contrast CTAs.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --frame9f705-ground: #1a1a1a;
  --frame9f705-ground-deep: #141414;
  --frame9f705-ground-raise: #202020;
  --frame9f705-ground-panel: #1f1f1f;
  --frame9f705-ink: #999999;
  --frame9f705-ink-soft: #8a8a8a;
  --frame9f705-ink-strong: #e6e6e6;
  --frame9f705-ink-bright: #f2f2f2;
  --frame9f705-accent: #800080;
  --frame9f705-accent-lift: #9a1e9a;
  --frame9f705-accent-tint: #241724;
  --frame9f705-accent-edge: #5c2a5c;
  --frame9f705-line: #2c2c2c;
  --frame9f705-line-soft: #262626;
  --frame9f705-radius: 2px;
  --frame9f705-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --frame9f705-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --frame9f705-topbar-h: 56px;
  --frame9f705-dock-h: 74px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: #0d0d0d;
  color: var(--frame9f705-ink);
  font-family: var(--frame9f705-body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(128, 0, 128, 0.25);
}
a { color: #c9a3c9; text-decoration: none; }
a:hover { color: #e0b8e0; }
:focus-visible { outline: 2px solid var(--frame9f705-accent-lift); outline-offset: 2px; }

/* ---------- Phone canvas shell ---------- */
.frame9f705-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame9f705-ground);
  box-shadow: 0 0 0 1px #2a2a2a;
  overflow-x: hidden;
}
.frame9f705-main {
  padding-top: calc(var(--frame9f705-topbar-h) + 8px);
  padding-bottom: calc(var(--frame9f705-dock-h) + 26px);
}

/* ---------- Fixed top bar: edge-aligned functional header ---------- */
.frame9f705-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame9f705-topbar-h);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(20, 20, 20, 0.96);
  border-bottom: 1px solid var(--frame9f705-line);
}
.frame9f705-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-right: auto;
}
.frame9f705-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
}
.frame9f705-brand-name {
  font-family: var(--frame9f705-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--frame9f705-ink-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame9f705-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.frame9f705-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid transparent;
  border-radius: var(--frame9f705-radius);
  font-family: var(--frame9f705-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.frame9f705-btn:active { transform: translateY(1px); }
.frame9f705-btn-accent {
  background: var(--frame9f705-accent);
  color: #ffffff;
}
.frame9f705-btn-accent:hover { background: var(--frame9f705-accent-lift); }
.frame9f705-btn-ghost {
  background: transparent;
  border-color: #6a6a6a;
  color: #dddddd;
}
.frame9f705-btn-ghost:hover { border-color: #999999; color: #ffffff; }
.frame9f705-burger {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #3a3a3a;
  border-radius: var(--frame9f705-radius);
  transition: border-color 0.18s ease;
}
.frame9f705-burger:hover { border-color: var(--frame9f705-accent); }
.frame9f705-burger:active { transform: translateY(1px); }

/* ---------- Side drawer menu ---------- */
.frame9f705-drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.frame9f705-drawer-mask.frame9f705-on { opacity: 1; visibility: visible; }
.frame9f705-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(84%, 316px);
  height: 100%;
  background: #161616;
  border-left: 1px solid var(--frame9f705-line);
  transform: translateX(105%);
  transition: transform 0.26s ease;
  overflow-y: auto;
  padding: 12px 0 calc(var(--frame9f705-dock-h) + 16px);
}
.frame9f705-drawer.frame9f705-open { transform: none; }
.frame9f705-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 14px;
  border-bottom: 1px solid var(--frame9f705-line-soft);
}
.frame9f705-drawer-head img { width: 30px; height: 30px; border-radius: 3px; border: 1px solid #3a3a3a; }
.frame9f705-drawer-title {
  font-family: var(--frame9f705-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame9f705-ink-bright);
  margin-right: auto;
}
.frame9f705-drawer-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #3a3a3a;
  border-radius: var(--frame9f705-radius);
}
.frame9f705-drawer-group {
  margin: 0;
  padding: 12px 14px 4px;
}
.frame9f705-drawer-group-label {
  font-family: var(--frame9f705-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frame9f705-ink-soft);
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid var(--frame9f705-accent);
}
.frame9f705-drawer-list { list-style: none; margin: 0; padding: 0; }
.frame9f705-drawer-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 9px;
  border-radius: var(--frame9f705-radius);
  color: #cfcfcf;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.frame9f705-drawer-list a:hover { background: var(--frame9f705-accent-tint); color: #ffffff; }
.frame9f705-drawer-list a:active { background: #2d1c2d; }
.frame9f705-drawer-tick {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--frame9f705-accent);
  border-radius: 1px;
}
.frame9f705-drawer-note {
  margin: 10px 14px 0;
  padding: 10px 11px;
  border: 1px dashed #3c2a3c;
  border-radius: var(--frame9f705-radius);
  font-size: 12px;
  color: var(--frame9f705-ink-soft);
}

/* ---------- Hero carousel ---------- */
.frame9f705-hero {
  margin: 4px 12px 0;
  border: 1px solid var(--frame9f705-line);
  border-radius: 3px;
  background: #151515;
}
.frame9f705-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.frame9f705-hero-track::-webkit-scrollbar { display: none; }
.frame9f705-hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  border: 0;
  background: #151515;
  display: block;
}
.frame9f705-hero-slide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.frame9f705-hero-slide:active img { opacity: 0.88; }
.frame9f705-hero-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-top: 1px solid var(--frame9f705-line-soft);
}
.frame9f705-hero-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}
.frame9f705-hero-dot {
  width: 22px;
  height: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  position: relative;
}
.frame9f705-hero-dot::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 4px;
  height: 4px;
  background: #3d3d3d;
  border-radius: 1px;
  transition: background-color 0.2s ease;
}
.frame9f705-hero-dot.frame9f705-on::before { background: var(--frame9f705-accent-lift); }
.frame9f705-hero-arrow {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame9f705-ground-raise);
  border: 1px solid var(--frame9f705-line);
  border-radius: var(--frame9f705-radius);
}
.frame9f705-hero-arrow:active { background: var(--frame9f705-accent-tint); border-color: var(--frame9f705-accent-edge); }

/* ---------- Intro block ---------- */
.frame9f705-intro { padding: 18px 14px 4px; }
.frame9f705-intro h1 {
  font-family: var(--frame9f705-head);
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--frame9f705-ink-bright);
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 4px solid var(--frame9f705-accent);
}
.frame9f705-lede { font-size: 14.5px; color: #a8a8a8; margin: 0 0 12px; }
.frame9f705-lede strong { color: #d9d9d9; }
.frame9f705-intro-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.frame9f705-intro-cta .frame9f705-btn { flex: 1 1 130px; min-height: 40px; }

/* ---------- Metric strip: compact metric + explanation ---------- */
.frame9f705-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 14px 12px 0;
}
.frame9f705-metric {
  background: var(--frame9f705-ground-raise);
  border: 1px solid var(--frame9f705-line);
  border-radius: var(--frame9f705-radius);
  padding: 9px 6px 8px;
  text-align: center;
}
.frame9f705-metric-val {
  display: block;
  font-family: var(--frame9f705-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame9f705-ink-strong);
  border-bottom: 2px solid var(--frame9f705-accent);
  padding-bottom: 4px;
  margin-bottom: 5px;
}
.frame9f705-metric-key {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: var(--frame9f705-ink-soft);
  text-transform: uppercase;
}

/* ---------- Section frame ---------- */
.frame9f705-sec { padding: 22px 12px 2px; }
.frame9f705-sec-kicker {
  font-family: var(--frame9f705-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #7d7d7d;
  margin: 0 0 5px;
}
.frame9f705-sec h2 {
  font-family: var(--frame9f705-head);
  font-size: 19px;
  line-height: 1.32;
  font-weight: 700;
  color: #ececec;
  margin: 0 0 8px;
  padding-left: 9px;
  border-left: 3px solid var(--frame9f705-accent);
}
.frame9f705-sec-note {
  font-size: 13.5px;
  color: #a2a2a2;
  margin: 0 0 4px;
}

/* ---------- Game grid: icon + name-bar tiles ---------- */
.frame9f705-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
  padding: 10px 0 4px;
}
.frame9f705-gtile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 5px 4px 4px;
  background: var(--frame9f705-ground-raise);
  border: 1px solid var(--frame9f705-line);
  border-radius: var(--frame9f705-radius);
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.12s ease;
}
.frame9f705-gtile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frame9f705-radius);
  background: #151515;
}
.frame9f705-gtile-bar {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  color: #c9c9c9;
}
.frame9f705-gtile:hover { border-color: var(--frame9f705-accent-edge); }
.frame9f705-gtile:active {
  transform: translateY(1px);
  background: var(--frame9f705-accent-tint);
  border-color: var(--frame9f705-accent);
}

/* ---------- Info panels (single column rhythm) ---------- */
.frame9f705-panel {
  margin: 16px 12px 0;
  padding: 14px 12px 16px;
  background: var(--frame9f705-ground-panel);
  border: 1px solid var(--frame9f705-line);
  border-radius: var(--frame9f705-radius);
}
.frame9f705-panel > h2 {
  font-family: var(--frame9f705-head);
  font-size: 19px;
  line-height: 1.32;
  font-weight: 700;
  color: #ececec;
  margin: 0 0 8px;
  padding-left: 9px;
  border-left: 3px solid var(--frame9f705-accent);
}
.frame9f705-panel-cta { margin-top: 12px; }
.frame9f705-panel h3 {
  font-family: var(--frame9f705-head);
  font-size: 15.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--frame9f705-ink-strong);
  margin: 16px 0 6px;
}
.frame9f705-panel h3:first-child { margin-top: 0; }
.frame9f705-panel p { font-size: 13.8px; color: #a6a6a6; margin: 0 0 10px; }
.frame9f705-panel p:last-child { margin-bottom: 0; }
.frame9f705-panel a { border-bottom: 1px solid #6b446b; }

/* Metric-then-explanation rows */
.frame9f705-rows { margin: 4px 0 0; padding: 0; list-style: none; }
.frame9f705-rows li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-top: 1px solid var(--frame9f705-line-soft);
}
.frame9f705-rows li:first-child { border-top: 0; }
.frame9f705-row-metric {
  flex: 0 0 86px;
  font-family: var(--frame9f705-head);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #d8c2d8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.frame9f705-row-text { flex: 1; font-size: 13px; line-height: 1.5; color: #a2a2a2; }

/* Steps */
.frame9f705-steps { list-style: none; margin: 4px 0 0; padding: 0; counter-reset: frame9f705-step; }
.frame9f705-steps li {
  position: relative;
  counter-increment: frame9f705-step;
  padding: 0 0 12px 34px;
  font-size: 13.6px;
  color: #a6a6a6;
}
.frame9f705-steps li::before {
  content: counter(frame9f705-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--frame9f705-accent);
  color: #ffffff;
  font-family: var(--frame9f705-head);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--frame9f705-radius);
}
.frame9f705-steps li:last-child { padding-bottom: 0; }
.frame9f705-steps b { color: #dcdcdc; font-weight: 700; }

/* FAQ */
.frame9f705-faq-item {
  padding: 10px 0 12px;
  border-top: 1px solid var(--frame9f705-line-soft);
}
.frame9f705-faq-item:first-child { border-top: 0; padding-top: 0; }
.frame9f705-faq-q {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-family: var(--frame9f705-head);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--frame9f705-ink-strong);
  margin: 0 0 5px;
}
.frame9f705-faq-q::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--frame9f705-accent);
  border-radius: 1px;
}
.frame9f705-faq-a { font-size: 13.4px; color: #a2a2a2; margin: 0; }

/* Promo chip shortcuts */
.frame9f705-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.frame9f705-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 11px;
  background: var(--frame9f705-accent-tint);
  border: 1px solid var(--frame9f705-accent-edge);
  border-radius: var(--frame9f705-radius);
  font-family: var(--frame9f705-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #e9d5e9;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}
.frame9f705-chip:hover { border-color: var(--frame9f705-accent-lift); }
.frame9f705-chip:active { transform: translateY(1px); background: #312031; }
.frame9f705-chip-dot { width: 6px; height: 6px; background: var(--frame9f705-accent-lift); border-radius: 1px; }

/* ---------- Extended footer: brand > promos > directory > disclaimer ---------- */
.frame9f705-xfoot {
  margin: 22px 12px 0;
  border: 1px solid var(--frame9f705-line);
  border-radius: 3px;
  background: #1d1d1d;
  padding: 14px 12px 12px;
}
.frame9f705-xfoot-brand { font-size: 13.2px; color: #9e9e9e; margin: 0 0 12px; }
.frame9f705-xfoot-label {
  font-family: var(--frame9f705-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #b48ab4;
  margin: 14px 0 8px;
  padding-left: 9px;
  border-left: 3px solid var(--frame9f705-accent);
}
.frame9f705-xfoot-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.frame9f705-xfoot-dir a {
  display: block;
  padding: 7px 8px;
  background: #212121;
  border: 1px solid var(--frame9f705-line-soft);
  border-radius: var(--frame9f705-radius);
  font-size: 12px;
  font-weight: 600;
  color: #c4c4c4;
  line-height: 1.35;
  transition: border-color 0.16s ease, color 0.16s ease;
}
.frame9f705-xfoot-dir a:hover { border-color: var(--frame9f705-accent-edge); color: #ffffff; }
.frame9f705-xfoot-disclaimer {
  margin: 14px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--frame9f705-line-soft);
  font-size: 11.2px;
  line-height: 1.55;
  color: #7d7d7d;
}

/* ---------- Copyright footer ---------- */
.frame9f705-foot {
  margin-top: 18px;
  padding: 13px 14px 6px;
  border-top: 1px solid var(--frame9f705-line-soft);
  text-align: center;
  font-size: 11.5px;
  color: #7a7a7a;
}

/* ---------- Layered bottom dock (5 roles) ---------- */
.frame9f705-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: rgba(18, 18, 18, 0.98);
  border-top: 2px solid var(--frame9f705-accent);
  box-shadow: 0 -1px 0 #2e2e2e;
  display: flex;
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
}
.frame9f705-dock-item {
  flex: 1 1 20%;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  background: transparent;
  border: 0;
  color: #8f8f8f;
  transition: color 0.18s ease;
}
.frame9f705-dock-item svg { width: 23px; height: 23px; }
.frame9f705-dock-label {
  font-family: var(--frame9f705-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.frame9f705-dock-item:active .frame9f705-dock-label { transform: translateY(-2px); color: #f0f0f0; }
.frame9f705-dock-item:hover { color: #c9c9c9; }
.frame9f705-dock-item.frame9f705-on { color: #f2f2f2; }
.frame9f705-dock-item.frame9f705-on .frame9f705-dock-label { color: #ffffff; }
.frame9f705-dock-item.frame9f705-on::after {
  content: "";
  width: 18px;
  height: 2px;
  margin-top: 2px;
  background: var(--frame9f705-accent-lift);
  border-radius: 1px;
}
.frame9f705-dock-item.frame9f705-on svg { filter: drop-shadow(0 0 3px rgba(154, 30, 154, 0.6)); }
.frame9f705-dock-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: inherit;
  width: 100%;
}

/* ---------- Wide-screen behavior: keep phone canvas ---------- */
@media (min-width: 431px) {
  body { background: #0b0b0b; }
  .frame9f705-shell { box-shadow: 0 0 0 1px #2a2a2a, 0 0 42px rgba(0, 0, 0, 0.55); }
}

/* ---------- Canvas width steps ---------- */
@media (min-width: 393px) {
  .frame9f705-grid { grid-template-columns: repeat(5, 1fr); }
  .frame9f705-metrics { gap: 7px; }
  .frame9f705-intro h1 { font-size: 23px; }
}
@media (min-width: 375px) {
  .frame9f705-xfoot-dir { grid-template-columns: repeat(3, 1fr); }
  .frame9f705-sec h2 { font-size: 20px; }
}

/* ---------- Motion budget: light press + color transitions only ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
