/* ═══════════════════════════════════════════════════════════════════
   Andy Soccer Public — Design System v5
   Ref: white bg · emerald accent · frosted cards
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────── */

:root {
  color-scheme: light;

  /* Backgrounds */
  --background:      #ffffff;
  --background-70:   rgba(255,255,255,0.70);
  --background-80:   rgba(255,255,255,0.96);
  --background-90:   rgba(255,255,255,0.90);
  --background-92:   rgba(248,250,252,0.92);
  --card:            #fcfcfc;
  --card-60:         rgba(252,252,252,0.60);
  --card-80:         rgba(252,252,252,0.80);
  --card-97:         rgba(252,252,252,0.97);
  --muted:           #f3f4f6;
  --muted-30:        rgba(243,244,246,0.30);
  --muted-40:        rgba(243,244,246,0.40);
  --muted-50:        rgba(243,244,246,0.50);

  /* Text */
  --foreground:      #1c1f26;
  --foreground-60:   rgba(28,31,38,0.60);
  --muted-foreground:#575f6e;
  --muted-foreground-70: rgba(87,95,110,0.85);

  /* Borders */
  --border:          #e5e7eb;
  --border-60:       rgba(229,231,235,0.60);
  --border-50:       rgba(229,231,235,0.50);
  --border-40:       rgba(229,231,235,0.40);
  --border-30:       rgba(229,231,235,0.30);

  /* Primary */
  --primary:         #0d6b4a;
  --primary-soft:    rgba(13,107,74,0.08);
  --primary-10:      rgba(16,127,86,0.10);
  --primary-15:      rgba(16,127,86,0.15);
  --primary-20:      rgba(13,107,74,0.20);
  --primary-30:      rgba(16,127,86,0.30);
  --primary-90:      rgba(13,107,74,0.90);

  /* Semantic */
  --green:           #107f56;
  --green-soft:      rgba(16,127,86,0.08);
  --green-light:     #d1fae5;
  --red:             #dc2626;
  --red-soft:        rgba(220,38,38,0.06);
  --red-light:       #fee2e2;
  --yellow:          #f59e0b;
  --yellow-soft:     rgba(245,158,11,0.08);
  --yellow-light:    #fef3c7;
  --gold:            #d4891a;
  --gold-soft:       rgba(212,137,26,0.08);
  --gold-15:         rgba(212,137,26,0.15);
  --gold-20:         rgba(212,137,26,0.20);

  /* Radius */
  --r-xs:  4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --r-xl:  20px; --r-2xl: 28px; --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.06);
  --shadow-xl:  0 16px 40px rgba(0,0,0,0.08);
  --shadow-2xl: 0 24px 60px rgba(0,0,0,0.10);

  /* Transitions */
  --ease-out:   0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Destructive */
  --destructive: #dc2626;
  --destructive-soft: rgba(220,38,38,0.08);

  /* Typography */
  --font-sans: 'Inter', 'Geist', -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;

  /* ── Legacy aliases (JS/旧组件兼容) ── */
  --bg:              var(--background);
  --bg-deep:         var(--background);
  --bg-raised:       var(--card-80);
  --bg-hover:        var(--muted);
  --bg-glass:        var(--background-80);
  --surface:         var(--card-80);
  --surface-raised:  var(--muted);
  --surface-hover:   var(--muted);
  --border-subtle:   var(--border-40);
  --border-default:  var(--border-60);
  --border-strong:   var(--border);
  --text-primary:    var(--foreground);
  --text-secondary:  var(--muted-foreground);
  --text-tertiary:   var(--muted-foreground-70);
  --text-inverse:    #ffffff;
  --accent:          var(--primary);
  --accent-soft:     var(--primary-soft);
  --accent-glow:     var(--primary-15);
  --accent-solid:    #0d6b48;
  --green-solid:     #0d6b48;
  --soft:            var(--muted-foreground);
  --muted:           var(--muted);
  --good:            var(--green);
  --bad:             var(--red);
  --warn:            var(--yellow);
  --panel:           var(--card-80);
  --panel-strong:    var(--muted);
  --line:            var(--border-40);
  --shadow:          var(--shadow-sm);
  --radius-sm:       var(--r-sm);
  --radius-md:       var(--r-md);
  --radius-lg:       var(--r-lg);
  --radius-xl:       var(--r-xl);
  --shadow-glow:     0 0 0 3px var(--primary-10);
  --accent-dim:      var(--primary-soft);
  --accent-hover:    var(--primary-15);
  --accent-2:        var(--primary);
  --teal:            #0d9488;
  --teal-soft:       rgba(13,148,136,0.08);
}

/* ── Base Reset ────────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; }
*::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--foreground);
  background: var(--background);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--primary-10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(13,148,136,0.04) 0%, transparent 60%);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

*:focus-visible {
  outline: 2px solid var(--primary-30);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
img { max-width: 100%; height: auto; }

.public-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 80px;
}
body.wide-shell .public-shell {
  width: min(1280px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}
.public-hero { padding: 0; }

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  margin: 12px 0 0;
  height: 56px;
  border: 1px solid var(--border-60);
  border-radius: var(--r-md);
  background: var(--background-80);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  position: sticky;
  top: 12px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: var(--r-sm);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-90));
  box-shadow: 0 2px 8px var(--primary-20);
}

.brand strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.brand small {
  display: block;
  margin-top: -1px;
  color: #4a5260;
  font-size: 11px;
  font-weight: 500;
}

.nav-tabs {
  display: flex;
  gap: 2px;
}
.nav-tabs a {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  color: #3b4250;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all var(--ease-out);
}
.nav-tabs a:hover {
  color: var(--foreground);
  background: var(--muted-40);
}
.nav-tabs a.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-soft);
  text-decoration: none;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-user a, .nav-user button {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  color: var(--muted-foreground);
  font-size: 12.5px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease-out);
}
.nav-user a:hover, .nav-user button:hover {
  color: var(--foreground);
  background: var(--muted-40);
}
.nav-user button[data-action="logout"]:hover {
  color: var(--destructive);
  background: var(--destructive-soft, rgba(220,38,38,0.08));
}
.nav-user .user-badge {
  padding: 4px 10px;
  border-radius: var(--r-full);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  background: var(--green-soft);
  border: 1px solid var(--primary-20);
}
.nav-user .user-badge.expired {
  color: var(--yellow);
  background: var(--yellow-soft);
  border-color: rgba(251,191,36,0.2);
}

/* ══════════════════════════════════════════════════════════════════
   HERO COPY
   ══════════════════════════════════════════════════════════════════ */

.hero-copy {
  max-width: 680px;
  padding: 56px 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 14px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-20);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow.compact {
  margin-bottom: 8px;
  padding: 3px 10px;
  font-size: 10px;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--foreground);
}
h1 span { color: var(--primary); }

.hero-copy p:last-child {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.65;
}

.app-main { display: grid; gap: 28px; }
.app-main.landing-main { gap: 0; }

/* ══════════════════════════════════════════════════════════════════
   SECTION HEAD
   ══════════════════════════════════════════════════════════════════ */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-40);
}
.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--foreground);
}
.section-head p {
  margin: 4px 0 0;
  color: var(--muted-foreground-70);
  font-size: 13px;
}
.section-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.refresh-hint {
  color: var(--muted-foreground-70);
  font-size: 11.5px;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════ */

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--foreground);
  background: var(--background);
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--ease-out);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.ghost-button:hover {
  background: var(--muted);
  border-color: var(--muted-foreground-70);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--r-md);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-90));
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all var(--ease-out);
  box-shadow: var(--shadow-sm), 0 2px 8px var(--primary-20);
  white-space: nowrap;
}
.primary-button:hover {
  background: linear-gradient(135deg, var(--primary-90), var(--accent-solid));
  box-shadow: var(--shadow-md), 0 4px 16px var(--primary-20);
  transform: translateY(-1px);
}
.primary-button:active { transform: scale(0.975); }

.danger-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: var(--r-sm);
  color: var(--red);
  background: var(--red-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--ease-out);
}
.danger-button:hover {
  border-color: var(--red);
  background: rgba(248,113,113,0.15);
}

/* ══════════════════════════════════════════════════════════════════
   KPI
   ══════════════════════════════════════════════════════════════════ */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.kpi-card {
  padding: 20px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-lg);
  transition: all var(--ease-out);
}
.kpi-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.kpi-card span {
  display: block;
  color: var(--muted-foreground-70);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.kpi-card strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--foreground);
}

/* ══════════════════════════════════════════════════════════════════
   MATCH CARDS
   ══════════════════════════════════════════════════════════════════ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.match-card {
  display: grid;
  gap: 16px;
  padding: 22px 24px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--ease-out);
}
.match-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--border);
  transition: background var(--ease-out);
}
.match-card.clickable { cursor: pointer; }
.match-card.clickable:hover {
  border-color: var(--primary-20);
  background: var(--background-90);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.match-card.clickable:hover::before { background: var(--primary); }

.match-top, .match-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-logic {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--green-soft);
  border-radius: var(--r-md);
  border: 1px solid rgba(16,185,129,0.2); border-radius: 6px;
}
.card-logic svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--green);
  margin-top: 3px;
}
.card-logic p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.league {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.time {
  color: var(--muted-foreground-70);
  font-size: 12px;
  font-weight: 500;
}
.teams { display: grid; gap: 3px; }
.teams h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--foreground);
}
.teams p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

/* Badges */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  color: var(--muted-foreground);
  background: var(--muted-40);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.badge.good {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--primary-20);
}
.badge.bad {
  color: var(--red);
  background: var(--red-soft);
  border-color: rgba(248,113,113,0.2);
}
.badge.warn {
  color: var(--yellow);
  background: var(--yellow-soft);
  border-color: rgba(251,191,36,0.2);
}

/* Main Pick / Legs */
.main-pick {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  border: 1px solid var(--primary-15);
}
.main-pick span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-foreground-70);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.main-pick strong {
  font-size: 18px;
  font-weight: 750;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.legs { display: grid; gap: 5px; }
.leg-row, .stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--muted-40);
  border: 1px solid var(--border-40);
}
.leg-row b, .stat-row b {
  color: var(--foreground);
  font-weight: 600;
}
.muted { color: var(--muted-foreground-70); }
.logic {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 14px;
}
.logic p { margin: 0; }
.logic p + p { margin-top: 10px; }

/* ══════════════════════════════════════════════════════════════════
   PANELS
   ══════════════════════════════════════════════════════════════════ */

.panel {
  padding: 24px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
}
.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ══════════════════════════════════════════════════════════════════
   SCHEDULE
   ══════════════════════════════════════════════════════════════════ */

.schedule-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}
.schedule-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.schedule-summary h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.025em;
}
.schedule-summary p {
  margin: 6px 0 0;
  color: var(--muted-foreground);
  font-size: 13.5px;
  line-height: 1.65;
}
.schedule-list {
  display: grid;
  gap: 1px;
  background: var(--border-40);
  border-radius: var(--r-md);
  overflow: hidden;
}
.schedule-row {
  display: grid;
  grid-template-columns: 130px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  background: var(--card-80);
  transition: background var(--ease-out);
}
.schedule-row:hover { background: var(--muted); }
.schedule-row.followed {
  background: var(--primary-soft);
  border: 1px solid var(--border); border-radius: 6px;
}
.schedule-time, .schedule-teams { display: grid; gap: 2px; }
.schedule-time strong { font-size: 14px; font-weight: 600; }
.schedule-time span, .schedule-teams span {
  color: var(--muted-foreground-70);
  font-size: 12px;
}
.schedule-teams b { font-size: 14px; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   EMPTY / LOADING / RESULT
   ══════════════════════════════════════════════════════════════════ */

.empty {
  padding: 56px 32px;
  color: var(--muted-foreground-70);
  text-align: center;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
}
.loading-card { padding: 32px; color: var(--muted-foreground-70); }
.result-score {
  color: var(--foreground);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pnl-positive { color: var(--green); font-weight: 700; }
.pnl-negative { color: var(--red); font-weight: 700; }
.pnl-flat     { color: var(--yellow); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════════
   METHOD / DETAIL
   ══════════════════════════════════════════════════════════════════ */

.method-list {
  display: grid;
  gap: 1px;
  background: var(--border-40);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.method-item { padding: 22px 24px; background: var(--card-80); }
.method-item h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.method-item p { margin: 0; color: var(--muted-foreground); line-height: 1.7; }
.detail-actions {
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   MATCHUP HERO (detail page)
   ══════════════════════════════════════════════════════════════════ */

.matchup-hero {
  text-align: center;
  padding: 36px 20px 28px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-2xl);
  margin-bottom: 20px;
}
.matchup-hero.settled { opacity: 0.9; }
.matchup-league {
  font-size: 12px;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  font-weight: 600;
}
.matchup-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.matchup-team {
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--foreground);
}
.matchup-vs {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-foreground-70);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--muted);
}
.matchup-score {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 14px;
  color: var(--primary);
}
.matchup-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-foreground);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 550;
  transition: all var(--ease-out);
}
.back-link:hover {
  color: var(--foreground);
  border-color: var(--primary-20);
  background: var(--primary-soft);
}

.locked-overlay { position: relative; }
.locked-overlay .locked-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  border: 1px solid rgba(16,127,86,0.10);
  z-index: 2;
  padding: 20px;
}
.locked-mask p {
  color: var(--muted-foreground);
  font-size: 13px;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   FOLLOW / COPY
   ══════════════════════════════════════════════════════════════════ */

.follow-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--muted-foreground);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--ease-out);
}
.follow-btn:hover {
  border-color: var(--primary-20);
  color: var(--primary);
  background: var(--primary-soft);
}
.follow-btn.active {
  border-color: var(--primary-20);
  color: var(--primary);
  background: var(--primary-soft);
}

.copy-btn {
  padding: 6px 14px;
  border: 1px solid rgba(13,148,136,0.2);
  border-radius: var(--r-full);
  color: var(--teal);
  background: var(--teal-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--ease-out);
}
.copy-btn:hover {
  border-color: var(--teal);
  background: rgba(13,148,136,0.15);
}

/* ══════════════════════════════════════════════════════════════════
   AUTH FORMS
   ══════════════════════════════════════════════════════════════════ */

.auth-form {
  max-width: 420px;
  margin: 48px auto 0;
  padding: 36px 32px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-md);
}
.auth-form h2 {
  margin: 0 0 32px;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.03em;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
}
.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--muted);
  color: var(--foreground);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all var(--ease-out);
}
.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-group input::placeholder { color: var(--muted-foreground-70); }

.form-error {
  color: var(--red);
  font-size: 13px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  background: var(--red-soft);
}
.form-links {
  margin-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted-foreground-70);
}
.form-links a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--ease-out);
}
.form-links a:hover { color: var(--accent-solid); }

/* ══════════════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
  padding: 4px 0 12px;
  max-width: 900px;
  margin: 0 auto;
}
/* 少于 3 张卡时居中显示 */
.pricing-grid:has(.plan-card:only-child),
.pricing-grid:has(.plan-card:nth-child(2):last-child) {
  grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
  justify-content: center;
}
.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 18px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  text-align: center;
  transition: all var(--ease-spring);
  scroll-snap-align: start;
}
.plan-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.plan-card.recommended {
  border-color: var(--primary-30);
  border-width: 2px;
  background: linear-gradient(180deg, var(--primary-soft) 0%, var(--card-80) 40%);
  box-shadow: var(--shadow-lg);
}
.plan-name {
  font-size: 16px;
  font-weight: 750;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.plan-price {
  font-size: 34px;
  font-weight: 850;
  margin: 10px 0;
  letter-spacing: -0.05em;
  line-height: 1;
}
.plan-price span {
  font-size: 12px;
  color: var(--muted-foreground-70);
  font-weight: 500;
  letter-spacing: 0;
}
.plan-desc {
  color: var(--muted-foreground);
  font-size: 13px;
  min-height: 58px;
  margin-bottom: 18px;
  line-height: 1.5;
  flex: 1;
}
.plan-recommend-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-90));
  letter-spacing: 0.02em;
}

@media (max-width: 560px) {
  .plan-card {
    padding: 22px 18px;
  }
  .plan-desc {
    min-height: 0;
  }
}

.membership-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 12px;
  border-radius: var(--r-xl);
  background: var(--muted-40);
  border: 1px solid var(--border-60);
  max-width: 900px;
}
.membership-strip span {
  padding: 7px 11px;
  border-radius: var(--r-full);
  color: var(--muted-foreground);
  background: var(--primary-soft);
  border: 1px solid var(--primary-15);
  font-size: 12px;
  font-weight: 600;
}

.member-value-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: center;
  margin: 0 auto 20px;
  padding: 24px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--primary-soft), rgba(13,148,136,0.04));
  border: 1px solid var(--primary-20);
  max-width: 900px;
}
.member-value-panel h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
}
.member-value-panel p {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 13.5px;
}
.member-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.member-value-grid span {
  padding: 13px 14px;
  border-radius: var(--r-sm);
  background: var(--muted-40);
  border: 1px solid var(--border-60);
  color: var(--foreground);
  font-size: 13px;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════
   SUBSCRIPTION / NOTIFICATIONS / ORDERS / MODAL / TOAST
   ══════════════════════════════════════════════════════════════════ */

.sub-status-card {
  padding: 28px;
  background: var(--card-80);
  border: 1px solid var(--green);
  border-radius: var(--r-2xl);
}
.sub-status-card.expired { border-color: var(--yellow); }

.notif-list {
  display: grid;
  gap: 1px;
  background: var(--border-40);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  background: var(--card-80);
  cursor: pointer;
  transition: background var(--ease-out);
}
.notif-item:hover { background: var(--muted); }
.notif-item.unread {
  background: var(--primary-soft);
  border: 1px solid var(--border); border-radius: 6px;
}
.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 7px;
}
.notif-dot.read {
  background: var(--muted-foreground-70);
}
.notif-content { flex: 1; min-width: 0; }
.notif-title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.notif-body { font-size: 13px; color: var(--muted-foreground); margin-bottom: 5px; line-height: 1.5; }
.notif-time { font-size: 11.5px; color: var(--muted-foreground-70); }

.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-40);
  font-size: 14px;
}
.orders-table th {
  color: var(--muted-foreground-70);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  padding: 24px;
}
.modal-card {
  width: min(440px, 100%);
  padding: 32px;
  background: var(--background);
  border: 1px solid var(--border-60);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
}
.modal-card h2 {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 750;
}
.risk-list { margin: 0 0 28px; padding-left: 20px; }
.risk-list li {
  margin-bottom: 8px;
  color: var(--muted-foreground);
  line-height: 1.65;
  font-size: 14px;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: var(--r-full);
  background: var(--background);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  z-index: 1001;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}
.toast-warn {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

/* ══════════════════════════════════════════════════════════════════
   INFO / FAQ / RISK / MEMBER STATUS
   ══════════════════════════════════════════════════════════════════ */

.info-grid {
  display: grid;
  gap: 1px;
  background: var(--border-40);
  border-radius: var(--r-md);
  overflow: hidden;
}
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--card-80);
}
.info-label { color: var(--muted-foreground-70); font-size: 13px; font-weight: 500; }
.info-value { font-size: 14px; font-weight: 600; color: var(--foreground); }

.faq-list {
  display: grid;
  gap: 1px;
  background: var(--border-40);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.faq-item { padding: 20px 24px; background: var(--card-80); }
.faq-item h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.faq-item p { margin: 0; color: var(--muted-foreground); line-height: 1.65; font-size: 14px; }

.risk-statement {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--yellow-soft);
  border: 1px solid rgba(251,191,36,0.18);
  max-width: 900px;
  margin: 28px auto 0;
}
.risk-statement h3 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}
.risk-statement p { margin: 0; color: var(--muted-foreground); font-size: 13px; line-height: 1.7; }

.member-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.member-status.anonymous {
  border-color: rgba(148,163,184,0.18);
  background: rgba(148,163,184,0.06);
}
.member-status.member {
  border-color: var(--primary-20);
  background: var(--green-soft);
}
.member-status.expired {
  border-color: rgba(251,191,36,0.3);
  background: var(--yellow-soft);
}
.member-status-info { display: grid; gap: 3px; }
.member-status-label {
  font-size: 11.5px;
  color: var(--muted-foreground-70);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.member-status-value {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════════════════
   LANDING
   White bg · emerald accent · frosted cards · generous spacing
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.l-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 72px 0 48px;
}
.l-hero-left { max-width: 540px; }

.l-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.l-hero-kicker::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--muted-foreground);
  border-radius: 1px;
}

.l-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--foreground);
  margin: 0 0 16px;
}
.l-hero h1 span { color: var(--primary); }

/* Formula-style hero headline */
.l-hero h1 .l-hero-h1-model {
  color: var(--foreground);
}
.l-hero h1 .l-hero-h1-agent {
  color: var(--primary);
}
.l-hero h1 .l-hero-h1-x,
.l-hero h1 .l-hero-h1-eq {
  color: rgba(0,0,0,0.25);
  padding: 0 0.1em;
}
.l-hero h1 .l-hero-h1-result {
  color: var(--primary);
}

.l-hero-desc {
  font-size: 16px;
  color: #3b4250;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 65ch;
}
.l-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.l-hero-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-md);
}
.l-hero-btn-ghost {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--ease-out);
}
.l-hero-btn-ghost:hover {
  background: var(--muted);
  border-color: var(--muted-foreground-70);
}

.l-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.l-hero-tag {
  font-size: 13px;
  color: #3b4250;
  font-weight: 500;
}

.l-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.l-hero-stat-num {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}
.l-hero-stat-num.up   { color: var(--green); }
.l-hero-stat-num.down { color: var(--red); }
.l-hero-stat-label {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 2px;
}

/* Hero right: preview card */
.l-hero-preview {
  background: var(--background-70);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.l-hero-preview-header { margin-bottom: 16px; }
.l-hero-preview-kicker {
  font-size: 11px;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.l-hero-preview-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 2px;
}
.l-hero-preview-header p {
  font-size: 12px;
  color: var(--muted-foreground-70);
  margin: 0;
}
.l-hero-preview-status {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.l-hero-preview-rows { display: grid; gap: 10px; margin-bottom: 16px; }
.l-hero-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--muted);
  border-radius: var(--r-sm);
  font-size: 13px;
}
.l-hero-preview-row-label { color: var(--muted-foreground); }
.l-hero-preview-row-val {
  font-weight: 700;
  font-family: var(--font-mono);
}
.l-hero-preview-row-val.win { color: var(--green); }

.l-hero-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.l-hero-preview-link:hover { text-decoration: underline; }
.l-hero-right {
  display: grid;
  gap: 14px;
}
.l-proof-mini {
  background: rgba(255,255,255,0.72);
}
.l-live-card {
  position: relative;
  overflow: clip;
  border-radius: var(--r-2xl);
  border: 1px solid var(--primary-20);
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(240,253,244,0.76));
  padding: 24px;
  box-shadow: var(--shadow-xl);
}
.l-live-card-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -70px;
  border-radius: 999px;
  background: rgba(16,127,86,0.12);
  filter: blur(52px);
  pointer-events: none;
}
.l-live-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.l-live-state {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-full);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-10);
  border: 1px solid var(--primary-20);
  white-space: nowrap;
}
.l-live-state.ready {
  color: var(--green);
  background: var(--green-soft);
}
.l-live-state.idle {
  color: var(--muted-foreground);
  background: var(--muted);
  border-color: var(--border);
}
.l-live-match {
  position: relative;
  z-index: 1;
}
.l-live-league {
  font-size: 12px;
  font-weight: 700;
  color: #4a5260;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.l-live-match h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.l-live-match h3 span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-foreground-70);
  letter-spacing: 0.08em;
}
.l-live-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.l-live-grid div {
  border: 1px solid var(--border-60);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.72);
  padding: 12px;
}
.l-live-grid span {
  display: block;
  font-size: 11px;
  color: var(--muted-foreground-70);
  margin-bottom: 5px;
}
.l-live-grid strong {
  display: block;
  font-size: 14px;
  color: var(--foreground);
}
.l-live-note,
.l-live-empty {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(16,127,86,0.06);
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.6;
}
.l-live-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}
.l-live-link:hover { text-decoration: underline; }

