/* =====================================================================
   Toni Fowler — mobile portal stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Direction: humanist serif headings + clear sans body, near-square
   tool-style corners, outlined tile cards, step-driven rhythm,
   short-distance transitions, full-width primary CTAs.
   All classes and custom properties use the mobilefd7fd- prefix.
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* Design tokens                                                       */
/* ------------------------------------------------------------------ */
:root {
  --mobilefd7fd-ink: #0E1621;
  --mobilefd7fd-ink-deep: #0A121B;
  --mobilefd7fd-panel: #14202D;
  --mobilefd7fd-panel-hi: #1A2938;
  --mobilefd7fd-line: #2B3E52;
  --mobilefd7fd-line-soft: #22303F;
  --mobilefd7fd-orange: #FFA500;
  --mobilefd7fd-orange-press: #E08F00;
  --mobilefd7fd-gold: #DAA520;
  --mobilefd7fd-lime: #7FFF00;
  --mobilefd7fd-cream: #FFEBCD;
  --mobilefd7fd-cream-dim: rgba(255, 235, 205, 0.72);
  --mobilefd7fd-cream-faint: rgba(255, 235, 205, 0.48);
  --mobilefd7fd-radius: 3px;
  --mobilefd7fd-topbar-h: 54px;
  --mobilefd7fd-dock-h: 74px;
  --mobilefd7fd-font-head: Georgia, 'Times New Roman', 'Nimbus Roman', serif;
  --mobilefd7fd-font-body: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #080d13;
  color: var(--mobilefd7fd-cream);
  font-family: var(--mobilefd7fd-font-body);
  font-size: 14px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: var(--mobilefd7fd-orange);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--mobilefd7fd-font-head);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

p {
  margin: 0 0 12px;
}

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

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

/* Skip link */
.mobilefd7fd-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--mobilefd7fd-lime);
  color: var(--mobilefd7fd-ink);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: var(--mobilefd7fd-radius);
}

.mobilefd7fd-skip:focus {
  left: 12px;
  top: 12px;
}

/* ------------------------------------------------------------------ */
/* Phone canvas: everything lives inside a 430px frame                 */
/* ------------------------------------------------------------------ */
.mobilefd7fd-page {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobilefd7fd-ink);
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .mobilefd7fd-page {
    border-left: 1px solid var(--mobilefd7fd-line);
    border-right: 1px solid var(--mobilefd7fd-line);
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  }
}

/* Main column clears the fixed top bar and the fixed dock */
.mobilefd7fd-main {
  padding: calc(var(--mobilefd7fd-topbar-h) + 12px) 14px calc(var(--mobilefd7fd-dock-h) + 30px);
}

/* ------------------------------------------------------------------ */
/* Top bar: compact brand strip + action cluster                       */
/* ------------------------------------------------------------------ */
.mobilefd7fd-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--mobilefd7fd-topbar-h);
  background: linear-gradient(180deg, #101B27 0%, var(--mobilefd7fd-ink) 100%);
  border-bottom: 1px solid var(--mobilefd7fd-line);
  z-index: 120;
}

.mobilefd7fd-barrow {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 10px;
}

/* Brand zone: logo image + site name only */
.mobilefd7fd-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}

.mobilefd7fd-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--mobilefd7fd-radius);
  border: 1px solid var(--mobilefd7fd-gold);
  flex: 0 0 auto;
}

.mobilefd7fd-brandname {
  font-family: var(--mobilefd7fd-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--mobilefd7fd-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header action buttons */
.mobilefd7fd-btn-register {
  height: 36px;
  padding: 0 14px;
  background: var(--mobilefd7fd-orange);
  color: var(--mobilefd7fd-ink);
  border: 1px solid var(--mobilefd7fd-orange);
  border-radius: var(--mobilefd7fd-radius);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: background 140ms ease, transform 140ms ease;
}

.mobilefd7fd-btn-register:hover {
  background: var(--mobilefd7fd-gold);
  text-decoration: none;
}

.mobilefd7fd-btn-register:active {
  transform: scale(0.96);
}

.mobilefd7fd-btn-login {
  height: 36px;
  padding: 0 13px;
  background: transparent;
  color: var(--mobilefd7fd-cream);
  border: 1px solid var(--mobilefd7fd-line);
  border-radius: var(--mobilefd7fd-radius);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: border-color 140ms ease, transform 140ms ease;
}

.mobilefd7fd-btn-login:hover {
  border-color: var(--mobilefd7fd-orange);
  color: var(--mobilefd7fd-orange);
}

.mobilefd7fd-btn-login:active {
  transform: scale(0.96);
}

/* Hamburger trigger */
.mobilefd7fd-menubtn {
  width: 38px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--mobilefd7fd-line);
  border-radius: var(--mobilefd7fd-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobilefd7fd-menubtn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--mobilefd7fd-cream);
  transition: transform 150ms ease, opacity 150ms ease;
}

.mobilefd7fd-menubtn.mobilefd7fd-is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobilefd7fd-menubtn.mobilefd7fd-is-active span:nth-child(2) {
  opacity: 0;
}

.mobilefd7fd-menubtn.mobilefd7fd-is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Expandable drawer under the bar */
.mobilefd7fd-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--mobilefd7fd-ink-deep);
  border-bottom: 1px solid var(--mobilefd7fd-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 190ms ease;
}

.mobilefd7fd-drawer.mobilefd7fd-is-open {
  max-height: 560px;
}

.mobilefd7fd-drawergroups {
  padding: 10px 12px 14px;
}

.mobilefd7fd-drawergroup {
  margin-bottom: 8px;
}

.mobilefd7fd-drawerlabel {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobilefd7fd-gold);
  padding: 8px 4px 4px;
}

.mobilefd7fd-drawerlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobilefd7fd-drawerlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-radius: var(--mobilefd7fd-radius);
  background: var(--mobilefd7fd-panel);
  color: var(--mobilefd7fd-cream);
  font-size: 12.5px;
  position: relative;
}

.mobilefd7fd-drawerlink::before {
  content: '';
  width: 3px;
  height: 0;
  background: var(--mobilefd7fd-orange);
  transition: height 150ms ease;
}

.mobilefd7fd-drawerlink:hover,
.mobilefd7fd-drawerlink:focus-visible {
  border-color: var(--mobilefd7fd-orange);
  text-decoration: none;
}

.mobilefd7fd-drawerlink:hover::before,
.mobilefd7fd-drawerlink:focus-visible::before {
  height: 16px;
}

/* Current page marker inside the drawer */
.mobilefd7fd-drawerlink[aria-current='page'] {
  background: var(--mobilefd7fd-orange);
  border-color: var(--mobilefd7fd-orange);
  color: var(--mobilefd7fd-ink);
  font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.mobilefd7fd-hero {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(218, 165, 32, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #16222F 0%, var(--mobilefd7fd-ink) 100%);
  border: 1px solid var(--mobilefd7fd-line);
  border-radius: var(--mobilefd7fd-radius);
  padding: 18px 14px 16px;
  margin-bottom: 14px;
}

.mobilefd7fd-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobilefd7fd-lime);
  border: 1px solid rgba(127, 255, 0, 0.35);
  padding: 3px 8px;
  border-radius: var(--mobilefd7fd-radius);
  margin-bottom: 10px;
}

.mobilefd7fd-hero h1 {
  font-size: 25px;
  color: var(--mobilefd7fd-cream);
  margin-bottom: 10px;
}

.mobilefd7fd-hero h1 em {
  font-style: normal;
  color: var(--mobilefd7fd-orange);
}

.mobilefd7fd-lead {
  color: var(--mobilefd7fd-cream-dim);
  font-size: 13.5px;
}