/* ── Hero Preview Reasoning ── */
.l-hero-reasoning {
  margin-top: 14px; padding: 12px;
  background: var(--bg); border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
}
.l-hero-reasoning-title {
  font-size: 11px; font-weight: 700; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px;
}
.l-hero-reasoning-item {
  display: flex; gap: 8px; padding: 6px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.l-hero-reasoning-item:last-child { border-bottom: none; }
.l-hero-reasoning-icon {
  font-size: 14px; width: 22px; text-align: center; flex-shrink: 0;
}
.l-hero-reasoning-label {
  font-size: 12px; font-weight: 700; display: block; margin-bottom: 1px;
}
.l-hero-reasoning-summary {
  font-size: 11px; color: var(--text-secondary);
  display: block; line-height: 1.4;
}

/* ── Trust Strip ── */
.l-trust {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--border-40);
  border-bottom: 1px solid var(--border-40);
  margin-bottom: 56px;
}
.l-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-foreground);
  font-weight: 500;
}
.l-trust-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ── Why Section ── */
.l-why { margin-bottom: 64px; }
.l-why-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.l-why-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.l-why-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}
.l-why-header p {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}
.l-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.l-why-card {
  padding: 20px;
  background: var(--background-70);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  transition: all var(--ease-out);
}
.l-why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.l-why-card-icon { font-size: 24px; margin-bottom: 14px; }
.l-why-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.l-why-card p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 12px;
}
.l-why-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Pipeline ── */
.l-pipeline { margin-bottom: 64px; }
.l-pipeline-header {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.l-pipeline-kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.l-pipeline-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}
.l-pipeline-header p {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}
.l-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.l-pipeline-card {
  padding: 28px 24px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  position: relative;
  transition: all var(--ease-out);
}
.l-pipeline-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.l-pipeline-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.l-pipeline-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.l-pipeline-card p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Result legs (landing + results page) */
.l-result-legs { display: grid; gap: 6px; margin-top: 12px; }
.l-result-leg {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  background: rgba(0,0,0,0.03); font-size: 13px;
}
.l-result-leg.primary { background: rgba(16,127,86,0.06); border: 1px solid rgba(16,127,86,0.12); }
.l-result-leg-market { font-size: 11px; color: var(--muted-foreground); min-width: 36px; font-weight: 600; }
.l-result-leg-play { font-weight: 700; }
.l-result-leg-odds { color: var(--muted-foreground); font-size: 12px; }
.l-result-leg-status {
  margin-left: auto; font-weight: 800; font-size: 13px;
}
.l-result-leg.leg-win  .l-result-leg-status { color: var(--green); }
.l-result-leg.leg-loss .l-result-leg-status { color: var(--red); }

/* ── Pricing ── */
.l-pricing { margin-bottom: 64px; }
.l-pricing-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.l-pricing-header h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.l-pricing-header p {
  font-size: 16px;
  color: var(--muted-foreground);
  margin: 0;
}
.l-plan {
  padding: 32px 24px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--ease-out);
}
.l-plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.l-plan-featured {
  border-color: var(--primary-30);
  border-width: 2px;
}
.l-plan-badge {
  display: inline-block;
  margin: 0 auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}
.l-plan-name { font-size: 18px; font-weight: 700; }
.l-plan-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 6px 0;
}
.l-plan-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-foreground-70);
}
.l-plan-daily {
  font-size: 12px;
  color: var(--muted-foreground-70);
}
.l-plan-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.l-plan-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  margin-top: 8px;
  border-radius: var(--r-md);
}

/* ── FAQ ── */
.l-faq { margin-bottom: 48px; }
.l-faq-header {
  text-align: center;
  margin-bottom: 32px;
}
.l-faq-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.l-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.l-faq-item {
  padding: 20px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-md);
}
.l-faq-item h4 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.l-faq-item p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.55;
  margin: 0;
}

/* ── Footer ── */
.l-footer {
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid var(--border-40);
}
.l-footer p {
  font-size: 12px;
  color: var(--muted-foreground-70);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SHARE / SKELETON / EXTRAS
   ══════════════════════════════════════════════════════════════════ */

.share-poster { width: min(400px, 100%); text-align: center; }
.share-poster-brand {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--primary);
}
.share-poster-match {
  font-size: 24px;
  font-weight: 850;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.share-poster-league {
  color: var(--muted-foreground-70);
  font-size: 13px;
  margin-bottom: 18px;
}
.share-poster-pick {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  border: 1px solid var(--primary-15);
  margin-bottom: 16px;
  text-align: left;
}
.share-poster-pick b { color: var(--primary); }
.share-poster-risk {
  color: var(--muted-foreground-70);
  font-size: 12px;
  margin-top: 12px;
}

.skeleton-card {
  padding: 22px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  display: grid;
  gap: 12px;
}
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--muted) 25%, var(--muted-40) 50%, var(--muted) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}
.skeleton-line:first-child { height: 22px; width: 45%; }
.skeleton-line:last-child { width: 30%; }
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.pw-group { position: relative; }
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted-foreground-70);
  cursor: pointer;
  font-size: 17px;
  padding: 6px;
  line-height: 1;
  transition: color var(--ease-out);
}
.pw-toggle:hover { color: var(--muted-foreground); }

.locked-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin: 4px 0;
}
.locked-detail-tag {
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--primary-soft);
  border: 1px solid var(--primary-15);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
}

.empty-cta {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.acquisition-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(13,148,136,0.04));
  border: 1px solid var(--primary-20);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
}
.acquisition-banner strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
  color: var(--foreground);
}

/* ── Featured Case Study ── */
.featured-case { margin: 48px 0; }
.featured-step {
  padding: 24px 20px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  text-align: center;
}
.featured-step h3 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.featured-logic {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
  padding: 12px 14px;
  background: var(--muted-40);
  border-radius: var(--r-sm);
  border: 1px solid var(--border-40);
}
.featured-logic p { margin: 0; }

/* ── Timeline ── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  margin-bottom: 20px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
}
.stats-bar-main { display: flex; gap: 20px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--foreground);
}
.stat-label {
  font-size: 10.5px;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  font-weight: 600;
}
.stats-bar-side { flex-shrink: 0; }

.timeline {
  display: grid;
  gap: 1px;
  background: var(--border-40);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.timeline-row {
  display: grid;
  grid-template-columns: 100px 1fr auto 40px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--card-80);
  cursor: default;
  transition: background var(--ease-out);
  position: relative;
}
.timeline-row[data-action] { cursor: pointer; }
.timeline-row:hover { background: var(--muted); }

.tl-weight-a {
  background: linear-gradient(90deg, var(--primary-soft) 0%, var(--card-80) 8%);
  border: 1px solid var(--border); border-radius: 6px;
}
.tl-weight-a:hover {
  background: linear-gradient(90deg, var(--primary-15) 0%, var(--muted) 8%);
}
.tl-weight-b { border: 1px solid var(--border); }
.tl-weight-c { border: 1px solid var(--border); }
.tl-weight-neutral { border: 1px solid transparent; }
.timeline-row.settled { opacity: 0.75; }
.timeline-row.followed { background: var(--primary-soft); }

.tl-time { display: grid; gap: 1px; }
.tl-kickoff {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.tl-league {
  font-size: 10px;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl-settled-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: var(--r-xs);
  background: var(--muted-foreground-70);
  color: var(--background);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
  width: fit-content;
}
.tl-teams { min-width: 0; }
.tl-matchup {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl-vs {
  color: var(--muted-foreground-70);
  font-weight: 400;
  margin: 0 4px;
}

.tl-status { display: flex; align-items: center; min-width: 0; }
.tl-pred { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-pred-choice {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}
.tl-pred-play {
  font-size: 12.5px;
  color: var(--muted-foreground);
  white-space: nowrap;
}
.tl-pred-legs {
  font-size: 10.5px;
  color: var(--muted-foreground-70);
  padding: 2px 7px;
  border-radius: var(--r-xs);
  background: var(--muted-40);
  font-weight: 600;
}
.tl-pred-score {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.tl-pred-pnl { font-size: 13px; font-weight: 700; margin-left: 4px; }
.tl-pred-countdown {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-foreground);
}
.tl-pred-locked { opacity: 0.7; }
.tl-pred-locked .tl-pred-play {
  color: var(--muted-foreground-70);
  font-style: italic;
}
.tl-pred-result { gap: 8px; }
.tl-actions { display: flex; justify-content: center; }

.match-card.card-grade-a {
  border-color: var(--primary-30);
  box-shadow: var(--shadow-md);
}
.match-card.card-grade-a::before { background: var(--primary); }
.match-card.card-grade-b { border-color: var(--primary-15); }

/* ══════════════════════════════════════════════════════════════════
   LANDING v2
   ══════════════════════════════════════════════════════════════════ */

/* Badge pill */
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r-full); border: 1px solid var(--border);
  padding: 2px 10px; font-size: 12px; font-weight: 500;
  color: var(--muted-foreground); background: var(--muted);
  transition: background var(--ease-out); white-space: nowrap;
}
.badge-pill svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Trust chips */
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  border-radius: var(--r-full); border: 1px solid var(--border-60);
  background: rgba(255,255,255,0.88); padding: 8px 12px;
  backdrop-filter: blur(16px); font-size: 13px; color: #2d3340;
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   Predictions Page
   ══════════════════════════════════════════════════════ */

/* Page container */
.l-pred-page {
  max-width: 1280px; margin: 0 auto;
  padding: 32px 16px; display: flex; flex-direction: column; gap: 32px;
}
@media (min-width: 640px) { .l-pred-page { padding: 32px; } }

/* ── Hero header card ── */
.l-pred-hero {
  border-radius: 36px; border: 1px solid var(--border-60);
  background: linear-gradient(135deg, var(--card) 0%, rgba(var(--card-rgb,255,255,255),0.97) 60%, rgba(var(--bg-rgb,255,255,255),0.92) 100%);
  padding: 32px; box-shadow: 0 8px 32px -12px rgba(15,23,42,0.10);
}
.l-pred-hero-inner {
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 1024px) {
  .l-pred-hero-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.l-pred-hero-left { display: flex; flex-direction: column; gap: 12px; }
.l-pred-hero-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--muted-foreground);
}
.l-pred-hero-time {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--muted-foreground); display: block;
}
.l-pred-hero h1 {
  font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -0.03em;
  color: var(--foreground);
}
@media (min-width: 768px) { .l-pred-hero h1 { font-size: 36px; } }
.l-pred-hero-desc {
  font-size: 14px; color: var(--muted-foreground); max-width: 640px; line-height: 1.6;
}
@media (min-width: 768px) { .l-pred-hero-desc { font-size: 16px; } }

/* Your access card */
.l-pred-access {
  border-radius: 16px; border: 1px solid var(--border-60);
  background: rgba(255,255,255,0.60); padding: 16px 20px; min-width: 260px;
}
.l-pred-access-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--muted-foreground);
}
.l-pred-access-tier {
  margin-top: 8px; font-size: 20px; font-weight: 600; color: var(--foreground);
}
.l-pred-access-hint {
  margin-top: 4px; font-size: 14px; color: var(--muted-foreground);
}

/* ── Stats KPI cards ── */
.l-pred-kpis {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .l-pred-kpis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .l-pred-kpis { grid-template-columns: repeat(3, 1fr); } }
.l-pred-kpi {
  border-radius: 24px; border: 1px solid var(--border-60);
  background: var(--card); padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.l-pred-kpi-head { display: flex; align-items: center; gap: 12px; }
.l-pred-kpi-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: rgba(0,0,0,0.04);
}
.l-pred-kpi-label { font-size: 14px; color: var(--muted-foreground); }
.l-pred-kpi-value {
  margin-top: 16px; font-size: 30px; font-weight: 700; line-height: 1; color: var(--foreground);
}
.l-pred-kpi-note { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }
.l-pred-kpi-cta {
  border-color: rgba(16,127,86,0.20); background: rgba(16,127,86,0.05);
}
.l-pred-kpi-cta .l-pred-kpi-icon { background: rgba(16,127,86,0.10); }
.l-pred-kpi-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none;
}
.l-pred-kpi-link:hover { text-decoration: underline; }

/* ── Toolbar (Saved boards, Board terms) ── */
/* ── Day group ── */
.l-pred-day { display: flex; flex-direction: column; gap: 16px; }
.l-pred-day-head { display: flex; align-items: center; justify-content: space-between; }
.l-pred-day-title { font-size: 20px; font-weight: 600; color: var(--foreground); }
.l-pred-day-count { font-size: 14px; color: var(--muted-foreground); }
.l-pred-day-grid { display: grid; gap: 24px; }

/* ── Prediction card ── */
.l-pred-card {
  position: relative; overflow: hidden;
  border-radius: 32px; border: 1px solid rgba(229,231,235,0.60);
  background: linear-gradient(135deg, var(--card) 0%, rgba(255,255,255,0.97) 60%, rgba(255,255,255,0.92) 100%);
  padding: 20px; transition: all 0.3s ease;
  box-shadow: 0 24px 60px -40px rgba(15,23,42,0.15);
}
@media (min-width: 640px) { .l-pred-card { padding: 24px; } }
.l-pred-card:hover {
  border-color: rgba(16,127,86,0.20);
  box-shadow: 0 32px 80px -48px rgba(15,23,42,0.20);
}

/* Radial gradient decoration */
.l-pred-card-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.80;
  background:
    radial-gradient(circle at top left, rgba(16,127,86,0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.08), transparent 28%);
}

/* Card header (league, teams, time) */
.l-pred-card-header {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border-60);
}
@media (min-width: 1024px) {
  .l-pred-card-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.l-pred-card-league {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--muted-foreground);
}
.l-pred-card-teams {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--foreground);
  word-break: break-word; line-height: 1.2;
}
@media (min-width: 640px) { .l-pred-card-teams { font-size: 24px; } }
.l-pred-card-teams .vs { color: var(--muted-foreground); }
.l-pred-card-time { font-size: 14px; color: var(--muted-foreground); }
.l-pred-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.l-pred-card-tag {
  display: inline-flex; border-radius: 999px; border: 1px solid var(--border-60);
  background: rgba(255,255,255,0.60); padding: 6px 12px;
  font-size: 12px; font-weight: 500; color: var(--muted-foreground);
}

/* ── Model signal section ── */
.l-pred-signal {
  position: relative; margin-top: 20px; display: flex; flex-direction: column; gap: 16px;
}
.l-pred-signal-box {
  position: relative; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--border-60);
  background:
    radial-gradient(circle at top left, rgba(16,127,86,0.10), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.44));
  padding: 20px;
}
.l-pred-signal-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(125deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: opacity 0.5s;
}
.l-pred-card:hover .l-pred-signal-glow { opacity: 1; }
.l-pred-signal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.l-pred-signal-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; border: 1px solid rgba(229,231,235,0.60);
  background: rgba(255,255,255,0.65); padding: 6px 12px;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.30em;
  color: var(--muted-foreground);
}
.l-pred-signal-info {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid rgba(229,231,235,0.60);
  background: rgba(255,255,255,0.70); color: var(--muted-foreground);
  cursor: pointer; transition: all 0.2s;
}
.l-pred-signal-info:hover {
  border-color: rgba(16,127,86,0.25); background: rgba(16,127,86,0.06); color: var(--primary);
}
.l-pred-signal-result { display: flex; flex-direction: column; gap: 6px; }
.l-pred-signal-choice {
  font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--foreground);
}
.l-pred-signal-desc {
  font-size: 14px; line-height: 1.6; color: var(--muted-foreground); max-width: 640px;
}

/* ── Waiting card (no prediction yet) ── */
.l-pred-card-waiting { opacity: 0.72; cursor: default; }
.l-pred-card-waiting:hover {
  border-color: rgba(229,231,235,0.60);
  box-shadow: 0 24px 60px -40px rgba(15,23,42,0.15);
}
.l-pred-card-tag-waiting {
  background: rgba(251,191,36,0.10); border-color: rgba(251,191,36,0.20); color: #b45309;
}

/* ── Locked card (paywalled prediction) ── */
.l-pred-card-locked { opacity: 1; cursor: default; border-color: rgba(16,127,86,0.12); background: linear-gradient(135deg, rgba(248,250,252,0.97), rgba(241,245,249,0.95)); }
.l-pred-card-locked:hover {
  border-color: rgba(229,231,235,0.60);
  box-shadow: 0 24px 60px -40px rgba(15,23,42,0.15);
}

/* ── Prediction decision layers ── */
.l-pred-layer-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}
.l-pred-layer {
  min-height: 92px;
  padding: 10px 11px;
  border-radius: 14px;
  border: 1px solid rgba(16,127,86,0.10);
  background: rgba(255,255,255,0.58);
}
.l-pred-layer-name {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}
.l-pred-layer-status {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 850;
  color: var(--primary);
}
.l-pred-layer p {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted-foreground);
}

/* ── Grade tag ── */
.l-pred-card-tag-grade {
  background: rgba(16,127,86,0.06); border-color: rgba(16,127,86,0.12); color: var(--primary);
}

/* ── Main play (member only) ── */
.l-pred-main-play {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(16,127,86,0.04); border: 1px solid rgba(16,127,86,0.10);
}
.l-pred-main-play-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--muted-foreground);
}
.l-pred-main-play-type { font-size: 12px; color: var(--muted-foreground); }
.l-pred-main-play-value { font-weight: 700; font-size: 14px; }
.l-pred-main-play-odds { font-size: 13px; color: var(--primary); font-weight: 600; }

/* ── Legs list ── */
.l-pred-legs { margin-top: 16px; }
.l-pred-legs-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.30em;
  color: var(--muted-foreground); margin-bottom: 8px;
}
.l-pred-legs-empty { font-size: 13px; color: var(--muted-foreground); margin: 0; }
.l-pred-leg {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(0,0,0,0.02); border: 1px solid var(--border-60);
  font-size: 13px;
}
.l-pred-leg + .l-pred-leg { margin-top: 6px; }
.l-pred-leg-primary { background: rgba(16,127,86,0.04); border-color: rgba(16,127,86,0.12); }
.l-pred-leg-market { font-size: 11px; color: var(--muted-foreground); min-width: 40px; font-weight: 600; }
.l-pred-leg-play { font-weight: 700; }
.l-pred-leg-odds { color: var(--muted-foreground); font-size: 12px; }
.l-pred-leg-role {
  margin-left: auto; font-size: 10px; font-weight: 600;
  color: var(--primary); background: rgba(16,127,86,0.08);
  padding: 2px 8px; border-radius: 999px;
}

/* ── Core logic preview (member only) ── */
.l-pred-logic {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(16,127,86,0.03); border: 1px solid var(--border); border-radius: 6px;
}
.l-pred-logic-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--primary); margin-bottom: 6px;
}
.l-pred-logic-text {
  font-size: 13px; line-height: 1.6; color: var(--foreground);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; margin: 0;
}

/* ── Exit condition (member only) ── */
.l-pred-exit {
  margin-top: 12px; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  background: rgba(220,38,38,0.04); border: 1px solid rgba(220,38,38,0.10);
}
.l-pred-exit-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em;
  color: #dc2626; font-weight: 600; flex-shrink: 0;
}
.l-pred-exit-text { font-size: 13px; color: var(--foreground); }

/* ── Premium upsell bar (non-member) ── */
.l-pred-premium-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; border-radius: 16px; border: 1px solid var(--border-60);
  background: rgba(255,255,255,0.50); padding: 14px 16px;
}
.l-pred-premium-text { font-size: 13px; color: var(--muted-foreground); margin: 0; }
.l-pred-premium-cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all 0.2s;
}
.l-pred-premium-cta:hover { opacity: 0.90; transform: translateY(-1px); }

/* ── Use free card button ── */
.l-pred-use-card-btn {
  display: block; width: 100%; margin-top: 14px; padding: 12px 16px;
  border-radius: 14px; border: 2px dashed rgba(16,127,86,0.35);
  background: rgba(16,127,86,0.04); color: var(--primary);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; text-align: center;
}
.l-pred-use-card-btn:hover {
  background: rgba(16,127,86,0.08); border-color: rgba(16,127,86,0.50);
  transform: translateY(-1px);
}

/* ── Card unlocked bar ── */
.l-pred-card-bar {
  margin-top: 14px; padding: 10px 14px; border-radius: 12px;
  background: rgba(16,127,86,0.04); border: 1px solid rgba(16,127,86,0.12);
  text-align: center;
}

/* Hero section wrapper */
.l-hero-section {
  position: relative; overflow: clip;
  padding: 80px 0 64px;
}
@media (min-width: 1024px) { .l-hero-section { padding: 128px 0 96px; } }
.l-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.l-hero-bg-orb1 {
  position: absolute; top: -80px; right: 0;
  width: 520px; height: 520px;
  background: rgba(16,127,86,0.04);
  filter: blur(96px); opacity: 0.15;
  border-radius: 50%;
}
.l-hero-bg-orb2 {
  position: absolute; bottom: -80px; left: 0;
  width: 420px; height: 420px;
  background: rgba(13,148,136,0.12);
  filter: blur(96px); opacity: 0.25;
  border-radius: 50%;
}
.l-hero-bg-radial {
  position: absolute; inset: 0;
  background: radial-gradient(circle at top, rgba(16,127,86,0.12), transparent 55%);
}

/* Hero trust grid */
.l-hero-trust-grid {
  display: grid; gap: 8px; margin-top: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .l-hero-trust-grid { grid-template-columns: repeat(3,1fr); } }

/* Stats section */
.l-landing-stats-section {
  position: relative; padding: 0 0 64px;
  width: 100%;
  max-width: 1120px; margin: 0 auto;
}
.l-stats-grid {
  display: grid; gap: 14px;
  width: 100%;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .l-stats-grid { grid-template-columns: repeat(3,1fr); } }
.l-stat-card {
  border-radius: var(--r-2xl); border: 1px solid var(--border-60);
  background: var(--background-70); padding: 20px;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.l-stat-card-label {
  font-size: 11px; font-weight: 600; color: var(--muted-foreground-70);
  text-transform: uppercase; letter-spacing: 0.25em;
}
.l-stat-card-value {
  margin-top: 12px; font-size: 32px; font-weight: 700;
  color: var(--foreground); line-height: 1;
}
.l-stat-card-desc { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }

/* Acquisition sections */
.l-acq-section,
.l-trial-section {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 0;
}
.l-acq-header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.l-acq-header h2 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.l-acq-header p {
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.7;
}
.l-schedule-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .l-schedule-grid { grid-template-columns: repeat(2, 1fr); }
}
.l-schedule-card,
.l-schedule-empty {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-60);
  background: var(--background-80);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.l-schedule-time {
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-full);
  padding: 4px 10px;
  background: var(--primary-10);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.l-schedule-teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 17px;
  font-weight: 800;
}
.l-schedule-teams span {
  font-size: 11px;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.l-schedule-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.l-acq-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.l-trial-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  border-radius: var(--r-2xl);
  border: 1px solid var(--primary-20);
  background:
    radial-gradient(circle at top right, rgba(16,127,86,0.16), transparent 34%),
    linear-gradient(135deg, var(--background), rgba(240,253,244,0.74));
  padding: 32px;
  box-shadow: var(--shadow-xl);
}
@media (min-width: 760px) {
  .l-trial-card {
    grid-template-columns: 1fr 260px;
    align-items: center;
  }
}
.l-trial-card h2 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.l-trial-card p {
  max-width: 620px;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.7;
}
.l-trial-side {
  border-radius: var(--r-xl);
  border: 1px solid var(--border-60);
  background: rgba(255,255,255,0.76);
  padding: 20px;
  text-align: center;
}
.l-trial-price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--primary);
  line-height: 1;
}
.l-trial-note {
  margin: 8px 0 16px;
  color: var(--muted-foreground);
  font-size: 13px;
  font-weight: 600;
}

/* CTA Banner */
.l-cta-section { padding: 0 0 64px; }
.l-cta-banner {
  position: relative; overflow: hidden;
  border-radius: var(--r-2xl); border: 1px solid var(--primary-20);
  background: var(--background-60); padding: 32px;
  max-width: 768px; margin: 0 auto; backdrop-filter: blur(8px);
}
.l-cta-glow {
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(16,127,86,0.10); filter: blur(96px);
}
.l-cta-content {
  position: relative; z-index: 10;
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 640px) {
  .l-cta-content { flex-direction: row; align-items: center; justify-content: space-between; }
}
.l-cta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r-full); border: 1px solid var(--primary-30);
  background: var(--primary-10); padding: 2px 12px;
  font-size: 12px; font-weight: 500; color: var(--primary); margin-bottom: 8px;
}
.l-cta-text h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.l-cta-text p { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); max-width: 480px; }
.l-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 28px; border-radius: var(--r-md); border: none;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: all var(--ease-out); white-space: nowrap; text-decoration: none;
}
.l-cta-btn:hover { background: var(--primary-90); box-shadow: var(--shadow-md); }