/* Full-width CTA pair */
.mobilefd7fd-ctarow {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobilefd7fd-cta-main {
  width: 100%;
  min-height: 46px;
  background: linear-gradient(180deg, var(--mobilefd7fd-orange) 0%, var(--mobilefd7fd-orange-press) 100%);
  color: var(--mobilefd7fd-ink);
  border: 1px solid var(--mobilefd7fd-orange);
  border-radius: var(--mobilefd7fd-radius);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: transform 130ms ease, filter 130ms ease;
}

.mobilefd7fd-cta-main:hover {
  filter: brightness(1.08);
}

.mobilefd7fd-cta-main:active {
  transform: translateY(1px) scale(0.99);
}

.mobilefd7fd-cta-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--mobilefd7fd-line);
  border-radius: var(--mobilefd7fd-radius);
  color: var(--mobilefd7fd-cream);
  font-size: 13px;
  font-weight: 600;
}

.mobilefd7fd-cta-alt:hover {
  border-color: var(--mobilefd7fd-gold);
  color: var(--mobilefd7fd-gold);
  text-decoration: none;
}

.mobilefd7fd-cta-alt::after {
  content: '\2192';
  font-size: 15px;
}

/* ------------------------------------------------------------------ */
/* Banner carousel                                                     */
/* ------------------------------------------------------------------ */
.mobilefd7fd-carousel {
  margin-bottom: 16px;
}

.mobilefd7fd-carouselbox {
  position: relative;
  border: 1px solid var(--mobilefd7fd-line);
  border-radius: var(--mobilefd7fd-radius);
  overflow: hidden;
  background: var(--mobilefd7fd-ink-deep);
}

.mobilefd7fd-belt {
  display: flex;
  transition: transform 230ms ease;
}

.mobilefd7fd-slide {
  position: relative;
  display: block;
  width: 100%;
  flex: 0 0 100%;
  padding: 0;
  border: 0;
  background: var(--mobilefd7fd-panel);
}

.mobilefd7fd-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.mobilefd7fd-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 2px;
  padding: 26px 12px 10px;
  text-align: left;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 27, 0.92) 78%);
}

.mobilefd7fd-slidecap strong {
  font-family: var(--mobilefd7fd-font-head);
  font-size: 15px;
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-slidecap em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--mobilefd7fd-orange);
}

/* Dots: active dot widens like a sliding indicator */
.mobilefd7fd-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 9px 0 0;
}

.mobilefd7fd-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 2px;
  border: 1px solid var(--mobilefd7fd-line);
  background: var(--mobilefd7fd-panel-hi);
  transition: width 170ms ease, background 170ms ease, border-color 170ms ease;
}

.mobilefd7fd-dot.mobilefd7fd-is-on {
  width: 26px;
  background: var(--mobilefd7fd-orange);
  border-color: var(--mobilefd7fd-orange);
}

/* ------------------------------------------------------------------ */
/* Cashier strip (compact horizontal facts)                            */
/* ------------------------------------------------------------------ */
.mobilefd7fd-cashier {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.mobilefd7fd-cashierchip {
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-left: 3px solid var(--mobilefd7fd-gold);
  border-radius: var(--mobilefd7fd-radius);
  background: var(--mobilefd7fd-panel);
  padding: 8px 6px;
  text-align: center;
}

.mobilefd7fd-cashierchip strong {
  display: block;
  font-size: 12px;
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-cashierchip span {
  font-size: 10px;
  color: var(--mobilefd7fd-cream-faint);
  letter-spacing: 0.4px;
}

/* ------------------------------------------------------------------ */
/* Steps: progression rail with numbered stops                         */
/* ------------------------------------------------------------------ */
.mobilefd7fd-block {
  margin-bottom: 22px;
}

.mobilefd7fd-blockhead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--mobilefd7fd-line);
  padding-bottom: 8px;
  margin-bottom: 12px;
  position: relative;
}

.mobilefd7fd-blockhead::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--mobilefd7fd-orange);
  transition: width 190ms ease;
}