/* Features section */
.l-features-section {
  position: relative; overflow: hidden;
  background: var(--muted-40);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
@media (min-width: 1024px) { .l-features-section { padding: 128px 0; } }
.l-features-header-grid {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .l-features-header-grid { grid-template-columns: 0.9fr 1.1fr; } }
.l-features-left h2 {
  font-size: clamp(28px,4vw,48px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; margin: 16px 0;
}
.l-features-left p { font-size: 18px; color: var(--muted-foreground); line-height: 1.6; }
.l-features-list {
  display: grid; gap: 12px; font-size: 15px; color: var(--muted-foreground);
  list-style: none; padding: 0; margin: 24px 0 0;
}
.l-features-list li { display: flex; align-items: flex-start; gap: 12px; }
.l-features-list li svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.l-features-cards-wrap {
  border-radius: var(--r-2xl); border: 1px solid var(--border-60);
  background: var(--background-80); padding: 24px;
  box-shadow: var(--shadow-xl); backdrop-filter: blur(8px);
}
.l-features-cards-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .l-features-cards-grid { grid-template-columns: 1fr 1fr; } }
.l-feature-card {
  border-radius: var(--r-lg); border: 1px solid var(--border-40);
  background: linear-gradient(135deg, var(--background), var(--muted-40));
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: all 0.3s ease; overflow: hidden;
}
.l-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2xl); }
.l-feature-card-header { display: flex; align-items: center; justify-content: space-between; }
.l-feature-card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--primary-10);
}
.l-feature-card-icon svg { width: 20px; height: 20px; color: var(--primary); }
.l-feature-card-tag {
  font-size: 11px; font-weight: 600; color: var(--muted-foreground-70);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.l-feature-card h4 { font-size: 18px; font-weight: 600; }
.l-feature-card p { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }
.l-feature-card-footer {
  display: flex; align-items: center; gap: 8px;
  border-radius: var(--r-lg); border: 1px solid var(--primary-20);
  background: var(--primary-05, rgba(16,127,86,0.03)); padding: 8px 12px;
  font-size: 12px; color: var(--primary); transition: all var(--ease-out);
}
.l-feature-card:hover .l-feature-card-footer { border-color: var(--primary-30); background: var(--primary-10); }
.l-feature-card-footer svg { width: 12px; height: 12px; flex-shrink: 0; }

/* How It Works section */
.l-how-section {
  position: relative; overflow: hidden; padding: 96px 0;
  background: var(--background);
}
@media (min-width: 1024px) { .l-how-section { padding: 128px 0; } }
.l-how-header {
  max-width: 768px; margin: 0 auto 48px; text-align: center;
}
.l-how-header h2 {
  font-size: clamp(28px,4vw,48px); font-weight: 800;
  letter-spacing: -0.03em; margin: 16px 0;
}
.l-how-header h2 span { color: var(--primary); }
.l-how-header p { font-size: 18px; color: var(--muted-foreground); }
.l-how-two-col {
  display: grid; gap: 16px; max-width: 1120px; margin: 0 auto 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .l-how-two-col { grid-template-columns: 1.1fr 0.9fr; } }
.l-how-card-primary {
  border-radius: var(--r-2xl); border: 1px solid var(--primary-20);
  background: var(--primary-05, rgba(16,127,86,0.03)); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.l-how-card-secondary {
  border-radius: var(--r-2xl); border: 1px solid var(--border-60);
  background: var(--card-80); padding: 24px; box-shadow: var(--shadow-sm);
}
.l-how-card-label {
  font-size: 11px; font-weight: 600; color: var(--muted-foreground-70);
  text-transform: uppercase; letter-spacing: 0.35em;
}
.l-how-card-primary h3 { margin-top: 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.l-how-card-primary p { margin-top: 12px; font-size: 14px; color: var(--muted-foreground); line-height: 1.7; }
.l-how-card-secondary ol {
  margin-top: 16px; display: grid; gap: 12px;
  font-size: 14px; color: var(--muted-foreground); line-height: 1.6;
  padding-left: 0; list-style: none;
}

/* Steps */
.l-how-steps {
  max-width: 1120px; margin: 0 auto;
  display: grid; gap: 32px; grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .l-how-steps { grid-template-columns: repeat(5,1fr); gap: 24px; } }
.how-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
@media (min-width: 1024px) { .how-step { align-items: flex-start; text-align: left; } }
.how-step-icon {
  position: relative; z-index: 10; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; flex-shrink: 0;
  border-radius: var(--r-2xl); border: 1px solid var(--border);
  background: var(--background); box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}
.how-step:hover .how-step-icon {
  border-color: var(--primary);
  box-shadow: 0 0 30px -5px rgba(16,127,86,0.30);
  transform: scale(1.10);
}
.how-step-icon svg {
  width: 32px; height: 32px; color: var(--muted-foreground);
  transition: color 0.4s ease;
}
.how-step:hover .how-step-icon svg { color: var(--primary); }
.how-step-num {
  position: absolute; top: -10px; right: -10px;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-md); border: 3px solid var(--background);
  transition: transform 0.4s ease;
}
.how-step:hover .how-step-num { transform: scale(1.10) rotate(12deg); }
.how-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.how-step p { font-size: 13px; color: var(--muted-foreground); line-height: 1.5; max-width: 200px; }

/* Results section */
.l-results-section {
  position: relative; overflow: hidden;
  background: var(--muted-40);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
@media (min-width: 1024px) { .l-results-section { padding: 88px 0; } }
.l-results-header { max-width: 768px; margin: 0 auto 32px; text-align: center; }
.l-results-header h2 {
  font-size: clamp(28px,4vw,48px); font-weight: 800;
  letter-spacing: -0.03em; margin: 16px 0;
}
.l-results-header p { font-size: 18px; color: var(--muted-foreground); }
.l-results-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .l-results-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .l-results-grid { grid-template-columns: repeat(3,1fr); } }
.l-result-card {
  border-radius: var(--r-lg); border: 1px solid var(--border-40);
  background: linear-gradient(135deg, var(--background), var(--muted-40));
  padding: 24px; transition: all 0.3s ease;
}
.l-result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2xl); }
.l-result-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.l-result-card-league { font-size: 12px; font-weight: 600; color: var(--muted-foreground-70); text-transform: uppercase; letter-spacing: 0.04em; }
.l-result-card-date { font-size: 11px; color: var(--muted-foreground-70); }
.l-result-card-teams { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.l-result-card-teams .vs { font-size: 12px; color: var(--muted-foreground-70); font-weight: 500; margin: 0 6px; }
.l-result-card-score { font-size: 13px; color: var(--muted-foreground-70); margin-bottom: 12px; }
.l-result-card-pred { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.l-result-pred-label { font-size: 11px; color: var(--muted-foreground-70); text-transform: uppercase; }
.l-result-pred-val { font-size: 15px; font-weight: 700; font-family: var(--font-mono); }
.l-result-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--r-xs); font-size: 11px; font-weight: 700; }
.l-result-badge.win  { background: var(--green-soft); color: var(--green); }
.l-result-badge.loss { background: var(--red-soft); color: var(--red); }
.l-result-logic {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--green-soft);
  border-radius: var(--r-md);
  border: 1px solid rgba(16,185,129,0.2); border-radius: 6px;
}
.l-result-logic svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--green);
  margin-top: 3px;
}
.l-result-logic p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pricing section */
.l-pricing-section {
  background: var(--muted-40);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px;
}
@media (min-width: 1024px) { .l-pricing-section { padding: 88px 24px; } }
.l-pricing-inner {
  display: block !important;
  max-width: 1050px !important;
  margin: 0 auto !important;
  text-align: center;
  width: auto !important;
  float: none !important;
}
.l-pricing-header { max-width: 560px; margin: 0 auto 32px; text-align: center; }
.l-pricing-header h2 { font-size: clamp(28px,4vw,48px); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; }
.l-pricing-header p { font-size: 18px; color: var(--muted-foreground); }
.l-pricing-cards {
  display: grid !important;
  gap: 16px;
  justify-content: center !important;
  margin: 0 auto !important;
}
.l-pricing-cards[data-cols="1"] { grid-template-columns: 320px !important; }
.l-pricing-cards[data-cols="2"] { grid-template-columns: 320px 320px !important; }
.l-pricing-cards[data-cols="3"] { grid-template-columns: 320px 320px 320px !important; }
.l-pricing-cards > .l-pricing-card {
  width: 320px !important;
  max-width: 100%;
  margin: 0 !important;
  flex: none !important;
}
.l-pricing-card {
  border-radius: var(--r-lg); border: 1px solid var(--border-60);
  background: var(--background); padding: 32px 24px;
  text-align: center; transition: all var(--ease-out);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  position: relative;
}
.l-pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.l-pricing-card.featured {
  border-color: var(--primary); border-width: 2px;
  box-shadow: var(--shadow-2xl);
}
.l-pricing-card.featured:hover { transform: translateY(-2px); }
.l-pricing-card-badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff; padding: 2px 16px; font-size: 14px; font-weight: 600;
}
.l-pricing-card-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.l-pricing-card-price { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.l-pricing-card-price small { font-size: 14px; font-weight: 600; color: var(--muted-foreground); }
.l-pricing-card-period { font-size: 13px; color: var(--muted-foreground); margin: 8px 0 24px; }
.l-pricing-card-btn {
  display: block; width: 100%; text-align: center;
  padding: 12px 0; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--background); color: var(--foreground);
  font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: all var(--ease-out); text-decoration: none;
}
.l-pricing-card-btn:hover { background: var(--muted); }
.l-pricing-card-btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.l-pricing-card-btn.primary:hover { background: var(--primary-90); }
.l-pricing-card-features { margin-top: 24px; text-align: left; }
.l-pricing-card-features ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.l-pricing-card-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--muted-foreground);
}
.l-pricing-card-features li::before {
  content: ""; display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%;
  background: var(--primary-10); color: var(--primary);
  font-size: 10px; font-weight: 700; margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}

/* FAQ section */
.l-faq-section {
  position: relative; overflow: hidden; padding: 64px 0;
  background: var(--background);
}
@media (min-width: 1024px) { .l-faq-section { padding: 80px 0; } }
.l-faq-header { max-width: 560px; margin: 0 auto 28px; text-align: center; }
.l-faq-header h2 { font-size: clamp(28px,4vw,40px); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.l-faq-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .l-faq-grid { grid-template-columns: repeat(2,1fr); } }
.l-faq-card {
  border-radius: var(--r-md); border: 1px solid var(--border-60);
  background: var(--card-80); padding: 24px;
}
.l-faq-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.l-faq-card p { font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }

/* Footer */
.l-site-footer {
  width: 100%; border-top: 1px solid var(--border);
  background: var(--background); padding: 24px 0;
}
@media (min-width: 768px) { .l-site-footer { padding: 48px 0; } }
.l-footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 16px;
  display: grid; gap: 32px; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .l-footer-inner { grid-template-columns: repeat(4,1fr); } }
.l-footer-brand strong { font-size: 18px; font-weight: 800; }
.l-footer-brand p { font-size: 13px; color: var(--muted-foreground); margin-top: 4px; }
.l-footer-col h5 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.l-footer-col a {
  display: block; font-size: 13px; color: var(--muted-foreground);
  margin-bottom: 6px; transition: color var(--ease-out); text-decoration: none;
}
.l-footer-col a:hover { color: var(--foreground); }
.l-footer-bottom {
  max-width: 1120px; margin: 0 auto; padding: 24px 16px 0;
  border-top: 1px solid var(--border-40); margin-top: 32px;
  font-size: 12px; color: var(--muted-foreground-70); text-align: center; line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  .public-shell { width: min(100% - 28px, 1120px); padding-bottom: 48px; }
  .topbar {
    height: auto;
    min-height: 56px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 8px;
    gap: 8px;
  }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand small { display: none; }
  .nav-user {
    width: auto;
    max-width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .nav-user .user-badge {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-tabs {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav-tabs::-webkit-scrollbar { display: none; }
  .nav-tabs a {
    height: 34px;
    padding: 0 10px;
    font-size: 12.5px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .l-hero-section { padding: 28px 0 34px; }
  .l-hero { grid-template-columns: 1fr; gap: 20px; padding: 0; }
  .l-hero h1 { font-size: clamp(31px, 8vw, 42px); margin-bottom: 12px; }
  .l-hero-desc { font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
  .l-hero-actions { margin-bottom: 18px; gap: 10px; }
  .l-hero-btn,
  .l-hero-btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
  }
  .l-proof-mini { display: none; }
  .l-live-card { padding: 18px; border-radius: var(--r-xl); }
  .l-live-top { align-items: flex-start; flex-direction: column; margin-bottom: 14px; }
  .l-live-match h3 { font-size: 23px; margin-bottom: 14px; }
  .l-live-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .l-live-grid div { padding: 10px; }
  .l-live-note { font-size: 12.5px; padding: 10px 12px; }
  .l-results-section,
  .l-pricing-section,
  .l-features-section,
  .l-lazy-section,
  .l-faq-section {
    padding: 44px 0;
  }
  .l-acq-section,
  .l-trial-section,
  .l-landing-stats-section {
    padding: 40px 0;
  }
  .l-results-header,
  .l-pricing-header,
  .l-faq-header,
  .l-lazy-header,
  .l-acq-header {
    margin-bottom: 22px;
  }
  .l-results-header h2,
  .l-pricing-header h2,
  .l-acq-header h2,
  .l-lazy-header h2,
  .l-features-left h2 {
    font-size: 28px;
    margin-top: 8px;
  }
  .l-results-header p,
  .l-pricing-header p,
  .l-acq-header p,
  .l-lazy-header p,
  .l-features-left p {
    font-size: 14.5px;
    line-height: 1.55;
  }
  .l-result-card,
  .l-pricing-card,
  .l-feature-card,
  .l-faq-card {
    padding: 18px;
  }
  .l-pricing-card.featured,
  .l-pricing-card.featured:hover {
    transform: none;
  }
  .l-pricing-card-price { font-size: 38px; }
  .l-pricing-card-period { margin-bottom: 14px; }
  .l-pricing-card-features { margin-top: 16px; }
  .l-pricing-card-features ul { gap: 8px; }
  .l-features-header-grid { gap: 24px; }
  .l-features-cards-wrap { padding: 14px; border-radius: var(--r-xl); }
  .l-feature-card { gap: 8px; }
  .l-stats-grid { gap: 10px; }
  .l-stat-card { padding: 16px; }
  .l-stat-card-value { font-size: 28px; margin-top: 8px; }
  .l-schedule-grid { gap: 10px; }
  .l-trial-card { padding: 20px; gap: 16px; }
  .l-trial-card h2 { font-size: 28px; }
  .l-trial-side { padding: 16px; }
  .l-hero-stats { grid-template-columns: repeat(3, 1fr); }
  .l-why-grid { grid-template-columns: 1fr 1fr; }
  .l-pipeline-grid { grid-template-columns: 1fr; }
  .l-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .l-faq-grid { grid-template-columns: 1fr; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .section-actions { justify-content: flex-start; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cards-grid, .panel-grid, .cap-grid { grid-template-columns: 1fr; }
  .workflow-grid, .case-grid { grid-template-columns: 1fr; }
  .member-value-panel { grid-template-columns: 1fr; }
  .schedule-summary { flex-direction: column; }
  .schedule-row { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-top: 24px; }
  .timeline-row {
    grid-template-columns: 80px 1fr auto 36px;
    gap: 10px;
    padding: 12px 14px;
  }
  .tl-kickoff { font-size: 12px; }
  .stats-bar-main { gap: 14px; }
}

@media (min-width: 560px) and (max-width: 860px) {
  .l-results-grid,
  .l-schedule-grid,
  .l-features-cards-grid,
  .l-strategy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .l-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .l-schedule-card,
  .l-result-card,
  .l-feature-card,
  .l-strategy-card {
    padding: 16px;
  }
  .l-feature-card-footer,
  .l-strategy-card-footer {
    font-size: 11px;
  }
}

@media (max-width: 540px) {
  .public-shell { width: calc(100% - 20px); padding: 0 0 44px; }
  .topbar {
    padding: 8px 4px;
    margin: 6px 0 0;
    border-radius: var(--r-sm);
    gap: 6px;
  }
  .brand strong { font-size: 13px; }
  .brand small { display: none; }
  .brand-mark { width: 28px; height: 28px; font-size: 13px; }
  .nav-user { gap: 2px; }
  .nav-user a,
  .nav-user button { height: 30px; padding: 0 10px; font-size: 13px; }
  .nav-user .user-badge { max-width: 100px; font-size: 12px; }
  .nav-user .primary-button { font-size: 12px; padding: 6px 12px; border-radius: var(--r-sm); }
  .nav-tabs a { padding: 6px 10px; font-size: 12.5px; }
  .teams h3 { font-size: 17px; }
  .kpi-card strong { font-size: 24px; }
  .kpi-card { padding: 14px 16px; }
  .cards-grid { gap: 10px; }
  .match-card { padding: 16px 18px; gap: 12px; }
  .pricing-grid { gap: 10px; }

  .l-hero-section { padding: 22px 0 30px; }
  .l-hero h1 { font-size: 31px; }
  .l-live-card { padding: 16px; }
  .l-live-grid { grid-template-columns: 1fr; }
  .l-results-section,
  .l-pricing-section,
  .l-features-section,
  .l-lazy-section,
  .l-faq-section {
    padding: 36px 0;
  }
  .l-acq-section,
  .l-trial-section,
  .l-landing-stats-section {
    padding: 34px 0;
  }
  .l-trial-card { padding: 18px; }
  .l-pricing-grid { grid-template-columns: 1fr; gap: 10px; }
  .l-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .l-hero-stat-num { font-size: 20px; }
  .l-trust { gap: 16px; }
  .l-why-grid { grid-template-columns: 1fr; }
  .l-why-header h2, .l-pipeline-header h2,
  .l-pricing-header h2 { font-size: 26px; }
  .l-plan-price { font-size: 34px; }
  .l-stats-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .l-stats-dual { grid-template-columns: 1fr; }
  .l-stats-roi-grid { grid-template-columns: 1fr; }
  .l-res-filter-bar { flex-direction: column; align-items: stretch; }
  .l-res-grid { grid-template-columns: 1fr; gap: 16px; }
  .l-auth-shell { grid-template-columns: 1fr; }
  .l-auth-left { display: none; }
  .l-auth-right { padding: 24px 16px; }
  .l-auth-form-wrap { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════
   注册/登录页
   ══════════════════════════════════════════════════════ */

/* Shell — split layout */
.l-auth-shell {
  display: grid; min-height: 100dvh; width: 100%;
  grid-template-columns: 0.95fr 1.05fr;
}

/* Left panel — features (desktop only) */
.l-auth-left {
  display: none;
  background: linear-gradient(135deg, rgba(241,245,249,0.1) 0%, rgba(241,245,249,0.05) 50%, rgba(16,127,86,0.1) 100%);
  padding: 32px;
  flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .l-auth-left { display: flex; } }

/* Sign-in variant: left wider, border-r */
.l-auth-shell-signin { grid-template-columns: 1.05fr 0.95fr; }
.l-auth-shell-signin .l-auth-left {
  border-right: 1px solid var(--border-40, rgba(0,0,0,0.08));
}

/* Left panel decorative blurs */
.l-auth-left::before {
  content: ""; position: absolute;
  top: -96px; left: 33%; width: 288px; height: 288px;
  border-radius: 999px; background: var(--primary);
  filter: blur(140px); opacity: 0.15;
}
.l-auth-left::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; width: 256px; height: 256px;
  border-radius: 999px; background: rgba(52,211,153,0.6);
  filter: blur(140px); opacity: 0.12;
}

.l-auth-left-inner {
  position: relative; z-index: 1;
  max-width: 480px; margin-left: auto;
  width: 100%;
}
.l-auth-left-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground);
}
.l-auth-left-eyebrow svg { width: 14px; height: 14px; color: var(--primary); }
.l-auth-left-title {
  margin-top: 12px; font-size: 32px; font-weight: 700;
  color: var(--foreground); line-height: 1.15;
}
@media (min-width: 1280px) { .l-auth-left-title { font-size: 36px; } }
.l-auth-left-desc {
  margin-top: 12px; font-size: 15px; line-height: 1.6;
  color: var(--muted-foreground);
}

/* Features list */
.l-auth-features {
  margin-top: 32px; display: flex; flex-direction: column; gap: 20px;
}
.l-auth-feature {
  display: flex; align-items: flex-start; gap: 16px;
}
.l-auth-feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 16px;
  border: 1px solid var(--border-40, rgba(0,0,0,0.08));
  background: var(--muted-40, rgba(0,0,0,0.04));
  color: var(--primary); flex-shrink: 0;
}
.l-auth-feature-icon svg { width: 20px; height: 20px; }
.l-auth-feature-title {
  font-size: 15px; font-weight: 600; color: var(--foreground);
}
.l-auth-feature-desc {
  margin-top: 4px; font-size: 13px; line-height: 1.5;
  color: var(--muted-foreground);
}

/* Metrics */
.l-auth-metrics {
  margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.l-auth-metric {
  border-radius: 16px; border: 1px solid var(--border-50);
  background: var(--card-80, rgba(255,255,255,0.8));
  padding: 16px; text-align: center;
  backdrop-filter: blur(8px);
}
.l-auth-metric strong {
  display: block; font-size: 24px; font-weight: 700;
  color: var(--foreground); line-height: 1;
}
.l-auth-metric span {
  display: block; margin-top: 4px;
  font-size: 11px; color: var(--muted-foreground);
}

/* Testimonial */
.l-auth-testimonial {
  margin-top: 28px;
  border-radius: 20px; border: 1px solid var(--border-50);
  background: var(--muted-30, rgba(0,0,0,0.02));
  padding: 20px;
}
.l-auth-testimonial p {
  font-size: 14px; line-height: 1.6;
  color: var(--foreground); font-style: italic;
}
.l-auth-testimonial span {
  display: block; margin-top: 8px;
  font-size: 12px; color: var(--muted-foreground);
}

/* Right panel — form */
.l-auth-right {
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  position: relative;
}

.l-auth-form-wrap {
  width: 100%; max-width: 440px;
}

.l-auth-form-eyebrow {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground);
}
.l-auth-form-eyebrow svg { width: 14px; height: 14px; color: var(--primary); }
.l-auth-form-title {
  margin-top: 8px; font-size: 28px; font-weight: 700;
  color: var(--foreground);
}
@media (min-width: 768px) { .l-auth-form-title { font-size: 32px; } }
.l-auth-form-subtitle {
  margin-top: 4px; font-size: 15px; color: var(--muted-foreground);
}
.l-auth-form-desc {
  margin-top: 8px; font-size: 14px; line-height: 1.5;
  color: var(--muted-foreground); max-width: 360px;
}

/* Highlight box */
.l-auth-highlight-box {
  margin-top: 24px; border-radius: 16px;
  border: 1px solid var(--primary-20, rgba(16,127,86,0.2));
  background: linear-gradient(90deg, rgba(16,127,86,0.06), rgba(52,211,153,0.06));
  padding: 16px;
}
.l-auth-highlight-box strong {
  font-size: 15px; font-weight: 600; color: var(--foreground);
}
.l-auth-highlight-box p {
  margin-top: 4px; font-size: 13px; line-height: 1.5;
  color: var(--muted-foreground);
}

/* Form */
.l-auth-form {
  margin-top: 28px; display: flex; flex-direction: column; gap: 20px;
}

/* Field */
.l-auth-field label {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--foreground); margin-bottom: 6px;
}

.l-auth-input-wrap {
  position: relative; display: flex; align-items: center;
  border-radius: 12px; border: 1px solid var(--border);
  background: var(--background); overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.l-auth-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(16,127,86,0.15);
}
.l-auth-input-wrap input {
  flex: 1; border: none; outline: none;
  padding: 12px 16px; font-size: 14px;
  color: var(--foreground); background: transparent;
  width: 100%;
}
.l-auth-input-wrap input::placeholder {
  color: var(--muted-foreground-50, rgba(0,0,0,0.3));
}

/* Password toggle */
.l-auth-pw-toggle {
  position: absolute; right: 12px;
  background: none; border: none; cursor: pointer;
  color: var(--muted-foreground); padding: 4px;
  display: flex; align-items: center;
  transition: color 0.15s;
}
.l-auth-pw-toggle:hover { color: var(--foreground); }
.l-auth-pw-toggle svg { width: 18px; height: 18px; }

/* Password requirements */
.l-auth-pw-reqs {
  margin-top: 8px; display: flex; flex-direction: column; gap: 4px;
}
.l-auth-pw-req {
  font-size: 12px; color: var(--muted-foreground);
  display: flex; align-items: center; gap: 6px;
}
.l-auth-pw-req::before {
  content: "○"; font-size: 10px; color: var(--muted-foreground);
}
.l-auth-pw-ok {
  color: #047857;
}
.l-auth-pw-ok::before {
  content: "●" !important; color: #047857 !important;
}

/* Checkboxes */
.l-auth-checks {
  display: flex; flex-direction: column; gap: 12px;
}
.l-auth-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5;
  color: #475569; cursor: pointer;
  padding: 10px 12px; border-radius: 10px;
  background: #f8fafc;
  transition: background 0.15s;
}
.l-auth-check input[type="checkbox"] {
  margin-top: 2px; width: 16px; height: 16px;
  accent-color: var(--primary); flex-shrink: 0;
  cursor: pointer;
}
.l-auth-check span { flex: 1; }

/* Error */
.l-auth-error {
  padding: 10px 14px; border-radius: 10px;
  border: 1px solid rgba(239,68,68,0.2);
  background: rgba(239,68,68,0.06);
  font-size: 13px; color: #dc2626;
}

/* Submit button */
.l-auth-submit {
  width: 100%; padding: 14px 24px; border-radius: 12px;
  background: linear-gradient(135deg, #064e3b, #047857, #059669);
  color: #fff;
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: 0.02em;
}
.l-auth-submit:hover { opacity: 0.92; }
.l-auth-submit:active { transform: scale(0.99); }
.l-auth-submit:disabled { opacity: 0.5; cursor: default; }

.l-auth-submit-hint {
  margin-top: 8px; font-size: 12px;
  color: var(--muted-foreground); text-align: center;
}

/* Switch link */
.l-auth-switch {
  margin-top: 24px; text-align: center;
  font-size: 14px; color: var(--muted-foreground);
}

/* Shared link style */
.l-auth-link {
  color: var(--primary); font-weight: 500;
  text-decoration: none; transition: opacity 0.15s;
}
.l-auth-link:hover { opacity: 0.8; text-decoration: underline; }

/* ══════════════════════════════════════════════════════
   服务条款 / 隐私政策页
   ══════════════════════════════════════════════════════ */

.l-legal-page {
  min-height: 100vh; background: var(--background);
}
.l-legal-container {
  max-width: 896px; margin: 0 auto;
  padding: 48px 16px;
}
@media (min-width: 640px) { .l-legal-container { padding: 48px 24px; } }

.l-legal-header {
  text-align: center; margin-bottom: 48px;
}
.l-legal-header h1 {
  font-size: 36px; font-weight: 700;
  color: var(--foreground); line-height: 1.1;
}
.l-legal-updated {
  margin-top: 8px; font-size: 14px;
  color: var(--muted-foreground);
}

/* Notice box */
.l-legal-notice {
  padding: 16px; border-radius: 8px;
  background: var(--muted-50, rgba(0,0,0,0.04));
  border: 1px solid var(--border); border-radius: 6px;
  margin-bottom: 48px;
}
.l-legal-notice p {
  font-size: 14px; line-height: 1.6;
  color: var(--foreground);
}
.l-legal-notice p:last-child { margin-top: 8px; }
.l-legal-notice strong { font-weight: 600; }

/* Content prose */
.l-legal-content {
  display: flex; flex-direction: column; gap: 32px;
}
.l-legal-content h2 {
  font-size: 22px; font-weight: 600;
  color: var(--foreground);
  border-bottom: 1px solid var(--border-50);
  padding-bottom: 10px;
}
.l-legal-content p {
  font-size: 15px; line-height: 1.7;
  color: var(--foreground);
}
.l-legal-content ul {
  list-style: disc; padding-left: 24px;
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 8px;
}
.l-legal-content li {
  font-size: 15px; line-height: 1.6;
  color: var(--foreground);
}
.l-legal-content strong { font-weight: 600; }

/* Contact box */
.l-legal-contact {
  padding: 16px; border-radius: 12px;
  border: 1px solid var(--border-50);
  background: var(--muted-30, rgba(0,0,0,0.02));
}
.l-legal-contact p {
  font-size: 14px; color: var(--foreground);
}

/* Footer acknowledgment */
.l-legal-footer-ack {
  margin-top: 16px; padding: 20px;
  border-radius: 12px;
  background: var(--muted-30, rgba(0,0,0,0.02));
  border: 1px solid var(--border-50);
}
.l-legal-footer-ack p {
  font-size: 14px; line-height: 1.6;
  color: var(--muted-foreground);
  text-align: center;
}

/* ══════════════════════════════════════════════════════
   表现统计页
   ══════════════════════════════════════════════════════ */

.l-stats-page {
  min-height: 100vh; background: var(--background);
  padding: 48px 16px;
}
@media (min-width: 640px) { .l-stats-page { padding: 48px 24px; } }
@media (min-width: 1024px) { .l-stats-page { padding: 48px 32px; } }

.l-stats-inner {
  max-width: 1024px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 48px;
}

/* Hero card */
.l-stats-hero {
  position: relative; overflow: hidden;
  border-radius: 40px;
  border: 1px solid var(--border-60);
  background: linear-gradient(135deg, var(--card) 0%, var(--card-97, rgba(255,255,255,0.97)) 60%, var(--background-92, rgba(248,250,252,0.92)) 100%);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.l-stats-hero-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground-70);
}
.l-stats-hero-title {
  margin-top: 12px; font-size: 28px; font-weight: 700;
  color: var(--foreground); line-height: 1.2;
}
@media (min-width: 768px) { .l-stats-hero-title { font-size: 36px; } }
.l-stats-hero-desc {
  margin-top: 12px; font-size: 15px; line-height: 1.6;
  color: var(--muted-foreground); max-width: 640px;
}

/* KPI row inside hero */
.l-stats-kpi-row {
  display: grid; gap: 16px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .l-stats-kpi-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .l-stats-kpi-row { grid-template-columns: repeat(4, 1fr); } }

.l-stats-kpi-card {
  border-radius: 24px;
  border: 1px solid var(--border-50);
  background: var(--card-80, rgba(255,255,255,0.8));
  padding: 20px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.l-stats-kpi-card-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--muted-foreground-70);
}
.l-stats-kpi-card-value {
  margin-top: 12px; font-size: 32px; font-weight: 700;
  color: var(--foreground); line-height: 1;
}
.l-stats-kpi-card-sub {
  margin-top: 6px; font-size: 12px; color: var(--muted-foreground);
}

/* Dual card row */
.l-stats-dual {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .l-stats-dual { grid-template-columns: 3fr 2fr; } }

.l-stats-efficiency {
  border-radius: 32px;
  border: 1px solid var(--border-50);
  background: linear-gradient(135deg, rgba(16,127,86,0.05) 0%, var(--card) 100%);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.l-stats-coverage {
  border-radius: 32px;
  border: 1px solid var(--border-50);
  background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, var(--card) 100%);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.l-stats-efficiency-tag,
.l-stats-coverage-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--muted-foreground-70);
}
.l-stats-efficiency-num,
.l-stats-coverage-num {
  margin-top: 16px; font-size: 40px; font-weight: 700;
  color: var(--foreground); line-height: 1;
}
.l-stats-efficiency-label,
.l-stats-coverage-label {
  margin-top: 8px; font-size: 14px; color: var(--muted-foreground);
}
.l-stats-progress {
  margin-top: 24px; height: 8px; width: 100%;
  border-radius: 999px; background: var(--muted-50, rgba(0,0,0,0.06));
}
.l-stats-progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(16,127,86,0.6));
  transition: width 0.6s ease;
  will-change: width;
}
.l-stats-progress-label {
  margin-top: 8px; display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted-foreground);
}
.l-stats-pct {
  margin-top: 16px; font-size: 28px; font-weight: 700;
  color: var(--foreground);
}

/* Section card (ROI, Cadence, Grade) */
.l-stats-section {
  border-radius: 36px;
  border: 1px solid var(--border-50);
  background: var(--card-80, rgba(255,255,255,0.8));
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.l-stats-section-head {
  display: flex; flex-direction: column; gap: 8px;
}
@media (min-width: 768px) {
  .l-stats-section-head {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}
.l-stats-section-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--muted-foreground-70);
}
.l-stats-section-tag svg { width: 14px; height: 14px; vertical-align: -2px; }
.l-stats-section-title {
  font-size: 20px; font-weight: 700; color: var(--foreground);
}
.l-stats-section-desc {
  margin-top: 8px; font-size: 14px; color: var(--muted-foreground);
  max-width: 768px;
}
.l-stats-section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--border-50);
  background: var(--muted-50, rgba(0,0,0,0.04));
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--muted-foreground);
}

/* ROI grid */
.l-stats-roi-grid {
  display: grid; gap: 16px; margin-top: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .l-stats-roi-grid { grid-template-columns: repeat(2, 1fr); } }
.l-stats-roi-card {
  border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--muted-30, rgba(0,0,0,0.02));
  padding: 16px;
}
.l-stats-roi-card-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--muted-foreground-70);
}
.l-stats-roi-card-head svg { width: 14px; height: 14px; }
.l-stats-roi-card-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.l-stats-roi-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; color: var(--foreground);
}
.l-stats-roi-row .muted { color: var(--muted-foreground); font-size: 12px; }

/* Grade rows */
.l-stats-grade-rows { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.l-stats-grade-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border-30, rgba(0,0,0,0.06));
  font-size: 14px;
}
.l-stats-grade-row:last-child { border-bottom: none; }
.l-stats-grade-row .label { font-weight: 600; color: var(--foreground); }
.l-stats-grade-row .sub { color: var(--muted-foreground); font-size: 12px; margin-left: 8px; }
.l-stats-grade-row .value { font-weight: 700; }

/* Cadence chips */
.l-stats-chips {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
}
.l-stats-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--muted-50, rgba(0,0,0,0.04));
  font-size: 14px; color: var(--muted-foreground);
}
.l-stats-chip strong {
  display: block; font-size: 18px; font-weight: 700;
  color: var(--foreground); line-height: 1;
}

/* CTA buttons */
.l-stats-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
}
.l-stats-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 600; border: none; cursor: pointer;
  text-decoration: none; transition: opacity 0.2s;
}
.l-stats-cta-primary:hover { opacity: 0.9; }
.l-stats-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px;
  border: 1px solid var(--border-50);
  background: var(--muted-50, rgba(0,0,0,0.04));
  font-size: 14px; font-weight: 600; color: var(--foreground);
  cursor: pointer; text-decoration: none; transition: background 0.2s;
}
.l-stats-cta-ghost:hover { background: var(--muted, rgba(0,0,0,0.08)); }

/* CTA link row */
.l-stats-link-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 24px;
}
.l-stats-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  text-decoration: none; transition: opacity 0.2s;
}
.l-stats-link:hover { opacity: 0.8; }
.l-stats-link svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════════
   赛后复盘页
   ══════════════════════════════════════════════════════ */

.l-res-page {
  position: relative; max-width: 1152px;
  margin: 0 auto; display: flex; flex-direction: column;
  gap: 32px; padding: 40px 16px;
}
@media (min-width: 640px) { .l-res-page { padding: 40px 24px; } }

/* Hero */
.l-res-hero {
  position: relative; overflow: hidden;
  border-radius: 40px;
  border: 1px solid var(--border-60);
  background: linear-gradient(135deg, var(--card) 0%, var(--card-97, rgba(255,255,255,0.97)) 60%, var(--background-92, rgba(248,250,252,0.92)) 100%);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.l-res-hero-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground-70);
}
.l-res-hero-title {
  margin-top: 12px; font-size: 28px; font-weight: 700;
  color: var(--foreground); line-height: 1.2;
}
@media (min-width: 768px) { .l-res-hero-title { font-size: 36px; } }
.l-res-hero-desc {
  margin-top: 12px; font-size: 15px; line-height: 1.6;
  color: var(--muted-foreground); max-width: 640px;
}

/* Filter bar */
.l-res-filter-bar {
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 768px) {
  .l-res-filter-bar {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}
.l-res-filter-left {
  display: flex; flex-direction: column; gap: 4px;
}
.l-res-filter-left .label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--muted-foreground-70);
}
.l-res-filter-left .desc {
  font-size: 14px; color: var(--muted-foreground);
}
.l-res-filter-right {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.l-res-filter-group {
  display: flex; align-items: center; gap: 8px;
}
.l-res-filter-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--muted-foreground-70);
}
.l-res-filter-count {
  font-size: 12px; color: var(--muted-foreground);
}
.l-res-filter-select {
  padding: 10px 40px 10px 16px; border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--muted-50, rgba(0,0,0,0.04));
  font-size: 14px; color: var(--foreground);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.15s;
}
.l-res-filter-select:hover { border-color: var(--border); }
.l-res-filter-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  text-decoration: none; transition: opacity 0.15s;
  white-space: nowrap;
}
.l-res-filter-link:hover { opacity: 0.8; }
.l-res-filter-link svg { width: 14px; height: 14px; }

/* Cards grid */
.l-res-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .l-res-grid { grid-template-columns: repeat(1, 1fr); } }
@media (min-width: 768px) { .l-res-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .l-res-grid { grid-template-columns: repeat(3, 1fr); } }

/* Match card */
.l-res-card {
  border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.l-res-card:hover {
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.08));
  border-color: var(--border);
}

/* League badge */
.l-res-league-badge {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px; font-weight: 500;
  color: var(--foreground);
  white-space: nowrap;
}

/* Teams */
.l-res-teams {
  font-size: 18px; font-weight: 600;
  color: var(--foreground); line-height: 1.3;
}
.l-res-vs {
  font-weight: 400; color: var(--muted-foreground);
  font-size: 14px; margin: 0 4px;
}

/* Pick & Result lines */
.l-res-pick {
  margin-top: 8px; font-size: 14px;
  color: var(--muted-foreground);
}
.l-res-pick-val {
  font-weight: 500; color: var(--foreground);
}
.l-res-res-line {
  font-size: 14px; color: var(--muted-foreground);
}
.l-res-res-val {
  font-weight: 500; color: var(--foreground);
}

/* Legs container */
.l-res-legs {
  margin-top: 16px; display: flex; flex-direction: column; gap: 8px;
}

/* Single leg row */
.l-res-leg {
  border-radius: 12px;
  border: 1px solid var(--border-50);
  padding: 10px 14px;
  background: var(--muted-20, rgba(0,0,0,0.02));
  transition: border-color 0.15s;
}
.l-res-leg-primary {
  border-color: var(--primary-20, rgba(16,127,86,0.2));
  background: var(--primary-5, rgba(16,127,86,0.04));
}

.l-res-leg-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.l-res-leg-market {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--muted-foreground-70);
}
.l-res-leg-role {
  font-size: 11px; color: var(--muted-foreground);
}

.l-res-leg-body {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.l-res-leg-play {
  font-size: 15px; font-weight: 600; color: var(--foreground);
}
.l-res-leg-odds {
  font-size: 13px; color: var(--muted-foreground);
}

.l-res-leg-result {
  margin-top: 8px;
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

.l-res-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-40);
}

.l-res-detail-hint {
  min-width: 0;
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.45;
}

.l-res-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 8px 13px;
  border: 1px solid rgba(16,127,86,0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16,127,86,0.11), rgba(16,127,86,0.06));
  color: var(--primary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.l-res-detail-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(16,127,86,0.32);
  background: linear-gradient(135deg, rgba(16,127,86,0.16), rgba(16,127,86,0.08));
}

.l-res-detail-btn svg {
  width: 13px;
  height: 13px;
}

/* Score line */
.l-res-score-line {
  margin-top: 4px; font-size: 14px; color: var(--muted-foreground);
}
.l-res-score-line strong {
  color: var(--foreground); font-weight: 600;
}

/* Result colors */
.l-res-result-correct {
  color: #047857;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
}
@media (prefers-color-scheme: dark) {
  .l-res-result-correct { color: #34d399; background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.2); }
}
.l-res-result-incorrect {
  color: #dc2626;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
}
@media (prefers-color-scheme: dark) {
  .l-res-result-incorrect { color: #f87171; background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.2); }
}
.l-res-result-pending {
  color: var(--muted-foreground);
  background: var(--muted-30, rgba(0,0,0,0.04));
  border: 1px solid var(--border-50);
}

/* Pagination */
.l-res-pagination {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px;
}
.l-res-pagination-info {
  font-size: 14px; color: var(--muted-foreground);
  display: flex; align-items: center; gap: 6px;
}
.l-res-pagination-info strong {
  color: var(--foreground); font-weight: 600;
}
.l-res-pagination-btns {
  display: flex; gap: 8px;
}
.l-res-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 8px 16px; border-radius: 12px;
  border: 1px solid var(--border-50);
  background: var(--background); color: var(--foreground);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.l-res-page-btn:hover { background: var(--muted-50, rgba(0,0,0,0.04)); }
.l-res-page-btn:disabled { opacity: 0.4; cursor: default; }
.l-res-page-btn svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════════
   个人中心页
   ══════════════════════════════════════════════════════ */

.l-acct-page {
  position: relative; max-width: 1280px;
  margin: 0 auto; display: flex; flex-direction: column;
  gap: 24px; padding: 40px 16px;
}
@media (min-width: 640px) { .l-acct-page { padding: 40px 24px; } }

/* Hero */
.l-acct-hero {
  position: relative; overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--border-50);
  background: linear-gradient(135deg, var(--card) 0%, var(--card-97, rgba(255,255,255,0.97)) 60%, var(--background-92, rgba(248,250,252,0.92)) 100%);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) { .l-acct-hero { padding: 40px; } }

.l-acct-hero-glow {
  pointer-events: none; position: absolute;
  inset-x: 0; top: 0; height: 128px;
  background: linear-gradient(to right, rgba(16,185,129,0.15), rgba(16,127,86,0.2), rgba(59,130,246,0.15));
  filter: blur(48px);
}

.l-acct-hero-inner {
  position: relative; display: flex;
  flex-direction: column; gap: 24px;
}
@media (min-width: 1024px) {
  .l-acct-hero-inner { flex-direction: row; align-items: center; }
}

.l-acct-hero-left {
  display: flex; flex: 1; align-items: center; gap: 16px;
}
.l-acct-avatar {
  width: 80px; height: 80px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(16,185,129,0.9), var(--primary));
  color: #fff; font-size: 22px; font-weight: 600;
  border: 1px solid var(--border-50);
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.l-acct-hero-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.4em; color: var(--muted-foreground);
}
.l-acct-hero-email {
  margin-top: 6px; font-size: 24px; font-weight: 600;
  color: var(--foreground); word-break: break-all; line-height: 1.2;
}
@media (min-width: 768px) { .l-acct-hero-email { font-size: 30px; } }
.l-acct-hero-tags {
  margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--muted-foreground);
}
.l-acct-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px; border-radius: 9999px;
  border: 1px solid var(--border-50);
  font-size: 12px;
}
.l-acct-tag svg { width: 12px; height: 12px; }
.l-acct-tag-ok {
  border-color: rgba(16,185,129,0.4);
  background: rgba(16,185,129,0.1);
  color: #047857;
}
.l-acct-tag-warn {
  border-color: rgba(245,158,11,0.4);
  background: rgba(245,158,11,0.1);
  color: #d97706;
}

.l-acct-hero-right {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .l-acct-hero-right { flex-direction: row; align-items: center; }
}
.l-acct-plan-box {
  border-radius: 24px;
  border: 1px solid var(--border-50);
  background: var(--muted-30, rgba(0,0,0,0.03));
  padding: 16px 20px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  backdrop-filter: blur(4px);
}
.l-acct-plan-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground);
}
.l-acct-plan-name {
  margin-top: 6px; font-size: 20px; font-weight: 600;
  color: var(--foreground);
}
.l-acct-plan-badge {
  display: inline-flex; padding: 2px 10px; border-radius: 9999px;
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--border);
  color: var(--foreground);
  margin-top: 6px;
}
.l-acct-manage-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 24px; border-radius: 16px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: opacity 0.15s; white-space: nowrap;
}
.l-acct-manage-btn:hover { opacity: 0.92; }
.l-acct-manage-btn svg { width: 14px; height: 14px; margin-left: 4px; }

/* Hero KPIs */
.l-acct-hero-kpis {
  position: relative; margin-top: 24px;
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .l-acct-hero-kpis { grid-template-columns: repeat(3, 1fr); } }
.l-acct-hero-kpi {
  border-radius: 16px;
  border: 1px solid var(--border-30, rgba(0,0,0,0.06));
  background: var(--muted-30, rgba(0,0,0,0.03));
  padding: 12px 16px; text-align: center;
  font-size: 12px;
}
.l-acct-hero-kpi-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.3em; color: var(--muted-foreground);
}
.l-acct-hero-kpi-value {
  margin-top: 6px; font-size: 15px; font-weight: 600;
  color: var(--foreground); text-transform: none; letter-spacing: normal;
}

/* Dual column */
.l-acct-dual {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .l-acct-dual { grid-template-columns: minmax(0,1.5fr) minmax(0,0.8fr); }
}

/* Cards shared */
.l-acct-details-card,
.l-acct-actions-card {
  border-radius: 32px;
  border: 1px solid var(--border-50);
  background: var(--card-80, rgba(255,255,255,0.8));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s;
  overflow: hidden;
}
.l-acct-details-card:hover,
.l-acct-actions-card:hover { box-shadow: var(--shadow-xl); }

.l-acct-card-header {
  display: flex; flex-direction: column;
  padding: 24px; gap: 4px;
}
.l-acct-card-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground);
}
.l-acct-card-title {
  font-size: 24px; font-weight: 600;
  color: var(--foreground);
}
.l-acct-card-body {
  display: flex; flex-direction: column; gap: 14px;
  padding: 0 24px 24px;
}

/* Detail row */
.l-acct-detail-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px; border-radius: 24px;
  border: 1px solid var(--border-50);
  background: var(--card-60, rgba(255,255,255,0.6));
  backdrop-filter: blur(4px);
  transition: border-color 0.15s;
}
.l-acct-detail-row:hover { border-color: var(--border); }
.l-acct-detail-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  border: 1px solid var(--border-30);
  background: var(--muted-50, rgba(0,0,0,0.04));
  color: var(--primary);
}
.l-acct-detail-icon svg { width: 16px; height: 16px; }
.l-acct-detail-body { flex: 1; min-width: 0; }
.l-acct-detail-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground);
}
.l-acct-detail-value {
  margin-top: 4px; display: flex; align-items: center; gap: 8px;
}
.l-acct-detail-value p {
  font-size: 14px; font-weight: 500; color: var(--foreground);
  word-break: break-all;
}
.l-acct-copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 8px;
  border: none; background: transparent;
  color: var(--muted-foreground); cursor: pointer;
  transition: background 0.15s;
}
.l-acct-copy-btn:hover { background: var(--muted-50, rgba(0,0,0,0.04)); }
.l-acct-copy-btn svg { width: 12px; height: 12px; }

/* Action row */
.l-acct-action-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--muted-30, rgba(0,0,0,0.03));
  text-decoration: none; color: var(--foreground);
  font-size: 14px; transition: background 0.15s, border-color 0.15s;
}
.l-acct-action-row:hover {
  background: var(--muted-50, rgba(0,0,0,0.05));
  border-color: var(--border);
}
.l-acct-action-row > svg:first-child { flex-shrink: 0; color: var(--muted-foreground); }
.l-acct-action-body { flex: 1; }
.l-acct-action-title { font-weight: 600; font-size: 14px; }
.l-acct-action-desc { font-size: 12px; color: var(--muted-foreground); margin-top: 1px; }
.l-acct-action-row > svg:last-child { opacity: 0.5; flex-shrink: 0; }

/* Divider */
.l-acct-divider {
  height: 1px; background: var(--border-50); margin: 4px 0;
}

/* Status box */
.l-acct-status-box {
  margin-top: 10px; border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--muted-30);
  padding: 14px; display: flex;
  align-items: center; justify-content: space-between;
  gap: 8px; font-size: 14px;
}
.l-acct-status-name { font-weight: 600; color: var(--foreground); }

/* Upgrade box */
.l-acct-upgrade-box {
  margin-top: 4px; border-radius: 24px;
  border: 1px solid rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.08);
  padding: 14px;
}
.l-acct-upgrade-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: #b45309;
}
.l-acct-upgrade-desc {
  margin-top: 6px; font-size: 14px; color: #92400e;
}
.l-acct-upgrade-btn {
  display: block; margin-top: 10px; width: 100%;
  text-align: center; padding: 8px 16px; border-radius: 16px;
  border: 1px solid rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.2);
  color: #92400e; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background 0.15s;
}
.l-acct-upgrade-btn:hover { background: rgba(245,158,11,0.3); }

/* Logout */
.l-acct-logout-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 12px; border-radius: 8px;
  border: none; background: var(--destructive, #dc2626);
  color: #fff; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: opacity 0.15s;
}
.l-acct-logout-btn:hover { opacity: 0.9; }
.l-acct-logout-btn svg { width: 14px; height: 14px; }

/* Bottom 3 cards */
.l-acct-bottom-row {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .l-acct-bottom-row { grid-template-columns: repeat(3, 1fr); } }
.l-acct-bottom-card {
  border-radius: 28px;
  border: 1px solid var(--border-50);
  background: linear-gradient(135deg, var(--card) 0%, var(--card-80, rgba(255,255,255,0.8)) 60%, var(--muted-30) 100%);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.l-acct-bottom-icon {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted-foreground);
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em;
}
.l-acct-bottom-icon svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.l-acct-bottom-value {
  margin-top: 10px; font-size: 20px; font-weight: 600;
  color: var(--foreground);
}

/* ── Page Cards (Subscription / Orders / Notifications) ──── */

.l-page-card {
  background: var(--card);
  border: 1px solid var(--border-60);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.l-page-card-status {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.l-page-card-status-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,127,86,0.1);
  border-radius: 12px;
  color: var(--green);
  flex-shrink: 0;
}
.l-page-card-status-icon svg { width: 22px; height: 22px; }
.l-page-card-kpi {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border-40);
  border-bottom: 1px solid var(--border-40);
  margin-bottom: 20px;
}
.l-page-card-kpi-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.l-page-card-kpi-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--foreground);
}
.l-page-card-kpi-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.l-page-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Page Table (Orders) ─────────────────────────────────── */

.l-page-table-wrap {
  background: var(--card);
  border: 1px solid var(--border-60);
  border-radius: var(--radius-2xl);
  overflow-x: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.l-page-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.l-page-table thead {
  background: var(--background-92);
}
.l-page-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--border-40);
  white-space: nowrap;
}
.l-page-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-30);
  vertical-align: middle;
}
.l-page-table tbody tr:last-child td { border-bottom: none; }
.l-page-table tbody tr:hover {
  background: var(--background-95, rgba(0,0,0,0.02));
}

/* ── Notifications ───────────────────────────────────────── */