.mobilefd7fd-block:hover .mobilefd7fd-blockhead::after {
  width: 92px;
}

.mobilefd7fd-blockhead h2 {
  font-size: 19px;
  margin: 0;
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-count {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--mobilefd7fd-ink);
  background: var(--mobilefd7fd-gold);
  border-radius: var(--mobilefd7fd-radius);
  padding: 2px 7px;
  white-space: nowrap;
}

.mobilefd7fd-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 0 0 16px 2px;
}

.mobilefd7fd-step::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: 2px;
  width: 1px;
  background: var(--mobilefd7fd-line);
}

.mobilefd7fd-step:last-child::before {
  display: none;
}

.mobilefd7fd-stepnum {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobilefd7fd-orange);
  color: var(--mobilefd7fd-orange);
  font-family: var(--mobilefd7fd-font-head);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--mobilefd7fd-radius);
  background: var(--mobilefd7fd-ink-deep);
}

.mobilefd7fd-step h3 {
  font-size: 14.5px;
  margin: 4px 0 4px;
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-step p {
  font-size: 12.5px;
  color: var(--mobilefd7fd-cream-dim);
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Game grids: outlined tile cards                                     */
/* ------------------------------------------------------------------ */
.mobilefd7fd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

@media (min-width: 390px) {
  .mobilefd7fd-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
}

.mobilefd7fd-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 5px 5px 7px;
  background: var(--mobilefd7fd-panel);
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-radius: var(--mobilefd7fd-radius);
  transition: border-color 140ms ease, transform 140ms ease, background 140ms ease;
}

.mobilefd7fd-tile:hover,
.mobilefd7fd-tile:focus-visible {
  border-color: var(--mobilefd7fd-orange);
  background: var(--mobilefd7fd-panel-hi);
  transform: translateY(-2px);
}

.mobilefd7fd-tile:active {
  transform: scale(0.96);
}

.mobilefd7fd-tileimg {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(43, 62, 82, 0.6);
  background: var(--mobilefd7fd-ink-deep);
}

.mobilefd7fd-tilename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobilefd7fd-cream-dim);
  text-align: center;
  min-height: 27px;
  overflow-wrap: break-word;
}

.mobilefd7fd-tile:hover .mobilefd7fd-tilename {
  color: var(--mobilefd7fd-cream);
}

/* LIVE chip for streamed tables */
.mobilefd7fd-liveflag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--mobilefd7fd-ink);
  background: var(--mobilefd7fd-lime);
  border-radius: 2px;
  padding: 1px 4px;
}

/* Section intro copy */
.mobilefd7fd-sectionnote {
  font-size: 13px;
  color: var(--mobilefd7fd-cream-dim);
  margin-bottom: 12px;
}