.l-notif-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--border-60);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.l-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-30);
}
.l-notif-item:last-child { border-bottom: none; }
.l-notif-item:hover { background: var(--background-95, rgba(0,0,0,0.02)); }
.l-notif-item.unread { background: rgba(16,127,86,0.04); }
.l-notif-item.unread:hover { background: rgba(16,127,86,0.07); }
.l-notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}
.l-notif-dot.read { background: var(--border); }
.l-notif-body {
  flex: 1;
  min-width: 0;
}
.l-notif-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 4px;
}
.l-notif-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.l-notif-time {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.l-notif-arrow {
  flex-shrink: 0;
  color: var(--muted);
  margin-top: 3px;
}
.l-notif-arrow svg { width: 16px; height: 16px; }

/* ── Strategy Cards (懒人计划) ── */
.l-strategy-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .l-strategy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .l-strategy-grid { grid-template-columns: repeat(3, 1fr); } }
.l-strategy-card {
  padding: 24px; border-radius: 20px;
  border: 1px solid var(--border-60);
  background: var(--card); transition: all 0.2s;
}
.l-strategy-card:hover {
  border-color: rgba(16,127,86,0.20);
  box-shadow: 0 12px 32px -16px rgba(15,23,42,0.12);
}
.l-strategy-card-icon { font-size: 32px; margin-bottom: 12px; }
.l-strategy-card-name { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.l-strategy-card-desc { font-size: 13px; color: var(--muted-foreground); margin: 0 0 10px; line-height: 1.5; }
.l-strategy-card-stats {
  display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px;
}
.l-strategy-card-bt-stats {
  display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px;
  padding: 6px 10px; border-radius: 8px;
  background: rgba(59,130,246,0.04); border: 1px solid rgba(59,130,246,0.1);
}
.l-strategy-card-bt-stats .l-strategy-stat {
  font-size: 11px;
}
.l-strategy-stat {
  font-size: 12px; color: var(--muted-foreground);
  display: inline-flex; align-items: center; gap: 4px;
}
.l-strategy-stat strong { color: var(--foreground); font-weight: 600; }
.l-strategy-stat.up, .l-strategy-stat.up strong { color: var(--green); }
.l-strategy-stat.down, .l-strategy-stat.down strong { color: var(--red); }
.l-strategy-stat svg { width: 12px; height: 12px; }
.l-strategy-perf-stat svg { width: 12px; height: 12px; vertical-align: -1px; }
.l-strategy-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.l-strategy-card-count { font-size: 12px; color: var(--muted-foreground); }
.l-strategy-card-subbed {
  font-size: 12px; color: var(--primary); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.l-strategy-sub-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 16px; border-radius: 999px; border: none;
  background: var(--primary); color: #fff; font-size: 13px;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.l-strategy-sub-btn:hover { opacity: 0.90; transform: translateY(-1px); }
.l-strategy-unsub-btn {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border-60); background: transparent;
  color: var(--red, #dc2626); cursor: pointer;
}
.l-strategy-card-perf {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px; padding: 10px 12px;
  border-radius: 10px; background: rgba(0,0,0,0.03);
}
.l-strategy-perf-stat {
  font-size: 12px; color: var(--muted-foreground);
  display: flex; align-items: center; gap: 4px;
}
.l-strategy-perf-stat strong { color: var(--foreground); }

/* ── Lazy Plan section (Landing page) ── */
.l-lazy-section {
  padding: 64px 0;
}
.l-lazy-inner {
  max-width: 860px; margin: 0 auto; padding: 0 24px;
}
.l-lazy-header {
  text-align: center; margin-bottom: 24px;
}
.l-lazy-header h2 {
  font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 12px;
}
.l-lazy-header p {
  font-size: 15px; color: var(--muted-foreground); line-height: 1.6; max-width: 560px; margin: 0 auto;
}
.l-lazy-actions {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.l-lazy-hint {
  font-size: 12px; color: var(--muted-foreground);
}

/* Final landing responsive overrides. Kept at file end to win cascade order. */
@media (max-width: 860px) {
  .app-main.landing-main { gap: 0; }
  .l-acq-section,
  .l-trial-section,
  .l-landing-stats-section {
    width: 100%;
  }
  .l-lazy-section { padding: 44px 0; }
  .l-lazy-inner { padding: 0; max-width: 100%; }
  .l-lazy-header { margin-bottom: 20px; }
  .l-lazy-header h2 { font-size: 28px; margin: 8px 0; }
  .l-lazy-header p { font-size: 14.5px; line-height: 1.55; }
  .l-hero-stats { display: none; }
  .l-hero-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
  }
  .trust-chip {
    justify-content: center;
    padding: 7px 8px;
    font-size: 11px;
    gap: 5px;
    text-align: center;
  }
}

@media (min-width: 560px) and (max-width: 860px) {
  .l-results-grid,
  .l-schedule-grid,
  .l-features-cards-grid,
  .l-strategy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .l-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .l-lazy-section { padding: 36px 0; }
  .l-hero-trust-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Footixify-inspired polish: compact AI SaaS decision UI ── */
body {
  background:
    radial-gradient(circle at 16% 0%, rgba(16,127,86,0.10), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(15,23,42,0.06), transparent 28%),
    linear-gradient(180deg, #fbfdfc 0%, #f6faf8 46%, #ffffff 100%);
}

.public-shell {
  width: min(1180px, calc(100% - 48px));
}

.topbar {
  height: 60px;
  margin-top: 14px;
  padding: 0 14px 0 18px;
  border-radius: 20px;
  border-color: rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.84);
  box-shadow: 0 18px 44px -34px rgba(15,23,42,0.36);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  box-shadow: 0 12px 26px -16px rgba(16,127,86,0.75);
}

.nav-tabs {
  gap: 2px;
  padding: 3px;
  border-radius: 15px;
  border: 1px solid rgba(15,23,42,0.05);
  background: rgba(248,250,252,0.78);
}

.nav-tabs a {
  height: 34px;
  border-radius: 12px;
  font-size: 13px;
}

.nav-tabs a.active {
  background: #fff;
  box-shadow: 0 8px 20px -18px rgba(15,23,42,0.55);
}

.primary-button,
.l-hero-btn,
.l-strategy-sub-btn,
.l-pricing-card-btn.primary {
  background: linear-gradient(135deg, #0f7a54, #10a56d);
  box-shadow: 0 14px 30px -18px rgba(16,127,86,0.90);
}

.ghost-button,
.l-hero-btn-ghost {
  background: rgba(255,255,255,0.76);
  border-color: rgba(15,23,42,0.10);
}

.badge-pill {
  border-color: rgba(16,127,86,0.14);
  background: rgba(255,255,255,0.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.l-hero-section {
  padding: 64px 0 46px;
}

@media (min-width: 1024px) {
  .l-hero-section { padding: 78px 0 54px; }
}

.l-hero {
  grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
  align-items: center;
  gap: 46px;
  padding: 18px 0 10px;
}

.l-hero-left {
  max-width: 620px;
}

.l-hero h1 {
  max-width: 650px;
  font-size: clamp(38px, 4.7vw, 56px);
  line-height: 1.03;
  margin-bottom: 18px;
}

.l-hero h1 .l-hero-h1-model,
.l-hero h1 .l-hero-h1-result {
  display: block;
}

.l-hero-desc {
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.72;
  margin-bottom: 24px;
}

.l-hero-actions {
  margin-bottom: 22px;
}

.l-hero-stats {
  max-width: 560px;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 40px -34px rgba(15,23,42,0.45);
}

.l-hero-stats > div {
  padding: 14px 16px;
  border-right: 1px solid rgba(15,23,42,0.06);
}

.l-hero-stats > div:last-child {
  border-right: none;
}

.l-hero-stat-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.l-hero-trust-grid {
  max-width: 560px;
  margin-top: 16px;
}

.trust-chip {
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.06);
  background: rgba(255,255,255,0.66);
}

.l-hero-right {
  gap: 0;
}

.l-proof-mini {
  display: none;
}

.l-live-card {
  border-radius: 30px;
  border-color: rgba(16,127,86,0.16);
  background:
    radial-gradient(circle at 86% 12%, rgba(16,127,86,0.16), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(241,252,247,0.84));
  padding: 26px;
  box-shadow: 0 30px 70px -42px rgba(15,23,42,0.44);
}

.l-live-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(16,127,86,0), rgba(16,127,86,0.45), rgba(16,127,86,0));
}

.l-live-card-glow {
  width: 220px;
  height: 220px;
  right: -78px;
  top: -92px;
  background: rgba(16,127,86,0.13);
}

.l-live-match {
  text-align: left;
}

.l-live-match h3 {
  justify-content: flex-start;
  margin-bottom: 16px;
  font-size: clamp(24px, 2.7vw, 31px);
}

.l-live-grid {
  gap: 9px;
}

.l-live-grid div {
  border-color: rgba(15,23,42,0.07);
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70);
}

.l-live-note,
.l-live-empty {
  border: 1px solid rgba(16,127,86,0.10);
  background: rgba(255,255,255,0.62);
}

.l-lazy-section {
  position: relative;
  overflow: hidden;
  margin: 18px auto;
  padding: 62px 34px;
  max-width: 1120px;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 34px;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 24px 64px -56px rgba(15,23,42,0.42);
}

.l-lazy-header {
  max-width: 768px;
  margin: 0 auto 32px;
  text-align: center;
}

.l-lazy-header h2 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.l-lazy-header p {
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.l-lazy-cta {
  max-width: 768px;
  margin: 32px auto 0;
  padding: 28px 32px;
  border: 1px solid var(--primary-20);
  border-radius: var(--r-2xl);
  background: var(--background-60);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 640px) {
  .l-lazy-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.l-lazy-cta-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.l-lazy-cta-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.6;
}

.l-lazy-cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.l-lazy-cta .primary-button,
.l-lazy-cta .ghost-button {
  padding: 10px 22px;
  font-size: 13.5px;
  white-space: nowrap;
}

.l-results-section,
.l-pricing-section,
.l-features-section {
  margin: 18px 0;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 34px;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 24px 64px -56px rgba(15,23,42,0.42);
}

.l-results-section,
.l-pricing-section {
  padding: 62px 34px;
}

.l-features-section {
  padding: 72px 34px;
}

.l-acq-section,
.l-trial-section,
.l-landing-stats-section {
  padding: 56px 0;
}

.l-results-header h2,
.l-pricing-header h2,
.l-acq-header h2,
.l-features-left h2,
.l-faq-header h2 {
  letter-spacing: -0.045em;
}

.l-result-card,
.l-feature-card,
.l-strategy-card,
.l-plan,
.plan-card,
.l-schedule-card,
.l-trial-card,
.l-stat-card,
.l-faq-card,
.l-faq-item {
  border-color: rgba(15,23,42,0.07);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 16px 42px -36px rgba(15,23,42,0.55);
}

.l-result-card,
.l-feature-card,
.l-strategy-card,
.l-plan {
  border-radius: 22px;
}

.l-result-card:hover,
.l-feature-card:hover,
.l-strategy-card:hover,
.l-plan:hover,
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px -38px rgba(15,23,42,0.52);
}

.l-strategy-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(16,127,86,0.08);
}

.l-strategy-card-stats,
.l-strategy-card-perf {
  background: rgba(16,127,86,0.055);
}

@media (min-width: 1024px) {
  .l-pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .l-plan {
    padding: 28px 18px;
  }
}

@media (max-width: 860px) {
  .public-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    margin-top: 8px;
    border-radius: 18px;
  }

  .l-hero-section {
    padding: 26px 0 30px;
  }

  .l-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0;
  }

  .l-hero h1 {
    font-size: clamp(32px, 8vw, 43px);
  }

  .l-live-card {
    border-radius: 24px;
    padding: 18px;
  }

  .l-lazy-section,
  .l-results-section,
  .l-pricing-section,
  .l-features-section {
    border-radius: 26px;
    padding: 38px 16px;
  }

  .l-lazy-cta {
    padding: 20px;
  }

  .l-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .public-shell {
    width: calc(100% - 18px);
  }

  .topbar {
    border-radius: 16px;
  }

  .nav-tabs {
    padding: 2px;
  }

  .l-hero h1 {
    font-size: 32px;
  }

  .l-hero-desc {
    font-size: 14.5px;
  }

  .l-hero-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .trust-chip {
    min-height: 34px;
    padding: 6px 5px;
    font-size: 10px;
    line-height: 1.25;
  }

  .trust-dot {
    display: none;
  }

  .l-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .l-live-grid div {
    padding: 9px;
  }

  .l-live-grid span {
    font-size: 10.5px;
    margin-bottom: 3px;
  }

  .l-live-grid strong {
    font-size: 12.5px;
  }

  .l-pricing-grid {
    grid-template-columns: 1fr;
  }

  .l-results-section,
  .l-pricing-section,
  .l-features-section,
  .l-lazy-section {
    padding: 32px 12px;
    border-radius: 22px;
  }

  .l-lazy-cta-actions {
    gap: 8px;
  }
}

/* ── Match detail: professional decision report ── */
.l-detail-page {
  display: grid;
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 0 64px;
}

/* Section rhythm: vary gaps for hierarchy */
.l-detail-page > .l-detail-actions { margin-bottom: 20px; }
.l-detail-page > .l-detail-hero { margin-bottom: 24px; }
.l-detail-page > .l-detail-dashboard { margin-bottom: 28px; }
.l-detail-page > .l-detail-decision-card { margin-bottom: 28px; }
.l-detail-page > .l-detail-content-grid { margin-bottom: 32px; }
.l-detail-page > .l-detail-unlock-card { margin-bottom: 32px; }
.l-detail-page > .l-detail-review-card { margin-bottom: 0; }

.l-detail-actions {
  margin-bottom: 0;
}

.l-detail-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: stretch;
  min-height: 250px;
  border: 1px solid rgba(16,127,86,0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(16,127,86,0.18), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(240,253,247,0.82));
  padding: 30px;
  box-shadow: 0 28px 72px -52px rgba(15,23,42,0.45);
}

.l-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15,23,42,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at top right, #000 0%, transparent 62%);
  pointer-events: none;
}

.l-detail-hero-main,
.l-detail-hero-panel {
  position: relative;
  z-index: 1;
}

.l-detail-kicker,
.l-detail-section-head > span,
.l-detail-unlock-tag {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.l-detail-hero h1 {
  display: grid;
  gap: 6px;
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.l-detail-hero h1 em {
  color: var(--muted-foreground-70);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.l-detail-meta,
.l-detail-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.l-detail-meta span,
.l-detail-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 700;
}

.l-detail-hero-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 26px;
  background: rgba(255,255,255,0.76);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.l-detail-hero-panel > span,
.l-detail-metric-card > span,
.l-detail-final-box > span,
.l-detail-review-score span,
.l-detail-review-item span,
.l-detail-review-note span {
  color: var(--muted-foreground-70);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.l-detail-hero-panel strong {
  color: var(--primary);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.l-detail-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Metric cards: subtle, flat */
.l-detail-metric-card {
  border: 1px solid rgba(15,23,42,0.06);
  background: rgba(248,250,252,0.8);
  box-shadow: none;
}

/* Primary content cards: clean, elevated */
.l-detail-card {
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}

/* Unlock CTA card: accent treatment */
.l-detail-unlock-card {
  border: 1px solid rgba(16,127,86,0.18);
  background: linear-gradient(135deg, rgba(240,253,247,0.6), rgba(255,255,255,0.9));
  box-shadow: 0 4px 16px -8px rgba(16,127,86,0.15);
}

.l-detail-metric-card {
  display: grid;
  gap: 7px;
  border-radius: 22px;
  padding: 18px;
}

.l-detail-metric-card strong {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.l-detail-metric-card p,
.l-detail-section-head p,
.l-detail-final-box p,
.l-detail-prose,
.l-detail-unlock-card p {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.65;
}

.l-detail-card {
  border-radius: 28px;
  padding: 24px;
}

.l-detail-section-head {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.l-detail-section-head.compact {
  margin-bottom: 14px;
}

.l-detail-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.l-detail-decision-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.l-detail-final-box {
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(16,127,86,0.13);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16,127,86,0.10), rgba(255,255,255,0.66));
  padding: 20px;
}

.l-detail-final-box strong {
  color: var(--primary);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.l-detail-leg-list {
  display: grid;
  gap: 9px;
}

.l-detail-leg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 18px;
  background: rgba(248,250,252,0.72);
  padding: 13px 15px;
}

.l-detail-leg-market {
  color: var(--muted-foreground-70);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.l-detail-leg-play {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
}

.l-detail-leg-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.l-detail-leg-odds {
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.l-detail-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.l-detail-status.good,
.l-detail-review-item .good {
  color: #047857;
}

.l-detail-status.good {
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.22);
}

.l-detail-status.bad,
.l-detail-review-item .bad {
  color: #dc2626;
}

.l-detail-status.bad {
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.22);
}

.l-detail-status.neutral,
.l-detail-review-item .neutral {
  color: var(--muted-foreground);
}

.l-detail-status.neutral {
  background: var(--muted-40);
  border: 1px solid var(--border-60);
}

.l-detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
}

.l-detail-prose {
  display: grid;
  gap: 10px;
  border-radius: 18px;
  background: rgba(248,250,252,0.68);
  padding: 16px;
}

.l-detail-prose p {
  margin: 0;
}

.l-detail-reason-flow {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.l-detail-reason-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
}

.l-detail-reason-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: -11px;
  width: 1px;
  background: linear-gradient(180deg, rgba(16,127,86,0.32), rgba(16,127,86,0.04));
}

.l-detail-reason-index {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  border: 1px solid rgba(16,127,86,0.18);
  background: linear-gradient(135deg, rgba(16,127,86,0.13), rgba(255,255,255,0.84));
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
}

.l-detail-reason-body {
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 18px;
  background: rgba(248,250,252,0.76);
  padding: 13px 15px;
}

.l-detail-reason-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.l-detail-reason-top strong {
  color: var(--foreground);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.l-detail-reason-top span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16,127,86,0.08);
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.l-detail-reason-body p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.65;
}

.l-detail-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.l-detail-analysis-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 178px;
  border: 1px solid rgba(16,127,86,0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  padding: 15px;
}

.l-detail-analysis-card span {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.l-detail-analysis-card strong {
  color: var(--foreground);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.l-detail-analysis-card p {
  margin: 0;
  color: var(--foreground);
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.72;
}

.l-detail-evidence-list,
.l-detail-risk-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.l-detail-evidence-list li,
.l-detail-risk-list li {
  position: relative;
  padding-left: 18px;
  color: var(--foreground);
  font-size: 13px;
  line-height: 1.6;
}

.l-detail-evidence-list li::before,
.l-detail-risk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.l-detail-risk-list li::before {
  background: #d97706;
}

.l-detail-side-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

/* Sidebar cards: recessed, secondary */
.l-detail-side-stack .l-detail-card {
  background: rgba(248,250,252,0.6);
  border-color: rgba(15,23,42,0.05);
  box-shadow: none;
}

.l-detail-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.l-detail-tech-grid span {
  display: grid;
  place-items: center;
  min-height: 50px;
  border: 1px solid rgba(16,127,86,0.12);
  border-radius: 16px;
  background: rgba(16,127,86,0.055);
  color: var(--foreground);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.l-detail-unlock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(16,127,86,0.14), transparent 28%),
    rgba(255,255,255,0.80);
  padding: 22px 24px;
}

.l-detail-unlock-card h2 {
  margin: 6px 0 6px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.l-detail-review-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.l-detail-review-score,
.l-detail-review-item,
.l-detail-review-note {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 20px;
  background: rgba(248,250,252,0.72);
  padding: 16px;
}

.l-detail-review-score strong {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.l-detail-review-item strong {
  font-size: 18px;
  font-weight: 850;
}

.l-detail-review-note {
  grid-column: 1 / -1;
}

.l-detail-review-note p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.6;
}

.l-detail-empty {
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--muted-foreground);
  padding: 18px;
  text-align: center;
}

@media (max-width: 900px) {
  .l-detail-hero,
  .l-detail-content-grid,
  .l-detail-decision-grid {
    grid-template-columns: 1fr;
  }

  .l-detail-dashboard,
  .l-detail-analysis-grid,
  .l-detail-review-grid {
    grid-template-columns: 1fr;
  }

  .l-detail-unlock-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .l-detail-page {
    gap: 14px;
    padding: 20px 0 44px;
  }

  .l-detail-hero,
  .l-detail-card,
  .l-detail-unlock-card {
    border-radius: 22px;
    padding: 18px;
  }

  .l-detail-hero h1 {
    font-size: 32px;
  }

  .l-detail-hero-panel strong,
  .l-detail-final-box strong {
    font-size: 28px;
  }

  .l-detail-section-head h2,
  .l-detail-unlock-card h2 {
    font-size: 21px;
  }

  .l-detail-leg {
    align-items: flex-start;
    flex-direction: column;
  }

  .l-detail-leg-side {
    width: 100%;
    justify-content: space-between;
  }

  .l-detail-reason-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .l-detail-reason-index {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 11px;
  }

  .l-detail-reason-step:not(:last-child)::before {
    left: 16px;
    top: 36px;
  }

  .l-detail-reason-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* ── Landing detail polish: calmer homepage, clearer mobile behavior ── */
body {
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(248,251,249,0.94) 0%, #ffffff 42%, #f8fafc 100%);
}

.public-shell {
  width: min(1160px, calc(100% - 48px));
}

.topbar {
  border-radius: 16px;
}

.nav-tabs {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.l-hero-section {
  padding: 58px 0 42px;
}

.l-hero-bg {
  background:
    linear-gradient(90deg, rgba(16,127,86,0.07), transparent 42%),
    linear-gradient(180deg, rgba(15,23,42,0.035), transparent 48%);
}
.l-hero-bg-orb1,
.l-hero-bg-orb2,
.l-hero-bg-radial {
  display: none;
}

.l-hero {
  grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
  gap: 40px;
}

.l-hero h1 {
  font-size: clamp(36px, 4.35vw, 54px);
  letter-spacing: 0;
}

.l-hero-desc {
  color: #475569;
}

.l-hero-actions {
  align-items: center;
  gap: 12px;
}

.l-hero-btn,
.l-hero-btn-ghost {
  min-height: 44px;
  border-radius: 12px;
}

.l-hero-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-chip {
  min-width: 0;
  color: #475569;
  line-height: 1.35;
}

.trust-dot.warn {
  background: var(--yellow);
}

.l-live-card,
.l-result-card,
.l-feature-card,
.l-strategy-card,
.l-plan,
.l-schedule-card,
.l-trial-card,
.l-stat-card,
.l-faq-card {
  border-radius: 16px;
}

.l-live-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(247,250,252,0.96));
}

.l-live-card::after,
.l-live-card-glow {
  display: none;
}

.l-live-match h3 {
  line-height: 1.18;
}

.l-live-grid strong {
  overflow-wrap: anywhere;
}

.l-acq-section {
  padding-top: 44px;
}

.l-lazy-section,
.l-results-section,
.l-pricing-section,
.l-features-section {
  border-radius: 20px;
}

.l-trial-side .primary-button,
.l-acq-actions .primary-button,
.l-acq-actions .ghost-button,
.l-lazy-cta .primary-button,
.l-lazy-cta .ghost-button {
  min-height: 42px;
}

@media (max-width: 980px) {
  .topbar {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    white-space: nowrap;
  }

  .nav-tabs {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-user {
    margin-left: auto;
  }

  .l-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .public-shell {
    width: calc(100% - 20px);
  }

  .topbar {
    top: 6px;
  }

  .brand small {
    display: none;
  }

  .brand {
    flex: 0 1 auto;
    width: auto;
    max-width: 128px;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-user {
    max-width: calc(100% - 138px);
  }

  .nav-user .user-badge {
    max-width: 96px;
  }

  .nav-user a,
  .nav-user button {
    height: 32px;
    padding: 0 9px;
  }

  .nav-user a[href="#login"] {
    display: none;
  }

  .l-hero-section {
    padding: 28px 0 30px;
  }

  .l-hero h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .l-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .l-hero-btn,
  .l-hero-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .l-hero-trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-chip {
    min-height: auto;
    justify-content: flex-start;
    padding: 8px 10px;
    font-size: 11.5px;
    text-align: left;
  }

  .trust-dot {
    display: inline-block;
  }

  .l-live-match h3 {
    display: grid;
    gap: 3px;
    font-size: 23px;
  }

  .l-live-match h3 span {
    justify-self: start;
  }

  .l-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .l-pricing-grid {
    grid-template-columns: 1fr;
  }

  .l-lazy-section,
  .l-results-section,
  .l-pricing-section,
  .l-features-section {
    padding: 32px 14px;
    border-radius: 18px;
  }
}

/* ── Landing rails: keep every homepage block on the same width system ── */
:root {
  --landing-section-x: clamp(18px, 3vw, 34px);
  --landing-section-y: clamp(42px, 5vw, 62px);
}

.app-main.landing-main > section {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.app-main.landing-main > .l-hero-section,
.app-main.landing-main > .l-acq-section,
.app-main.landing-main > .l-trial-section,
.app-main.landing-main > .l-landing-stats-section,
.app-main.landing-main > .l-faq-section {
  padding-left: var(--landing-section-x);
  padding-right: var(--landing-section-x);
}

.app-main.landing-main > .l-lazy-section,
.app-main.landing-main > .l-results-section,
.app-main.landing-main > .l-pricing-section,
.app-main.landing-main > .l-features-section {
  padding: var(--landing-section-y) var(--landing-section-x);
}

.app-main.landing-main > .l-acq-section,
.app-main.landing-main > .l-trial-section,
.app-main.landing-main > .l-landing-stats-section {
  padding-top: var(--landing-section-y);
  padding-bottom: var(--landing-section-y);
}

.l-hero,
.l-schedule-grid,
.l-acq-header,
.l-acq-actions,
.l-results-header,
.l-results-grid,
.l-lazy-header,
#landing-lazy-results,
.l-lazy-cta,
.l-trial-card,
.l-pricing-header,
.l-pricing-grid,
.l-stats-grid,
.l-features-header-grid,
.l-faq-header,
.l-faq-grid {
  max-width: none;
}

.l-lazy-section,
.l-results-section,
.l-pricing-section,
.l-features-section {
  margin: 18px 0;
  border: 0;
  box-shadow:
    inset 0 0 0 1px rgba(15,23,42,0.07),
    0 24px 64px -56px rgba(15,23,42,0.42);
}

.app-main.landing-main > .l-lazy-section .l-lazy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.app-main.landing-main > .l-lazy-section .l-lazy-header .badge-pill {
  align-self: center;
}

.app-main.landing-main > .l-lazy-section .l-lazy-header h2 {
  width: 100%;
  margin: 14px auto 10px;
  text-align: center;
}

.app-main.landing-main > .l-lazy-section .l-lazy-header p {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.l-site-footer {
  margin-left: calc(-1 * var(--landing-section-x));
  margin-right: calc(-1 * var(--landing-section-x));
}

@media (max-width: 640px) {
  :root {
    --landing-section-x: 14px;
    --landing-section-y: 34px;
  }

  .app-main.landing-main > .l-lazy-section,
  .app-main.landing-main > .l-results-section,
  .app-main.landing-main > .l-pricing-section,
  .app-main.landing-main > .l-features-section {
    padding: var(--landing-section-y) var(--landing-section-x);
  }
}

/* ── Footixify-style landing rebuild ───────────────────────────── */
:root {
  --fx-bg: hsl(0 0% 100%);
  --fx-fg: hsl(220 14% 10%);
  --fx-card: hsl(0 0% 99%);
  --fx-muted: hsl(220 14% 96%);
  --fx-muted-fg: hsl(220 10% 34%);
  --fx-border: hsl(220 13% 91%);
  --fx-primary: hsl(158 78% 28%);
  --fx-primary-soft: hsl(158 78% 28% / 0.08);
  --fx-radius: 12px;
  --fx-container: 1400px;
}

body {
  color: var(--fx-fg);
  background: var(--fx-bg);
  background-image: none;
}

.public-shell {
  width: 100%;
  margin: 0;
  padding: 0;
}

.public-hero {
  height: 56px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0 max(16px, calc((100vw - var(--fx-container)) / 2 + 32px));
  border: 0;
  border-bottom: 1px solid var(--fx-border);
  border-radius: 0;
  background: rgba(255,255,255,0.82);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #c4a76f;
  background: hsl(43 52% 86% / 0.36);
  box-shadow: none;
}

.brand strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand small {
  display: none;
}

.nav-tabs {
  border: 0;
  background: transparent;
  gap: 4px;
}

.nav-tabs a {
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--fx-muted-fg);
  font-size: 14px;
  font-weight: 500;
}

.nav-tabs a:hover,
.nav-tabs a.active {
  color: var(--fx-fg);
  background: hsl(220 14% 96% / 0.65);
  box-shadow: none;
}

.nav-tabs a svg {
  display: none;
}

.nav-user a,
.nav-user button {
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
}

.nav-user .primary-button,
.nav-user a[href="#register"] {
  color: #fff;
  background: var(--fx-primary);
  border: 1px solid var(--fx-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.app-main.landing-main {
  display: block;
  gap: 0;
}

.fx-container {
  width: 100%;
  max-width: var(--fx-container);
  margin: 0 auto;
  padding: 0 32px;
}

.fx-hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
  background:
    radial-gradient(circle at 82% 6%, hsl(158 78% 28% / 0.14), transparent 28%),
    linear-gradient(180deg, hsl(158 78% 28% / 0.05), transparent 42%);
}

.fx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.fx-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  color: var(--fx-muted-fg);
  background: hsl(220 14% 96% / 0.8);
  font-size: 12px;
  font-weight: 600;
}

.fx-eyebrow svg {
  width: 14px;
  height: 14px;
  color: var(--fx-primary);
}

.fx-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.fx-hero-copy h1 span {
  color: var(--fx-primary);
}

.fx-hero-copy p {
  max-width: 720px;
  color: var(--fx-muted-fg);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.fx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--fx-border);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.fx-btn.primary {
  color: #fff;
  border-color: var(--fx-primary);
  background: var(--fx-primary);
  box-shadow: 0 8px 22px hsl(158 78% 28% / 0.16);
}

.fx-btn.ghost {
  color: var(--fx-fg);
  background: var(--fx-bg);
}

.fx-btn:hover {
  transform: translateY(-1px);
}

.fx-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  background: var(--fx-card);
}

.fx-hero-stats div {
  padding: 16px 18px;
  border-right: 1px solid var(--fx-border);
}

.fx-hero-stats div:last-child {
  border-right: 0;
}

.fx-hero-stats span,
.fx-card-top,
.fx-card-bottom span {
  color: var(--fx-muted-fg);
  font-size: 12px;
}

.fx-hero-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1;
}

.fx-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  color: var(--fx-fg);
  background: var(--fx-card);
  box-shadow: 0 8px 22px rgba(15,23,42,0.04);
}

.fx-hero-panel .fx-card,
.fx-live-panel {
  padding: 24px;
}

.fx-card-top,
.fx-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fx-card-top {
  padding-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fx-card-top strong {
  color: var(--fx-primary);
  text-transform: none;
  letter-spacing: 0;
}

.fx-live-main {
  padding: 20px 0 22px;
  border-top: 1px solid var(--fx-border);
}

.fx-live-main span {
  color: var(--fx-muted-fg);
  font-size: 13px;
}

.fx-live-main h3 {
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.fx-live-main em {
  color: var(--fx-muted-fg);
  font-size: .5em;
  font-style: normal;
  text-transform: uppercase;
}

.fx-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fx-metric-grid div {
  padding: 14px;
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: var(--fx-muted);
}

.fx-metric-grid span {
  display: block;
  color: var(--fx-muted-fg);
  font-size: 11px;
  margin-bottom: 6px;
}

.fx-metric-grid strong {
  font-size: 15px;
}

.fx-live-panel p {
  margin-top: 18px;
  color: var(--fx-muted-fg);
  font-size: 14px;
  line-height: 1.6;
}

.fx-section {
  padding: 80px 0;
  background: var(--fx-bg);
}

.fx-section.fx-muted {
  background: var(--fx-muted);
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
}

.fx-section-head {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.fx-section-head span {
  color: var(--fx-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fx-section-head h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.fx-section-head p {
  margin-top: 12px;
  color: var(--fx-muted-fg);
  font-size: 17px;
  line-height: 1.65;
}

.fx-feature-grid,
.fx-card-grid,
.fx-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fx-feature-grid .fx-card,
.fx-step-grid .fx-card,
.fx-match-card,
.fx-result-card,
.fx-empty-card {
  padding: 24px;
}

.fx-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  color: var(--fx-primary);
  background: var(--fx-primary-soft);
}

.fx-icon svg {
  width: 20px;
  height: 20px;
}

.fx-card h3 {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.fx-card p,
.fx-empty-card span {
  margin-top: 8px;
  color: var(--fx-muted-fg);
  line-height: 1.6;
}

.fx-match-teams,
.fx-result-teams {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
}

.fx-match-teams strong,
.fx-result-teams strong {
  font-size: 18px;
}

.fx-match-teams span,
.fx-result-teams span {
  color: var(--fx-muted-fg);
  font-size: 12px;
  font-weight: 700;
}

.fx-card-bottom {
  padding-top: 16px;
}

.fx-result-score {
  padding: 16px 0 0;
  color: var(--fx-muted-fg);
  font-weight: 600;
}

.fx-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.fx-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px 24px 24px;
}

.fx-plan-card.featured {
  border: 2px solid var(--fx-primary);
  background: linear-gradient(135deg, var(--fx-card), var(--fx-primary-soft));
  box-shadow: 0 18px 46px hsl(158 78% 28% / 0.12);
}

.fx-plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--fx-primary);
  font-size: 11px;
  font-weight: 700;
}

.fx-plan-price {
  margin-top: 18px;
  font-size: 42px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.fx-plan-price small {
  color: var(--fx-muted-fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.fx-plan-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  color: var(--fx-muted-fg);
  font-size: 14px;
}

.fx-plan-card li {
  display: flex;
  gap: 10px;
}

.fx-plan-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--fx-primary);
  flex: 0 0 auto;
}

.fx-plan-card .fx-btn {
  margin-top: auto;
}

.fx-step-grid .fx-card strong {
  color: var(--fx-primary);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.fx-center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.fx-good {
  color: #047857;
}

.fx-bad {
  color: #dc2626;
}

.l-site-footer {
  margin: 0;
  border-top: 1px solid var(--fx-border);
  background: var(--fx-bg);
}

.l-footer-inner {
  max-width: var(--fx-container);
  padding: 0 32px;
}

@media (max-width: 980px) {
  .topbar {
    position: fixed;
    top: 0;
    height: 56px;
    min-height: 56px;
    flex-wrap: nowrap;
    align-items: center;
    padding: 0 16px;
  }

  .public-hero {
    height: 56px;
  }

  .nav-tabs {
    display: none;
  }

  .fx-hero-grid {
    grid-template-columns: 1fr;
  }

  .fx-feature-grid,
  .fx-card-grid,
  .fx-step-grid,
  .fx-plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
  }

  .brand {
    flex: 0 0 auto;
    max-width: 170px;
  }

  .nav-user {
    max-width: calc(100% - 178px);
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .nav-user a[href="#login"],
  .nav-user a[href="#notifications"],
  .nav-user button[data-action="logout"] {
    display: none;
  }

  .nav-user .user-badge {
    max-width: 132px;
  }

  .fx-container {
    padding: 0 18px;
  }

  .fx-hero-section {
    padding: 52px 0 64px;
  }

  .fx-hero-copy h1 {
    font-size: 40px;
  }

  .fx-actions,
  .fx-btn {
    width: 100%;
  }

  .fx-hero-stats,
  .fx-feature-grid,
  .fx-card-grid,
  .fx-step-grid,
  .fx-plan-grid {
    grid-template-columns: 1fr;
  }

  .fx-plan-card {
    min-height: 374px;
  }

  .fx-hero-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--fx-border);
  }

  .fx-hero-stats div:last-child {
    border-bottom: 0;
  }

  .fx-metric-grid {
    grid-template-columns: 1fr;
  }

  .fx-section {
    padding: 58px 0;
  }

  .fx-section-head {
    text-align: left;
  }
}

/* ── Preserve landing features, normalize only the UI shell ───────── */
.app-main.landing-main > .l-hero-section,
.app-main.landing-main > .l-acq-section,
.app-main.landing-main > .l-results-section,
.app-main.landing-main > .l-lazy-section,
.app-main.landing-main > .l-trial-section,
.app-main.landing-main > .l-pricing-section,
.app-main.landing-main > .l-landing-stats-section,
.app-main.landing-main > .l-features-section,
.app-main.landing-main > .l-faq-section {
  width: 100%;
  max-width: var(--fx-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.app-main.landing-main > .l-hero-section {
  padding-top: 80px;
  padding-bottom: 72px;
}

.app-main.landing-main > .l-acq-section,
.app-main.landing-main > .l-trial-section,
.app-main.landing-main > .l-landing-stats-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.app-main.landing-main > .l-results-section,
.app-main.landing-main > .l-lazy-section,
.app-main.landing-main > .l-pricing-section,
.app-main.landing-main > .l-features-section,
.app-main.landing-main > .l-faq-section {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 72px;
  padding-bottom: 72px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.badge-pill,
.trust-chip,
.primary-button,
.ghost-button,
.l-hero-btn,
.l-hero-btn-ghost,
.l-live-link,
.l-plan-cta,
.l-pricing-card-btn,
.l-cta-btn {
  border-radius: 8px;
}

.l-live-card,
.l-hero-preview,
.l-result-card,
.l-feature-card,
.l-plan,
.plan-card,
.l-schedule-card,
.l-schedule-empty,
.l-trial-card,
.l-trial-side,
.l-stat-card,
.l-faq-card,
.l-lazy-cta,
.l-features-cards-wrap {
  border-radius: 12px;
  border-color: var(--fx-border);
}

.l-feature-card-icon,
.l-strategy-card-icon,
.how-step-icon {
  border-radius: 10px;
}

.l-hero-bg-orb1,
.l-hero-bg-orb2,
.l-hero-bg-radial,
.l-live-card-glow,
.l-live-card::after {
  display: none;
}

.l-hero-bg {
  background:
    radial-gradient(circle at 82% 6%, hsl(158 78% 28% / 0.12), transparent 28%),
    linear-gradient(180deg, hsl(158 78% 28% / 0.05), transparent 42%);
}

.l-trial-card {
  box-shadow: 0 8px 22px rgba(15,23,42,0.04);
  background: var(--fx-card);
}

.l-trial-side {
  background: var(--fx-muted);
}

.l-pricing-grid,
.l-stats-grid,
.l-schedule-grid,
.l-results-grid,
.l-features-cards-grid,
#landing-lazy-results {
  align-items: stretch;
}

.l-pricing-card,
.l-plan,
.l-result-card,
.l-feature-card,
.l-schedule-card,
.l-stat-card,
.l-faq-card {
  height: 100%;
  box-shadow: 0 8px 22px rgba(15,23,42,0.04);
}

.l-plan {
  min-height: 289px;
}

.l-pricing-card.featured,
.l-pricing-card.featured:hover {
  transform: none;
}

@media (max-width: 980px) {
  .app-main.landing-main > .l-hero-section,
  .app-main.landing-main > .l-acq-section,
  .app-main.landing-main > .l-results-section,
  .app-main.landing-main > .l-lazy-section,
  .app-main.landing-main > .l-trial-section,
  .app-main.landing-main > .l-pricing-section,
  .app-main.landing-main > .l-landing-stats-section,
  .app-main.landing-main > .l-features-section,
  .app-main.landing-main > .l-faq-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 640px) {
  .app-main.landing-main > .l-hero-section,
  .app-main.landing-main > .l-acq-section,
  .app-main.landing-main > .l-results-section,
  .app-main.landing-main > .l-lazy-section,
  .app-main.landing-main > .l-trial-section,
  .app-main.landing-main > .l-pricing-section,
  .app-main.landing-main > .l-landing-stats-section,
  .app-main.landing-main > .l-features-section,
  .app-main.landing-main > .l-faq-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   懒人计划页 (v2 — 推荐精选 + 挖掘 + 回测)
   ═══════════════════════════════════════════════════════════════════ */

.l-strategy-page {
  max-width: 960px; margin: 0 auto;
  padding: 32px 16px 64px;
  display: flex; flex-direction: column; gap: 24px;
}

.l-strategy-hero {
  text-align: center; padding: 40px 24px 24px;
}
.l-strategy-hero h1 {
  font-size: 32px; font-weight: 800; margin: 12px 0 8px;
  letter-spacing: -0.02em;
}
.l-strategy-hero p {
  font-size: 15px; color: var(--muted-foreground);
  max-width: 560px; margin: 0 auto; line-height: 1.6;
}

/* Gate bar */
.l-strategy-gate-bar {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  padding: 12px 18px; border-radius: var(--r-lg);
  border: 1px solid var(--border-50);
  background: var(--muted-40);
  font-size: 13px;
}
.l-strategy-gate-item {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--muted-foreground);
}
.l-strategy-gate-item strong { color: var(--foreground); font-weight: 600; }
.l-strategy-gate-item svg { width: 13px; height: 13px; color: var(--primary); }

/* Sections */
.l-strategy-section {
  border-radius: var(--r-xl); border: 1px solid var(--border-50);
  background: var(--card-80); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.l-strategy-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.l-strategy-section-head h2 {
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 8px;
}
.l-strategy-section-head h2 svg { width: 18px; height: 18px; color: var(--primary); }
.l-strategy-section-sub {
  font-size: 13px; color: var(--muted-foreground); margin: 0 0 12px;
}
.l-strategy-section-badge {
  font-size: 12px; color: var(--muted-foreground);
  padding: 3px 10px; border-radius: var(--r-full);
  background: var(--muted-40); border: 1px solid var(--border-40);
  font-weight: 500;
}

/* ── Recommendation Cards ── */
.l-strategy-rec-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .l-strategy-rec-grid { grid-template-columns: 1fr 1fr; } }

.l-strategy-rec-card {
  border-radius: var(--r-lg); border: 1px solid var(--border-40);
  background: var(--background); padding: 18px;
  transition: all 0.2s; overflow: hidden;
}
.l-strategy-rec-card:hover {
  border-color: var(--primary-20);
  box-shadow: var(--shadow-md); transform: translateY(-1px);
}

.l-strategy-rec-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.l-strategy-rec-league {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--muted-foreground-70);
}
.l-strategy-rec-teams {
  font-size: 17px; font-weight: 700; margin: 2px 0 0;
  color: var(--foreground);
}
.l-strategy-rec-teams .vs {
  font-size: 11px; font-weight: 500; color: var(--muted-foreground);
  margin: 0 5px;
}
.l-strategy-rec-grade {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-md);
  font-size: 18px; font-weight: 800; flex-shrink: 0;
}

.l-strategy-rec-body { display: flex; flex-direction: column; gap: 10px; }
.l-strategy-rec-choice {
  font-size: 13px; font-weight: 600; color: var(--primary);
}
.l-strategy-rec-score-bar {
  height: 6px; border-radius: 3px;
  background: var(--muted-40); overflow: hidden;
}
.l-strategy-rec-score-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), #34d399);
  transition: width 0.6s;
  will-change: width;
}
.l-strategy-rec-dims {
  display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: 11px; color: var(--muted-foreground);
}
.l-strategy-rec-dims span {
  display: inline-flex; align-items: center; gap: 3px;
}
.l-strategy-rec-dims svg { width: 11px; height: 11px; opacity: 0.6; }

.l-strategy-rec-hist {
  margin-top: 8px; padding: 8px 10px; border-radius: var(--r-sm);
  background: var(--green-soft); border: 1px solid rgba(16,185,129,0.2); border-radius: 6px;
  font-size: 12px; color: var(--muted-foreground); line-height: 1.5;
  display: flex; align-items: flex-start; gap: 6px;
}
.l-strategy-rec-hist svg { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.l-strategy-rec-risks {
  margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px;
}
.l-strategy-rec-risk {
  font-size: 11px; padding: 3px 8px; border-radius: var(--r-full);
  border: 1px solid var(--border-50); background: var(--muted-30);
  color: var(--muted-foreground);
}
.l-strategy-rec-risk-warning {
  border-color: rgba(245,158,11,0.2); background: rgba(245,158,11,0.06);
  color: #b45309;
}
.l-strategy-rec-risk-danger {
  border-color: rgba(220,38,38,0.2); background: rgba(220,38,38,0.04);
  color: #dc2626;
}
.l-strategy-rec-risk-info {
  border-color: rgba(59,130,246,0.15); background: rgba(59,130,246,0.04);
  color: #2563eb;
}

/* ── Weights ── */
.l-strategy-weights {
  display: flex; flex-direction: column; gap: 8px;
}
.l-strategy-weight {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.l-strategy-weight span { width: 100px; color: var(--muted-foreground); flex-shrink: 0; }
.l-strategy-weight strong { width: 40px; text-align: right; font-size: 13px; color: var(--foreground); }
.l-strategy-weight-bar {
  flex: 1; height: 8px; border-radius: 4px;
  background: var(--muted-40); overflow: hidden;
}
.l-strategy-weight-bar div {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-20), var(--primary));
}

/* ── Backtest ── */
.l-strategy-bt-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .l-strategy-bt-grid { grid-template-columns: repeat(4, 1fr); } }
.l-strategy-bt-card {
  padding: 14px; border-radius: var(--r-md);
  border: 1px solid var(--border-40); background: var(--muted-30);
  text-align: center;
}
.l-strategy-bt-card span {
  display: block; font-size: 11px; color: var(--muted-foreground);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px;
}
.l-strategy-bt-card strong {
  font-size: 20px; font-weight: 800; color: var(--foreground);
}
.l-strategy-bt-card strong.up { color: var(--green); }
.l-strategy-bt-card strong.down { color: var(--red); }

.l-strategy-bt-league {
  display: flex; flex-wrap: wrap; gap: 6px 12px;
  font-size: 12px;
}
.l-strategy-bt-league span { color: var(--muted-foreground); }
.l-strategy-bt-league strong { font-weight: 700; }
.l-strategy-bt-league strong.up { color: var(--green); }
.l-strategy-bt-league strong.down { color: var(--red); }
.l-strategy-bt-league small { color: var(--muted-foreground-70); }

.l-strategy-bt-buckets {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.l-strategy-bt-bucket {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border-40); background: var(--muted-30);
  font-size: 12px;
}
.l-strategy-bt-bucket span { color: var(--muted-foreground); }
.l-strategy-bt-bucket strong { color: var(--foreground); }
.l-strategy-bt-bucket .up { color: var(--green); font-weight: 600; }
.l-strategy-bt-bucket .down { color: var(--red); font-weight: 600; }

/* ── Mining ── */
.l-strategy-mining-list {
  display: flex; flex-direction: column; gap: 6px;
}
.l-strategy-mining-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-md);
  border: 1px solid var(--border-40); background: var(--muted-30);
  font-size: 13px;
}
.l-strategy-mining-item.high {
  border: 1px solid rgba(16,185,129,0.2); border-radius: 6px;
}
.l-strategy-mining-item.medium {
  border: 1px solid var(--border);
}
.l-strategy-mining-badge {
  font-size: 10px; font-weight: 800; padding: 1px 6px;
  border-radius: 3px; flex-shrink: 0; margin-top: 2px;
}
.l-strategy-mining-item.high .l-strategy-mining-badge {
  background: var(--green-soft); color: var(--green);
}
.l-strategy-mining-item.medium .l-strategy-mining-badge {
  background: var(--primary-soft); color: var(--primary);
}
.l-strategy-mining-item span {
  flex: 1; font-weight: 600; color: var(--foreground);
}
.l-strategy-mining-item small {
  display: block; color: var(--muted-foreground);
  font-size: 12px; margin-top: 2px; line-height: 1.4;
}

/* ── Disclaimer ── */
.l-strategy-disclaimer {
  padding: 16px 20px; border-radius: var(--r-md);
  background: var(--yellow-soft); border: 1px solid rgba(245,158,11,0.15);
}
.l-strategy-disclaimer p {
  font-size: 13px; color: var(--muted-foreground);
  line-height: 1.6; display: flex; align-items: flex-start; gap: 8px;
}
.l-strategy-disclaimer svg {
  width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; margin-top: 2px;
}

/* ── Empty state ── */
.l-strategy-empty {
  text-align: center; padding: 40px 20px; color: var(--muted-foreground);
  font-size: 14px; line-height: 1.6;
}
.l-strategy-empty a { color: var(--primary); font-weight: 600; }

/* ── Refresh button ── */
.l-strategy-refresh-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid var(--border-50); background: var(--muted-30);
  color: var(--muted-foreground); font-size: 12px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: all var(--ease-out);
}
.l-strategy-refresh-btn:hover { background: var(--muted); color: var(--foreground); }
.l-strategy-refresh-btn svg { width: 13px; height: 13px; }

/* ── Card badge (confidence) ── */
.l-strategy-card-badge {
  display: inline-block; padding: 2px 8px; border-radius: var(--r-xs);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 8px;
}
.l-strategy-card-badge.high { background: var(--green-soft); color: var(--green); }
.l-strategy-card-badge.medium { background: var(--primary-soft); color: var(--primary); }

/* ── Card filter tags ── */
.l-strategy-card-tags {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px;
}
.l-strategy-filter-tag {
  display: inline-block; padding: 2px 8px; border-radius: var(--r-full);
  border: 1px solid var(--border-50); background: var(--muted-30);
  font-size: 11px; color: var(--muted-foreground); font-weight: 500;
}

/* ── Card subscribed state ── */
.l-strategy-card.l-strategy-card-subbed {
  border-color: var(--primary-20); background: var(--primary-soft);
}