.mobilefd7fd-sectionnote a {
  color: var(--mobilefd7fd-orange);
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Promo families list (definition-style rows)                         */
/* ------------------------------------------------------------------ */
.mobilefd7fd-promorows {
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-radius: var(--mobilefd7fd-radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.mobilefd7fd-promorow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 12px;
  background: var(--mobilefd7fd-panel);
  border-bottom: 1px solid var(--mobilefd7fd-line-soft);
}

.mobilefd7fd-promorow:last-child {
  border-bottom: 0;
}

.mobilefd7fd-promorow dt {
  font-family: var(--mobilefd7fd-font-head);
  font-size: 13.5px;
  color: var(--mobilefd7fd-orange);
}

.mobilefd7fd-promorow dd {
  margin: 0;
  font-size: 12px;
  color: var(--mobilefd7fd-cream-dim);
}

/* ------------------------------------------------------------------ */
/* Install paths (app module)                                          */
/* ------------------------------------------------------------------ */
.mobilefd7fd-paths {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.mobilefd7fd-path {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px dashed var(--mobilefd7fd-line);
  border-radius: var(--mobilefd7fd-radius);
  padding: 10px;
  background: rgba(20, 32, 45, 0.55);
}

.mobilefd7fd-path svg {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.mobilefd7fd-path strong {
  display: block;
  font-size: 12.5px;
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-path span {
  font-size: 11.5px;
  color: var(--mobilefd7fd-cream-dim);
}

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */
.mobilefd7fd-quotes {
  display: grid;
  gap: 10px;
}

.mobilefd7fd-quote {
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-left: 3px solid var(--mobilefd7fd-gold);
  border-radius: var(--mobilefd7fd-radius);
  background: var(--mobilefd7fd-panel);
  padding: 11px 12px;
}

.mobilefd7fd-quotetop {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mobilefd7fd-quoteavatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mobilefd7fd-panel-hi);
  border: 1px solid var(--mobilefd7fd-line);
  font-family: var(--mobilefd7fd-font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--mobilefd7fd-gold);
}

.mobilefd7fd-quotewho {
  display: grid;
}

.mobilefd7fd-quotewho strong {
  font-size: 12.5px;
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-quotewho span {
  font-size: 10.5px;
  color: var(--mobilefd7fd-cream-faint);
}

.mobilefd7fd-stars {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--mobilefd7fd-gold);
  white-space: nowrap;
}

.mobilefd7fd-quote p {
  margin: 0;
  font-size: 12.5px;
  color: var(--mobilefd7fd-cream-dim);
  font-style: italic;
}

/* ------------------------------------------------------------------ */
/* CTA band                                                            */
/* ------------------------------------------------------------------ */
.mobilefd7fd-band {
  border: 1px solid var(--mobilefd7fd-orange);
  border-radius: var(--mobilefd7fd-radius);
  background:
    linear-gradient(135deg, rgba(255, 165, 0, 0.16) 0%, rgba(218, 165, 32, 0.06) 60%),
    var(--mobilefd7fd-panel);
  padding: 15px 13px;
  text-align: center;
  margin-bottom: 22px;
}

.mobilefd7fd-band h2 {
  font-size: 18.5px;
  margin-bottom: 6px;
}

.mobilefd7fd-band p {
  font-size: 12.5px;
  color: var(--mobilefd7fd-cream-dim);
  margin-bottom: 12px;
}

.mobilefd7fd-bandbtn {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--mobilefd7fd-orange);
  border-radius: var(--mobilefd7fd-radius);
  background: var(--mobilefd7fd-orange);
  color: var(--mobilefd7fd-ink);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: transform 130ms ease, filter 130ms ease;
}

.mobilefd7fd-bandbtn:hover {
  filter: brightness(1.07);
}

.mobilefd7fd-bandbtn:active {
  transform: translateY(1px);
}

.mobilefd7fd-bandnote {
  margin: 9px 0 0;
  font-size: 10.5px;
  color: var(--mobilefd7fd-cream-faint);
}

/* ------------------------------------------------------------------ */
/* Pros / limitations twin panels                                      */
/* ------------------------------------------------------------------ */
.mobilefd7fd-duo {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
}

.mobilefd7fd-duopanel {
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-radius: var(--mobilefd7fd-radius);
  padding: 11px 12px;
  background: var(--mobilefd7fd-panel);
}

.mobilefd7fd-duopanel h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.mobilefd7fd-duopanel--plus h3 {
  color: var(--mobilefd7fd-lime);
}

.mobilefd7fd-duopanel--minus h3 {
  color: var(--mobilefd7fd-orange);
}

.mobilefd7fd-duopanel ul {
  display: grid;
  gap: 7px;
}

.mobilefd7fd-duopanel li {
  position: relative;
  padding-left: 20px;
  font-size: 12.5px;
  color: var(--mobilefd7fd-cream-dim);
}

.mobilefd7fd-duopanel--plus li::before {
  content: '+';
  position: absolute;
  left: 2px;
  top: -1px;
  font-weight: 800;
  color: var(--mobilefd7fd-lime);
}

.mobilefd7fd-duopanel--minus li::before {
  content: '\2212';
  position: absolute;
  left: 2px;
  top: -1px;
  font-weight: 800;
  color: var(--mobilefd7fd-orange);
}

/* ------------------------------------------------------------------ */
/* Key takeaways                                                       */
/* ------------------------------------------------------------------ */
.mobilefd7fd-takeaways {
  counter-reset: mobilefd7fd-take;
  display: grid;
  gap: 8px;
}

.mobilefd7fd-takeaways li {
  counter-increment: mobilefd7fd-take;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  align-items: start;
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-radius: var(--mobilefd7fd-radius);
  background: var(--mobilefd7fd-panel);
  padding: 9px 10px;
  font-size: 12.5px;
  color: var(--mobilefd7fd-cream-dim);
}

.mobilefd7fd-takeaways li::before {
  content: counter(mobilefd7fd-take, decimal-leading-zero);
  font-family: var(--mobilefd7fd-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mobilefd7fd-gold);
  border-bottom: 2px solid var(--mobilefd7fd-orange);
  line-height: 1.4;
}

.mobilefd7fd-takeaways li a {
  font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* Extended footer (homepage only)                                     */
/* ------------------------------------------------------------------ */
.mobilefd7fd-extfoot {
  border-top: 2px solid var(--mobilefd7fd-orange);
  margin-top: 26px;
  padding-top: 18px;
}

.mobilefd7fd-extfoot h2 {
  font-size: 17px;
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-extfoot h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mobilefd7fd-gold);
  margin: 16px 0 8px;
}

.mobilefd7fd-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 6px;
}

.mobilefd7fd-directory a {
  display: grid;
  gap: 1px;
  min-height: 44px;
  align-content: center;
  padding: 7px 9px;
  border: 1px solid var(--mobilefd7fd-line-soft);
  border-radius: var(--mobilefd7fd-radius);
  background: var(--mobilefd7fd-panel);
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-directory a:hover {
  border-color: var(--mobilefd7fd-orange);
  text-decoration: none;
}

.mobilefd7fd-directory strong {
  font-size: 11.5px;
}

.mobilefd7fd-directory span {
  font-size: 10px;
  color: var(--mobilefd7fd-cream-faint);
}

.mobilefd7fd-extbrand {
  font-size: 12px;
  color: var(--mobilefd7fd-cream-dim);
}

/* Horizontal shortcuts rail for promo actions */
.mobilefd7fd-shorts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mobilefd7fd-short {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--mobilefd7fd-orange);
  border-radius: var(--mobilefd7fd-radius);
  background: linear-gradient(180deg, rgba(255, 165, 0, 0.14) 0%, rgba(255, 165, 0, 0.03) 100%);
  color: var(--mobilefd7fd-orange);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 140ms ease, color 140ms ease;
}

.mobilefd7fd-short:hover {
  background: var(--mobilefd7fd-orange);
  color: var(--mobilefd7fd-ink);
}

.mobilefd7fd-short::before {
  content: '\25B8';
  font-size: 12px;
}

.mobilefd7fd-extdisc {
  border: 1px dashed var(--mobilefd7fd-line);
  border-radius: var(--mobilefd7fd-radius);
  padding: 9px 11px;
  font-size: 10.8px;
  line-height: 1.55;
  color: var(--mobilefd7fd-cream-faint);
  margin-top: 4px;
}

/* ------------------------------------------------------------------ */
/* Common footer                                                       */
/* ------------------------------------------------------------------ */
.mobilefd7fd-sitefoot {
  text-align: center;
  padding: 14px 14px calc(var(--mobilefd7fd-dock-h) + 18px);
  font-size: 11px;
  color: var(--mobilefd7fd-cream-faint);
  border-top: 1px solid var(--mobilefd7fd-line-soft);
}

.mobilefd7fd-sitefoot strong {
  color: var(--mobilefd7fd-cream-dim);
}

/* ------------------------------------------------------------------ */
/* Fixed bottom dock: center-raised layout                             */
/* ------------------------------------------------------------------ */
.mobilefd7fd-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--mobilefd7fd-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, #101B27 0%, #0B141E 100%);
  border-top: 1px solid var(--mobilefd7fd-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 130;
}

.mobilefd7fd-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 8px 2px 6px;
  background: transparent;
  border: 0;
  color: var(--mobilefd7fd-cream-dim);
  text-decoration: none;
  position: relative;
  min-height: 44px;
}

.mobilefd7fd-dockitem:hover {
  color: var(--mobilefd7fd-cream);
  text-decoration: none;
}

/* Sliding top indicator */
.mobilefd7fd-dockitem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--mobilefd7fd-orange);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.mobilefd7fd-dockitem:hover::before {
  width: 26px;
}