/* ── My Strategy List ── */
.l-strategy-my-list {
  display: flex; flex-direction: column; gap: 8px;
}
.l-strategy-my-card {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--r-lg);
  border: 1px solid var(--border-50); background: var(--card-80);
  transition: all var(--ease-out);
}
.l-strategy-my-card:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.l-strategy-my-card.disabled { opacity: 0.55; }
.l-strategy-my-left {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px;
}
.l-strategy-my-icon { font-size: 28px; flex-shrink: 0; }
.l-strategy-my-info h4 { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.l-strategy-my-meta { display: flex; flex-wrap: wrap; gap: 4px; }
.l-strategy-my-meta span {
  font-size: 11px; padding: 1px 7px; border-radius: var(--r-xs);
  background: var(--muted-30); color: var(--muted-foreground);
}
.l-strategy-my-stats {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12px; color: var(--muted-foreground); min-width: 100px;
}
.l-strategy-my-stats strong { color: var(--foreground); }
.l-strategy-my-actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.l-strategy-my-email {
  font-size: 12px; color: var(--primary); font-weight: 500;
  max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.l-strategy-my-sub-btn {
  padding: 5px 12px; border-radius: var(--r-sm); border: 1px solid var(--primary-20);
  background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all var(--ease-out);
}
.l-strategy-my-sub-btn:hover { background: var(--primary-15); }
.l-strategy-my-toggle {
  padding: 5px 10px; border-radius: var(--r-sm); border: 1px solid var(--border-50);
  background: transparent; color: var(--muted-foreground);
  font-size: 11px; cursor: pointer; font-family: inherit;
  transition: all var(--ease-out);
}
.l-strategy-my-toggle:hover { border-color: var(--border); color: var(--foreground); }
.l-strategy-my-del {
  padding: 5px 8px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: transparent; color: var(--muted-foreground);
  font-size: 13px; cursor: pointer; font-family: inherit;
  transition: all var(--ease-out);
}
.l-strategy-my-del:hover { color: var(--red); background: var(--red-soft); border-color: rgba(220,38,38,0.15); }

/* ── Matched Predictions List ── */
.l-strategy-match-list {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid var(--border-40); border-radius: var(--r-lg); overflow: hidden;
}
.l-strategy-match-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 16px; background: var(--card-80); cursor: pointer;
  transition: background var(--ease-out);
  border-bottom: 1px solid var(--border-30);
}
.l-strategy-match-row:last-child { border-bottom: none; }
.l-strategy-match-row:hover { background: var(--muted); }
.l-strategy-match-time {
  font-size: 12px; color: var(--muted-foreground); white-space: nowrap; min-width: 110px;
}
.l-strategy-match-teams {
  font-size: 14px; font-weight: 700; color: var(--foreground); flex: 1; min-width: 160px;
}
.l-strategy-match-teams span { font-weight: 400; color: var(--muted-foreground); font-size: 11px; margin: 0 4px; }
.l-strategy-match-league {
  font-size: 12px; color: var(--muted-foreground); min-width: 80px;
}
.l-strategy-match-choice {
  font-size: 12px; font-weight: 600; color: var(--primary); min-width: 100px;
}
.l-strategy-match-strategy {
  font-size: 11px; color: var(--muted-foreground-70); padding: 2px 8px;
  background: var(--muted-30); border-radius: var(--r-xs);
}

/* ── Guide Panel ── */
.l-strategy-guide {
  border-radius: var(--r-xl); border: 1px solid var(--primary-20);
  background: linear-gradient(135deg, var(--primary-soft), rgba(255,255,255,0.9));
  padding: 24px; margin-bottom: 8px;
  box-shadow: 0 4px 20px rgba(16,127,86,0.08);
  transition: opacity 0.25s ease, padding 0.25s ease, margin 0.25s ease;
  overflow: hidden;
}
.l-strategy-guide.dismissing { opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
.l-strategy-guide-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}
.l-strategy-guide-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.l-strategy-guide-badge svg { width: 12px; height: 12px; }
.l-strategy-guide-header h3 { font-size: 18px; font-weight: 700; margin: 6px 0 0; }
.l-strategy-guide-close {
  padding: 4px 10px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: transparent; color: var(--muted-foreground);
  font-size: 16px; cursor: pointer; transition: all var(--ease-out);
}
.l-strategy-guide-close:hover { background: var(--muted); color: var(--foreground); }
.l-strategy-guide-steps {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .l-strategy-guide-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .l-strategy-guide-steps { grid-template-columns: repeat(4, 1fr); } }
.l-strategy-guide-step {
  display: flex; gap: 12px; padding: 14px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.7); border: 1px solid var(--border-40);
  transition: all var(--ease-out);
}
.l-strategy-guide-step.active {
  border-color: var(--primary-30); background: rgba(16,127,86,0.06);
  box-shadow: 0 0 0 2px var(--primary-10);
}
.l-strategy-guide-step.done { opacity: 0.7; }
.l-strategy-guide-step-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--muted-40); color: var(--muted-foreground);
  font-size: 13px; font-weight: 700;
}
.l-strategy-guide-step.active .l-strategy-guide-step-num {
  background: var(--primary); color: #fff;
}
.l-strategy-guide-step.done .l-strategy-guide-step-num {
  background: var(--green-soft); color: var(--green);
}
.l-strategy-guide-step-content strong {
  display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--foreground);
}
.l-strategy-guide-step-content p {
  font-size: 12px; color: var(--muted-foreground); line-height: 1.5; margin: 0;
}
.l-strategy-guide-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 8px 16px; border-radius: var(--r-md);
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all var(--ease-out);
}
.l-strategy-guide-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Section actions row ── */
.l-strategy-section-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

/* ── Ghost subscribe button ── */
.l-strategy-sub-btn-ghost {
  background: var(--muted-40) !important; color: var(--foreground) !important;
  border: 1px solid var(--border-50) !important;
}
.l-strategy-sub-btn-ghost:hover { background: var(--muted) !important; }

/* ── Edit email button ── */
.l-strategy-my-edit {
  padding: 4px 8px; border-radius: var(--r-sm); border: 1px solid transparent;
  background: transparent; color: var(--muted-foreground);
  font-size: 12px; cursor: pointer; font-family: inherit;
  transition: all var(--ease-out);
}
.l-strategy-my-edit:hover { color: var(--primary); background: var(--primary-soft); }

/* ── Pulse animation for subscribe CTA ── */
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,127,86,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16,127,86,0); }
}
.pulse-highlight {
  animation: pulse-cta 2s ease-in-out 3;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .l-strategy-page { padding: 16px 8px 48px; gap: 16px; }
  .l-strategy-hero { padding: 24px 16px 16px; }
  .l-strategy-hero h1 { font-size: 26px; }
  .l-strategy-section { padding: 16px; }
  .l-strategy-bt-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Public Module Unification: shared shell for every non-landing route ── */
:root {
  --module-width: 1120px;
  --module-pad-x: clamp(14px, 2.4vw, 28px);
  --module-pad-y: clamp(18px, 3vw, 32px);
  --module-gap: 18px;
  --module-card-radius: 8px;
  --module-card-bg: rgba(255,255,255,0.92);
  --module-card-border: rgba(229,231,235,0.88);
  --module-card-shadow: 0 8px 22px rgba(15,23,42,0.035);
}

.app-main.module-main {
  display: block;
  width: 100%;
}

.app-main.module-main > section,
.app-main.module-main > main,
.app-main.module-main > div {
  width: 100%;
  max-width: var(--module-width);
  margin: 0 auto;
  padding: var(--module-pad-y) var(--module-pad-x) 56px;
}

.app-main.module-main > section > * + *,
.app-main.module-main > main > * + *,
.app-main.module-main > div > * + * {
  margin-top: var(--module-gap);
}

.module-main .section-head,
.module-main .l-strategy-section-head,
.module-main .l-detail-section-head,
.module-main .l-pred-day-head,
.module-main .l-acct-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border-60);
}

.module-main .section-head h1,
.module-main .section-head h2,
.module-main .l-strategy-section-head h2,
.module-main .l-detail-section-head h2,
.module-main .l-pred-day-title,
.module-main .l-acct-card-title {
  margin: 0;
  color: var(--foreground);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: 0;
}

.module-main .section-head p,
.module-main .l-strategy-section-sub,
.module-main .l-detail-section-head p,
.module-main .l-pred-kpi-note,
.module-main .l-acct-action-desc,
.module-main .l-acct-detail-label {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.55;
}

.module-main .panel,
.module-main .kpi-card,
.module-main .match-card,
.module-main .l-page-card,
.module-main .l-page-table-wrap,
.module-main .l-notif-list,
.module-main .plan-card,
.module-main .risk-statement,
.module-main .member-status,
.module-main .schedule-list,
.module-main .timeline,
.module-main .method-list,
.module-main .l-pred-hero,
.module-main .l-pred-kpi,
.module-main .l-pred-card,
.module-main .l-detail-hero,
.module-main .l-detail-card,
.module-main .l-detail-metric-card,
.module-main .l-detail-unlock-card,
.module-main .l-strategy-hero,
.module-main .l-strategy-section,
.module-main .l-strategy-guide,
.module-main .l-strategy-card,
.module-main .l-strategy-rec-card,
.module-main .l-strategy-my-card,
.module-main .l-strategy-disclaimer,
.module-main .l-stats-hero,
.module-main .l-stats-kpi-card,
.module-main .l-stats-section,
.module-main .l-stats-efficiency,
.module-main .l-stats-coverage,
.module-main .l-stats-roi-card,
.module-main .l-stats-grade-row,
.module-main .l-stats-chip,
.module-main .l-res-hero,
.module-main .l-res-filter-bar,
.module-main .l-res-card,
.module-main .l-res-leg,
.module-main .l-res-detail-cta,
.module-main .l-auth-left,
.module-main .l-auth-feature-icon,
.module-main .l-auth-metric,
.module-main .l-auth-testimonial,
.module-main .l-auth-highlight-box,
.module-main .l-acct-hero,
.module-main .l-acct-details-card,
.module-main .l-acct-actions-card,
.module-main .l-acct-bottom-card,
.module-main .empty,
.module-main .skeleton-card {
  border-radius: var(--module-card-radius);
  border: 1px solid var(--module-card-border);
  background: var(--module-card-bg);
  box-shadow: var(--module-card-shadow);
}

.module-main .panel,
.module-main .l-page-card,
.module-main .risk-statement,
.module-main .member-status,
.module-main .l-strategy-section,
.module-main .l-strategy-guide,
.module-main .l-stats-section,
.module-main .l-stats-efficiency,
.module-main .l-stats-coverage,
.module-main .l-res-hero,
.module-main .l-res-filter-bar,
.module-main .l-auth-left,
.module-main .l-auth-form-wrap,
.module-main .l-detail-card,
.module-main .l-detail-unlock-card,
.module-main .l-acct-details-card,
.module-main .l-acct-actions-card {
  padding: clamp(16px, 2.2vw, 24px);
}

.module-main .kpi-grid,
.module-main .panel-grid,
.module-main .cards-grid,
.module-main .pricing-grid,
.module-main .l-pricing-grid,
.module-main .l-pred-kpis,
.module-main .l-pred-day-grid,
.module-main .l-detail-dashboard,
.module-main .l-detail-content-grid,
.module-main .l-detail-decision-grid,
.module-main .l-strategy-grid,
.module-main .l-strategy-rec-grid,
.module-main .l-strategy-bt-grid,
.module-main .l-stats-kpi-row,
.module-main .l-stats-dual,
.module-main .l-stats-roi-grid,
.module-main .l-res-grid,
.module-main .l-auth-shell,
.module-main .l-auth-metrics,
.module-main .l-auth-features,
.module-main .l-acct-dual,
.module-main .l-acct-bottom-row {
  gap: 14px;
}

.module-main .cards-grid,
.module-main .panel-grid,
.module-main .l-strategy-rec-grid,
.module-main .l-acct-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-main .kpi-grid,
.module-main .l-pred-kpis,
.module-main .l-detail-dashboard,
.module-main .l-strategy-bt-grid,
.module-main .l-acct-bottom-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-main .pricing-grid,
.module-main .l-pricing-grid,
.module-main .l-strategy-grid,
.module-main .l-res-grid,
.module-main .l-pred-day-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-main .primary-button,
.module-main .ghost-button,
.module-main .l-pred-premium-cta,
.module-main .l-pred-use-card-btn,
.module-main .l-strategy-sub-btn,
.module-main .l-strategy-refresh-btn,
.module-main .l-strategy-guide-cta,
.module-main .l-acct-manage-btn,
.module-main .l-acct-upgrade-btn,
.module-main .l-acct-logout-btn,
.module-main .l-pricing-card-btn {
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.module-main .primary-button,
.module-main .l-pred-premium-cta,
.module-main .l-strategy-sub-btn,
.module-main .l-strategy-guide-cta,
.module-main .l-acct-upgrade-btn,
.module-main .l-pricing-card-btn.primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: none;
}

.module-main .ghost-button,
.module-main .l-strategy-refresh-btn,
.module-main .l-acct-manage-btn,
.module-main .l-acct-logout-btn,
.module-main .l-pricing-card-btn {
  background: #fff;
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: none;
}

.module-main .primary-button:hover,
.module-main .ghost-button:hover,
.module-main .l-pred-card:hover,
.module-main .match-card.clickable:hover,
.module-main .plan-card:hover,
.module-main .l-strategy-card:hover,
.module-main .l-strategy-rec-card:hover,
.module-main .l-acct-action-row:hover {
  transform: none;
  box-shadow: var(--module-card-shadow);
}

.module-main .badge,
.module-main .badge-pill,
.module-main .l-pred-card-tag,
.module-main .l-detail-meta span,
.module-main .l-detail-hero-tags span,
.module-main .l-strategy-filter-tag,
.module-main .l-strategy-section-badge,
.module-main .l-acct-tag,
.module-main .l-acct-plan-badge {
  border-radius: 999px;
  letter-spacing: 0;
}

.module-main .l-stats-page,
.module-main .l-res-page,
.module-main .l-auth-shell {
  padding-top: var(--module-pad-y);
  padding-bottom: 56px;
}

.module-main .l-stats-inner {
  max-width: var(--module-width);
}

.module-main .l-stats-kpi-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-main .l-stats-dual {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.module-main .l-stats-roi-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-main .l-stats-hero-title,
.module-main .l-res-hero-title {
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0;
}

.module-main .l-res-filter-bar {
  align-items: center;
}

.module-main .l-auth-shell {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
}

.module-main .l-auth-shell-signin {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
}

.module-main .l-auth-left {
  background: var(--module-card-bg);
}

.module-main .l-auth-left::before,
.module-main .l-auth-left::after {
  display: none;
}

.module-main .l-auth-left-inner,
.module-main .l-auth-form-wrap {
  max-width: none;
}

.module-main .l-auth-left-eyebrow,
.module-main .l-auth-form-eyebrow {
  letter-spacing: 0.08em;
}

.module-main .l-auth-left-title,
.module-main .l-auth-form-title {
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0;
}

.module-main .l-auth-input-wrap {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: none;
}

.module-main .l-auth-input-wrap input {
  min-height: 40px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.module-main .l-auth-error,
.module-main .l-auth-check {
  border-radius: 8px;
}

.module-main .form-group input,
.module-main .form-group select,
.module-main input,
.module-main select,
.module-main textarea {
  min-height: 42px;
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  color: var(--foreground) !important;
  font: inherit !important;
  box-shadow: none !important;
}

.module-main .form-group label {
  color: var(--foreground);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.module-main .l-page-table-wrap,
.module-main .schedule-list,
.module-main .timeline,
.module-main .method-list,
.module-main .l-notif-list,
.module-main .l-strategy-match-list {
  overflow: hidden;
  background: #fff;
}

.module-main .l-page-table th,
.module-main .l-page-table td,
.module-main .orders-table th,
.module-main .orders-table td {
  padding: 13px 16px;
}

.module-main .timeline-row,
.module-main .schedule-row,
.module-main .l-notif-item,
.module-main .l-strategy-match-row {
  background: #fff;
}

.module-main .empty {
  padding: clamp(34px, 5vw, 56px) 24px;
  color: var(--muted-foreground);
}

.module-main .l-pred-hero,
.module-main .l-strategy-hero,
.module-main .l-detail-hero,
.module-main .l-stats-hero,
.module-main .l-res-hero,
.module-main .l-acct-hero {
  overflow: hidden;
}

.module-main .l-strategy-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 168px;
  padding-top: clamp(22px, 3vw, 32px);
  padding-bottom: clamp(18px, 2.4vw, 26px);
}

.module-main .l-strategy-hero p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.module-main .l-pred-hero h1,
.module-main .l-strategy-hero h1,
.module-main .l-detail-hero h1,
.module-main .l-acct-hero-email {
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: 0;
}

.module-main .l-pred-card-glow,
.module-main .l-pred-signal-glow,
.module-main .l-detail-hero::before,
.module-main .l-acct-hero-glow {
  display: none;
}

.module-main .l-pred-signal-box,
.module-main .l-detail-final-box,
.module-main .l-detail-review-score,
.module-main .l-detail-review-item,
.module-main .l-detail-review-note,
.module-main .l-acct-action-row,
.module-main .l-acct-status-box,
.module-main .l-acct-upgrade-box,
.module-main .info-row,
.module-main .stat-row,
.module-main .l-strategy-bt-card,
.module-main .l-strategy-guide-step,
.module-main .l-strategy-my-stats,
.module-main .l-strategy-rec-dims span,
.module-main .l-stats-progress,
.module-main .l-res-page-btn,
.module-main .l-res-filter-select {
  border-radius: 8px;
}

@media (max-width: 900px) {
  .app-main.module-main > section,
  .app-main.module-main > main,
  .app-main.module-main > div {
    padding-left: 10px;
    padding-right: 10px;
  }

  .module-main .cards-grid,
  .module-main .panel-grid,
  .module-main .pricing-grid,
  .module-main .l-pricing-grid,
  .module-main .l-strategy-grid,
  .module-main .l-strategy-rec-grid,
  .module-main .l-pred-day-grid,
  .module-main .l-stats-dual,
  .module-main .l-res-grid,
  .module-main .l-auth-shell,
  .module-main .l-acct-dual {
    grid-template-columns: 1fr;
  }

  .module-main .kpi-grid,
  .module-main .l-pred-kpis,
  .module-main .l-detail-dashboard,
  .module-main .l-strategy-bt-grid,
  .module-main .l-stats-kpi-row,
  .module-main .l-stats-roi-grid,
  .module-main .l-acct-bottom-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .module-main .kpi-grid,
  .module-main .l-pred-kpis,
  .module-main .l-detail-dashboard,
  .module-main .l-strategy-bt-grid,
  .module-main .l-stats-kpi-row,
  .module-main .l-stats-roi-grid,
  .module-main .l-acct-bottom-row {
    grid-template-columns: 1fr;
  }

  .module-main .section-head,
  .module-main .l-strategy-section-head,
  .module-main .l-detail-section-head,
  .module-main .l-pred-day-head,
  .module-main .l-res-filter-bar,
  .module-main .l-auth-shell,
  .module-main .l-acct-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-main .l-strategy-hero {
    align-items: flex-start;
    min-height: 0;
    text-align: left;
  }

  .module-main .l-strategy-hero p {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ── Brand logo: compact mark for navigation surfaces ── */
.topbar .brand-mark.brand-logo {
  width: 34px;
  height: 34px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.topbar .brand-mark.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

/* ── Trust Signals: Risk Summary, Audit Notes, Positive Evidence ── */

/* Desktop Today Card — Risk Summary */
.l-pred-risk-summary {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--muted, #f8fafc);
  border-radius: 10px;
}
.l-pred-risk-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-foreground, #64748b);
  margin-bottom: 8px;
}
.l-pred-risk-flag {
  font-size: 13px;
  line-height: 1.6;
  padding: 4px 0;
}
.l-pred-risk-flag strong { font-weight: 600; }
.l-pred-risk-flag span {
  display: block;
  font-size: 12px;
  color: var(--muted-foreground, #94a3b8);
  margin-top: 2px;
}
.l-pred-risk-stake {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary, #2563eb);
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 6px;
  display: inline-block;
}
.l-pred-risk-positive-label {
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  margin-top: 10px;
  margin-bottom: 4px;
}
.l-pred-risk-positive-item {
  font-size: 12px;
  color: var(--muted-foreground, #475569);
  padding: 2px 0;
  line-height: 1.5;
}

/* Audit Notes */
.l-pred-audit-note {
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 8px;
  text-align: center;
}
.l-pred-audit-note-warn {
  color: #d97706;
  background: rgba(245, 158, 11, 0.08);
}

/* Detail Page — Audit Note */
.l-detail-audit-note {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  text-align: center;
}
.l-detail-audit-note-green {
  color: #047857;
  background: rgba(16, 185, 129, 0.08);
}
.l-detail-audit-note-warn {
  color: #d97706;
  background: rgba(245, 158, 11, 0.08);
}

/* Detail Page — Positive Evidence Card */
.l-detail-positive-card {
  margin-top: 0;
}
.l-detail-positive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.l-detail-positive-list li {
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--foreground, #1e293b);
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.l-detail-positive-list li:last-child {
  border-bottom: none;
}

/* Reconciliation Note */
.l-pred-reconciliation {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #0d6b4a;
  background: rgba(99, 102, 241, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(99,102,241,0.2);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ── Onboarding Overlay ── */
.onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.onboarding-card {
  background: white;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.4s ease;
}
.onboarding-step-indicator {
  font-size: 12px;
  color: var(--muted-foreground, #94a3b8);
  font-weight: 600;
  margin-bottom: 12px;
}
.onboarding-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground, #0f172a);
  margin: 0 0 16px;
  line-height: 1.4;
}
.onboarding-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground, #475569);
  margin: 0 0 6px;
}
.onboarding-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── System Personality Narrative ── */
.l-stats-personality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.l-stats-personality-card {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 20px;
}
.l-stats-personality-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}
.l-stats-personality-icon svg { width: 24px; height: 24px; color: var(--primary); }
.l-stats-personality-card strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground, #0f172a);
  display: block;
  margin-bottom: 8px;
}
.l-stats-personality-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-foreground, #64748b);
  margin: 0;
}

/* ── Module 6: Desktop Week Calendar ── */
.l-week-calendar {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 24px 28px;
  background: var(--card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.l-week-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.l-week-header strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.l-week-range {
  font-size: 13px;
  color: var(--muted-foreground, #64748b);
  font-weight: 500;
}
.l-week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.l-week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.l-week-day:hover {
  background: rgba(0,0,0,0.02);
}
.l-week-day.today {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
  border-color: var(--primary, #2563eb);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.l-week-day-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-foreground, #64748b);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
}
.l-week-day.today .l-week-day-label {
  color: var(--primary, #2563eb);
}
.l-week-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  padding: 4px 0;
}
.l-week-block {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  transition: transform 0.1s;
}
.l-week-block:hover {
  transform: scale(1.2);
}
.l-week-block.published {
  background: var(--primary, #2563eb);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}
.l-week-block.waiting {
  background: var(--border, #cbd5e1);
  opacity: 0.5;
}
.l-week-block.none {
  background: transparent;
  border: 1px dashed var(--border, #e2e8f0);
}
.l-week-overflow {
  font-size: 10px;
  color: var(--muted-foreground, #64748b);
  font-weight: 600;
  font-family: var(--font-mono, monospace);
}
.l-week-count {
  font-size: 12px;
  color: var(--muted-foreground, #64748b);
  font-weight: 600;
  font-family: var(--font-mono, monospace);
  line-height: 1;
  letter-spacing: 0.2px;
}
.l-week-day.today .l-week-count {
  color: var(--primary, #2563eb);
  font-weight: 700;
}
.l-week-next {
  font-size: 13px;
  color: var(--muted-foreground, #64748b);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border, #e2e8f0);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 500;
}

/* ── Colored SVG icon helpers ── */
.icon-red { color: #dc2626; }
.icon-amber { color: #d97706; }
.icon-green { color: #047857; }
.icon-blue { color: #2563eb; }
.icon-muted { color: var(--muted-foreground, #575f6e); }

/* ── SVG icon sizing (replace emoji) ── */
.info-label svg,
.m-risk-checks-label svg,
.m-risk-positive-label svg,
.m-audit-note svg,
.l-pred-risk-label svg,
.l-pred-risk-positive-label svg,
.l-pred-audit-note svg,
.l-detail-audit-note svg { width: 14px; height: 14px; vertical-align: -1px; }

.m-personality-card strong svg { width: 16px; height: 16px; vertical-align: -2px; }

.m-section-head h2 svg,
.l-strategy-section-head h2 svg { width: 16px; height: 16px; vertical-align: -2px; }

.l-pred-kpi-icon svg { width: 24px; height: 24px; }

.l-strategy-card-icon svg { width: 28px; height: 28px; }

.l-strategy-my-icon svg { width: 20px; height: 20px; }

.l-strategy-guide-step-num svg { width: 14px; height: 14px; }

.m-btn-icon svg { width: 16px; height: 16px; }

.l-strategy-guide-step-icon svg { width: 32px; height: 32px; }

/* Guide step icon objects use larger size */
.l-strategy-guide svg[width="32"],
.l-strategy-guide svg[width="16"] { width: 32px; height: 32px; }

/* ── Display font for headings (Plus Jakarta Sans) ── */
.l-stats-section-title,
.l-faq-section h2,
.m-page-header h1,
.m-section-head h2,
.l-how-card h3,
.l-hero-preview-title,
.l-detail-hero h1,
.l-detail-section-head h2,
.l-detail-final-box strong,
.l-detail-hero-panel strong {
  font-family: var(--font-display);
}

/* ── Readable line length for body text ── */
.l-legal-container p,
.l-method-page p,
.l-faq-card p,
.l-detail-section p,
.l-stats-section-desc {
  max-width: 70ch;
}

/* ═══ Global: fix primary text on green-tinted surfaces ═══ */
.l-pred-card .l-detail-reason-index,
.l-pred-card .l-detail-reason-top span,
.l-pred-card .l-detail-tech-grid span,
.l-pred-card [style*="background"] [style*="color"] {
  color: var(--foreground);
}
/* Ensure green badges/badges with --green bg always have white text */
[class*="badge"][style*="background"],
[class*="chip"][style*="background"] {
  color: #fff;
}


/* ═══ Fix: strategy card text padding ═══ */
.l-strategy-card {
  padding: 16px;
}
.l-strategy-card .l-strategy-desc {
  padding: 0;
}


/* ═══ Hero contrast fix ═══ */
.l-hero-section .l-hero-stat-label,
.l-hero-section .l-hero-kicker,
.l-hero-section .l-hero-desc,
.l-hero-section .l-hero-tag,
.l-hero-section .nav-tabs a {
  color: var(--foreground) !important;
}
.l-hero-section .l-hero-desc,
.l-hero-section .l-hero-tag {
  color: #2d3340 !important;
}

/* ═══ Desktop Detail — Decision Card as Focal Point ═══ */
.l-detail-decision-card {
  background: linear-gradient(155deg, #ecfdf5 0%, #bbf7d0 35%, #86efac 70%, #bbf7d0 100%);
  border: none;
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 8px 40px rgba(16,185,129,0.14), 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.l-detail-decision-card::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.l-detail-decision-card h2 {
  color: #065f46 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.l-detail-decision-card .l-detail-final-choice {
  font-size: 28px;
  font-weight: 900;
  color: #052e21;
  letter-spacing: -0.03em;
  font-family: var(--font-display);
}
.l-detail-decision-card .l-detail-main-play {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #052e21;
}

/* ═══ Desktop — Reduce visual weight of supporting sections ═══ */
.l-detail-section-head h2 {
  font-size: 16px !important;
  color: var(--muted-foreground) !important;
  font-weight: 700 !important;
}
.l-detail-content-grid {
  opacity: 0.92;
}

/* ═══ Desktop Decision Card — target actual elements ═══ */
.l-detail-decision-card .l-detail-section-head > span {
  color: #065f46 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}
.l-detail-decision-card .l-detail-section-head h2 {
  color: #052e21 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}
.l-detail-decision-card .l-detail-section-head p {
  color: #065f46 !important;
  opacity: 0.7;
}
.l-detail-decision-card .l-detail-final-box strong {
  color: #052e21 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  font-family: var(--font-display);
}
.l-detail-decision-card .l-detail-final-box > span {
  color: #065f46 !important;
}
.l-detail-decision-card .l-detail-final-box p {
  color: #065f46 !important;
  opacity: 0.8;
}
.l-detail-decision-card .l-detail-leg-list {
  background: rgba(255,255,255,0.45);
  border-radius: 14px;
  padding: 12px 16px;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════
   免费推荐专区 — 首页 + 今日推荐 (light theme)
   ══════════════════════════════════════════════════ */

.free-picks-section {
  position: relative;
  overflow: hidden;
  background: var(--muted-40);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
@media (min-width: 1024px) { .free-picks-section { padding: 88px 0; } }

.free-picks-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.free-picks-header {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.free-picks-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-full);
  border: 1px solid var(--primary-20);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.free-picks-badge svg { width: 13px; height: 13px; }

.free-picks-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--foreground);
  margin: 8px 0 10px;
  line-height: 1.12;
}

.free-picks-desc {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

.free-picks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
@media (min-width: 640px) { .free-picks-grid { grid-template-columns: repeat(2, 1fr); } }

.free-pick-card {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
  background: var(--card-80);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--ease-out);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.free-pick-card::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  transition: background var(--ease-out);
}
.free-pick-card:hover {
  border-color: var(--primary-20);
  background: var(--background-90);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
/* Settled card left bar colors */
.free-pick-card.fp-settled-win::before { background: var(--green); }
.free-pick-card.fp-settled-loss::before { background: var(--red); }
.free-pick-card.fp-settled-push::before { background: var(--muted-foreground-70); }

.free-pick-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.free-pick-league {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.free-pick-time {
  color: var(--muted-foreground-70);
  font-size: 12px;
  font-weight: 500;
}
.free-pick-score {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--foreground);
  background: var(--muted);
  border: 1px solid var(--border-40);
  padding: 2px 10px;
  border-radius: var(--r-full);
}

.free-pick-teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 17px;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.015em;
}
.free-pick-vs {
  font-size: 11px;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.free-pick-legs {
  display: grid;
  gap: 5px;
}
.free-pick-leg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--muted-40);
  border: 1px solid var(--border-40);
}
.free-pick-leg-icon { font-size: 13px; flex-shrink: 0; display: inline-flex; align-items: center; }
.free-pick-leg-icon svg { width: 14px; height: 14px; color: var(--muted-foreground-70); }
.free-pick-leg-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted-foreground-70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 28px;
}
.free-pick-leg-play {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  flex: 1;
  letter-spacing: -0.01em;
}
.free-pick-leg-odds {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted-foreground);
  font-weight: 600;
}

.free-pick-pending {
  font-size: 13px;
  color: var(--muted-foreground-70);
  padding: 8px 0;
  font-style: italic;
}

.free-pick-reasoning {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--green-soft);
  border-radius: var(--r-md);
  border: 1px solid rgba(16,185,129,0.2);
}
.free-pick-reasoning-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--green);
  margin-top: 3px;
}
.free-pick-reasoning p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.free-pick-grade-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.free-pick-grade {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.free-pick-grade-A { color: var(--green); background: var(--green-soft); border: 1px solid var(--primary-20); }
.free-pick-grade-B { color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-15); }
.free-pick-grade-C { color: var(--muted-foreground); background: var(--muted-40); border: 1px solid var(--border-40); }
.free-pick-grade-D { color: var(--red); background: var(--red-soft); border: 1px solid rgba(248,113,113,0.2); }
.free-pick-conf {
  font-size: 12px;
  color: var(--muted-foreground-70);
  font-family: var(--font-mono);
}

.free-pick-settled {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.free-pick-settle-item {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.free-pick-settle-item span { display: inline-flex; align-items: center; gap: 4px; }
.free-pick-settle-item svg { width: 13px; height: 13px; }
.free-pick-settle-item.win {
  background: var(--green-soft);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--green);
}
.free-pick-settle-item.win svg { color: var(--green); }
.free-pick-settle-item.loss {
  background: var(--red-soft);
  border: 1px solid rgba(248,113,113,0.2);
  color: var(--red);
}
.free-pick-settle-item.loss svg { color: var(--red); }
.free-pick-settle-item.push {
  background: var(--muted-40);
  border: 1px solid var(--border-40);
  color: var(--muted-foreground-70);
}

.free-picks-cta {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, var(--background), var(--muted-40));
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.free-picks-cta p {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .free-picks-section { padding: 48px 0; }
  .free-picks-container { padding: 0 16px; }
  .free-picks-title { font-size: 24px; }
  .free-picks-grid { grid-template-columns: 1fr; gap: 12px; }
  .free-pick-card { padding: 16px 18px; }
  .free-pick-teams { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   懒人计划 · Desktop Strategy Engine  (l-st-* prefix)
   Matches l-stats-* / l-res-* design language
   ═══════════════════════════════════════════════════════════════════ */

.l-st-page {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 0 48px;
}

/* ── Hero (matches l-stats-hero / l-res-hero) ── */
.l-st-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--border-60);
  background: linear-gradient(135deg, var(--card) 0%, rgba(255,255,255,0.97) 60%, var(--background-92) 100%);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.l-st-hero-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--muted-foreground-70);
}
.l-st-hero-title {
  margin-top: 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
}
@media (min-width: 768px) {
  .l-st-hero-title { font-size: 36px; }
}
.l-st-hero-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 640px;
}
.l-st-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-50);
  background: var(--muted-50);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
}
.l-st-hero-chip svg { width: 14px; height: 14px; }

/* ── KPI row inside hero ── */
.l-st-kpi-row {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .l-st-kpi-row { grid-template-columns: repeat(3, 1fr); }
}
.l-st-kpi-card {
  border-radius: 20px;
  border: 1px solid var(--border-50);
  background: var(--card-80);
  padding: 20px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.l-st-kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-foreground-70);
}
.l-st-kpi-value {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
}
.l-st-kpi-sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted-foreground);
}

/* ── Tabs (segmented control) ── */
.l-st-tabs {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: var(--muted);
  border-radius: var(--r-md);
  max-width: 360px;
}
.l-st-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted-foreground);
  border-radius: var(--r-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ease-out);
  user-select: none;
}
.l-st-tab:hover { color: var(--foreground); }
.l-st-tab.active {
  background: var(--background);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.l-st-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
  margin-left: 2px;
}

/* ── Card grid ── */
.l-st-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .l-st-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Strategy Card ── */
.l-st-card {
  border-radius: 20px;
  border: 1px solid var(--border-50);
  background: var(--card);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.l-st-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.l-st-card-subbed {
  border-left: 3px solid var(--green);
  background: linear-gradient(135deg, var(--green-soft) 0%, var(--card) 40%);
}
.l-st-card-decayed {
  opacity: 0.7;
  border-left: 3px solid var(--yellow);
}

/* ── Card header ── */
.l-st-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.l-st-card-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.l-st-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.l-st-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Evolution badge ── */
.l-st-evo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid var(--border-50);
  background: var(--muted-50);
  color: var(--muted-foreground);
}
.l-st-evo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-foreground);
}
.l-st-evo-incubating { border-color: rgba(245,158,11,0.25); background: var(--yellow-soft); color: #92400e; }
.l-st-evo-incubating .l-st-evo-dot { background: var(--yellow); }
.l-st-evo-promoted { border-color: rgba(16,185,129,0.25); background: var(--green-soft); color: #065f46; }
.l-st-evo-promoted .l-st-evo-dot { background: var(--green); }
.l-st-evo-matured { border-color: rgba(16,185,129,0.3); background: var(--green-light); color: #065f46; }
.l-st-evo-matured .l-st-evo-dot { background: #34d399; }
.l-st-evo-decayed { border-color: rgba(220,38,38,0.2); background: var(--red-soft); color: #991b1b; }
.l-st-evo-decayed .l-st-evo-dot { background: var(--red); }
.l-st-evo-retired { opacity: 0.6; }

/* ── Evolution meta row (trend + genome) ── */
.l-st-evo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.l-st-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}
.l-st-trend-rising { color: var(--green); }
.l-st-trend-stable { color: var(--muted-foreground); }
.l-st-trend-declining { color: var(--red); }

.l-st-genome {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
}
.l-st-genome-node {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-weight: 600;
}
.l-st-genome-node.current {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-20);
}
.l-st-genome-sep {
  color: var(--border);
  font-size: 10px;
}

/* ── Progress bar ── */
.l-st-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.l-st-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--muted-50);
  border-radius: 999px;
  overflow: hidden;
}
.l-st-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(16,127,86,0.6));
  transition: width 0.5s ease;
}
.l-st-progress-label {
  font-size: 12px;
  color: var(--muted-foreground);
  white-space: nowrap;
  font-weight: 500;
}

/* ── Stats row (KPI style) ── */
.l-st-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 -8px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-30);
  border-bottom: 1px solid var(--border-30);
}
.l-st-stat {
  text-align: center;
  padding: 4px 8px;
}
.l-st-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.l-st-stat strong.up { color: var(--green); }
.l-st-stat strong.down { color: var(--red); }
.l-st-stat span {
  display: block;
  font-size: 11px;
  color: var(--muted-foreground-70);
  margin-top: 2px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Filter tags ── */
.l-st-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.l-st-tag {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  border: 1px solid var(--primary-15);
}

/* ── Warnings ── */
.l-st-warn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-md);
  margin-bottom: 12px;
}
.l-st-warn-decay {
  color: #991b1b;
  background: var(--red-soft);
  border: 1px solid rgba(220,38,38,0.12);
}
.l-st-warn-incubating {
  color: #92400e;
  background: var(--yellow-soft);
  border: 1px solid rgba(245,158,11,0.15);
}

/* ── Card footer ── */
.l-st-footer { margin-top: 4px; }
.l-st-sub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: all var(--ease-out);
  box-shadow: var(--shadow-sm), 0 2px 8px var(--primary-20);
}
.l-st-sub-btn:hover {
  background: var(--primary-90);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 4px 16px var(--primary-20);
}
.l-st-sub-ghost {
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.l-st-sub-ghost:hover {
  background: var(--muted);
  border-color: var(--muted-foreground-70);
}
.l-st-cta-subbed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--primary-20);
  border-radius: var(--r-md);
}
.l-st-cta-frozen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  background: var(--yellow-soft);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--r-md);
}

/* ── Inline subscribe form ── */
.l-st-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-50);
  animation: lStSlide 0.2s ease;
}
@keyframes lStSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.l-st-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  background: var(--background);
  margin-bottom: 10px;
  box-sizing: border-box;
  font-family: var(--font-sans);
  transition: border-color var(--ease-out), box-shadow var(--ease-out);
}
.l-st-input:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.l-st-form-actions {
  display: flex;
  gap: 8px;
}
.l-st-form-confirm {
  flex: 1;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: var(--font-sans);
}
.l-st-form-cancel {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--muted);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ── Subscriptions view ── */
.l-st-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.l-st-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}
.l-st-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 12px;
}
.l-st-subs-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .l-st-subs-grid { grid-template-columns: repeat(2, 1fr); }
}

.l-st-sub-card {
  border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.l-st-sub-card.disabled { opacity: 0.55; }
.l-st-sub-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}
.l-st-sub-card-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.l-st-sub-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-soft);
  border-radius: var(--r-sm);
  color: var(--primary);
  flex-shrink: 0;
}
.l-st-sub-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 2px;
}
.l-st-builtin {
  font-size: 10px;
  color: var(--muted-foreground);
  font-weight: 500;
}
.l-st-sub-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.l-st-sub-email {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
}
.l-st-sub-no-email {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--yellow);
  font-weight: 600;
}
.l-st-status {
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.l-st-status-active {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--primary-15);
}
.l-st-status-paused {
  background: var(--yellow-soft);
  color: var(--yellow);
  border: 1px solid rgba(245,158,11,0.15);
}
.l-st-sub-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted-foreground);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.l-st-sub-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.l-st-sub-stats strong {
  font-weight: 700;
  color: var(--foreground);
}
.l-st-sub-actions {
  display: flex;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-50);
}
.l-st-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground-60);
  background: var(--muted-50);
  border: 1px solid var(--border-50);
  border-radius: var(--r-sm);
  cursor: pointer;
  gap: 4px;
  font-family: var(--font-sans);
  transition: all var(--ease-out);
}
.l-st-action:hover { background: var(--muted); border-color: var(--border); }
.l-st-action-del { color: var(--red); border-color: rgba(220,38,38,0.15); }
.l-st-action-del:hover { background: var(--red-soft); }

/* ── Matches list ── */
.l-st-matches {
  margin-top: 32px;
}
.l-st-match-list {
  border-radius: 16px;
  border: 1px solid var(--border-50);
  background: var(--card);
  overflow: hidden;
}
.l-st-match-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-30);
  cursor: pointer;
  transition: background var(--ease-out);
}
.l-st-match-row:last-child { border-bottom: none; }
.l-st-match-row:hover { background: var(--muted-30); }
.l-st-match-time {
  font-size: 12px;
  color: var(--muted-foreground);
  font-weight: 500;
}
.l-st-match-teams {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}
.l-st-match-info {
  font-size: 12px;
  color: var(--muted-foreground);
  text-align: right;
}

/* ── Disclaimer ── */
.l-st-disclaimer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  background: var(--muted-30);
  border-radius: 16px;
  border: 1px solid var(--border-50);
  align-items: flex-start;
}
.l-st-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--muted-foreground);
}
.l-st-disclaimer p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
}

/* ── Empty state ── */
.l-st-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted-foreground);
}
.l-st-empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--muted-foreground-70);
}
.l-st-empty-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--foreground);
  margin-bottom: 4px;
}
.l-st-empty-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ── Back button ── */
.l-st-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-15);
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--ease-out);
}
.l-st-back:hover {
  background: var(--primary-15);
}

/* ══════════════════════════════════════════
   Download App Section
   ══════════════════════════════════════════ */
.dl-section {
  padding: 64px 20px;
  background: var(--surface-alt, #f8fafc);
}
.dl-container { max-width: 800px; margin: 0 auto; }
.dl-header { text-align: center; margin-bottom: 36px; }
.dl-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 8px; color: var(--fg, #0f172a); }
.dl-desc { font-size: 0.95rem; color: var(--muted-fg, #64748b); margin: 0; }

.dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .dl-grid { grid-template-columns: 1fr 1fr; }
}

.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  border-radius: 16px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  transition: box-shadow 0.2s;
}
.dl-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.dl-highlight { border-color: var(--primary, #3b82f6); box-shadow: 0 0 0 2px var(--primary-15, rgba(59,130,246,.15)); }

.dl-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--primary-10, rgba(59,130,246,.1));
  color: var(--primary, #3b82f6);
  margin-bottom: 16px;
}
.dl-card-body h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 6px; }
.dl-card-body p { font-size: 0.88rem; color: var(--muted-fg, #64748b); margin: 0 0 12px; line-height: 1.5; }

.dl-steps {
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted-fg, #64748b);
  padding-left: 20px;
  margin: 0 0 20px;
  line-height: 1.7;
}
.dl-steps strong { color: var(--fg, #0f172a); }

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: auto;
}
.dl-btn-android {
  background: var(--primary, #3b82f6);
  color: #fff;
}
.dl-btn-android:hover { background: var(--primary-hover, #2563eb); }
.dl-btn-ios {
  background: var(--surface-alt, #f1f5f9);
  color: var(--fg, #0f172a);
  border: 1px solid var(--border, #e2e8f0);
}
.dl-btn-ios:hover { background: var(--border, #e2e8f0); }

@media (max-width: 480px) {
  .dl-section { padding: 40px 16px; }
  .dl-card { padding: 24px 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   Pricing V3 — PM-first redesigned PC pricing page
   ═══════════════════════════════════════════════════════════════════ */

/* ── Shell: pricing page uses plain block layout (not grid/module) ── */
.app-main.pricing-main {
  display: block;
  width: 100%;
  gap: 0;
}

/* ── Page wrapper ── */
.l-pricing-v3-page {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 80px;
}

/* Override module-main if it ever gets applied (defensive) */
.app-main.module-main > main.l-pricing-v3-page,
.app-main > main.l-pricing-v3-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  padding-bottom: 80px;
}

/* ── Hero section ── */
.l-pricing-v3-hero {
  position: relative;
  padding: 80px 32px 64px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13,107,74,0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-60);
}
.l-pricing-v3-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(16,127,86,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(13,148,136,0.06) 0%, transparent 60%);
}
.l-pricing-v3-hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.l-pricing-v3-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 20px 0 12px;
  color: var(--foreground);
}
.l-pricing-v3-hero p {
  font-size: 17px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}
.l-pricing-v3-hero p br { display: block; }

/* ── Social proof bar ── */
.l-pricing-v3-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 40px;
  padding: 24px 32px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-md);
}
.l-pricing-v3-social-item {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.l-pricing-v3-social-divider {
  width: 1px;
  height: 48px;
  background: var(--border-60);
  flex-shrink: 0;
}
.l-pricing-v3-social-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.l-pricing-v3-social-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
  margin: 4px 0 2px;
}
.l-pricing-v3-social-desc {
  font-size: 11px;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* ── Pricing section ── */
.l-pricing-v3-pricing-section {
  padding: 72px 32px 64px;
}
.l-pricing-v3-pricing-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.l-pricing-v3-pricing-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 8px;
}
.l-pricing-v3-pricing-header p {
  font-size: 16px;
  color: var(--muted-foreground);
  margin: 0;
}

/* ── Cards grid ── */
.l-pricing-v3-cards-grid {
  display: grid;
  gap: 20px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.l-pricing-v3-cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.l-pricing-v3-cards-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 280px)); }
.l-pricing-v3-cards-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 320px)); }
.l-pricing-v3-cards-grid.cols-1 { grid-template-columns: minmax(0, 360px); }

/* ── Pricing card ── */
.l-pricing-v3-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-60);
  border-radius: var(--r-2xl);
  padding: 32px 24px 28px;
  transition: all var(--ease-spring);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.l-pricing-v3-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border);
}
.l-pricing-v3-card.featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow:
    0 0 0 3px var(--primary-10),
    0 24px 60px -20px rgba(16,127,86,0.18),
    var(--shadow-lg);
  background: linear-gradient(180deg, rgba(236,253,245,0.4) 0%, rgba(255,255,255,0.96) 35%);
}
.l-pricing-v3-card.featured:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 3px var(--primary-15),
    0 32px 80px -20px rgba(16,127,86,0.22),
    var(--shadow-xl);
}
.l-pricing-v3-card.featured::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,127,86,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Card badge ── */
.l-pricing-v3-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13,107,74,0.3);
}
.l-pricing-v3-card-badge.savings {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}
.l-pricing-v3-card-badge svg { width: 10px; height: 10px; }

/* ── Card header ── */
.l-pricing-v3-card-header { margin-bottom: 20px; }
.l-pricing-v3-card-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.featured .l-pricing-v3-card-name {
  color: var(--primary);
}
.l-pricing-v3-card-desc {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-top: 4px;
}

/* ── Price ── */
.l-pricing-v3-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.l-pricing-v3-price-amount {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--foreground);
}
.featured .l-pricing-v3-price-amount {
  color: var(--primary);
}
.l-pricing-v3-price-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-foreground);
}
.l-pricing-v3-card-daily {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 4px;
}
.l-pricing-v3-card-trial {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 10px;
  border-radius: var(--r-full);
  margin-bottom: 8px;
  width: fit-content;
}

/* ── CTA button ── */
.l-pricing-v3-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 0;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--ease-out);
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  margin: 16px 0 20px;
  box-shadow: var(--shadow-sm);
}
.l-pricing-v3-btn:hover {
  background: var(--muted);
  border-color: var(--border);
  transform: translateY(-1px);
}
.l-pricing-v3-btn.primary {
  background: linear-gradient(135deg, #0f7a54, #10a56d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(16,127,86,0.5);
}
.l-pricing-v3-btn.primary:hover {
  box-shadow: 0 12px 32px -8px rgba(16,127,86,0.6);
  transform: translateY(-1px);
}

/* ── Feature list ── */
.l-pricing-v3-card-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.l-pricing-v3-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.5;
}
.l-pricing-v3-feature-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

/* ── Comparison table ── */
.l-pricing-v3-compare-section {
  padding: 72px 32px;
  background: var(--muted-40);
  border-top: 1px solid var(--border-60);
  border-bottom: 1px solid var(--border-60);
}
.l-pricing-v3-compare-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.l-pricing-v3-compare-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 16px 0 8px;
}
.l-pricing-v3-compare-header p {
  font-size: 16px;
  color: var(--muted-foreground);
  margin: 0;
}
.l-pricing-v3-compare-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.l-pricing-v3-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.l-pricing-v3-compare-table thead tr {
  background: var(--muted);
}
.l-pricing-v3-compare-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--foreground);
  text-align: left;
  border-bottom: 1px solid var(--border-60);
}
.l-pricing-v3-compare-table th.highlight {
  color: var(--primary);
  background: var(--primary-soft);
  text-align: center;
}
.l-pricing-v3-compare-table th:first-child { width: 40%; }
.l-pricing-v3-compare-table th:nth-child(2) { text-align: center; }
.l-pricing-v3-compare-table th svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 2px;
  width: 14px;
  height: 14px;
}
.l-pricing-v3-compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-40);
  color: var(--muted-foreground);
  text-align: center;
  font-size: 13px;
}
.l-pricing-v3-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--foreground);
}
.l-pricing-v3-compare-table td.highlight {
  background: rgba(16,127,86,0.03);
  color: var(--primary);
  font-weight: 600;
}
.l-pricing-v3-compare-table td.highlight svg,
.l-pricing-v3-compare-table td.na svg,
.l-pricing-v3-compare-table td svg {
  display: inline-block;
  vertical-align: -2px;
  width: 14px;
  height: 14px;
}
.l-pricing-v3-compare-table td.highlight svg { color: var(--primary); }
.l-pricing-v3-compare-table tr:last-child td { border-bottom: none; }

/* ── Trust section ── */
.l-pricing-v3-trust-section {
  padding: 72px 32px;
}
.l-pricing-v3-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.l-pricing-v3-trust-card {
  text-align: center;
  padding: 28px 20px 24px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-60);
  border-radius: var(--r-xl);
  transition: all var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.l-pricing-v3-trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.l-pricing-v3-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--primary-10);
  color: var(--primary);
  margin-bottom: 16px;
}
.l-pricing-v3-trust-icon svg { width: 22px; height: 22px; }
.l-pricing-v3-trust-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--foreground);
}
.l-pricing-v3-trust-card p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* ── CTA section ── */
.l-pricing-v3-cta-section {
  padding: 72px 32px;
  text-align: center;
  background: linear-gradient(180deg, var(--muted-40) 0%, rgba(16,127,86,0.04) 50%, var(--muted-40) 100%);
  border-top: 1px solid var(--border-60);
  position: relative;
  overflow: hidden;
}
.l-pricing-v3-cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,127,86,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.l-pricing-v3-cta-content {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.l-pricing-v3-cta-content h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.l-pricing-v3-cta-content p {
  font-size: 16px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 28px;
}
.l-pricing-v3-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .l-pricing-v3-cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .l-pricing-v3-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .l-pricing-v3-social { flex-wrap: wrap; gap: 12px; }
  .l-pricing-v3-social-divider { display: none; }
  .l-pricing-v3-social-item { flex: 1 1 30%; min-width: 120px; padding: 8px; }
}
@media (max-width: 640px) {
  .l-pricing-v3-cards-grid.cols-4,
  .l-pricing-v3-cards-grid.cols-3,
  .l-pricing-v3-cards-grid.cols-2 { grid-template-columns: 1fr; max-width: 380px; }
  .l-pricing-v3-hero { padding: 56px 20px 48px; }
  .l-pricing-v3-pricing-section { padding: 48px 20px; }
  .l-pricing-v3-compare-section { padding: 48px 16px; }
  .l-pricing-v3-trust-section { padding: 48px 20px; }
  .l-pricing-v3-trust-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .l-pricing-v3-cta-section { padding: 48px 20px; }
  .l-pricing-v3-price-amount { font-size: 36px; }
  .l-pricing-v3-card { padding: 28px 20px 24px; }
  .l-pricing-v3-cta-actions { flex-direction: column; }
  .l-pricing-v3-cta-actions a { width: 100%; text-align: center; }
}