.mobilefd7fd-dockitem.mobilefd7fd-is-current {
  color: var(--mobilefd7fd-cream);
}

.mobilefd7fd-dockitem.mobilefd7fd-is-current::before {
  width: 34px;
  background: var(--mobilefd7fd-lime);
}

.mobilefd7fd-dockitem.mobilefd7fd-is-current .mobilefd7fd-docklabel {
  color: var(--mobilefd7fd-lime);
  font-weight: 800;
}

.mobilefd7fd-docklabel {
  font-size: 9.5px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.mobilefd7fd-docksvg {
  width: 22px;
  height: 22px;
}

/* Center raised CTA */
.mobilefd7fd-dockitem--raised {
  justify-content: flex-end;
}

.mobilefd7fd-dockraise {
  width: 52px;
  height: 52px;
  margin-top: -30px;
  border-radius: 50%;
  border: 2px solid var(--mobilefd7fd-orange);
  background: radial-gradient(circle at 32% 28%, #FFC233 0%, var(--mobilefd7fd-orange) 58%, var(--mobilefd7fd-orange-press) 100%);
  color: var(--mobilefd7fd-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(255, 165, 0, 0.12);
  transition: transform 140ms ease;
}

.mobilefd7fd-dockitem--raised:hover .mobilefd7fd-dockraise {
  transform: translateY(-3px);
}

.mobilefd7fd-dockitem--raised:active .mobilefd7fd-dockraise {
  transform: scale(0.94);
}

.mobilefd7fd-dockitem--raised .mobilefd7fd-docklabel {
  color: var(--mobilefd7fd-orange);
  font-weight: 800;
}

/* ------------------------------------------------------------------ */
/* Reveal-on-scroll (short-distance transitions)                       */
/* ------------------------------------------------------------------ */
.mobilefd7fd-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.mobilefd7fd-reveal.mobilefd7fd-is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mobilefd7fd-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mobilefd7fd-belt,
  .mobilefd7fd-drawer,
  .mobilefd7fd-tile,
  .mobilefd7fd-dot,
  .mobilefd7fd-blockhead::after,
  .mobilefd7fd-dockitem::before,
  .mobilefd7fd-dockraise {
    transition: none;
  }
}

/* ------------------------------------------------------------------ */
/* Wide viewport: keep the phone canvas, refine the frame              */
/* ------------------------------------------------------------------ */
@media (min-width: 430px) {
  .mobilefd7fd-grid {
    gap: 9px;
  }

  .mobilefd7fd-directory {
    gap: 8px;
  }

  .mobilefd7fd-hero h1 {
    font-size: 27px;
  }
}

/* Very narrow phones: tighten type, keep four columns */
@media (max-width: 339px) {
  .mobilefd7fd-hero h1 {
    font-size: 21.5px;
  }

  .mobilefd7fd-blockhead h2 {
    font-size: 17px;
  }

  .mobilefd7fd-tilename {
    font-size: 10px;
  }

  .mobilefd7fd-drawerlinks {
    grid-template-columns: 1fr;
  }
}
