:root {
  --bg: #07111f;
  --panel: #0d1b2f;
  --panel-2: #11243e;
  --text: #ecf4ff;
  --muted: #9fb3c8;
  --line: rgba(255,255,255,.11);
  --green: #17c964;
  --yellow: #f5a524;
  --red: #f31260;
  --blue: #42a5ff;
  --purple: #8b5cf6;
  --soft-red: rgba(243,18,96,.15);
  --soft-yellow: rgba(245,165,36,.15);
  --soft-blue: rgba(66,165,255,.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(66,165,255,.22), transparent 34%),
    radial-gradient(circle at top right, rgba(139,92,246,.18), transparent 36%),
    var(--bg);
  color: var(--text);
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 60px;
}

.hero-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
  width: 100%;
}

.eyebrow {
  color: #79c8ff;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 74px);
  line-height: .95;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.hero-badges,
.keyword-wrap,
.legend,
.strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span,
.keyword,
.lock,
.tag {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 9px 13px;
  color: #dcecff;
  font-weight: 700;
  font-size: 13px;
}

.tag.soft-red { background: var(--soft-red); }
.tag.soft-yellow { background: var(--soft-yellow); }
.tag.soft-blue { background: var(--soft-blue); }

.scan-card,
.panel,
.score-card,
.metric-card,
.mini-insight,
.diagnosis-strip {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.scan-card {
  padding: 26px;
}

label {
  display: block;
  margin: 15px 0 7px;
  color: #c6d9ef;
  font-weight: 800;
  font-size: 13px;
}

input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(4,10,20,.72);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
}

input:focus {
  border-color: var(--blue);
}

button,
.secondary-btn,
.agency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  font-weight: 900;
  margin-top: 18px;
  cursor: pointer;
  text-decoration: none;
}

.secondary-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
}

.agency-btn {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
}

.small-note,
.footer,
.panel p,
.metric-card p,
.list-item p,
.issue-item p,
.mini-insight p,
.diagnosis-copy p {
  color: var(--muted);
}

.small-note {
  font-size: 13px;
  margin-top: 14px;
  margin-bottom: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.topbar h1 {
  font-size: clamp(32px, 4vw, 58px);
  margin-bottom: 8px;
}

.diagnosis-strip {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.strip-kicker {
  color: #79c8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.diagnosis-copy h2 {
  margin-bottom: 10px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.score-card,
.metric-card,
.panel,
.mini-insight {
  padding: 22px;
}

.highlight-card {
  border-color: rgba(245,165,36,.35);
  box-shadow: 0 24px 80px rgba(245,165,36,.10);
}

.money-leak-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.score-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at center, #0c1728 58%, transparent 59%),
    conic-gradient(var(--blue), var(--purple), var(--red), var(--blue));
}

.score-ring span {
  font-size: 46px;
  font-weight: 950;
}

.score-ring small {
  margin-top: -52px;
  color: var(--muted);
  font-weight: 800;
}

.status-critical .score-ring {
  background:
    radial-gradient(circle at center, #0c1728 58%, transparent 59%),
    conic-gradient(var(--red), #ff7a1a, var(--red));
}

.status-warning .score-ring {
  background:
    radial-gradient(circle at center, #0c1728 58%, transparent 59%),
    conic-gradient(var(--yellow), #ffdf6e, var(--yellow));
}

.status-healthy .score-ring {
  background:
    radial-gradient(circle at center, #0c1728 58%, transparent 59%),
    conic-gradient(var(--green), #57e389, var(--green));
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

.metric-card strong,
.mini-insight strong {
  display: block;
  font-size: 44px;
  margin: 10px 0;
  letter-spacing: -0.06em;
}

.panel {
  margin-bottom: 16px;
}

.panel-head,
.list-item,
.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  margin-left: 8px;
}

.green { --cell-color: var(--green); }
.yellow { --cell-color: var(--yellow); }
.red { --cell-color: var(--red); }

.dot.green { background: var(--green); }
.dot.yellow { background: var(--yellow); }
.dot.red { background: var(--red); }

.local-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.grid-cell {
  min-height: 126px;
  border: 1px solid color-mix(in srgb, var(--cell-color), white 12%);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cell-color), transparent 78%), rgba(255,255,255,.035));
  border-radius: 20px;
  padding: 16px;
}

.grid-cell span {
  color: #d8e7f8;
  font-weight: 900;
}

.grid-cell strong {
  display: block;
  font-size: 34px;
  margin: 8px 0;
  color: var(--cell-color);
}

.grid-cell small {
  color: var(--muted);
  line-height: 1.35;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.list,
.action-list,
.premium-bullets,
.issue-list {
  display: grid;
  gap: 12px;
}

.list-item,
.action,
.premium-bullet,
.issue-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(0,0,0,.14);
}

.list-item span {
  white-space: nowrap;
  color: #dbeafe;
  font-weight: 900;
  font-size: 13px;
}

.action {
  display: flex;
  gap: 12px;
}

.action p,
.premium-bullet p,
.issue-item p {
  margin: 0;
}

.premium-bullet,
.issue-item {
  display: flex;
  gap: 12px;
  align-items: start;
}

.issue-bullet {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--soft-red);
  color: #ff9ac1;
  font-weight: 900;
  border: 1px solid rgba(243,18,96,.25);
  flex: 0 0 28px;
}

.premium-panel {
  position: relative;
  overflow: hidden;
}

.premium-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(139,92,246,.25), transparent 35%);
  pointer-events: none;
}

.lock {
  width: fit-content;
  margin-bottom: 13px;
  background: rgba(139,92,246,.16);
}

.premium-btn {
  width: 100%;
}

.footer {
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.footer a {
  color: #9dd2ff;
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero,
  .dashboard-grid,
  .two-col,
  .money-leak-row {
    grid-template-columns: 1fr;
  }

  .local-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .panel-head,
  .footer,
  .diagnosis-strip {
    flex-direction: column;
    align-items: start;
  }
}

/* STEP 7 - Verified website checks */
.verified-panel {
  border-color: rgba(66,165,255,.22);
}

.verified-score {
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(0,0,0,.15);
}

.verified-score span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

.verified-score strong {
  display: block;
  font-size: 32px;
  margin-top: 4px;
}

.verified-summary {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.verified-summary > div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(0,0,0,.14);
  overflow-wrap: anywhere;
}

.verified-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
}

.checks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.check-item {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(0,0,0,.14);
}

.check-item > span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  font-weight: 950;
}

.check-item.ok > span {
  background: rgba(23,201,100,.15);
  color: #70f0a4;
  border: 1px solid rgba(23,201,100,.25);
}

.check-item.bad > span {
  background: rgba(243,18,96,.15);
  color: #ff9ac1;
  border: 1px solid rgba(243,18,96,.25);
}

.check-item p {
  margin: 4px 0 0;
}

.keyword-block,
.recommendation-block {
  margin-top: 18px;
}

.keyword-block h3,
.recommendation-block h3 {
  margin: 0 0 12px;
}

@media (max-width: 960px) {
  .verified-summary,
  .checks-grid {
    grid-template-columns: 1fr;
  }
}

/* STEP 8 - Google Places real data */
.google-panel {
  border-color: rgba(66,165,255,.28);
  box-shadow: 0 24px 80px rgba(66,165,255,.08);
}

.google-score {
  border-color: rgba(66,165,255,.25);
}

.google-diagnosis {
  border: 1px solid rgba(66,165,255,.22);
  background: rgba(66,165,255,.10);
  border-radius: 18px;
  padding: 15px;
  margin-bottom: 16px;
}

.google-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.google-summary > div {
  border: 1px solid var(--line);
  background: rgba(0,0,0,.14);
  border-radius: 18px;
  padding: 14px;
}

.google-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.google-target-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(66,165,255,.20);
  background: rgba(0,0,0,.16);
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 18px;
}

.google-target-card h3 {
  margin: 8px 0 5px;
  font-size: 22px;
}

.google-target-card p {
  margin: 0;
  color: var(--muted);
}

.google-target-metrics {
  text-align: right;
}

.google-target-metrics span {
  display: block;
  font-size: 28px;
  font-weight: 950;
}

.google-target-metrics small {
  color: var(--muted);
}

.mini-link {
  color: #9dd2ff;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
}

.section-subtitle {
  margin: 20px 0 12px;
}

.google-competitor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.google-competitor-card {
  border: 1px solid var(--line);
  background: rgba(0,0,0,.14);
  border-radius: 18px;
  padding: 14px;
}

.google-competitor-card p {
  margin: 7px 0 10px;
  color: var(--muted);
}

.competitor-metrics {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.competitor-metrics span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.google-competitor-card a {
  color: #9dd2ff;
  text-decoration: none;
  font-weight: 900;
}

.warning-box {
  border: 1px solid rgba(245,165,36,.26);
  background: rgba(245,165,36,.10);
  border-radius: 18px;
  padding: 14px;
  margin-top: 14px;
}

.warning-box p {
  margin: 0 0 7px;
}

@media (max-width: 960px) {
  .google-summary,
  .google-competitor-grid,
  .google-target-card {
    grid-template-columns: 1fr;
  }

  .google-target-metrics {
    text-align: left;
  }
}

/* STEP 9A - Business identity lock */
.identity-warning {
  border: 1px solid rgba(255, 168, 46, .34);
  background: linear-gradient(135deg, rgba(255, 168, 46, .14), rgba(243, 18, 96, .10));
  border-radius: 20px;
  padding: 16px;
  margin: 0 0 18px;
}

.identity-warning h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.identity-warning p {
  margin: 0;
  color: var(--muted);
}

.candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.candidate-card {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
  border-radius: 18px;
  padding: 14px;
}

.candidate-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.candidate-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.candidate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.candidate-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.candidate-card a {
  color: #9dd2ff;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 960px) {
  .candidate-grid {
    grid-template-columns: 1fr;
  }
}

/* STEP 9C - entity not detected */
.identity-warning {
  box-shadow: 0 20px 70px rgba(243, 18, 96, .10);
}

/* STEP 9D - commercial entity-not-detected state */
.entity-danger-banner {
  border: 1px solid rgba(243, 18, 96, .42);
  background: linear-gradient(135deg, rgba(243, 18, 96, .18), rgba(255, 168, 46, .10));
  border-radius: 22px;
  padding: 18px;
  margin: 16px 0 24px;
}

.entity-danger-banner h3 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.entity-danger-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

/* STEP 10A-RUN - Google Business Profile OAuth UI */
.google-connect-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(75, 163, 255, .35);
  background: linear-gradient(135deg, rgba(75, 163, 255, .13), rgba(131, 89, 255, .10));
}

.google-connect-panel h2 {
  margin: 0 0 10px;
}

.google-connect-panel p {
  max-width: 920px;
}

.connect-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 18px;
  padding: 16px 22px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #4ba3ff, #8359ff);
  box-shadow: 0 18px 55px rgba(75, 163, 255, .20);
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
}

.google-locked-box {
  border: 1px solid rgba(24, 211, 126, .45);
  background: linear-gradient(135deg, rgba(24, 211, 126, .16), rgba(75, 163, 255, .08));
}

.location-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.location-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  border-radius: 24px;
  padding: 22px;
}

.location-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.location-card p {
  margin: 6px 0;
  color: var(--muted);
}

.primary-btn {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, #4ba3ff, #8359ff);
  cursor: pointer;
  white-space: nowrap;
}

.muted-small {
  opacity: .72;
  font-size: 14px;
}

.back-line a {
  color: #9dccff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .google-connect-panel,
  .location-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .connect-google-btn,
  .primary-btn {
    width: 100%;
  }
}

/* STEP 10D - GBP quota fallback */
.safe-error {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-height: 260px;
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.12);
  color: #b9d8ff;
}

.danger-card {
  border-color: rgba(255, 26, 102, .55) !important;
  background: linear-gradient(135deg, rgba(255,26,102,.16), rgba(255,255,255,.045)) !important;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin: 22px 0;
}

.mini-grid > div,
.empty-state,
.location-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(4, 15, 30, .35);
}

.location-list {
  display: grid;
  gap: 18px;
}

.location-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 800px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .location-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* STEP 10F - GBP connection page cleanup */
.gbp-page-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 48px 48px 72px;
}

.gbp-hero {
  margin-bottom: 32px;
}

.gbp-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(48px, 7vw, 104px);
  line-height: .92;
  letter-spacing: -0.06em;
}

.gbp-hero p {
  max-width: 1180px;
  font-size: 22px;
  line-height: 1.35;
}

.gbp-warning-card {
  border-color: rgba(255, 32, 110, .55);
  background: linear-gradient(135deg, rgba(255, 32, 110, .12), rgba(20, 30, 65, .85));
}

.gbp-warning-card h2 {
  margin-top: 8px;
}

.gbp-location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.gbp-location-card {
  border: 1px solid rgba(170, 205, 255, .18);
  border-radius: 22px;
  padding: 24px;
  background: rgba(4, 13, 30, .45);
}

.gbp-location-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.gbp-empty-state {
  margin-top: 20px;
  border: 1px solid rgba(170, 205, 255, .16);
  border-radius: 22px;
  padding: 28px;
  background: rgba(4, 13, 30, .42);
}

.candidate-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.candidate-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.candidate-metrics {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.small-muted {
  color: rgba(187, 217, 255, .72);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.candidate-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.bottom-actions {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .gbp-page-shell {
    padding: 28px 18px 48px;
  }

  .gbp-hero h1 {
    font-size: 52px;
  }

  .gbp-hero p {
    font-size: 18px;
  }
}

/* ======================================================
   LOCAL TRUST SNIPER - LOCAL MAP / HEATMAP MVP
   ====================================================== */

.local-map-panel {
  overflow: hidden;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(120, 230, 255, .9);
  font-weight: 800;
}

.map-score-pill {
  border: 1px solid rgba(255, 196, 87, .35);
  background: rgba(255, 196, 87, .12);
  color: #ffd27a;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.sniper-map-wrap {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) .95fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 18px;
}

.sniper-map {
  position: relative;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(33, 150, 243, .26), transparent 16%),
    radial-gradient(circle at 22% 24%, rgba(239, 68, 68, .22), transparent 18%),
    radial-gradient(circle at 78% 28%, rgba(255, 196, 87, .20), transparent 18%),
    radial-gradient(circle at 70% 76%, rgba(239, 68, 68, .20), transparent 22%),
    linear-gradient(135deg, rgba(8, 18, 34, .96), rgba(14, 35, 61, .96));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 0 80px rgba(0,0,0,.25);
}

.sniper-map:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.map-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 150px; height: 150px; }
.ring-2 { width: 260px; height: 260px; }
.ring-3 { width: 370px; height: 370px; }

.map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 155px;
  min-height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  padding: 14px;
  text-align: center;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,18,34,.86);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.map-center strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.map-center span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.map-center.missing {
  border-color: rgba(239,68,68,.62);
  box-shadow: 0 0 0 7px rgba(239,68,68,.11), 0 18px 40px rgba(0,0,0,.35);
}

.map-center.uncertain {
  border-color: rgba(255,196,87,.58);
  box-shadow: 0 0 0 7px rgba(255,196,87,.10), 0 18px 40px rgba(0,0,0,.35);
}

.map-center.locked {
  border-color: rgba(67, 233, 123, .62);
  box-shadow: 0 0 0 7px rgba(67,233,123,.11), 0 18px 40px rgba(0,0,0,.35);
}

.map-dot {
  position: absolute;
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #06101f;
  border: 3px solid rgba(255,255,255,.86);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.map-dot span {
  font-size: 13px;
}

.risk-high { background: #ff5b5b; }
.risk-medium { background: #ffc857; }
.risk-low { background: #43e97b; }

.dot-1 { left: 18%; top: 20%; }
.dot-2 { left: 70%; top: 18%; }
.dot-3 { left: 78%; top: 46%; }
.dot-4 { left: 63%; top: 75%; }
.dot-5 { left: 28%; top: 72%; }
.dot-6 { left: 12%; top: 48%; }
.dot-7 { left: 42%; top: 14%; }
.dot-8 { left: 46%; top: 84%; }

.map-side {
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.map-side h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}

.map-side p {
  color: rgba(255,255,255,.72);
}

.map-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.map-stats div {
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  padding: 16px;
}

.map-stats strong {
  display: block;
  color: #fff;
  font-size: 28px;
}

.map-stats small {
  color: rgba(255,255,255,.66);
}

.keyword-zone-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.keyword-zone-list li {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(120,230,255,.08);
  border: 1px solid rgba(120,230,255,.14);
  color: rgba(255,255,255,.82);
}

.mapped-competitors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}

.mapped-competitors article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
}

.competitor-rank {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,196,87,.16);
  color: #ffd27a;
  font-weight: 900;
}

.mapped-competitors h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #fff;
}

.mapped-competitors p,
.mapped-competitors small {
  color: rgba(255,255,255,.66);
}

.mapped-competitors a {
  color: #78e6ff;
}

@media (max-width: 900px) {
  .sniper-map-wrap,
  .mapped-competitors {
    grid-template-columns: 1fr;
  }

  .sniper-map {
    min-height: 360px;
  }
}

/* STEP 11F - Google Maps Battle Map commercial UI */
.battle-map-section {
  margin: 34px 0;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(239, 68, 68, 0.24), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(245, 158, 11, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #111827 45%, #0f172a 100%);
  color: #f8fafc;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(255,255,255,0.10);
}

.battle-map-header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.battle-map-header h2 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.battle-map-header p {
  max-width: 820px;
  margin: 0;
  color: rgba(248,250,252,0.78);
  font-size: 16px;
  line-height: 1.55;
}

.section-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(239,68,68,0.16);
  color: #fecaca;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(248,113,113,0.35);
}

.battle-map-scorebox {
  min-width: 150px;
  padding: 18px;
  border-radius: 22px;
  text-align: center;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255,255,255,0.12);
}

.battle-map-scorebox strong {
  display: block;
  font-size: 46px;
  line-height: 1;
}

.battle-map-scorebox span {
  display: block;
  margin-top: 6px;
  color: rgba(248,250,252,0.68);
  font-size: 13px;
  font-weight: 700;
}

.battle-map-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(340px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.battle-map-visual,
.battle-competitor-list {
  border-radius: 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}

.battle-map-radar {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(34,197,94,0.12), rgba(245,158,11,0.12) 38%, rgba(239,68,68,0.18) 70%, rgba(15,23,42,0.1));
  background-size: 38px 38px, 38px 38px, auto;
}

.battle-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.18);
  transform: translate(-50%, -50%);
}

.battle-ring.ring-1 { width: 180px; height: 180px; }
.battle-ring.ring-2 { width: 320px; height: 320px; }
.battle-ring.ring-3 { width: 460px; height: 460px; }

.battle-center {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 172px;
  min-height: 96px;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16,185,129,0.96), rgba(5,150,105,0.96));
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 18px 44px rgba(16,185,129,0.28);
}

.battle-center strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

.battle-center span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.82);
}

.battle-pin {
  position: absolute;
  z-index: 6;
  width: 148px;
  min-height: 64px;
  border-radius: 18px;
  padding: 10px 12px 10px 42px;
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
}

.battle-pin span {
  position: absolute;
  left: 10px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}

.battle-pin small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(248,250,252,0.86);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.battle-pin.danger span,
.battle-card-rank.danger { background: #ef4444; }

.battle-pin.warning span,
.battle-card-rank.warning { background: #f59e0b; }

.battle-pin.soft span,
.battle-card-rank.soft { background: #38bdf8; }

.battle-pin.pin-1 { left: 8%; top: 16%; }
.battle-pin.pin-2 { right: 8%; top: 14%; }
.battle-pin.pin-3 { left: 9%; bottom: 18%; }
.battle-pin.pin-4 { right: 9%; bottom: 16%; }
.battle-pin.pin-5 { left: 36%; top: 6%; }
.battle-pin.pin-6 { right: 33%; bottom: 7%; }
.battle-pin.pin-7 { left: 4%; top: 48%; }
.battle-pin.pin-8 { right: 4%; top: 48%; }

.battle-map-warning {
  padding: 18px 20px;
  display: grid;
  gap: 4px;
  background: rgba(239,68,68,0.14);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.battle-map-warning strong {
  color: #fecaca;
}

.battle-map-warning span {
  color: rgba(248,250,252,0.76);
  line-height: 1.45;
}

.battle-competitor-list {
  padding: 20px;
  max-height: 620px;
  overflow: auto;
}

.battle-list-title h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.battle-list-title p {
  margin: 0 0 16px;
  color: rgba(248,250,252,0.68);
}

.battle-competitor-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.battle-card-rank {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
}

.battle-card-body h4 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.25;
}

.battle-address {
  margin: 0 0 10px;
  color: rgba(248,250,252,0.68);
  font-size: 13px;
  line-height: 1.35;
}

.battle-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.battle-signals span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  color: rgba(248,250,252,0.86);
  font-size: 12px;
  font-weight: 800;
}

.battle-meaning {
  margin: 0 0 10px;
  color: rgba(248,250,252,0.72);
  font-size: 13px;
  line-height: 1.45;
}

.battle-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(59,130,246,0.18);
  color: #bfdbfe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(96,165,250,0.26);
}

.battle-action-strip {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(248,250,252,0.82);
}

.battle-action-strip a {
  white-space: nowrap;
  display: inline-flex;
  padding: 11px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(239,68,68,0.28);
}

@media (max-width: 980px) {
  .battle-map-header,
  .battle-action-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .battle-map-grid {
    grid-template-columns: 1fr;
  }

  .battle-map-radar {
    min-height: 460px;
  }

  .battle-pin {
    width: 128px;
  }
}

@media (max-width: 620px) {
  .battle-map-section {
    padding: 18px;
    border-radius: 22px;
  }

  .battle-map-radar {
    min-height: 560px;
  }

  .battle-pin {
    width: 128px;
    min-height: 58px;
  }

  .battle-pin.pin-1 { left: 4%; top: 8%; }
  .battle-pin.pin-2 { right: 4%; top: 20%; }
  .battle-pin.pin-3 { left: 4%; top: 34%; bottom: auto; }
  .battle-pin.pin-4 { right: 4%; top: 48%; bottom: auto; }
  .battle-pin.pin-5 { left: 4%; top: 62%; }
  .battle-pin.pin-6 { right: 4%; top: 76%; bottom: auto; }
  .battle-pin.pin-7 { left: 4%; top: 88%; }
  .battle-pin.pin-8 { right: 4%; top: 88%; }

  .battle-center {
    width: 138px;
  }

  .battle-ring.ring-1 { width: 150px; height: 150px; }
  .battle-ring.ring-2 { width: 250px; height: 250px; }
  .battle-ring.ring-3 { width: 340px; height: 340px; }
}

/* STEP 11G-LOCKED - Premium real street map CTA */
.locked-real-map-preview {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 20px;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(37,99,235,0.20), rgba(239,68,68,0.16)),
    rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.locked-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(59,130,246,0.16);
  color: #bfdbfe;
  border: 1px solid rgba(96,165,250,0.28);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locked-map-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.locked-map-copy p {
  margin: 0 0 18px;
  color: rgba(248,250,252,0.74);
  line-height: 1.55;
}

.locked-map-features {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.locked-map-features div {
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(15,23,42,0.58);
  border: 1px solid rgba(255,255,255,0.10);
}

.locked-map-features strong {
  display: block;
  color: #fff;
  margin-bottom: 3px;
}

.locked-map-features span {
  color: rgba(248,250,252,0.65);
  font-size: 13px;
  line-height: 1.4;
}

.locked-map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #ef4444);
  color: #fff;
  text-decoration: none;
  font-weight: 1000;
  box-shadow: 0 16px 34px rgba(37,99,235,0.24);
}

.locked-map-visual {
  min-height: 340px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(15,23,42,0.66);
  border: 1px solid rgba(255,255,255,0.10);
}

.locked-map-grid-bg {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  background:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    radial-gradient(circle at 35% 40%, rgba(16,185,129,0.22), transparent 22%),
    radial-gradient(circle at 70% 25%, rgba(239,68,68,0.24), transparent 28%),
    radial-gradient(circle at 72% 76%, rgba(245,158,11,0.20), transparent 26%),
    linear-gradient(135deg, #111827, #020617);
  background-size: 42px 42px, 42px 42px, auto, auto, auto, auto;
  filter: saturate(1.08);
}

.locked-map-grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
  background: rgba(2,6,23,0.16);
}

.locked-map-grid-bg .zone {
  position: absolute;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  border: 2px solid rgba(255,255,255,0.78);
}

.locked-map-grid-bg .zone.red { background: #ef4444; }
.locked-map-grid-bg .zone.yellow { background: #f59e0b; }
.locked-map-grid-bg .zone.green { background: #10b981; }

.locked-map-grid-bg .z1 { left: 12%; top: 18%; }
.locked-map-grid-bg .z2 { right: 16%; top: 16%; }
.locked-map-grid-bg .z3 { left: 30%; bottom: 18%; }
.locked-map-grid-bg .z4 { right: 12%; bottom: 20%; }
.locked-map-grid-bg .z5 { left: 47%; top: 45%; }

.locked-map-blur {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: min(330px, 82%);
  transform: translate(-50%, -50%);
  padding: 26px 22px;
  border-radius: 24px;
  text-align: center;
  background: rgba(15,23,42,0.82);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 24px 60px rgba(0,0,0,0.38);
}

.locked-map-blur strong {
  display: block;
  margin-bottom: 7px;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.locked-map-blur small {
  color: rgba(248,250,252,0.70);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .locked-real-map-preview {
    grid-template-columns: 1fr;
  }
}

/* STEP 11H - keep only one visible map, move premium unlock to top */
.locked-real-map-preview {
  display: none !important;
}

.battle-premium-top {
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(37,99,235,0.18), rgba(239,68,68,0.16)),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.battle-premium-top-copy h3 {
  margin: 6px 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.battle-premium-top-copy p {
  margin: 0;
  color: rgba(248,250,252,0.74);
  line-height: 1.5;
  font-size: 14px;
}

.battle-premium-top-features {
  display: grid;
  gap: 10px;
}

.battle-premium-top-features div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15,23,42,0.54);
  border: 1px solid rgba(255,255,255,0.10);
}

.battle-premium-top-features strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
}

.battle-premium-top-features span {
  color: rgba(248,250,252,0.68);
  font-size: 12px;
  line-height: 1.4;
}

.battle-premium-top-cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.battle-premium-top .locked-map-button {
  white-space: nowrap;
  min-width: 220px;
  min-height: 52px;
}

@media (max-width: 1100px) {
  .battle-premium-top {
    grid-template-columns: 1fr;
  }

  .battle-premium-top-cta {
    justify-content: flex-start;
  }

  .battle-premium-top .locked-map-button {
    min-width: 0;
    width: auto;
  }
}

/* STEP 11I - compact premium unlock bar refinement */
.battle-premium-top {
  margin: 0 0 18px !important;
  grid-template-columns: minmax(260px, 0.95fr) minmax(360px, 1.35fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 14px 16px !important;
  border-radius: 20px !important;
  background:
    linear-gradient(135deg, rgba(37,99,235,0.16), rgba(239,68,68,0.13)),
    rgba(255,255,255,0.045) !important;
}

.battle-premium-top-copy h3 {
  margin: 5px 0 5px !important;
  font-size: clamp(22px, 2.4vw, 30px) !important;
}

.battle-premium-top-copy p {
  font-size: 13px !important;
  line-height: 1.42 !important;
  max-width: 420px !important;
}

.battle-premium-top .locked-kicker {
  margin-bottom: 4px !important;
  padding: 5px 9px !important;
  font-size: 10px !important;
}

.battle-premium-top-features {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.battle-premium-top-features div {
  min-height: 76px !important;
  padding: 10px 11px !important;
  border-radius: 14px !important;
  background: rgba(15,23,42,0.48) !important;
}

.battle-premium-top-features strong {
  font-size: 13px !important;
  line-height: 1.15 !important;
}

.battle-premium-top-features span {
  font-size: 11px !important;
  line-height: 1.3 !important;
}

.battle-premium-top-cta {
  align-self: center !important;
}

.battle-premium-top .locked-map-button {
  min-width: 178px !important;
  min-height: 48px !important;
  padding: 11px 14px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #ef4444 55%, #f97316 100%) !important;
  box-shadow: 0 18px 38px rgba(239,68,68,0.28), 0 0 0 1px rgba(255,255,255,0.12) inset !important;
  font-size: 13px !important;
}

.battle-map-header {
  margin-bottom: 18px !important;
}

.battle-map-header h2 {
  font-size: clamp(34px, 4.2vw, 54px) !important;
}

.battle-map-grid {
  margin-top: 4px !important;
}

@media (max-width: 1180px) {
  .battle-premium-top {
    grid-template-columns: 1fr !important;
  }

  .battle-premium-top-features {
    grid-template-columns: 1fr !important;
  }

  .battle-premium-top-features div {
    min-height: auto !important;
  }

  .battle-premium-top-cta {
    justify-content: flex-start !important;
  }
}

/* STEP 11J-2 - short premium CTA final override */
.battle-premium-short {
  grid-template-columns: 1fr auto !important;
  padding: 14px 16px !important;
  min-height: 88px !important;
  align-items: center !important;
}

.battle-premium-short .battle-premium-top-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.battle-premium-short .battle-premium-top-copy h3 {
  margin: 4px 0 4px !important;
  font-size: clamp(24px, 2.5vw, 32px) !important;
  line-height: 1 !important;
}

.battle-premium-short .battle-premium-top-copy p {
  max-width: none !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  color: rgba(248,250,252,0.78) !important;
  line-height: 1.3 !important;
}

.battle-premium-short .locked-kicker {
  margin-bottom: 2px !important;
}

.battle-premium-short .battle-premium-top-features {
  display: none !important;
}

.battle-premium-short .locked-map-button {
  min-width: 210px !important;
  min-height: 48px !important;
}

@media (max-width: 760px) {
  .battle-premium-short {
    grid-template-columns: 1fr !important;
  }

  .battle-premium-short .locked-map-button {
    width: 100% !important;
  }
}

/* STEP 11J-3 - premium badge should match text width only */
.battle-premium-short .battle-premium-top-copy {
  align-items: flex-start !important;
}

.battle-premium-short .locked-kicker {
  align-self: flex-start !important;
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}

/* STEP 12E - Stripe embedded checkout popup */
body.stripe-modal-open {
  overflow: hidden;
}

.stripe-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(circle at top, rgba(59,130,246,.28), transparent 32%),
    rgba(2, 6, 23, .82);
  backdrop-filter: blur(12px);
}

.stripe-modal-backdrop.is-open {
  display: flex;
}

.stripe-modal-shell {
  position: relative;
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.98), rgba(2,6,23,.98));
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  padding: 24px;
}

.stripe-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 999px;
  background: rgba(15,23,42,.82);
  color: #e5e7eb;
  font-size: 30px;
  line-height: 36px;
  cursor: pointer;
}

.stripe-modal-close:hover {
  background: rgba(30,41,59,.95);
}

.stripe-modal-header {
  padding-right: 52px;
  margin-bottom: 14px;
}

.stripe-modal-kicker {
  display: inline-flex;
  width: fit-content;
  max-width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(59,130,246,.18);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stripe-modal-header h2 {
  margin: 12px 0 6px;
  color: #f8fafc;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.02;
}

.stripe-modal-header p {
  margin: 0;
  max-width: 720px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.55;
}

.stripe-modal-status {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  background: rgba(15,23,42,.72);
  color: #cbd5e1;
  font-size: 14px;
}

.stripe-modal-status.loading {
  border-color: rgba(59,130,246,.45);
  color: #bfdbfe;
}

.stripe-modal-status.ready {
  border-color: rgba(16,185,129,.45);
  color: #bbf7d0;
}

.stripe-modal-status.error {
  border-color: rgba(248,113,113,.55);
  color: #fecaca;
}

.stripe-checkout-mount {
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
}

.stripe-modal-footer {
  margin-top: 12px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .stripe-modal-backdrop {
    padding: 10px;
  }

  .stripe-modal-shell {
    max-height: 96vh;
    padding: 18px;
    border-radius: 22px;
  }

  .stripe-checkout-mount {
    min-height: 600px;
  }
}
/* END STEP 12E */

/* STEP 12E-2 - final Stripe modal fixed overlay override */
#stripeCheckoutModal.stripe-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  padding: 18px !important;
  overflow-y: auto !important;
  background: rgba(2, 6, 23, .88) !important;
  backdrop-filter: blur(14px) !important;
}

#stripeCheckoutModal.stripe-modal-backdrop.is-open {
  display: flex !important;
}

#stripeCheckoutModal .stripe-modal-shell {
  position: relative !important;
  display: block !important;
  width: min(1100px, calc(100vw - 36px)) !important;
  max-width: 1100px !important;
  max-height: calc(100vh - 36px) !important;
  overflow-y: auto !important;
  margin: auto !important;
  padding: 22px !important;
  border-radius: 28px !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
  box-shadow: 0 35px 120px rgba(0,0,0,.68) !important;
}

#stripeCheckoutModal .stripe-modal-close {
  position: sticky !important;
  top: 0 !important;
  float: right !important;
  z-index: 5 !important;
  width: 44px !important;
  height: 44px !important;
  margin-left: 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148,163,184,.35) !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

#stripeCheckoutModal .stripe-modal-header {
  padding-right: 60px !important;
  margin-bottom: 12px !important;
}

#stripeCheckoutModal .stripe-modal-kicker {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: max-content !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(59,130,246,.18) !important;
  color: #bfdbfe !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

#stripeCheckoutModal .stripe-modal-header h2 {
  margin: 10px 0 6px !important;
  color: #ffffff !important;
  font-size: clamp(28px, 4vw, 44px) !important;
  line-height: 1.02 !important;
}

#stripeCheckoutModal .stripe-modal-header p {
  margin: 0 !important;
  color: #dbeafe !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

#stripeCheckoutModal .stripe-modal-status {
  margin: 12px 0 !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: rgba(15, 23, 42, .82) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148,163,184,.25) !important;
}

#stripeCheckoutModal .stripe-checkout-mount {
  width: 100% !important;
  min-height: 620px !important;
  max-height: 68vh !important;
  overflow-y: auto !important;
  border-radius: 22px !important;
  background: #ffffff !important;
}

#stripeCheckoutModal .stripe-modal-footer {
  margin-top: 10px !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
}

body.stripe-modal-open {
  overflow: hidden !important;
}

@media (max-width: 760px) {
  #stripeCheckoutModal.stripe-modal-backdrop {
    align-items: flex-start !important;
    padding: 8px !important;
  }

  #stripeCheckoutModal .stripe-modal-shell {
    width: calc(100vw - 16px) !important;
    max-height: calc(100vh - 16px) !important;
    padding: 16px !important;
    border-radius: 20px !important;
  }

  #stripeCheckoutModal .stripe-checkout-mount {
    min-height: 640px !important;
    max-height: 72vh !important;
  }
}
/* END STEP 12E-2 */

/* STEP 12E-3 - green purchase CTA for premium unlock */
.battle-premium-top .locked-map-button,
.locked-map-button,
.premium-btn.js-open-stripe-checkout {
  background: linear-gradient(135deg, #22c55e 0%, #10b981 45%, #84cc16 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(187, 247, 208, .75) !important;
  box-shadow:
    0 18px 45px rgba(34, 197, 94, .38),
    0 0 0 1px rgba(255,255,255,.08) inset !important;
}

.battle-premium-top .locked-map-button:hover,
.locked-map-button:hover,
.premium-btn.js-open-stripe-checkout:hover {
  transform: translateY(-1px) scale(1.02) !important;
  background: linear-gradient(135deg, #16a34a 0%, #10b981 42%, #65a30d 100%) !important;
  box-shadow:
    0 22px 60px rgba(34, 197, 94, .52),
    0 0 0 1px rgba(255,255,255,.12) inset !important;
}

.battle-premium-top .locked-map-button:active,
.locked-map-button:active,
.premium-btn.js-open-stripe-checkout:active {
  transform: translateY(0) scale(.99) !important;
}
/* END STEP 12E-3 */

/* STEP 12F-A - per business location premium note */
.premium-location-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: max-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(74, 222, 128, .32);
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

#stripeCheckoutModal .stripe-modal-footer strong {
  color: #ffffff;
}

@media (max-width: 760px) {
  .premium-location-note {
    white-space: normal;
    text-align: center;
  }
}
/* END STEP 12F-A */

/* STEP 12F-ROLLBACK - keep original map layout, only make purchase CTA clearer */
.locked-map-button,
.battle-premium-top .locked-map-button,
.stripe-checkout-open,
.js-open-stripe-checkout {
  background: linear-gradient(135deg, #22c55e, #65d321) !important;
  color: #ffffff !important;
  border: 1px solid rgba(187, 247, 208, .65) !important;
  box-shadow: 0 18px 45px rgba(34, 197, 94, .35) !important;
}

.locked-map-button:hover,
.battle-premium-top .locked-map-button:hover,
.stripe-checkout-open:hover,
.js-open-stripe-checkout:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

/* Remove any damaged teaser inserted after the good layout if still present */
.premium-growth-teaser {
  display: none !important;
}
/* END STEP 12F-ROLLBACK */

/* STEP 12F-B - price and green button stacked together */
.battle-premium-short .battle-premium-top-cta {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 12px !important;
}

.battle-premium-short .locked-map-button-under-price,
.battle-premium-short .locked-map-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 190px !important;
  width: auto !important;
  margin-top: 8px !important;
  padding: 14px 34px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #22c55e, #65d321) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  border: 1px solid rgba(187, 247, 208, .65) !important;
  box-shadow: 0 18px 45px rgba(34, 197, 94, .35) !important;
}

.battle-premium-short .locked-map-button-under-price:hover,
.battle-premium-short .locked-map-button:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 760px) {
  .battle-premium-short .battle-premium-top-cta {
    align-items: flex-start !important;
  }

  .battle-premium-short .locked-map-button-under-price,
  .battle-premium-short .locked-map-button {
    width: 100% !important;
    min-width: 0 !important;
  }
}
/* END STEP 12F-B */

/* STEP 12F-C - final: small green button under price badge, not full width */
.battle-premium-short .battle-premium-top-cta {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 230px !important;
  max-width: 260px !important;
}

.battle-premium-short .locked-map-button,
.battle-premium-short .locked-map-button-under-price {
  width: auto !important;
  min-width: 190px !important;
  max-width: 230px !important;
  height: auto !important;
  padding: 15px 34px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #22c55e, #65d321) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: 1px solid rgba(187, 247, 208, .70) !important;
  box-shadow: 0 16px 38px rgba(34, 197, 94, .38) !important;
}

.battle-premium-short .locked-map-button:hover,
.battle-premium-short .locked-map-button-under-price:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 760px) {
  .battle-premium-short .battle-premium-top-cta {
    align-items: flex-start !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .battle-premium-short .locked-map-button,
  .battle-premium-short .locked-map-button-under-price {
    width: auto !important;
    min-width: 180px !important;
    max-width: 230px !important;
  }
}
/* END STEP 12F-C */

/* STEP 12F-D - button under price, same premium card */
.battle-premium-short {
  position: relative !important;
}

.battle-premium-short .battle-premium-top-cta {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-width: 240px !important;
  max-width: 280px !important;
}

.battle-premium-short .battle-premium-top-cta .locked-kicker,
.battle-premium-short .battle-premium-top-cta [class*="price"] {
  align-self: flex-end !important;
}

.battle-premium-short .locked-map-button,
.battle-premium-short .locked-map-button-under-price {
  width: auto !important;
  min-width: 190px !important;
  max-width: 230px !important;
  padding: 15px 34px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #22c55e, #65d321) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: 1px solid rgba(187, 247, 208, .70) !important;
  box-shadow: 0 16px 38px rgba(34, 197, 94, .38) !important;
}

.battle-premium-short .locked-map-button:hover,
.battle-premium-short .locked-map-button-under-price:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

/* STEP 12F-D - embedded Stripe checkout modal */
.premium-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, .86);
  backdrop-filter: blur(10px);
  padding: 28px;
  overflow-y: auto;
}

.premium-checkout-overlay[hidden] {
  display: none !important;
}

.premium-checkout-modal {
  width: min(1180px, 96vw);
  min-height: 82vh;
  margin: 0 auto;
  background: #081120;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 28px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .55);
  padding: 28px;
  position: relative;
}

.premium-checkout-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(99, 102, 241, .35);
}

.premium-checkout-header {
  padding-right: 80px;
  margin-bottom: 20px;
}

.premium-checkout-header span {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, .18);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.premium-checkout-header h2 {
  margin: 14px 0 8px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .95;
  color: #fff;
}

.premium-checkout-header p {
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
}

.premium-checkout-mount {
  background: #fff;
  border-radius: 22px;
  min-height: 620px;
  overflow: hidden;
}

.premium-checkout-loading,
.premium-checkout-error {
  padding: 40px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.premium-checkout-error {
  color: #b91c1c;
}

@media (max-width: 760px) {
  .battle-premium-short .battle-premium-top-cta {
    align-items: flex-start !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .premium-checkout-overlay {
    padding: 12px;
  }

  .premium-checkout-modal {
    width: 100%;
    padding: 18px;
    border-radius: 20px;
  }

  .premium-checkout-close {
    top: 14px;
    right: 14px;
  }

  .premium-checkout-header {
    padding-right: 70px;
  }
}
/* END STEP 12F-D */

/* STEP 12F - entity context warning before stats */
.entity-context-warning {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 22px 0 24px;
  padding: 22px 26px;
  border-radius: 24px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  background:
    radial-gradient(circle at 8% 20%, rgba(251, 191, 36, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(120, 53, 15, 0.32), rgba(30, 41, 59, 0.82));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.entity-context-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 24px;
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.28);
}

.entity-context-copy {
  max-width: 1050px;
}

.entity-context-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entity-context-warning h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.entity-context-warning p {
  margin: 0;
  color: rgba(219, 234, 254, 0.88);
  font-size: 18px;
  line-height: 1.45;
}

@media (max-width: 780px) {
  .entity-context-warning {
    flex-direction: column;
    padding: 18px;
  }

  .entity-context-warning p {
    font-size: 15px;
  }
}

/* STEP 12G-2 - clean horizontal warning + compact Google block */

/* warning must be a full horizontal strip, not a vertical KPI card */
.entity-context-warning-horizontal {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 18px 0 22px !important;
  padding: 14px 18px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(251, 191, 36, 0.42) !important;
  background:
    radial-gradient(circle at 4% 50%, rgba(251, 191, 36, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(120, 53, 15, 0.24), rgba(15, 23, 42, 0.88)) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20) !important;
}

.entity-context-warning-horizontal .entity-context-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  font-size: 22px !important;
  font-weight: 950 !important;
  color: #111827 !important;
  background: linear-gradient(135deg, #fbbf24, #f97316) !important;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.25) !important;
}

.entity-context-warning-horizontal .entity-context-copy {
  flex: 1 !important;
  max-width: none !important;
}

.entity-context-warning-horizontal .entity-context-kicker {
  display: inline-flex !important;
  width: fit-content !important;
  margin: 0 0 4px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(251, 191, 36, 0.42) !important;
  background: rgba(251, 191, 36, 0.10) !important;
  color: #fde68a !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.entity-context-warning-horizontal strong {
  display: block !important;
  color: #ffffff !important;
  font-size: clamp(17px, 1.35vw, 22px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
}

.entity-context-warning-horizontal p {
  margin: 4px 0 0 !important;
  color: rgba(219, 234, 254, 0.86) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.entity-context-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  min-width: 145px !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
  box-shadow: 0 16px 42px rgba(59, 130, 246, 0.25) !important;
}

/* compact Google Local Snapshot */
.google-panel-compact {
  padding: 24px !important;
}

.google-panel-head-compact {
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 18px !important;
}

.google-panel-head-compact h2 {
  margin: 6px 0 6px !important;
  max-width: 920px !important;
  font-size: clamp(26px, 2.2vw, 38px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.04em !important;
}

.google-panel-head-compact p {
  max-width: 880px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.entity-danger-banner-compact {
  margin: 0 0 18px !important;
  padding: 18px 20px !important;
  border-radius: 20px !important;
}

.entity-danger-banner-compact h3 {
  margin: 0 0 6px !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.entity-danger-banner-compact p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.google-connect-compact {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 0 20px !important;
  padding: 20px 22px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(96, 165, 250, 0.34) !important;
  background:
    radial-gradient(circle at 80% 40%, rgba(139, 92, 246, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.72)) !important;
}

.google-connect-compact h3 {
  margin: 4px 0 6px !important;
  color: #fff !important;
  font-size: clamp(22px, 1.8vw, 30px) !important;
  line-height: 1.08 !important;
}

.google-connect-compact p {
  margin: 0 !important;
  max-width: 760px !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.google-connect-compact .connect-google-btn {
  margin: 0 !important;
  min-width: 280px !important;
}

.identity-warning {
  padding: 16px 18px !important;
  border-radius: 18px !important;
}

.identity-warning h3 {
  font-size: 22px !important;
  margin-bottom: 6px !important;
}

.identity-warning p {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

/* prevent old warning style from stretching vertically if class conflict remains */
.entity-context-warning:not(.entity-context-warning-horizontal) {
  grid-column: 1 / -1 !important;
}

@media (max-width: 900px) {
  .entity-context-warning-horizontal {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .google-connect-compact {
    grid-template-columns: 1fr !important;
  }

  .entity-context-action,
  .google-connect-compact .connect-google-btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* END STEP 12G-2 */

/* STEP 13C - Premium Real Street Map frontend */
.real-street-map-premium {
  margin: 28px 0;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(34, 197, 94, 0.36);
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 197, 94, 0.16), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(59, 130, 246, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(17, 24, 39, 0.86));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.real-street-map-premium[hidden] {
  display: none !important;
}

.real-map-loading,
.real-map-error {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.72);
  color: #e5f2ff;
}

.real-map-loading strong,
.real-map-error strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.real-map-error {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(127, 29, 29, 0.24);
}

.real-map-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.real-map-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.42);
  color: #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 12px;
}

.real-map-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.real-map-head p {
  margin: 10px 0 0;
  max-width: 880px;
  color: rgba(219, 234, 254, 0.88);
  font-size: 18px;
  line-height: 1.45;
}

.real-map-license {
  min-width: 190px;
  padding: 18px 20px;
  border-radius: 22px;
  text-align: center;
  border: 1px solid rgba(34, 197, 94, 0.38);
  background: rgba(22, 101, 52, 0.20);
  box-shadow: 0 18px 50px rgba(34, 197, 94, 0.16);
}

.real-map-license strong {
  display: block;
  color: #dcfce7;
  font-size: 28px;
  line-height: 1;
}

.real-map-license span {
  display: block;
  margin-top: 7px;
  color: rgba(220, 252, 231, 0.82);
  font-weight: 800;
  font-size: 13px;
}

.real-map-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(340px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.real-map-visual,
.real-map-card {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.64);
  overflow: hidden;
}

.real-grid-bg {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(34, 197, 94, 0.18), transparent 25%),
    radial-gradient(circle at 22% 20%, rgba(239, 68, 68, 0.24), transparent 36%),
    radial-gradient(circle at 80% 24%, rgba(245, 158, 11, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(88, 28, 135, 0.30), rgba(15, 23, 42, 0.96));
  background-size:
    48px 48px,
    48px 48px,
    auto,
    auto,
    auto,
    auto;
}

.real-map-radar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(226, 232, 240, 0.20);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.real-map-radar-ring.r1 { width: 160px; height: 160px; }
.real-map-radar-ring.r2 { width: 300px; height: 300px; }
.real-map-radar-ring.r3 { width: 440px; height: 440px; }

.real-map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 190px;
  min-height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 24px 70px rgba(16, 185, 129, 0.34);
  z-index: 4;
  padding: 18px;
}

.real-map-center strong {
  font-size: 18px;
  line-height: 1.15;
}

.real-map-center span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.82);
}

.real-zone {
  position: absolute;
  width: 145px;
  min-height: 72px;
  padding: 12px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,0.24);
  z-index: 2;
}

.real-zone strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
}

.real-zone span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.82);
}

.real-zone.risk-high,
.real-zone.risk-red,
.real-zone.red {
  background: rgba(239, 68, 68, 0.76);
  border: 1px solid rgba(252, 165, 165, 0.42);
}

.real-zone.risk-medium,
.real-zone.risk-yellow,
.real-zone.yellow {
  background: rgba(245, 158, 11, 0.72);
  border: 1px solid rgba(253, 230, 138, 0.42);
}

.real-zone.risk-low,
.real-zone.risk-green,
.real-zone.green {
  background: rgba(16, 185, 129, 0.72);
  border: 1px solid rgba(187, 247, 208, 0.42);
}

.real-zone.z-1 { left: 8%; top: 12%; }
.real-zone.z-2 { right: 10%; top: 10%; }
.real-zone.z-3 { left: 12%; bottom: 14%; }
.real-zone.z-4 { right: 12%; bottom: 15%; }
.real-zone.z-5 { left: 42%; top: 14%; }
.real-zone.z-6 { left: 42%; bottom: 12%; }
.real-zone.z-7 { left: 5%; top: 45%; }
.real-zone.z-8 { right: 5%; top: 45%; }
.real-zone.z-9,
.real-zone.z-center { left: 50%; top: 18%; transform: translateX(-50%); }

.real-map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 190px;
  padding: 9px 11px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: #fff;
  z-index: 5;
}

.real-map-pin span {
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.real-map-pin small {
  font-weight: 900;
  font-size: 12px;
  line-height: 1.1;
  max-width: 120px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.real-map-pin.p-1 { left: 10%; top: 18%; }
.real-map-pin.p-2 { right: 12%; top: 18%; }
.real-map-pin.p-3 { left: 12%; bottom: 18%; }
.real-map-pin.p-4 { right: 12%; bottom: 20%; }
.real-map-pin.p-5 { left: 42%; top: 8%; }
.real-map-pin.p-6 { left: 42%; bottom: 8%; }
.real-map-pin.p-7 { left: 4%; top: 52%; }
.real-map-pin.p-8 { right: 4%; top: 52%; }

.real-map-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(148, 163, 184, 0.15);
}

.real-map-stats-row div {
  padding: 18px;
  background: rgba(15, 23, 42, 0.78);
}

.real-map-stats-row strong {
  display: block;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.real-map-stats-row span {
  display: block;
  margin-top: 6px;
  color: rgba(191, 219, 254, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.real-map-side {
  display: grid;
  gap: 18px;
}

.real-map-card {
  padding: 22px;
}

.real-map-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.real-map-competitor {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.real-map-competitor:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.real-rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
}

.real-competitor-body h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.16;
}

.real-competitor-body p {
  margin: 9px 0 0;
  color: rgba(219, 234, 254, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.real-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.real-signals span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
}

.real-competitor-body a {
  display: inline-flex;
  margin-top: 10px;
  color: #93c5fd;
  font-weight: 900;
  font-size: 13px;
}

.real-ai-note {
  color: rgba(219, 234, 254, 0.78);
  margin: -8px 0 14px;
}

.real-ai-action {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.real-ai-action span {
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  font-weight: 900;
  font-size: 12px;
}

.real-ai-action p {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.38;
}

.battle-premium-top.is-unlocked {
  border-color: rgba(34, 197, 94, 0.45) !important;
}

.battle-premium-top.is-unlocked .locked-map-button {
  background: linear-gradient(135deg, #10b981, #16a34a) !important;
  opacity: 0.85;
  cursor: default;
}

@media (max-width: 980px) {
  .real-map-head,
  .real-map-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .real-map-license {
    width: fit-content;
  }

  .real-grid-bg {
    min-height: 480px;
  }
}

@media (max-width: 680px) {
  .real-street-map-premium {
    padding: 18px;
  }

  .real-map-stats-row {
    grid-template-columns: 1fr;
  }

  .real-map-pin small {
    display: none;
  }

  .real-zone {
    width: 120px;
  }
}
/* END STEP 13C */

/* STEP 13D - premium map replaces existing battle map */
.premium-map-unlocked {
  border-color: rgba(34, 197, 94, 0.42) !important;
  box-shadow: 0 28px 90px rgba(34, 197, 94, 0.12), 0 24px 80px rgba(0,0,0,.30) !important;
}

.premium-map-unlocked .battle-map-header .section-kicker {
  border-color: rgba(34, 197, 94, 0.48);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}

.premium-real-map-visual {
  border-color: rgba(34, 197, 94, 0.28) !important;
}

.premium-real-radar {
  background:
    radial-gradient(circle at center, rgba(16,185,129,.24), transparent 22%),
    radial-gradient(circle at 30% 25%, rgba(34,197,94,.16), transparent 28%),
    radial-gradient(circle at 72% 70%, rgba(239,68,68,.16), transparent 30%),
    linear-gradient(135deg, rgba(15,23,42,.94), rgba(49,46,129,.42)) !important;
}

.premium-real-center {
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
  box-shadow: 0 0 50px rgba(16,185,129,.34) !important;
}

.premium-pin.danger span {
  background: #ef4444 !important;
}

.premium-pin.warning span {
  background: #f59e0b !important;
}

.premium-pin.soft span {
  background: #22c55e !important;
}

.premium-real-summary {
  border-color: rgba(34,197,94,.35) !important;
  background: linear-gradient(135deg, rgba(6,78,59,.65), rgba(15,23,42,.88)) !important;
}

.premium-real-side {
  border-color: rgba(34,197,94,.30) !important;
}

.premium-green-kicker {
  border-color: rgba(34,197,94,.50) !important;
  background: rgba(34,197,94,.16) !important;
  color: #bbf7d0 !important;
}

.premium-real-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
}

.premium-real-stats div {
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  background: rgba(15,23,42,.62);
  padding: 12px;
}

.premium-real-stats strong {
  display: block;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
}

.premium-real-stats span {
  display: block;
  margin-top: 5px;
  color: rgba(191,219,254,.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.premium-real-threats {
  display: grid;
  gap: 12px;
}

.premium-threat-card {
  background: rgba(15,23,42,.46) !important;
}

.premium-real-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(148,163,184,.20);
}

.premium-real-actions h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 18px;
}

.premium-real-action {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 16px;
  background: rgba(30,41,59,.58);
}

.premium-real-action > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border-radius: 999px;
  background: rgba(59,130,246,.25);
  color: #bfdbfe;
  font-size: 10px;
  font-weight: 900;
}

.premium-real-action strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 4px;
}

.premium-real-action p {
  margin: 0;
  color: rgba(219,234,254,.80);
  font-size: 12px;
  line-height: 1.35;
}

.premium-empty-map-note {
  position: absolute;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  max-width: 260px;
  padding: 14px;
  border: 1px solid rgba(251,191,36,.35);
  border-radius: 16px;
  background: rgba(120,53,15,.42);
  text-align: center;
  color: #fff7ed;
}

.premium-empty-map-note strong,
.premium-empty-map-note span {
  display: block;
}

.premium-empty-map-note span {
  margin-top: 4px;
  color: rgba(255,237,213,.78);
  font-size: 12px;
}

.premium-empty-copy {
  color: rgba(219,234,254,.78);
  margin: 0;
}

@media (max-width: 980px) {
  .premium-real-stats {
    grid-template-columns: 1fr;
  }
}
/* END STEP 13D */

/* STEP 13F - AI Genius legal footer */
.ai-genius-legal-footer {
  width: 100%;
  padding: 48px 18px 56px;
  background: #f8fafc;
  color: #1e3a5f;
}

.ai-genius-footer-card {
  max-width: 1380px;
  margin: 0 auto;
  padding: 38px 28px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.ai-genius-footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 34px;
  color: #0f172a;
}

.ai-genius-footer-logo img {
  max-width: 210px;
  max-height: 78px;
  object-fit: contain;
}

.ai-genius-footer-logo.text-logo {
  color: #0f172a;
  letter-spacing: -0.04em;
}

.ai-genius-footer-subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.5;
  color: #1e3a5f;
}

.ai-genius-footer-company {
  margin: 0 auto 24px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.55;
  color: #49698e;
}

.ai-genius-footer-links {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 4px 0 24px;
}

.ai-genius-footer-links a {
  color: #020617;
  font-weight: 900;
  text-decoration: none;
}

.ai-genius-footer-links a:hover {
  text-decoration: underline;
}

.ai-genius-footer-links span {
  width: 1px;
  height: 20px;
  background: rgba(100, 116, 139, 0.35);
}

.ai-genius-footer-copy {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

@media (max-width: 700px) {
  .ai-genius-footer-card {
    padding: 28px 18px;
  }

  .ai-genius-footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .ai-genius-footer-links span {
    display: none;
  }
}
/* END STEP 13F */

/* STEP 13F-FOOTER-FIX - footer must stay below the home layout, never as right column */
body {
  min-height: 100vh;
}

.ai-genius-legal-footer {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1 !important;
  flex-basis: 100% !important;
  margin: 0 !important;
  padding: 54px 20px 64px !important;
  background: #f8fafc !important;
  color: #1e3a5f !important;
  box-sizing: border-box !important;
}

.ai-genius-footer-card {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 38px 28px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08) !important;
  text-align: center !important;
}

.ai-genius-footer-card p,
.ai-genius-footer-card a,
.ai-genius-footer-card nav {
  font-family: inherit !important;
}

.ai-genius-footer-subtitle {
  margin: 0 0 20px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #1e3a5f !important;
}

.ai-genius-footer-company {
  margin: 0 auto 24px !important;
  max-width: 760px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #49698e !important;
}

.ai-genius-footer-links {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  margin: 4px 0 24px !important;
}

.ai-genius-footer-links a {
  color: #020617 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ai-genius-footer-links a:hover {
  text-decoration: underline !important;
}

.ai-genius-footer-links span {
  width: 1px !important;
  height: 20px !important;
  background: rgba(100, 116, 139, 0.35) !important;
}

.ai-genius-footer-copy {
  margin: 0 !important;
  font-size: 14px !important;
  color: #94a3b8 !important;
}
/* END STEP 13F-FOOTER-FIX */

/* STEP 13G - AI Genius logo in legal footer */
.ai-genius-footer-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto 22px !important;
}

.ai-genius-footer-logo {
  display: block !important;
  width: auto !important;
  max-width: 260px !important;
  height: auto !important;
  max-height: 78px !important;
  object-fit: contain !important;
}
/* END STEP 13G */

/* STEP 13G - AI Genius logo in legal footer */
.ai-genius-footer-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto 22px !important;
}

.ai-genius-footer-logo {
  display: block !important;
  width: auto !important;
  max-width: 260px !important;
  height: auto !important;
  max-height: 78px !important;
  object-fit: contain !important;
}
/* END STEP 13G */

/* STEP 13J - clean legal footer: one centered logo + centered product title */
.ai-genius-legal-footer {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1 !important;
  flex-basis: 100% !important;
  margin: 0 !important;
  padding: 54px 20px 64px !important;
  background: #f8fafc !important;
  color: #1e3a5f !important;
  box-sizing: border-box !important;
}

.ai-genius-footer-card {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 48px 28px 44px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08) !important;
  text-align: center !important;
}

.ai-genius-footer-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto 22px !important;
  text-align: center !important;
}

.ai-genius-footer-logo {
  display: block !important;
  width: auto !important;
  max-width: 260px !important;
  height: auto !important;
  max-height: 88px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.ai-genius-footer-title {
  margin: 0 auto 28px !important;
  text-align: center !important;
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
  color: #020617 !important;
}

.ai-genius-footer-subtitle {
  margin: 0 auto 24px !important;
  max-width: 920px !important;
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #1e3a5f !important;
}

.ai-genius-footer-company {
  margin: 0 auto 26px !important;
  max-width: 760px !important;
  text-align: center !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #49698e !important;
}

.ai-genius-footer-links {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  margin: 4px auto 24px !important;
  text-align: center !important;
}

.ai-genius-footer-links a {
  color: #020617 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ai-genius-footer-links a:hover {
  text-decoration: underline !important;
}

.ai-genius-footer-links span {
  width: 1px !important;
  height: 20px !important;
  background: rgba(100, 116, 139, 0.35) !important;
}

.ai-genius-footer-copy {
  margin: 0 auto !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #94a3b8 !important;
}

@media (max-width: 700px) {
  .ai-genius-footer-card {
    padding: 34px 18px 32px !important;
  }

  .ai-genius-footer-logo {
    max-width: 220px !important;
    max-height: 76px !important;
  }

  .ai-genius-footer-links {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ai-genius-footer-links span {
    display: none !important;
  }
}
/* END STEP 13J */

/* STEP 13J - clean Google branding footer + local legal pages */
.ai-genius-legal-footer {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1 !important;
  flex-basis: 100% !important;
  margin: 0 !important;
  padding: 54px 20px 64px !important;
  background: #f8fafc !important;
  color: #1e3a5f !important;
  box-sizing: border-box !important;
}

.ai-genius-footer-card {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 52px 28px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08) !important;
  text-align: center !important;
}

.ai-genius-footer-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto 24px !important;
}

.ai-genius-footer-logo-img {
  display: block !important;
  width: auto !important;
  max-width: 260px !important;
  max-height: 90px !important;
  height: auto !important;
  object-fit: contain !important;
}

.ai-genius-footer-title {
  margin: 0 0 26px !important;
  text-align: center !important;
  font-size: clamp(32px, 4vw, 56px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  font-weight: 950 !important;
  color: #020617 !important;
}

.ai-genius-footer-subtitle {
  margin: 0 0 26px !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  color: #12345d !important;
}

.ai-genius-footer-company {
  margin: 0 auto 26px !important;
  max-width: 760px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #49698e !important;
}

.ai-genius-footer-links {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  margin: 4px 0 24px !important;
}

.ai-genius-footer-links a {
  color: #020617 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  font-size: 18px !important;
}

.ai-genius-footer-links a:hover {
  text-decoration: underline !important;
}

.ai-genius-footer-links span {
  width: 1px !important;
  height: 24px !important;
  background: rgba(100, 116, 139, 0.35) !important;
}

.ai-genius-footer-copy {
  margin: 0 !important;
  font-size: 15px !important;
  color: #94a3b8 !important;
}

.legal-page {
  min-height: 100vh;
  background: #f8fafc;
  color: #0f172a;
}

.legal-document {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px 22px 80px;
}

.legal-document h1 {
  margin: 18px 0 24px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
  color: #020617;
}

.legal-document h2 {
  margin: 30px 0 10px;
  font-size: 24px;
  color: #020617;
}

.legal-document p {
  font-size: 17px;
  line-height: 1.65;
  color: #284766;
}

.legal-document a {
  color: #0f5cc0;
  font-weight: 800;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 16px;
  text-decoration: none;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(15,23,42,.12);
}

@media (max-width: 700px) {
  .ai-genius-footer-card {
    padding: 34px 18px !important;
  }

  .ai-genius-footer-logo-img {
    max-width: 220px !important;
  }

  .ai-genius-footer-links {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ai-genius-footer-links span {
    display: none !important;
  }
}
/* END STEP 13J */

/* STEP 13L - Google branding legal discovery */
.ai-genius-legal-discovery {
  margin: 18px auto 18px !important;
  max-width: 920px !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #49698e !important;
  text-align: center !important;
}
.ai-genius-legal-discovery a {
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}
/* END STEP 13L */

/* STEP 13L - Google OAuth legal fallback links */
.ai-genius-google-legal-fallback {
  margin: 0 0 18px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #49698e !important;
}

.ai-genius-google-legal-fallback a {
  color: #020617 !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}
/* END STEP 13L */

/* STEP 13M - Google OAuth visible legal links */
.google-branding-legal-top {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
  width: 100% !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35) !important;
  position: relative !important;
  z-index: 50 !important;
  box-sizing: border-box !important;
}

.google-branding-legal-top a {
  color: #020617 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
}

@media (max-width: 700px) {
  .google-branding-legal-top {
    flex-direction: column !important;
    gap: 8px !important;
  }
}
/* END STEP 13M */

/* STEP 13N - Remove ugly top Google legal links */
.google-branding-legal-top,
.google-legal-fallback {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
/* END STEP 13N */

/* STEP 13O - hard hide old Google fallback legal rows */
.google-branding-legal-top,
.google-legal-fallback,
.oauth-legal-fallback,
.legal-fallback-line,
.google-oauth-legal-links {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
/* END STEP 13O */

/* STEP 13P - clean restored home footer */
.ai-genius-legal-footer {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1 !important;
  flex-basis: 100% !important;
  margin: 0 !important;
  padding: 54px 20px 64px !important;
  background: #f8fafc !important;
  color: #1e3a5f !important;
  box-sizing: border-box !important;
}

.ai-genius-footer-card {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 46px 28px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08) !important;
  text-align: center !important;
}

.ai-genius-footer-logo-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto 22px !important;
}

.ai-genius-footer-logo-img {
  display: block !important;
  width: auto !important;
  max-width: 260px !important;
  height: auto !important;
  max-height: 82px !important;
  object-fit: contain !important;
}

.ai-genius-footer-title {
  margin: 0 0 24px !important;
  text-align: center !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: -0.055em !important;
  color: #020617 !important;
}

.ai-genius-footer-subtitle {
  margin: 0 0 22px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #1e3a5f !important;
}

.ai-genius-footer-company {
  margin: 0 auto 24px !important;
  max-width: 760px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #49698e !important;
}

.ai-genius-footer-links {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  margin: 4px 0 24px !important;
}

.ai-genius-footer-links a {
  color: #020617 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.ai-genius-footer-links a:hover {
  text-decoration: underline !important;
}

.ai-genius-footer-links span {
  width: 1px !important;
  height: 20px !important;
  background: rgba(100, 116, 139, 0.35) !important;
}

.ai-genius-footer-copy {
  margin: 0 !important;
  font-size: 14px !important;
  color: #94a3b8 !important;
}

.google-branding-legal-top,
.google-legal-fallback,
.oauth-legal-fallback,
.legal-fallback-line,
.google-oauth-legal-links {
  display: none !important;
}
/* END STEP 13P */

/* STEP 14A - public Google Places mode note */
.public-places-mode-note {
  display: block;
  margin-top: 8px;
  color: rgba(187, 247, 208, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
/* END STEP 14A */

/* STEP 14B - real street map premium UI */
.real-street-final-section {
  overflow: hidden;
}

.street-map-summary {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  margin: 22px 0 20px;
}

.street-map-summary > div {
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: 18px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,197,94,.12), transparent 36%),
    linear-gradient(135deg, rgba(15,23,42,.86), rgba(30,41,59,.72));
}

.street-map-summary span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, .25);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.street-map-summary strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.08;
}

.street-map-summary p {
  margin: 6px 0 0;
  color: rgba(219,234,254,.86);
}

.real-street-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .92fr);
  gap: 20px;
  align-items: stretch;
}

.real-street-map-box {
  border: 1px solid rgba(34, 197, 94, .35);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(15, 23, 42, .88);
  box-shadow: 0 24px 70px rgba(2, 6, 23, .28);
}

.real-map-iframe-wrap {
  position: relative;
  min-height: 520px;
  background: #0f172a;
  overflow: hidden;
}

.real-map-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.95) contrast(1.08) brightness(.82);
}

.real-street-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.18)),
    radial-gradient(circle at 50% 50%, rgba(16,185,129,.10), transparent 28%);
}

.real-business-pin {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  width: 190px;
  min-height: 82px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  background: linear-gradient(135deg, #10b981, #14b8a6);
  color: #fff;
  box-shadow: 0 20px 55px rgba(16,185,129,.42);
  border: 1px solid rgba(255,255,255,.22);
  z-index: 5;
}

.real-business-pin strong {
  font-size: 18px;
  line-height: 1.05;
}

.real-business-pin span {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.88);
}

.real-street-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 120px;
  max-width: 160px;
  min-height: 46px;
  padding: 8px 10px 8px 42px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  border: 1px solid rgba(148,163,184,.34);
  box-shadow: 0 15px 38px rgba(2,6,23,.35);
  z-index: 6;
}

.real-street-pin span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.real-street-pin.warning span {
  background: #f59e0b;
}

.real-street-pin.soft span {
  background: #38bdf8;
}

.real-street-pin b {
  display: block;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.real-street-caption {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(6,78,59,.88), rgba(15,23,42,.94));
  border-top: 1px solid rgba(34,197,94,.28);
}

.real-street-caption strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.real-street-caption span {
  color: rgba(219,234,254,.86);
}

.street-right-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 520px;
  max-height: 760px;
  overflow: auto;
  padding-right: 8px;
}

.street-competitor-list,
.street-actions-panel {
  border: 1px solid rgba(96,165,250,.28);
  border-radius: 18px;
  padding: 16px;
  background: rgba(15, 23, 42, .78);
}

.street-competitor-list h3,
.street-actions-head strong {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font-size: 22px;
  line-height: 1.12;
}

.street-competitor-list > p,
.street-actions-head span {
  display: block;
  margin: 0 0 14px;
  color: rgba(219,234,254,.78);
  font-size: 13px;
}

.street-competitor-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(30, 41, 59, .82);
  border: 1px solid rgba(96,165,250,.22);
}

.street-competitor-card.danger {
  border-color: rgba(248,113,113,.35);
}

.street-card-rank {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
}

.street-competitor-card.warning .street-card-rank {
  background: #f59e0b;
}

.street-competitor-card.soft .street-card-rank {
  background: #38bdf8;
}

.street-competitor-card h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 17px;
  line-height: 1.15;
}

.street-competitor-card p {
  margin: 0 0 8px;
  color: rgba(219,234,254,.78);
  font-size: 13px;
  line-height: 1.35;
}

.street-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0;
}

.street-card-tags span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(148,163,184,.16);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 800;
}

.street-card-why {
  color: rgba(191,219,254,.86) !important;
}

.street-card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37,99,235,.42);
  border: 1px solid rgba(147,197,253,.34);
  color: #dbeafe !important;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.street-actions-panel {
  border-color: rgba(34,197,94,.25);
}

.street-actions-head span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.16);
  color: #bbf7d0;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.street-action-card {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(30, 41, 59, .72);
  border: 1px solid rgba(148,163,184,.18);
}

.street-action-card.critical {
  border-color: rgba(34,197,94,.36);
  background:
    radial-gradient(circle at 0 0, rgba(34,197,94,.14), transparent 40%),
    rgba(30, 41, 59, .72);
}

.street-action-card b {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.street-action-card p {
  margin: 0;
  color: rgba(219,234,254,.80);
  font-size: 13px;
  line-height: 1.42;
}

@media (max-width: 980px) {
  .street-map-summary,
  .real-street-grid {
    grid-template-columns: 1fr;
  }

  .street-right-column {
    max-height: none;
    overflow: visible;
  }

  .real-map-iframe-wrap {
    min-height: 430px;
  }
}
/* END STEP 14B */

/* STEP 14C - force paid real street map */
.lts14c-paid-map {
  position: relative !important;
  display: block !important;
  margin: 0 auto 28px !important;
  padding: 28px !important;
  border: 1px solid rgba(34,197,94,.42) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(248,113,113,.22), transparent 30%),
    radial-gradient(circle at 72% 18%, rgba(34,197,94,.14), transparent 28%),
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.90)) !important;
  color: #fff !important;
  overflow: hidden !important;
}

.lts14c-head {
  display: flex !important;
  justify-content: space-between !important;
  gap: 18px !important;
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}

.lts14c-head span {
  display: inline-flex !important;
  width: fit-content !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: rgba(34,197,94,.16) !important;
  border: 1px solid rgba(34,197,94,.36) !important;
  color: #bbf7d0 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

.lts14c-head h2 {
  margin: 14px 0 8px !important;
  color: #fff !important;
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: .95 !important;
  letter-spacing: -.05em !important;
}

.lts14c-head p {
  margin: 0 !important;
  color: rgba(219,234,254,.88) !important;
  font-size: 17px !important;
}

.lts14c-count {
  min-width: 148px !important;
  padding: 18px !important;
  border-radius: 20px !important;
  text-align: center !important;
  background: rgba(15,23,42,.86) !important;
  border: 1px solid rgba(148,163,184,.28) !important;
}

.lts14c-count strong {
  display: block !important;
  color: #fff !important;
  font-size: 46px !important;
  line-height: 1 !important;
}

.lts14c-count small {
  display: block !important;
  margin-top: 6px !important;
  color: rgba(219,234,254,.8) !important;
  font-weight: 900 !important;
}

.lts14c-mode {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
}

.lts14c-mode > div {
  padding: 15px 17px !important;
  border-radius: 18px !important;
  background: rgba(15,23,42,.72) !important;
  border: 1px solid rgba(34,197,94,.24) !important;
}

.lts14c-mode b {
  display: block !important;
  color: #fff !important;
  margin-bottom: 5px !important;
}

.lts14c-mode p {
  margin: 0 !important;
  color: rgba(219,234,254,.78) !important;
}

.lts14c-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.lts14c-map-card,
.lts14c-panel {
  border-radius: 20px !important;
  border: 1px solid rgba(96,165,250,.26) !important;
  background: rgba(15,23,42,.82) !important;
  overflow: hidden !important;
}

.lts14c-map-wrap {
  position: relative !important;
  height: 560px !important;
  min-height: 560px !important;
  background: #0f172a !important;
  overflow: hidden !important;
}

.lts14c-map-wrap iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  z-index: 1 !important;
  filter: saturate(.95) contrast(1.08) brightness(.9) !important;
}

.lts14c-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background: radial-gradient(circle at 50% 50%, rgba(16,185,129,.10), transparent 30%) !important;
}

.lts14c-business {
  position: absolute !important;
  left: 50% !important;
  top: 52% !important;
  transform: translate(-50%, -50%) !important;
  width: 190px !important;
  padding: 18px 14px !important;
  border-radius: 20px !important;
  text-align: center !important;
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
  color: #fff !important;
  box-shadow: 0 24px 70px rgba(16,185,129,.40) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  z-index: 5 !important;
}

.lts14c-business strong {
  display: block !important;
  font-size: 18px !important;
  line-height: 1.05 !important;
}

.lts14c-business small {
  display: block !important;
  margin-top: 7px !important;
  color: rgba(255,255,255,.88) !important;
  font-weight: 800 !important;
}

.lts14c-pin {
  position: absolute !important;
  transform: translate(-50%, -50%) !important;
  min-width: 132px !important;
  max-width: 170px !important;
  min-height: 48px !important;
  padding: 9px 10px 9px 43px !important;
  border-radius: 15px !important;
  background: rgba(15,23,42,.94) !important;
  border: 1px solid rgba(148,163,184,.32) !important;
  box-shadow: 0 16px 42px rgba(2,6,23,.38) !important;
  z-index: 6 !important;
}

.lts14c-pin span {
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 25px !important;
  height: 25px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.lts14c-pin.medium span { background: #f59e0b !important; }
.lts14c-pin.low span { background: #38bdf8 !important; }

.lts14c-pin b {
  display: block !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.12 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.lts14c-caption {
  padding: 18px 20px !important;
  background: linear-gradient(135deg, rgba(6,78,59,.88), rgba(15,23,42,.96)) !important;
  border-top: 1px solid rgba(34,197,94,.30) !important;
}

.lts14c-caption strong {
  display: block !important;
  color: #fff !important;
  margin-bottom: 5px !important;
}

.lts14c-caption p {
  margin: 0 !important;
  color: rgba(219,234,254,.84) !important;
}

.lts14c-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  max-height: 720px !important;
  overflow: auto !important;
  padding-right: 8px !important;
}

.lts14c-panel {
  padding: 18px !important;
}

.lts14c-panel h3 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
}

.lts14c-panel > p {
  margin: 0 0 14px !important;
  color: rgba(219,234,254,.78) !important;
}

.lts14c-threat {
  display: grid !important;
  grid-template-columns: 54px 1fr !important;
  gap: 12px !important;
  margin-top: 12px !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: rgba(30,41,59,.82) !important;
  border: 1px solid rgba(96,165,250,.22) !important;
}

.lts14c-threat.high { border-color: rgba(248,113,113,.36) !important; }

.lts14c-rank {
  width: 44px !important;
  height: 44px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-weight: 900 !important;
}

.lts14c-threat.medium .lts14c-rank { background: #f59e0b !important; }
.lts14c-threat.low .lts14c-rank { background: #38bdf8 !important; }

.lts14c-threat h4 {
  margin: 0 0 4px !important;
  color: #fff !important;
  font-size: 18px !important;
}

.lts14c-threat p {
  margin: 0 0 8px !important;
  color: rgba(219,234,254,.78) !important;
  font-size: 13px !important;
  line-height: 1.36 !important;
}

.lts14c-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 8px 0 !important;
}

.lts14c-tags span {
  padding: 5px 9px !important;
  border-radius: 999px !important;
  background: rgba(148,163,184,.16) !important;
  color: rgba(255,255,255,.88) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.lts14c-why {
  color: rgba(191,219,254,.86) !important;
}

.lts14c-threat a {
  display: inline-flex !important;
  width: fit-content !important;
  margin-top: 3px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: rgba(37,99,235,.42) !important;
  border: 1px solid rgba(147,197,253,.34) !important;
  color: #dbeafe !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.lts14c-actions article {
  margin-top: 12px !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: rgba(30,41,59,.72) !important;
  border: 1px solid rgba(148,163,184,.18) !important;
}

.lts14c-actions article:first-of-type {
  border-color: rgba(34,197,94,.34) !important;
}

.lts14c-actions b {
  display: block !important;
  color: #fff !important;
  margin-bottom: 6px !important;
}

.lts14c-actions p {
  margin: 0 !important;
  color: rgba(219,234,254,.80) !important;
  font-size: 13px !important;
  line-height: 1.42 !important;
}

.lts14c-bottom {
  margin-top: 20px !important;
  padding: 16px 18px !important;
  border-radius: 18px !important;
  background: rgba(15,23,42,.72) !important;
  border: 1px solid rgba(148,163,184,.20) !important;
  color: rgba(219,234,254,.86) !important;
}

@media (max-width: 980px) {
  .lts14c-head,
  .lts14c-mode,
  .lts14c-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  .lts14c-side {
    max-height: none !important;
    overflow: visible !important;
  }

  .lts14c-map-wrap {
    height: 440px !important;
    min-height: 440px !important;
  }
}
/* END STEP 14C */

/* STEP 14D - real geo marker map, keep premium shell unchanged */
.lts14d-leaflet-host {
  width: 100%;
  height: 100%;
  min-height: 560px;
  position: relative;
  z-index: 2;
}

.lts14d-leaflet-host .leaflet-container {
  width: 100%;
  height: 100%;
  background: #0f172a;
  font-family: inherit;
}

.lts14d-divicon {
  background: transparent !important;
  border: 0 !important;
}

.lts14d-marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-12px, -16px);
  white-space: nowrap;
}

.lts14d-dot {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .35);
}

.lts14d-marker.medium .lts14d-dot {
  background: #f59e0b;
}

.lts14d-marker.low .lts14d-dot {
  background: #38bdf8;
}

.lts14d-marker.business .lts14d-dot {
  background: #10b981;
  min-width: 14px;
  width: 14px;
  height: 14px;
  padding: 0;
  font-size: 0;
  border: 3px solid #d1fae5;
}

.lts14d-label {
  max-width: 170px;
  padding: 7px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, .92);
  border: 1px solid rgba(148, 163, 184, .28);
  box-shadow: 0 10px 28px rgba(2, 6, 23, .28);
  color: #fff;
  line-height: 1.15;
}

.lts14d-label strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.lts14d-label small {
  display: block;
  margin-top: 4px;
  color: rgba(219, 234, 254, .82);
  font-size: 11px;
  font-weight: 700;
}

.lts14d-popup {
  min-width: 220px;
  color: #0f172a;
  line-height: 1.35;
}

.lts14d-popup strong {
  display: block;
  margin-bottom: 6px;
}

.lts14d-popup-link {
  margin-top: 8px;
}

.lts14d-popup-link a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 980px) {
  .lts14d-leaflet-host {
    min-height: 440px;
  }
}
/* END STEP 14D */

/* ======================================================
   STEP 15B - FREE radar and PREMIUM real map separation
   ====================================================== */

/* When premium is active, hide only the FREE radar/locked teaser blocks. */
.premium-is-active-hide-free-radar {
  display: none !important;
}

/* Premium real map shell keeps the existing dark premium visual language. */
.real-street-map-premium[hidden] {
  display: none !important;
}

.real-premium-shell {
  margin-top: 22px;
  border: 1px solid rgba(52, 211, 153, 0.55);
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 78, 80, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 28%),
    rgba(8, 18, 34, 0.94);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.real-premium-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.real-premium-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.16);
  color: #b7f7d3;
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.real-premium-head h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.95;
  color: #fff;
}

.real-premium-head p {
  margin: 0;
  max-width: 760px;
  color: rgba(230, 242, 255, 0.92);
  line-height: 1.45;
}

.real-premium-count {
  min-width: 170px;
  border: 1px solid rgba(90, 130, 255, 0.35);
  border-radius: 18px;
  padding: 14px 18px;
  background: rgba(12, 23, 44, 0.86);
  text-align: center;
}

.real-premium-count strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.real-premium-count span {
  display: block;
  margin-top: 6px;
  color: #c7ddff;
  font-size: 12px;
  font-weight: 800;
}

.real-premium-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .95fr);
  gap: 18px;
  align-items: stretch;
}

.real-premium-left,
.real-premium-threats,
.real-premium-actions,
.real-premium-footer {
  border: 1px solid rgba(81, 128, 210, 0.5);
  background: rgba(15, 28, 50, 0.88);
  border-radius: 18px;
}

.real-premium-left {
  overflow: hidden;
}

.real-leaflet-map {
  width: 100%;
  min-height: 470px;
  height: 470px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background: #dbeafe;
}

.real-leaflet-map .leaflet-container,
#realLeafletMap {
  z-index: 1;
}

.real-map-proof {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(3, 80, 72, 0.65);
  color: #dffeff;
}

.real-map-proof strong {
  color: #fff;
}

.real-map-proof span {
  color: #bff6ff;
  line-height: 1.35;
}

.real-premium-threats {
  padding: 18px;
  min-height: 0;
}

.real-premium-threats h3,
.real-premium-actions h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
}

.real-premium-threats > p {
  margin: 0 0 14px;
  color: #c7ddff;
  line-height: 1.35;
}

.real-threat-scroll {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
}

.real-threat-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 80, 88, 0.55);
  border-radius: 14px;
  background: rgba(30, 42, 64, 0.92);
}

.real-threat-rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff3f46, #ff5b5f);
  color: #fff;
  font-weight: 900;
}

.real-threat-body h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
}

.real-threat-address,
.real-threat-copy {
  margin: 0 0 8px;
  color: #d3e5ff;
  font-size: 13px;
  line-height: 1.35;
}

.real-threat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.real-threat-badges span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.real-threat-link {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.55);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.real-premium-actions {
  margin-top: 16px;
  padding: 18px;
}

.real-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.real-action-card {
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 14px;
  padding: 14px;
  background: rgba(14, 38, 55, 0.92);
}

.real-action-card strong {
  display: block;
  color: #fff;
  margin-bottom: 7px;
}

.real-action-card p {
  margin: 0;
  color: #c7efff;
  font-size: 13px;
  line-height: 1.35;
}

.real-premium-footer {
  margin-top: 16px;
  padding: 14px 18px;
  color: #dff6ff;
}

.real-premium-footer strong {
  color: #fff;
}

.real-map-loading,
.real-map-error,
.real-empty-note {
  border: 1px solid rgba(81, 128, 210, 0.45);
  border-radius: 18px;
  padding: 22px;
  background: rgba(15, 28, 50, 0.9);
  color: #fff;
}

.real-map-loading span,
.real-map-error span {
  display: block;
  margin-top: 6px;
  color: #c7ddff;
}

/* Keep existing battle competitor list scrollable in free mode. */
.battle-competitor-list {
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
}

@media (max-width: 980px) {
  .real-premium-head,
  .real-premium-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .real-premium-head {
    display: block;
  }

  .real-premium-count {
    margin-top: 14px;
  }

  .real-action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .real-leaflet-map {
    min-height: 390px;
    height: 390px;
  }
}

@media (max-width: 640px) {
  .real-premium-shell {
    padding: 16px;
  }

  .real-action-grid {
    grid-template-columns: 1fr;
  }

  .real-leaflet-map {
    min-height: 330px;
    height: 330px;
  }
}


/* STEP 15H - FORCE PREMIUM LEAFLET MAP VISIBLE */
.real-street-map-premium:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 720px !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  margin: 28px auto !important;
  padding: 0 !important;
}

.premium-is-active-hide-free-radar {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lts15h-premium-shell {
  width: 100% !important;
  border: 1px solid rgba(34, 197, 94, .45) !important;
  border-radius: 22px !important;
  padding: 24px !important;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, .18), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(8, 17, 32, .98)) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34) !important;
}

.lts15h-head {
  display: flex !important;
  justify-content: space-between !important;
  gap: 22px !important;
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}

.lts15h-kicker {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid rgba(34, 197, 94, .55) !important;
  background: rgba(34, 197, 94, .12) !important;
  color: #bbf7d0 !important;
  border-radius: 999px !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.lts15h-head h2 {
  margin: 10px 0 8px !important;
  color: #ffffff !important;
  font-size: clamp(30px, 4vw, 54px) !important;
  line-height: .96 !important;
  letter-spacing: -.05em !important;
}

.lts15h-head p {
  margin: 0 !important;
  max-width: 760px !important;
  color: #dbeafe !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.lts15h-license {
  min-width: 190px !important;
  border: 1px solid rgba(34, 197, 94, .38) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  background: rgba(15, 23, 42, .82) !important;
  text-align: right !important;
}

.lts15h-license strong {
  display: block !important;
  color: #bbf7d0 !important;
  font-size: 14px !important;
}

.lts15h-license span {
  display: block !important;
  margin-top: 4px !important;
  color: #bfdbfe !important;
  font-size: 12px !important;
}

.lts15h-top-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .9fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.lts15h-map-card,
.lts15h-threats,
.lts15h-actions,
.lts15h-direction {
  border: 1px solid rgba(96, 165, 250, .32) !important;
  border-radius: 20px !important;
  background: rgba(15, 23, 42, .82) !important;
  overflow: hidden !important;
}

.lts15h-leaflet-map {
  display: block !important;
  width: 100% !important;
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
  border-radius: 20px 20px 0 0 !important;
  overflow: hidden !important;
  background: #0f172a !important;
  z-index: 1 !important;
}

#realLeafletMap15H {
  display: block !important;
  width: 100% !important;
  height: 560px !important;
  min-height: 560px !important;
  max-height: 560px !important;
}

#realLeafletMap15H .leaflet-container,
#realLeafletMap15H .leaflet-pane,
#realLeafletMap15H .leaflet-map-pane {
  z-index: 1 !important;
}

.lts15h-map-foot {
  padding: 15px 18px !important;
  background: rgba(6, 78, 59, .58) !important;
  color: #d1fae5 !important;
}

.lts15h-map-foot strong {
  display: block !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.lts15h-map-foot span {
  display: block !important;
  color: #ccfbf1 !important;
  line-height: 1.35 !important;
}

.lts15h-threats {
  padding: 18px !important;
  max-height: 650px !important;
  overflow-y: auto !important;
}

.lts15h-threats h3,
.lts15h-actions h3 {
  margin: 0 0 6px !important;
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1.05 !important;
}

.lts15h-threats > p,
.lts15h-actions-head p {
  margin: 0 0 14px !important;
  color: #dbeafe !important;
  line-height: 1.4 !important;
}

.lts15h-threat-list {
  display: grid !important;
  gap: 12px !important;
}

.lts15h-threat-card {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid rgba(248, 113, 113, .42) !important;
  border-radius: 16px !important;
  background: rgba(30, 41, 59, .92) !important;
}

.lts15h-rank {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  color: #ffffff !important;
  display: grid !important;
  place-items: center !important;
  font-weight: 950 !important;
}

.lts15h-threat-body h4 {
  margin: 0 0 4px !important;
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
}

.lts15h-address,
.lts15h-meaning {
  margin: 0 0 8px !important;
  color: #dbeafe !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.lts15h-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 8px 0 !important;
}

.lts15h-badges span {
  border-radius: 999px !important;
  padding: 5px 8px !important;
  background: rgba(148, 163, 184, .2) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.lts15h-map-link {
  display: inline-flex !important;
  width: fit-content !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  background: rgba(37, 99, 235, .75) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.lts15h-actions {
  margin-top: 18px !important;
  padding: 18px !important;
}

.lts15h-action-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.lts15h-action-card {
  min-height: 122px !important;
  border: 1px solid rgba(34, 197, 94, .36) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  background: rgba(8, 47, 73, .46) !important;
}

.lts15h-action-card strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
}

.lts15h-action-card p {
  margin: 0 !important;
  color: #bfdbfe !important;
  font-size: 12px !important;
  line-height: 1.42 !important;
}

.lts15h-direction {
  margin-top: 18px !important;
  padding: 16px 18px !important;
  color: #dbeafe !important;
}

.lts15h-direction strong {
  color: #ffffff !important;
}

.lts15h-loading,
.lts15h-error,
.lts15h-map-error,
.lts15h-empty {
  border: 1px solid rgba(96, 165, 250, .32) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  background: rgba(15, 23, 42, .92) !important;
  color: #ffffff !important;
}

.lts15h-loading span,
.lts15h-error span {
  display: block !important;
  margin-top: 6px !important;
  color: #bfdbfe !important;
}

@media (max-width: 980px) {
  .lts15h-head,
  .lts15h-top-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }

  .lts15h-license {
    text-align: left !important;
  }

  .lts15h-action-row {
    grid-template-columns: 1fr !important;
  }

  .lts15h-leaflet-map,
  #realLeafletMap15H {
    height: 460px !important;
    min-height: 460px !important;
    max-height: 460px !important;
  }
}
/* END STEP 15H - FORCE PREMIUM LEAFLET MAP VISIBLE */



/* STEP 15I - HARD PREMIUM MAP CSS */
.lts15i-hide-free-radar {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.lts15i-premium-map-mount {
  display: none;
  width: 100%;
  margin: 28px 0;
}

.lts15i-shell {
  border: 1px solid rgba(34, 197, 94, .45);
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, .18), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(8, 17, 32, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

.lts15i-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.lts15i-head span {
  display: inline-flex;
  border: 1px solid rgba(34, 197, 94, .55);
  background: rgba(34, 197, 94, .12);
  color: #bbf7d0;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lts15i-head h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .96;
  letter-spacing: -.05em;
}

.lts15i-head p {
  margin: 0;
  color: #dbeafe;
  max-width: 760px;
  line-height: 1.5;
}

.lts15i-pill {
  min-width: 190px;
  border: 1px solid rgba(34, 197, 94, .38);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, .82);
  text-align: right;
}

.lts15i-pill strong {
  display: block;
  color: #bbf7d0;
}

.lts15i-pill small {
  display: block;
  margin-top: 4px;
  color: #bfdbfe;
}

.lts15i-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .9fr);
  gap: 18px;
}

.lts15i-map-card,
.lts15i-threats,
.lts15i-actions {
  border: 1px solid rgba(96, 165, 250, .32);
  border-radius: 20px;
  background: rgba(15, 23, 42, .82);
  overflow: hidden;
}

#lts15iLeafletMap {
  display: block !important;
  width: 100% !important;
  height: 560px !important;
  min-height: 560px !important;
  background: #0f172a !important;
}

.lts15i-map-note {
  padding: 15px 18px;
  background: rgba(6, 78, 59, .58);
  color: #d1fae5;
}

.lts15i-map-note strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.lts15i-map-note span {
  color: #ccfbf1;
}

.lts15i-threats {
  padding: 18px;
  max-height: 650px;
  overflow-y: auto;
}

.lts15i-threats h3,
.lts15i-actions h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
}

.lts15i-threats > p {
  margin: 0 0 14px;
  color: #dbeafe;
  line-height: 1.4;
}

.lts15i-threat-list {
  display: grid;
  gap: 12px;
}

.lts15i-threat {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(248, 113, 113, .42);
  border-radius: 16px;
  background: rgba(30, 41, 59, .92);
}

.lts15i-rank {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.lts15i-threat h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
}

.lts15i-threat p,
.lts15i-threat small {
  display: block;
  margin: 0 0 8px;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.35;
}

.lts15i-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.lts15i-badges span {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(148, 163, 184, .2);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.lts15i-threat a {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(37, 99, 235, .75);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.lts15i-actions {
  margin-top: 18px;
  padding: 18px;
}

.lts15i-actions-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lts15i-action {
  min-height: 122px;
  border: 1px solid rgba(34, 197, 94, .36);
  border-radius: 16px;
  padding: 14px;
  background: rgba(8, 47, 73, .46);
}

.lts15i-action strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.lts15i-action p {
  margin: 0;
  color: #bfdbfe;
  font-size: 12px;
  line-height: 1.42;
}

.lts15i-loading,
.lts15i-error,
.lts15i-empty {
  border: 1px solid rgba(96, 165, 250, .32);
  border-radius: 18px;
  padding: 22px;
  background: rgba(15, 23, 42, .92);
  color: #fff;
}

.lts15i-loading span,
.lts15i-error span {
  display: block;
  margin-top: 6px;
  color: #bfdbfe;
}

@media (max-width: 980px) {
  .lts15i-head,
  .lts15i-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lts15i-pill {
    text-align: left;
  }

  .lts15i-actions-row {
    grid-template-columns: 1fr;
  }

  #lts15iLeafletMap {
    height: 460px !important;
    min-height: 460px !important;
  }
}
/* END STEP 15I - HARD PREMIUM MAP CSS */


/* STEP 16B - premium map pin labels + keyword position scanner */
.lts16-target-label,
.lts16-competitor-label {
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.35) !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
  padding: 6px 9px !important;
}

.lts16-target-label {
  background: rgba(16,185,129,.96) !important;
  color: #ffffff !important;
}

.lts16-competitor-label {
  background: rgba(15,23,42,.94) !important;
  color: #ffffff !important;
}

.lts16-target-label::before,
.lts16-competitor-label::before {
  display: none !important;
}

.lts16-keyword-scanner {
  margin-top: 14px !important;
  border: 1px solid rgba(16,185,129,.48) !important;
  background:
    radial-gradient(circle at top left, rgba(16,185,129,.16), transparent 34%),
    linear-gradient(135deg, rgba(15,23,42,.98), rgba(8,23,37,.98)) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.28) !important;
}

.lts16-keyword-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 14px !important;
}

.lts16-kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  background: rgba(59,130,246,.20) !important;
  border: 1px solid rgba(96,165,250,.35) !important;
  color: #bfdbfe !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.lts16-keyword-head h3 {
  margin: 8px 0 6px !important;
  color: #ffffff !important;
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: 1.05 !important;
}

.lts16-keyword-head p {
  margin: 0 !important;
  color: #dbeafe !important;
  max-width: 760px !important;
  line-height: 1.45 !important;
}

.lts16-position-badge {
  min-width: 138px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(16,185,129,.45) !important;
  background: rgba(6,78,59,.66) !important;
  padding: 12px 14px !important;
  text-align: center !important;
}

.lts16-position-badge strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

.lts16-position-badge span {
  display: block !important;
  margin-top: 4px !important;
  color: #a7f3d0 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.lts16-keyword-controls {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  margin: 12px 0 !important;
}

.lts16-keyword-input {
  width: 100% !important;
  border: 1px solid rgba(96,165,250,.38) !important;
  background: rgba(2,6,23,.72) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 13px 14px !important;
  font-weight: 800 !important;
  outline: none !important;
}

.lts16-keyword-input:focus {
  border-color: rgba(16,185,129,.76) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,.16) !important;
}

.lts16-keyword-button {
  border: 0 !important;
  border-radius: 14px !important;
  padding: 13px 18px !important;
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  color: #ffffff !important;
  font-weight: 950 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(34,197,94,.25) !important;
}

.lts16-keyword-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 10px 0 14px !important;
}

.lts16-kw-chip {
  border: 1px solid rgba(148,163,184,.26) !important;
  background: rgba(15,23,42,.88) !important;
  color: #dbeafe !important;
  border-radius: 999px !important;
  padding: 8px 11px !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
}

.lts16-kw-chip.is-active,
.lts16-kw-chip:hover {
  border-color: rgba(16,185,129,.66) !important;
  background: rgba(16,185,129,.18) !important;
  color: #ffffff !important;
}

.lts16-keyword-summary {
  border: 1px solid rgba(59,130,246,.34) !important;
  background: rgba(30,64,175,.18) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  margin: 12px 0 !important;
}

.lts16-keyword-summary strong {
  display: block !important;
  color: #ffffff !important;
  margin-bottom: 4px !important;
}

.lts16-keyword-summary span {
  color: #dbeafe !important;
  line-height: 1.4 !important;
}

.lts16-keyword-table-wrap {
  overflow: auto !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148,163,184,.20) !important;
}

.lts16-keyword-table {
  width: 100% !important;
  border-collapse: collapse !important;
  min-width: 680px !important;
}

.lts16-keyword-table th,
.lts16-keyword-table td {
  padding: 10px 12px !important;
  text-align: left !important;
  border-bottom: 1px solid rgba(148,163,184,.15) !important;
  color: #dbeafe !important;
}

.lts16-keyword-table th {
  color: #93c5fd !important;
  background: rgba(15,23,42,.82) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.lts16-keyword-table tr.is-target td {
  background: rgba(16,185,129,.14) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

.lts16-keyword-note {
  margin: 10px 0 0 !important;
  color: #93c5fd !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

@media (max-width: 900px) {
  .lts16-keyword-head,
  .lts16-keyword-controls {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
  }

  .lts16-position-badge {
    width: 100% !important;
  }
}
/* END STEP 16B */

/* STEP 16C - stable premium map + labels + keyword rank block */
.lts16c-hide-free-radar {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lts16c-premium-map-mount {
  display: block;
  width: 100%;
  margin: 22px auto;
}

.lts16c-shell {
  border: 1px solid rgba(16, 185, 129, .65);
  background:
    radial-gradient(circle at 15% 0%, rgba(16, 185, 129, .16), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(8, 14, 28, .98));
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .38);
}

.lts16c-head {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.lts16c-head span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, .55);
  color: #bbf7d0;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lts16c-head h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .95;
  letter-spacing: -.05em;
}

.lts16c-head p {
  margin: 0;
  max-width: 760px;
  color: #dbeafe;
  font-size: 15px;
  line-height: 1.45;
}

.lts16c-pill {
  min-width: 170px;
  border: 1px solid rgba(16, 185, 129, .55);
  border-radius: 18px;
  padding: 13px 15px;
  text-align: center;
  background: rgba(15, 23, 42, .72);
}

.lts16c-pill strong {
  display: block;
  color: #bbf7d0;
  font-size: 13px;
}

.lts16c-pill small {
  color: #bfdbfe;
  font-weight: 800;
}

.lts16c-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .95fr);
  gap: 18px;
  align-items: stretch;
}

.lts16c-map-card,
.lts16c-threats,
.lts16c-keyword-scanner,
.lts16c-actions {
  border: 1px solid rgba(59, 130, 246, .42);
  border-radius: 18px;
  background: rgba(15, 23, 42, .78);
  overflow: hidden;
}

#lts16cLeafletMap {
  width: 100% !important;
  height: 570px !important;
  min-height: 570px !important;
  border-radius: 18px 18px 0 0;
  background: #0f172a;
}

.lts16c-map-note {
  padding: 14px 16px;
  background: rgba(6, 78, 59, .82);
  color: #e0fff4;
}

.lts16c-map-note strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.lts16c-map-note span {
  color: #d1fae5;
}

.lts16c-target-divicon,
.lts16c-competitor-divicon {
  background: transparent !important;
  border: 0 !important;
}

.lts16c-target-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #14b8a6;
  border: 3px solid #ccfbf1;
  box-shadow: 0 0 0 5px rgba(20, 184, 166, .25), 0 10px 24px rgba(0,0,0,.35);
  display: inline-block;
  vertical-align: middle;
}

.lts16c-target-name,
.lts16c-competitor-name {
  display: inline-flex;
  margin-left: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  vertical-align: middle;
}

.lts16c-target-name {
  background: #0f766e;
  color: #ecfeff;
  border: 1px solid rgba(204, 251, 241, .65);
}

.lts16c-competitor-name {
  background: rgba(15, 23, 42, .95);
  color: #fff;
  border: 1px solid rgba(248, 113, 113, .75);
}

.lts16c-threats {
  padding: 18px;
  max-height: 640px;
  overflow-y: auto;
}

.lts16c-threats h3,
.lts16c-actions h3,
.lts16c-keyword-head h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
}

.lts16c-threats > p,
.lts16c-keyword-head p {
  margin: 0 0 16px;
  color: #dbeafe;
  line-height: 1.4;
}

.lts16c-threat-list {
  display: grid;
  gap: 12px;
}

.lts16c-threat {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, .55);
  background: rgba(30, 41, 59, .92);
}

.lts16c-threat-rank {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.lts16c-threat-body h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
}

.lts16c-threat-body p,
.lts16c-threat-body small {
  display: block;
  margin: 0 0 8px;
  color: #dbeafe;
  line-height: 1.35;
}

.lts16c-threat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.lts16c-threat-badges span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, .22);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.lts16c-threat a {
  display: inline-flex;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  font-size: 12px;
}

.lts16c-keyword-scanner {
  margin-top: 18px;
  padding: 18px;
  border-color: rgba(16, 185, 129, .55);
}

.lts16c-keyword-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.lts16c-keyword-head span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(16, 185, 129, .45);
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.lts16c-keyword-input {
  display: flex;
  gap: 8px;
  min-width: min(520px, 100%);
}

.lts16c-keyword-input input {
  flex: 1;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, .5);
  background: rgba(2, 6, 23, .55);
  color: #fff;
  padding: 0 13px;
  font-weight: 800;
}

.lts16c-keyword-input button,
.lts16c-keyword-chip {
  border: 0;
  cursor: pointer;
  font-weight: 950;
}

.lts16c-keyword-input button {
  min-height: 44px;
  border-radius: 14px;
  padding: 0 16px;
  background: linear-gradient(135deg, #22c55e, #65a30d);
  color: #fff;
}

.lts16c-keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.lts16c-keyword-chip {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .22);
  border: 1px solid rgba(96, 165, 250, .45);
  color: #dbeafe;
}

.lts16c-keyword-results {
  display: grid;
  gap: 8px;
}

.lts16c-keyword-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(71, 85, 105, .65);
  border-radius: 14px;
  padding: 11px;
  background: rgba(15, 23, 42, .86);
}

.lts16c-keyword-row.is-you {
  border-color: rgba(20, 184, 166, .75);
  background: rgba(20, 184, 166, .12);
}

.lts16c-keyword-rank {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 12px;
  background: rgba(59, 130, 246, .22);
  color: #fff;
  font-weight: 950;
}

.lts16c-keyword-row.is-you .lts16c-keyword-rank {
  background: #0f766e;
}

.lts16c-keyword-row strong {
  display: block;
  color: #fff;
  margin-bottom: 3px;
}

.lts16c-keyword-row span {
  color: #bfdbfe;
  font-size: 13px;
  line-height: 1.35;
}

.lts16c-actions {
  margin-top: 18px;
  padding: 18px;
}

.lts16c-actions-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lts16c-action-card {
  min-height: 112px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, .5);
  background: rgba(8, 47, 73, .68);
}

.lts16c-action-card strong {
  display: block;
  color: #fff;
  margin-bottom: 9px;
}

.lts16c-action-card p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.42;
}

.lts16c-loading,
.lts16c-error,
.lts16c-empty {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, .45);
  background: rgba(15, 23, 42, .9);
  color: #fff;
}

.lts16c-error {
  border-color: rgba(248, 113, 113, .65);
  color: #fecaca;
}

.lts16c-loading strong,
.lts16c-error strong {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 1100px) {
  .lts16c-head,
  .lts16c-keyword-head {
    flex-direction: column;
  }

  .lts16c-grid,
  .lts16c-actions-row {
    grid-template-columns: 1fr;
  }

  .lts16c-keyword-input {
    width: 100%;
  }

  #lts16cLeafletMap {
    height: 520px !important;
    min-height: 520px !important;
  }
}
/* END STEP 16C */

/* STEP 16D - local Leaflet asset safety */
#lts16cLeafletMap .leaflet-container,
#lts16cLeafletMap .leaflet-pane,
#lts16cLeafletMap .leaflet-map-pane,
#lts16cLeafletMap .leaflet-tile-pane {
  z-index: 1;
}

#lts16cLeafletMap .leaflet-control-container {
  z-index: 20;
}

#lts16cLeafletMap .leaflet-marker-pane,
#lts16cLeafletMap .leaflet-tooltip-pane,
#lts16cLeafletMap .leaflet-popup-pane {
  z-index: 30;
}
/* END STEP 16D */



/* STEP 17E - keep old competitor block updated by real keyword ranking */
.lts17e-live-updated {
  display: grid !important;
  gap: 12px !important;
}

.lts17e-live-head {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(20,184,166,.6);
  background: rgba(20,184,166,.12);
  margin-bottom: 4px;
}

.lts17e-live-head span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.18);
  color: #bbf7d0;
  border: 1px solid rgba(34,197,94,.55);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .06em;
}

.lts17e-live-head strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.lts17e-live-head small {
  display: block;
  margin-top: 5px;
  color: #bfdbfe;
  font-size: 12px;
  line-height: 1.3;
}

.lts17e-threat {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(248,113,113,.45);
  background: rgba(15, 23, 42, .78);
}

.lts17e-threat.is-target {
  border-color: rgba(20,184,166,.95);
  background: rgba(20,184,166,.14);
  box-shadow: 0 0 0 1px rgba(20,184,166,.18), 0 18px 45px rgba(20,184,166,.08);
}

.lts17e-rank {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 19px;
  font-weight: 1000;
}

.lts17e-threat.is-target .lts17e-rank {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.lts17e-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lts17e-title-line h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
}

.lts17e-you {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(20,184,166,.85);
  color: #fff;
  font-size: 11px;
  font-weight: 1000;
}

.lts17e-address {
  margin: 5px 0 0 !important;
  color: #dbeafe !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.lts17e-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}

.lts17e-badges span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(51,65,85,.85);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.lts17e-copy {
  margin: 0 0 10px !important;
  color: #bfdbfe !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.lts17e-maplink {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff !important;
  font-weight: 900;
  font-size: 13px;
}

@media (max-width: 760px) {
  .lts17e-threat {
    grid-template-columns: 1fr;
  }

  .lts17e-rank {
    width: fit-content;
    min-width: 58px;
  }
}
/* END STEP 17E */

/* STEP 17G - recover working premium map and right-side threat list */
#lts16cPremiumMapMount,
#lts16cLeafletMap,
.lts16c-shell,
.lts16c-grid,
.lts16c-map-card,
.lts16c-threats,
.lts15i-premium-map-mount,
#lts15iPremiumMapMount,
#lts15iLeafletMap {
  display: revert !important;
  visibility: visible !important;
}

.lts16c-threats,
.lts15i-threats {
  max-height: 520px !important;
  overflow-y: auto !important;
}

/* Never hide the working map because of duplicate cleanup attributes */
[data-lts17f-hidden-duplicate-map="1"] {
  display: revert !important;
  visibility: visible !important;
}

/* END STEP 17G */

/* ======================================================
   STEP 17H-D - RESTORE 16C MAP LEFT + THREATS RIGHT
   Fix previous display:revert override from STEP 17G.
   CSS ONLY. No JS/backend/payment changes.
   ====================================================== */

.lts16c-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .95fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.lts16c-map-card {
  display: block !important;
  min-width: 0 !important;
}

.lts16c-threats {
  display: block !important;
  min-width: 0 !important;
  max-height: 640px !important;
  overflow-y: auto !important;
}

.lts16c-threat-list {
  display: grid !important;
  gap: 12px !important;
}

#lts16cLeafletMap {
  display: block !important;
  width: 100% !important;
  height: 570px !important;
  min-height: 570px !important;
}

@media (max-width: 1100px) {
  .lts16c-grid {
    grid-template-columns: 1fr !important;
  }

  #lts16cLeafletMap {
    height: 520px !important;
    min-height: 520px !important;
  }
}

/* END STEP 17H-D */

/* ======================================================
   STEP 17H-E - CURRENT 16C KEYWORD SYSTEM REAL RANKING
   CSS ONLY for existing keyword block.
   ====================================================== */

.lts16c-keyword-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.lts16c-keyword-chip.is-active {
  background: rgba(20, 184, 166, .26) !important;
  border-color: rgba(20, 184, 166, .88) !important;
  color: #ecfeff !important;
}

.lts16c-keyword-chip small {
  opacity: .78;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.lts16c-keyword-remove {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 1000;
  cursor: pointer;
}

.lts16c-keyword-input button:disabled {
  opacity: .65;
  cursor: wait;
}

.lts16c-keyword-real-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(20, 184, 166, .6);
  background: rgba(20, 184, 166, .12);
  color: #dbeafe;
}

.lts16c-keyword-real-summary strong {
  width: 100%;
  color: #fff;
  font-size: 15px;
}

.lts16c-keyword-real-summary span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(51, 65, 85, .82);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 900;
}

.lts16c-move {
  display: inline-flex !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  font-weight: 1000 !important;
  font-size: 12px !important;
}

.lts16c-move-up {
  background: rgba(34, 197, 94, .22) !important;
  color: #bbf7d0 !important;
  border: 1px solid rgba(34, 197, 94, .55);
}

.lts16c-move-down {
  background: rgba(239, 68, 68, .22) !important;
  color: #fecaca !important;
  border: 1px solid rgba(239, 68, 68, .55);
}

.lts16c-move-same {
  background: rgba(59, 130, 246, .22) !important;
  color: #bfdbfe !important;
  border: 1px solid rgba(59, 130, 246, .55);
}

.lts16c-move-new {
  background: rgba(234, 179, 8, .18) !important;
  color: #fef3c7 !important;
  border: 1px solid rgba(234, 179, 8, .55);
}

.lts16c-you-badge {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #0f766e;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 1000;
  vertical-align: middle;
}

.lts16c-mini-map-link {
  display: inline-flex;
  margin-top: 6px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.lts16c-threat-live-head {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(20, 184, 166, .6);
  background: rgba(20, 184, 166, .12);
}

.lts16c-threat-live-head strong,
.lts16c-threat-live-head span {
  display: block;
}

.lts16c-threat-live-head strong {
  color: #fff;
}

.lts16c-threat-live-head span {
  color: #bfdbfe;
  margin-top: 4px;
  font-weight: 800;
}

.lts16c-threat.is-you {
  border-color: rgba(20, 184, 166, .95) !important;
  background: rgba(20, 184, 166, .15) !important;
}

.lts16c-threat.is-you .lts16c-threat-rank {
  background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
}

.lts16c-competitor-name.is-you {
  background: #0f766e !important;
  border-color: rgba(204, 251, 241, .85) !important;
  color: #fff !important;
}

/* hard restore: map left + threats right */
.lts16c-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .95fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.lts16c-map-card,
.lts16c-threats {
  min-width: 0 !important;
}

@media (max-width: 1100px) {
  .lts16c-grid {
    grid-template-columns: 1fr !important;
  }
}

/* END STEP 17H-E */

/* ======================================================
   STEP 17I - keyword searcher location filter
   Default remains client business address.
   ====================================================== */

.lts16c-location-filter {
  margin: 14px 0 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(20, 184, 166, .45);
  background: rgba(8, 47, 73, .42);
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: 14px;
  align-items: start;
}

.lts16c-location-filter strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 5px;
}

.lts16c-location-filter span {
  display: block;
  color: #bfdbfe;
  line-height: 1.35;
  font-size: 13px;
}

.lts16c-location-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.lts16c-location-chip {
  border: 1px solid rgba(96, 165, 250, .48);
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(30, 64, 175, .34);
  color: #dbeafe;
  font-weight: 950;
}

.lts16c-location-chip small {
  margin-left: 6px;
  color: #cbd5e1;
  font-size: 10px;
  text-transform: uppercase;
}

.lts16c-location-chip.is-active {
  border-color: rgba(20, 184, 166, .95);
  background: rgba(13, 148, 136, .72);
  color: #fff;
}

@media (max-width: 900px) {
  .lts16c-location-filter {
    grid-template-columns: 1fr;
  }
}

/* END STEP 17I */

/* ======================================================
   STEP 17I-D - free searcher location input
   ====================================================== */

.lts16c-location-filter {
  margin: 14px 0 20px !important;
  padding: 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(20, 184, 166, .48) !important;
  background: rgba(8, 47, 73, .42) !important;
  display: grid !important;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr) !important;
  gap: 16px !important;
  align-items: center !important;
}

.lts16c-location-copy strong {
  display: block !important;
  color: #fff !important;
  font-size: 16px !important;
  margin-bottom: 5px !important;
}

.lts16c-location-copy span {
  display: block !important;
  color: #bfdbfe !important;
  line-height: 1.35 !important;
  font-size: 13px !important;
}

.lts16c-location-form {
  display: grid !important;
  grid-template-columns: auto minmax(260px, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.lts16c-location-default,
#lts16cLocationApply {
  min-height: 48px !important;
  border: 0 !important;
  cursor: pointer !important;
  border-radius: 16px !important;
  padding: 0 18px !important;
  color: #fff !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

.lts16c-location-default {
  background: rgba(37, 99, 235, .55) !important;
  border: 1px solid rgba(96, 165, 250, .55) !important;
}

.lts16c-location-default.is-active {
  background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
  border-color: rgba(45, 212, 191, .85) !important;
}

.lts16c-location-default small {
  margin-left: 6px !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  color: #dbeafe !important;
}

#lts16cLocationInput {
  min-height: 48px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(96, 165, 250, .55) !important;
  background: rgba(2, 6, 23, .58) !important;
  color: #fff !important;
  padding: 0 15px !important;
  font-weight: 850 !important;
  width: 100% !important;
}

#lts16cLocationInput::placeholder {
  color: rgba(219, 234, 254, .62) !important;
}

#lts16cLocationApply {
  background: linear-gradient(135deg, #22c55e, #65a30d) !important;
}

/* hide old fixed city chips if cached/old HTML still outputs them */
.lts16c-location-buttons,
.lts16c-location-chip {
  display: none !important;
}

@media (max-width: 1050px) {
  .lts16c-location-filter,
  .lts16c-location-form {
    grid-template-columns: 1fr !important;
  }
}

/* END STEP 17I-D */

/* ======================================================
   STEP 17J-B - OpenAI AI Local Recovery Actions upgrade
   Scoped only under existing AI Local Recovery Actions area.
   ====================================================== */

.lts17j-ai-panel {
  display: grid;
  gap: 16px;
  width: 100%;
}

.lts17j-ai-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.lts17j-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16,185,129,.55);
  background: rgba(16,185,129,.13);
  color: #bbf7d0;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.lts17j-ai-head h3 {
  margin: 9px 0 6px !important;
  color: #fff !important;
  font-size: 30px !important;
  line-height: 1 !important;
}

.lts17j-ai-head p {
  margin: 0 !important;
  color: #bfdbfe !important;
  max-width: 760px;
  line-height: 1.45 !important;
}

.lts17j-status {
  min-width: 170px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(96,165,250,.48);
  background: rgba(15,23,42,.78);
  text-align: center;
}

.lts17j-status strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.lts17j-status small {
  display: block;
  margin-top: 3px;
  color: #93c5fd;
  font-weight: 850;
}

.lts17j-priority-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(20,184,166,.72);
  background:
    radial-gradient(circle at 0% 0%, rgba(20,184,166,.22), transparent 36%),
    rgba(8,47,73,.78);
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}

.lts17j-priority-card span,
.lts17j-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(59,130,246,.18);
  border: 1px solid rgba(96,165,250,.42);
  color: #dbeafe;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lts17j-priority-card strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.12;
  margin-bottom: 8px;
}

.lts17j-priority-card p,
.lts17j-card p {
  margin: 0 !important;
  color: #dbeafe !important;
  line-height: 1.48 !important;
  font-size: 15px !important;
}

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

.lts17j-card {
  min-height: 150px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(59,130,246,.42);
  background: rgba(15,23,42,.82);
}

.lts17j-card-wide {
  grid-column: 1 / -1;
  border-color: rgba(16,185,129,.55);
  background:
    linear-gradient(135deg, rgba(15,23,42,.86), rgba(8,47,73,.68));
}

@media (max-width: 900px) {
  .lts17j-ai-head {
    flex-direction: column;
  }

  .lts17j-status {
    width: 100%;
  }

  .lts17j-grid {
    grid-template-columns: 1fr;
  }
}

/* END STEP 17J-B */

/* ======================================================
   STEP 17J-C - Fix OpenAI AI actions full width
   The old .lts16c-actions-row was a 4-column grid.
   When it contains the OpenAI advisor panel, force full-width.
   CSS ONLY.
   ====================================================== */

.lts16c-actions-row:has(.lts17j-ai-panel) {
  display: block !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
}

.lts16c-actions-row:has(.lts17j-ai-panel) .lts17j-ai-panel {
  width: 100% !important;
  max-width: none !important;
}

.lts16c-actions-row:has(.lts17j-ai-panel) .lts17j-ai-head {
  width: 100% !important;
}

.lts16c-actions-row:has(.lts17j-ai-panel) .lts17j-priority-card {
  width: 100% !important;
}

.lts16c-actions-row:has(.lts17j-ai-panel) .lts17j-grid {
  width: 100% !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 900px) {
  .lts16c-actions-row:has(.lts17j-ai-panel) .lts17j-grid {
    grid-template-columns: 1fr !important;
  }
}

/* END STEP 17J-C */

/* ======================================================
   STEP 17J-E - RESTORE AI LOCAL RECOVERY ACTION CARD UI
   CSS ONLY. Keeps current logic and graphics.
   ====================================================== */

.lts16c-actions-row {
  display: block !important;
}

.lts17j-ai-panel {
  width: 100% !important;
  display: block !important;
}

.lts17j-ai-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

.lts17j-ai-head span,
.lts17j-openai-pill,
.lts17j-priority-card > span,
.lts17j-mini-card > span,
.lts17j-ready-card > span {
  display: inline-flex !important;
  width: fit-content !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(96, 165, 250, .65) !important;
  background: rgba(37, 99, 235, .22) !important;
  color: #bfdbfe !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 1000 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  margin-bottom: 10px !important;
}

.lts17j-ai-head span {
  border-color: rgba(16, 185, 129, .75) !important;
  background: rgba(16, 185, 129, .16) !important;
  color: #bbf7d0 !important;
}

.lts17j-openai-pill {
  min-width: 150px !important;
  justify-content: center !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.lts17j-ai-head h3 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  letter-spacing: -.03em !important;
}

.lts17j-ai-head p {
  margin: 0 !important;
  max-width: 720px !important;
  color: #dbeafe !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.lts17j-priority-card,
.lts17j-mini-card,
.lts17j-ready-card {
  border: 1px solid rgba(59, 130, 246, .55) !important;
  border-radius: 18px !important;
  background: rgba(15, 23, 42, .86) !important;
  padding: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.lts17j-priority-card {
  margin-bottom: 14px !important;
  border-color: rgba(20, 184, 166, .85) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(20,184,166,.18), transparent 34%),
    rgba(8, 47, 73, .86) !important;
}

.lts17j-priority-card h4 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
}

.lts17j-priority-card p,
.lts17j-mini-card p,
.lts17j-ready-card p {
  margin: 0 !important;
  color: #e0f2fe !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
  font-weight: 700 !important;
}

.lts17j-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.lts17j-mini-card {
  min-height: 150px !important;
}

.lts17j-ready-card {
  border-color: rgba(16, 185, 129, .72) !important;
  background: rgba(8, 47, 73, .72) !important;
}

@media (max-width: 900px) {
  .lts17j-ai-head {
    flex-direction: column !important;
  }

  .lts17j-grid {
    grid-template-columns: 1fr !important;
  }

  .lts17j-openai-pill {
    min-width: 0 !important;
  }
}

/* END STEP 17J-E */

/* ======================================================
   STEP 17J-E - keyword chip remove X
   Existing 16C keyword chips only. No new block/layout.
   ====================================================== */
.lts16c-keyword-chip {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.lts16c-keyword-remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 1000 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  margin-left: 2px !important;
}

.lts16c-keyword-remove:hover {
  transform: scale(1.06) !important;
  filter: brightness(1.08) !important;
}
/* END STEP 17J-E */


/* STEP 17K-C3 - Competitor Pressure Grid legend fix */
.competitor-pressure-panel .panel-head {
  align-items: flex-start;
  gap: 24px;
}

.competitor-pressure-panel .legend {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
  min-width: 520px;
}

.competitor-pressure-panel .legend .dot {
  flex: 0 0 auto;
}

.competitor-pressure-panel .panel-subnote {
  margin-top: 10px;
  color: #a9d6ff;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .competitor-pressure-panel .legend {
    justify-content: flex-start;
    min-width: 0;
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* STEP 17L-A - Website & AI Search Readiness premium panel */
.website-ai-readiness-panel {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 32%),
    rgba(7, 16, 32, 0.45);
}

.website-ai-readiness-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.website-ai-readiness-head h3 {
  margin: 4px 0 8px;
  font-size: 1.35rem;
}

.website-ai-readiness-head p {
  margin: 0;
  color: #9cc8ff;
  max-width: 780px;
}

.website-ai-readiness-status {
  min-width: 160px;
  padding: 12px 14px;
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  text-align: center;
}

.website-ai-readiness-status strong,
.website-ai-readiness-status small {
  display: block;
}

.website-ai-readiness-status small {
  margin-top: 4px;
  color: #93c5fd;
}

.website-ai-main-card,
.website-ai-copy-card,
.website-ai-grid article,
.website-ai-loading,
.website-ai-locked,
.website-ai-error {
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.65);
}

.website-ai-main-card {
  padding: 18px;
  border-color: rgba(20, 184, 166, 0.75);
  background: linear-gradient(135deg, rgba(8, 92, 105, 0.56), rgba(15, 23, 42, 0.72));
  margin-bottom: 14px;
}

.website-ai-main-card span,
.website-ai-copy-card span,
.website-ai-grid article span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  color: #bfdbfe;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.website-ai-main-card strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.website-ai-main-card p,
.website-ai-copy-card p,
.website-ai-grid article p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.45;
}

.website-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.website-ai-grid article {
  padding: 16px;
}

.website-ai-grid ul {
  margin: 0;
  padding-left: 18px;
  color: #dbeafe;
}

.website-ai-grid li {
  margin: 5px 0;
}

.website-ai-copy-card {
  padding: 16px;
  margin-bottom: 14px;
  border-color: rgba(20, 184, 166, 0.45);
}

.website-ai-grid.compact {
  margin-bottom: 0;
}

.website-ai-loading,
.website-ai-locked,
.website-ai-error {
  padding: 16px;
}

.website-ai-loading strong,
.website-ai-loading span,
.website-ai-locked strong,
.website-ai-locked p,
.website-ai-error strong,
.website-ai-error p {
  display: block;
}

.website-ai-loading span,
.website-ai-locked p,
.website-ai-error p,
.website-ai-empty {
  color: #93c5fd;
}

@media (max-width: 780px) {
  .website-ai-readiness-head {
    flex-direction: column;
  }

  .website-ai-readiness-status {
    width: 100%;
  }

  .website-ai-grid {
    grid-template-columns: 1fr;
  }
}
/* END STEP 17L-A */

/* STEP 17L-B2B - Website AI downloadable fix pack */
.website-ai-download-pack {
  margin-top: 16px;
  border: 1px solid rgba(20, 184, 166, 0.75);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(15, 23, 42, 0.74));
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.website-ai-download-pack span {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #a7f3d0;
  margin-bottom: 6px;
}

.website-ai-download-pack strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.25;
  margin-bottom: 5px;
}

.website-ai-download-pack p {
  margin: 0;
  color: #bfdbfe;
  font-size: 13px;
  line-height: 1.4;
}

.website-ai-download-btn {
  flex: 0 0 auto;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #22c55e, #84cc16);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(34, 197, 94, .22);
  white-space: nowrap;
}

.website-ai-download-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 760px) {
  .website-ai-download-pack {
    flex-direction: column;
    align-items: stretch;
  }

  .website-ai-download-btn {
    width: 100%;
    text-align: center;
  }
}
/* END STEP 17L-B2B */

/* STEP 17L-B3 - single column after removing repetitive competitor snapshot */
.lts-single-column-section {
  grid-template-columns: 1fr !important;
}
.lts-single-column-section > .panel {
  width: 100%;
}


/* STEP 17M-A1 - why visibility section upgraded */
.why-panel-upgraded .issue-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.issue-summary-badge {
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(97, 145, 255, 0.22);
  background: linear-gradient(180deg, rgba(24, 40, 82, 0.78), rgba(8, 18, 43, 0.78));
}

.issue-summary-badge span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8fb4ff;
  margin-bottom: 6px;
  font-weight: 700;
}

.issue-summary-badge strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  color: #ffffff;
}

.issue-list-upgraded {
  display: grid;
  gap: 14px;
}

.issue-item-upgraded {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid rgba(124, 150, 210, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(11, 22, 51, 0.72), rgba(5, 13, 31, 0.72));
}

.issue-item-upgraded .issue-bullet {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.issue-copy {
  flex: 1;
}

.issue-copy strong {
  display: block;
  margin-bottom: 6px;
}

.issue-copy > p {
  margin: 0 0 10px 0;
}

.issue-next {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(17, 34, 74, 0.55);
  border: 1px solid rgba(84, 127, 255, 0.16);
}

.issue-next span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7ec8ff;
  font-weight: 700;
}

.issue-next p {
  margin: 0;
  color: #dbe9ff;
}

.issue-keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px 0;
}

@media (max-width: 900px) {
  .why-panel-upgraded .issue-panel-head {
    flex-direction: column;
  }

  .issue-summary-badge {
    min-width: 0;
    width: 100%;
  }
}
/* END STEP 17M-A1 */


/* STEP 17M-B1-FLEX - verified website checks clarity */
.verified-summary > div small.verified-summary-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #96add6;
}

.speed-value {
  display: inline-block;
}

.speed-good {
  color: #22c55e;
}

.speed-warn {
  color: #fbbf24;
}

.speed-bad {
  color: #ef4444;
}

.keyword-block-missing {
  margin-top: 14px;
}

.keyword-block-note {
  margin: 6px 0 12px 0;
  color: #96add6;
  font-size: 14px;
  line-height: 1.45;
}

.keyword-missing {
  border-color: rgba(255, 140, 140, 0.35);
  background: rgba(80, 20, 36, 0.28);
  color: #ffd5d5;
}
/* END STEP 17M-B1-FLEX */

/* STEP 17M-B3 - Safe website keyword opportunities */
.keyword-opportunities-safe {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(74, 144, 226, 0.32);
  border-radius: 22px;
  background: rgba(6, 18, 34, 0.38);
}

.keyword-opportunities-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.keyword-opportunities-head h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.keyword-opportunities-head p {
  margin: 0;
  color: #a9d3ff;
  line-height: 1.45;
}

.keyword-found-row {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
}

.keyword-found-row h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.keyword-opportunity-groups-safe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.keyword-opportunity-groups-safe article {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(13, 23, 40, 0.74);
}

.keyword-opportunity-groups-safe article > span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(44, 117, 255, 0.22);
  color: #cfe7ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.keyword-missing,
.keyword-missing-priority {
  border-color: rgba(255, 96, 137, 0.55) !important;
  background: rgba(255, 38, 96, 0.12) !important;
  color: #ffe3ea !important;
}

.keyword-found {
  border-color: rgba(16, 185, 129, 0.55) !important;
  background: rgba(16, 185, 129, 0.12) !important;
  color: #d9fff1 !important;
}

.keyword-scan-missing {
  border-color: rgba(255, 184, 77, 0.42);
}

.keyword-opportunity-instructions-safe {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 220, 255, 0.3);
  background: rgba(0, 180, 220, 0.08);
}

.keyword-opportunity-instructions-safe strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.keyword-opportunity-instructions-safe p {
  margin: 0;
  color: #a9d3ff;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .keyword-opportunity-groups-safe {
    grid-template-columns: 1fr;
  }
}
/* END STEP 17M-B3 */

/* STEP 17N-B1 - AI Genius Local Recovery Plan */
.ai-genius-recovery-panel-17n {
  position: relative;
  overflow: hidden;
  border-color: rgba(0, 220, 255, 0.28);
}

.ai-genius-recovery-panel-17n::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(0, 220, 255, 0.12), transparent 44%);
}

.ai-genius-recovery-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.ai-genius-recovery-head h2 {
  margin: 6px 0 8px;
}

.ai-genius-recovery-head p {
  margin: 0;
  color: #a9d3ff;
  line-height: 1.42;
}

.ai-genius-recovery-status {
  min-width: 132px;
  border: 1px solid rgba(130, 190, 255, 0.35);
  border-radius: 18px;
  padding: 12px 14px;
  text-align: center;
  background: rgba(5, 14, 28, 0.42);
}

.ai-genius-recovery-status strong,
.ai-genius-recovery-status small {
  display: block;
}

.ai-genius-recovery-status small {
  color: #80c7ff;
  margin-top: 4px;
}

.ai-genius-priority-card {
  position: relative;
  border: 1px solid rgba(0, 220, 255, 0.34);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0, 180, 220, 0.12), rgba(20, 40, 80, 0.18));
}

.ai-genius-priority-card span,
.ai-genius-recovery-columns article > span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(55, 120, 220, 0.28);
  color: #cfe8ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ai-genius-priority-card strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.ai-genius-recovery-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ai-genius-recovery-columns article {
  border: 1px solid rgba(130, 190, 255, 0.22);
  border-radius: 18px;
  padding: 16px;
  background: rgba(5, 14, 28, 0.36);
}

.ai-genius-recovery-action {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
}

.ai-genius-recovery-action span {
  color: #7ee7ff;
  font-weight: 900;
}

.ai-genius-recovery-action p {
  margin: 0;
  color: #b8d8ff;
  line-height: 1.38;
}

.ai-genius-recovery-loading,
.ai-genius-recovery-locked {
  position: relative;
  border: 1px solid rgba(130, 190, 255, 0.22);
  border-radius: 18px;
  padding: 18px;
  background: rgba(5, 14, 28, 0.36);
}

.ai-genius-recovery-loading strong,
.ai-genius-recovery-locked h2 {
  color: #fff;
}

.ai-genius-recovery-loading p,
.ai-genius-recovery-locked p {
  color: #a9d3ff;
  margin-bottom: 0;
}

.ai-genius-recovery-empty {
  color: #7faedb;
  font-size: 14px;
}

@media (max-width: 900px) {
  .ai-genius-recovery-head {
    display: block;
  }

  .ai-genius-recovery-status {
    margin-top: 14px;
    text-align: left;
  }

  .ai-genius-recovery-columns {
    grid-template-columns: 1fr;
  }
}
/* END STEP 17N-B1 */

/* STEP 17N-B2 - Action layout fix */
.action-plan-layout-17nb2 {
  grid-template-columns: minmax(320px, 0.92fr) minmax(520px, 1.38fr);
  align-items: start;
  gap: 18px;
}

.quick-wins-promoted-17nb2,
.ai-recovery-focus-17nb2 {
  height: 100%;
}

.ai-recovery-focus-17nb2 {
  min-width: 0;
}

.ai-recovery-focus-17nb2 .action-list,
.quick-wins-promoted-17nb2 .action-list {
  margin-top: 12px;
}

.premium-wide-17nb2 {
  grid-template-columns: 1fr;
}

.legacy-quick-wins-17nb2 {
  display: none !important;
}

.premium-wide-17nb2 .premium-panel {
  grid-column: 1 / -1;
  width: 100%;
}

@media (max-width: 980px) {
  .action-plan-layout-17nb2 {
    grid-template-columns: 1fr;
  }
}
/* END STEP 17N-B2 */

/* STEP 17N-E1 - Premium package price line */
.premium-package-price-17ne1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(132, 204, 22, 0.12));
  border-radius: 14px;
  width: fit-content;
  max-width: 100%;
}

.premium-package-price-17ne1 strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.premium-package-price-17ne1 span {
  font-size: 15px;
  color: #b9dcff;
  font-weight: 800;
}
/* END STEP 17N-E1 */

/* STEP 17N-E1 - Premium package price line */
.premium-package-price-17ne1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(132, 204, 22, 0.12));
  border-radius: 14px;
  width: fit-content;
  max-width: 100%;
}

.premium-package-price-17ne1 strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.04em;
}

.premium-package-price-17ne1 span {
  font-size: 15px;
  color: #b9dcff;
  font-weight: 800;
}
/* END STEP 17N-E1 */

/* STEP 17N-D1 - Free/Premium separation, no map changes */
.premium-wide-17nb2 .premium-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.10), transparent 34%),
    rgba(4, 16, 29, 0.92);
}

.premium-wide-17nb2 .premium-panel h2 {
  font-size: 1.28rem;
  line-height: 1.15;
}

.lts17n-premium-price-149 {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 14px;
  background: rgba(5, 46, 37, 0.44);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lts17n-premium-price-149 strong {
  font-size: 1.28rem;
  color: #7CFFB2;
  white-space: nowrap;
}

.lts17n-premium-price-149 span {
  font-size: 0.78rem;
  color: rgba(226, 247, 255, 0.78);
  text-align: right;
}

.lts17n-premium-dashboard-btn,
.lts17n-premium-green-btn-final {
  background: linear-gradient(135deg, #19d66b, #a3ff12) !important;
  color: #03110a !important;
  border: 0 !important;
  box-shadow: 0 12px 30px rgba(25, 214, 107, 0.24);
  cursor: pointer;
}

.lts17n-premium-dashboard-btn:hover,
.lts17n-premium-green-btn-final:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.lts17n-recovery-locked-final {
  position: relative;
  overflow: hidden;
}

.lts17n-recovery-locked-final > *:not(.lts17n-premium-blur-overlay-final) {
  filter: blur(4px);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}

.lts17n-premium-blur-overlay-final {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 12, 24, 0.52);
  backdrop-filter: blur(5px);
}

.lts17n-premium-blur-card-final {
  width: min(420px, 92%);
  border: 1px solid rgba(52, 211, 153, 0.42);
  border-radius: 18px;
  padding: 18px;
  background: rgba(4, 22, 35, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.lts17n-premium-blur-card-final span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #7CFFB2;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lts17n-premium-blur-card-final h3 {
  margin: 0 0 8px;
}

.lts17n-premium-blur-card-final p {
  margin: 0 0 14px;
  color: rgba(226, 247, 255, 0.78);
}

.lts17n-premium-dashboard-notice {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 8, 18, 0.68);
  backdrop-filter: blur(8px);
}

.lts17n-premium-dashboard-notice-card {
  position: relative;
  width: min(520px, 94vw);
  border: 1px solid rgba(52, 211, 153, 0.42);
  border-radius: 22px;
  padding: 24px;
  background: #061827;
  color: #eaffff;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.lts17n-premium-dashboard-notice-card span {
  color: #7CFFB2;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lts17n-premium-dashboard-notice-card h3 {
  margin: 8px 0 10px;
  font-size: 1.45rem;
}

.lts17n-premium-dashboard-notice-card p {
  margin: 0;
  color: rgba(226,247,255,0.82);
  line-height: 1.5;
}

.lts17n-premium-dashboard-notice-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Keep only the first visible Free Quick Wins block after JS re-layout */
.lts17n-action-layout-final .lts17n-quickwins-wide-final {
  width: 100%;
}


/* STEP 17N-D1B - forced visible Premium Dashboard sales card fix */
.lts17n-premium-sales-card-fixed {
  position: relative;
  border: 1px solid rgba(52, 211, 153, 0.38) !important;
  background:
    radial-gradient(circle at top right, rgba(124, 255, 178, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(12, 26, 43, 0.96), rgba(23, 24, 55, 0.94)) !important;
}

.lts17n-premium-sales-card-fixed .lock {
  background: rgba(124, 255, 178, 0.12) !important;
  border: 1px solid rgba(124, 255, 178, 0.42) !important;
  color: #7CFFB2 !important;
}

.lts17n-premium-sales-card-fixed h2 {
  color: #ffffff !important;
  font-size: 1.28rem !important;
  line-height: 1.12 !important;
}

.lts17n-price-line-forced {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 211, 153, 0.48);
  border-radius: 14px;
  background: rgba(5, 46, 37, 0.48);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lts17n-price-line-forced strong {
  color: #7CFFB2;
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
}

.lts17n-price-line-forced span {
  color: rgba(229, 251, 255, 0.78);
  font-size: 0.78rem;
  text-align: right;
}

.lts17n-premium-149-btn {
  background: linear-gradient(135deg, #20d56b, #a3ff12) !important;
  color: #03110a !important;
  border: 0 !important;
  box-shadow: 0 14px 36px rgba(32, 213, 107, 0.24) !important;
  cursor: pointer !important;
}

.lts17n-premium-149-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.lts17n-premium-149-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(8px);
}

.lts17n-premium-149-modal-card {
  position: relative;
  width: min(540px, 94vw);
  border: 1px solid rgba(52, 211, 153, 0.44);
  border-radius: 22px;
  padding: 24px;
  background: #061827;
  color: #eaffff;
  box-shadow: 0 28px 90px rgba(0,0,0,0.48);
}

.lts17n-premium-149-modal-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #7CFFB2;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lts17n-premium-149-modal-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.lts17n-premium-149-modal-card p {
  margin: 0;
  color: rgba(229, 251, 255, 0.82);
  line-height: 1.5;
}

.lts17n-premium-149-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}



/* STEP 17N-D3 - Premium Dashboard checkout mode */
.stripe-checkout-modal.premium-dashboard-checkout-mode,
.stripe-modal.premium-dashboard-checkout-mode {
  border-color: rgba(52, 211, 153, 0.42) !important;
}

.stripe-modal.is-open.premium-dashboard-checkout-mode .stripe-modal-kicker,
#stripeCheckoutModal.premium-dashboard-checkout-mode .stripe-modal-kicker {
  color: #7CFFB2 !important;
}

#stripeCheckoutModal.premium-dashboard-checkout-mode #stripeCheckoutTitle {
  color: #ffffff !important;
}

#stripeCheckoutModal.premium-dashboard-checkout-mode .stripe-modal-status.loading {
  border-color: rgba(52, 211, 153, 0.32);
}






/* STEP 17N-D28 - clean premium/free module registry */
.lts17n-registry-hidden {
  display: none !important;
}

.lts17n-dashboard-price-line {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 12px 0 !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(0, 255, 160, 0.55) !important;
  border-radius: 10px !important;
  background: rgba(0, 255, 130, 0.08) !important;
}

.lts17n-dashboard-price-line strong {
  color: #65ff91 !important;
  font-size: 20px !important;
  font-weight: 950 !important;
}

.lts17n-dashboard-price-line span {
  color: rgba(220, 240, 255, 0.82) !important;
  font-size: 11px !important;
}

.lts17n-registry-locked-module {
  position: relative !important;
  overflow: hidden !important;
  min-height: 220px !important;
}

.lts17n-registry-locked-module > *:not([data-lts-registry-lock]) {
  filter: blur(4px) !important;
  opacity: 0.38 !important;
  pointer-events: none !important;
  user-select: none !important;
}

.lts17n-registry-open-module {
  position: relative !important;
}

.lts17n-registry-open-module > * {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  user-select: auto !important;
}

.lts17n-registry-lock-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  background: rgba(3, 12, 26, 0.48) !important;
  backdrop-filter: blur(1px) !important;
  -webkit-backdrop-filter: blur(1px) !important;
}

.lts17n-registry-lock-card {
  width: min(390px, calc(100% - 28px)) !important;
  border: 1px solid rgba(0, 229, 255, 0.72) !important;
  border-radius: 16px !important;
  background: rgba(5, 18, 34, 0.96) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45) !important;
  padding: 16px !important;
  text-align: center !important;
  color: #ffffff !important;
}

.lts17n-registry-lock-card span {
  display: inline-block !important;
  margin-bottom: 8px !important;
  padding: 4px 8px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 255, 160, 0.55) !important;
  color: #a8ffd7 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.lts17n-registry-lock-card strong {
  display: block !important;
  margin-bottom: 6px !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

.lts17n-registry-lock-card p {
  margin: 0 0 12px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: rgba(225, 240, 255, 0.86) !important;
}

.lts17n-registry-premium-btn,
.lts17n-premium-dashboard-btn {
  width: 100% !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 11px 12px !important;
  cursor: pointer !important;
  background: linear-gradient(90deg, #21d46b, #99ff00) !important;
  color: #00120a !important;
  font-weight: 950 !important;
  font-size: 12px !important;
  box-shadow: 0 10px 26px rgba(70, 255, 70, 0.25) !important;
}

html.lts17n-premium-dashboard-on [data-lts-module="premium_dashboard_sales"],
html.lts17n-premium-dashboard-on .lts17n-dashboard-sales-panel {
  display: none !important;
}


/* STEP 17N-D31B - full AI Local Recovery module under Free Quick Wins */
.lts17n-d31-action-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 24px 0;
}

.lts17n-d31-ai-recovery-module {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.75) !important;
  background: radial-gradient(circle at top left, rgba(14,165,233,.20), transparent 32%), linear-gradient(145deg, rgba(5,18,32,.96), rgba(8,24,42,.98)) !important;
  border-radius: 22px !important;
  padding: 22px !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}

.lts17n-d31-recovery-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.lts17n-d31-premium-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(248,113,113,.75);
  background: rgba(127,29,29,.45);
  color: #fecaca;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lts17n-d31-recovery-header h2 {
  margin: 0 0 6px 0 !important;
  font-size: 24px !important;
  color: #fff !important;
}

.lts17n-d31-recovery-header p {
  margin: 0 !important;
  max-width: 760px;
  color: #a9d8ff !important;
  font-size: 13px !important;
}

.lts17n-d31-ai-status {
  min-width: 120px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(125,211,252,.7);
  background: rgba(15,23,42,.82);
  text-align: center;
}

.lts17n-d31-ai-status strong,
.lts17n-d31-ai-status span {
  display: block;
  color: #fff;
  font-size: 12px;
}

.lts17n-d31-ai-status span {
  color: #67e8f9;
  font-size: 11px;
}

.lts17n-d31-priority-box {
  border: 1px solid rgba(34,211,238,.85);
  background: rgba(8,47,73,.72);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.lts17n-d31-priority-box span,
.lts17n-d31-card span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(30,64,175,.75);
  color: #bfdbfe;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.lts17n-d31-priority-box strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.lts17n-d31-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lts17n-d31-card {
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(15,23,42,.68);
  border-radius: 14px;
  padding: 15px;
  min-height: 158px;
}

.lts17n-d31-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.lts17n-d31-card li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 9px 0;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.35;
}

.lts17n-d31-card li::before {
  content: "➜";
  position: absolute;
  left: 0;
  color: #22d3ee;
  font-weight: 900;
}

.lts17n-d31-module-locked .lts17n-d31-recovery-content {
  filter: blur(5px);
  opacity: .42;
  pointer-events: none;
  user-select: none;
}

.lts17n-d31-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2,6,23,.20);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.lts17n-d31-lock-card {
  width: min(520px, 92%);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(34,211,238,.9);
  background: rgba(2,10,24,.94);
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
  text-align: center;
}

.lts17n-d31-lock-card span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(74,222,128,.8);
  color: #bbf7d0;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.lts17n-d31-lock-card strong {
  display: block;
  color: #fff;
  font-size: 24px;
  margin-bottom: 10px;
}

.lts17n-d31-lock-card p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 22px 0;
}

.lts17n-d31-premium-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  cursor: pointer;
  background: linear-gradient(90deg, #22c55e, #84ff00);
  color: #03120a;
  font-weight: 950;
  font-size: 15px;
}

html.lts17n-premium-dashboard-on .lts17n-dashboard-sales-panel,
.lts17n-dashboard-sales-panel.lts17n-registry-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .lts17n-d31-recovery-header {
    flex-direction: column;
  }

  .lts17n-d31-grid {
    grid-template-columns: 1fr;
  }
}


/* STEP MULTI-2 - Language flag switcher */
.lts-lang-switcher {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  background: rgba(2, 6, 23, .82);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  color: #e5eefb;
  font-size: 12px;
}

.lts-lang-label {
  opacity: .78;
  font-weight: 700;
  letter-spacing: .02em;
}

.lts-lang-options {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lts-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #dbeafe;
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, .35);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.lts-lang-link:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, .55);
  background: rgba(14, 165, 233, .16);
}

.lts-lang-link.is-active {
  border-color: rgba(34, 197, 94, .75);
  background: rgba(34, 197, 94, .18);
  color: #ffffff;
}

.lts-lang-flag {
  font-size: 15px;
  line-height: 1;
}

.lts-lang-text {
  font-weight: 800;
  font-size: 11px;
}

@media (max-width: 720px) {
  .lts-lang-switcher {
    left: 10px;
    right: 10px;
    top: 8px;
    justify-content: center;
    border-radius: 18px;
    flex-wrap: wrap;
  }

  .lts-lang-label {
    display: none;
  }

  .lts-lang-text {
    display: none;
  }

  .lts-lang-link {
    padding: 6px 9px;
  }
}

/* STEP MULTI-3A - Clean white language bar with flags */
.lts-language-bar {
  width: 100%;
  position: relative;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
}

.lts-language-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #0f172a;
  font-family: inherit;
}

.lts-language-title {
  margin-right: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
}

.lts-language-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: #0f172a !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.lts-language-pill:hover {
  transform: translateY(-1px);
  background: #eef6ff;
  border-color: rgba(37, 99, 235, 0.35);
}

.lts-language-pill.active {
  background: #dcfce7;
  border-color: rgba(22, 163, 74, 0.55);
  color: #14532d !important;
}

.lts-language-flag {
  font-size: 17px;
  line-height: 1;
}

.lts-language-name {
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .lts-language-inner {
    justify-content: center;
    gap: 5px;
    width: calc(100% - 12px);
    min-height: 44px;
  }

  .lts-language-title {
    display: none;
  }

  .lts-language-pill {
    padding: 7px 9px;
  }

  .lts-language-name {
    display: none;
  }

  .lts-language-flag {
    font-size: 18px;
  }
}

/* BEGIN STEP MULTI-5D3 - LANGUAGE FLAG SWITCHER CSS */
.lts-top-langbar {
  width: 100% !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07) !important;
  position: relative !important;
  z-index: 2147483000 !important;
}

.lts-top-langbar-inner {
  width: min(1180px, calc(100% - 26px)) !important;
  min-height: 38px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  padding: 5px 0 !important;
}

.lts-flag-link {
  width: 36px !important;
  height: 28px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  background: #f8fafc !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease !important;
}

.lts-flag-link:hover {
  transform: translateY(-1px) !important;
  background: #eff6ff !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
}

.lts-flag-link.active {
  background: #dcfce7 !important;
  border-color: rgba(22, 163, 74, 0.55) !important;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.13) inset !important;
}

.lts-en-badge {
  color: #0f172a !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
  line-height: 1 !important;
}

.lts-css-flag {
  width: 18px !important;
  height: 13px !important;
  border-radius: 2px !important;
  display: inline-block !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12) !important;
  overflow: hidden !important;
}

.lts-flag-it {
  background: linear-gradient(to right, #009246 0 33.33%, #ffffff 33.33% 66.66%, #ce2b37 66.66% 100%) !important;
}

.lts-flag-fr {
  background: linear-gradient(to right, #0055a4 0 33.33%, #ffffff 33.33% 66.66%, #ef4135 66.66% 100%) !important;
}

.lts-flag-es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%) !important;
}
/* END STEP MULTI-5D3 - LANGUAGE FLAG SWITCHER CSS */

/* HOME REAL DASHBOARD MAP SHOWCASE */
.home-real-dashboard-map-showcase {
  max-width: 1120px;
  margin: 34px auto 46px;
  padding: 0 18px;
}

.home-real-dashboard-head {
  text-align: center;
  margin-bottom: 18px;
}

.home-real-dashboard-head span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 95, .45);
  background: rgba(255, 80, 95, .10);
  color: #ffccd2;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-real-dashboard-head h2 {
  max-width: 780px;
  margin: 10px auto 8px;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.03;
  letter-spacing: -1.2px;
}

.home-real-dashboard-head p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(220, 238, 255, .72);
  font-size: 15px;
}

.home-dashboard-real-map-mount {
  border: 1px solid rgba(45, 255, 196, .32);
  border-radius: 24px;
  background: rgba(5, 16, 34, .92);
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
  overflow: hidden;
}

.home-dashboard-map-loading {
  padding: 28px;
  color: #dffcff;
  font-weight: 900;
  text-align: center;
}

.home-dashboard-real-map-mount .home-imported-dashboard-map {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 24px !important;
}

.home-dashboard-real-map-mount .battle-map-section,
.home-dashboard-real-map-mount .real-street-map-premium,
.home-dashboard-real-map-mount .premium-live-map {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
}

.home-dashboard-real-map-mount .dashboard-page,
.home-dashboard-real-map-mount .page,
.home-dashboard-real-map-mount main {
  margin: 0 !important;
  padding: 0 !important;
}

.home-map-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.home-map-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #2dffc4, #44a7ff);
  color: #04111d;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(45,255,196,.20);
}

.home-map-cta:hover {
  transform: translateY(-1px);
}

/* HOME PREMIUM DASHBOARD PREVIEW FINAL */
.home-real-dashboard-map-showcase{
  max-width:1180px;
  margin:36px auto 54px;
  padding:0 18px;
}
.home-real-dashboard-head{
  text-align:center;
  margin-bottom:16px;
}
.home-real-dashboard-head span{
  display:inline-flex;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(45,255,196,.42);
  background:rgba(45,255,196,.10);
  color:#2dffc4;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.home-real-dashboard-head h2{
  max-width:760px;
  margin:10px auto 8px;
  color:#fff;
  font-size:clamp(28px,3.6vw,46px);
  line-height:1.03;
  letter-spacing:-1px;
}
.home-real-dashboard-head p{
  max-width:760px;
  margin:0 auto;
  color:rgba(220,238,255,.72);
  font-size:15px;
  line-height:1.5;
}

.home-premium-preview-shell{
  border:1px solid rgba(45,255,196,.34);
  border-radius:24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(45,255,196,.10), transparent 34%),
    linear-gradient(145deg, rgba(5,16,34,.98), rgba(8,22,50,.96));
  box-shadow:0 28px 80px rgba(0,0,0,.36);
  overflow:hidden;
}
.home-premium-preview-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  border-bottom:1px solid rgba(45,255,196,.18);
}
.home-premium-preview-kicker{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(45,255,196,.10);
  border:1px solid rgba(45,255,196,.32);
  color:#2dffc4;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.home-premium-preview-badge{
  display:inline-flex;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid rgba(45,255,196,.28);
  color:#dffcff;
  background:rgba(45,255,196,.06);
  font-size:13px;
  font-weight:900;
}

.home-premium-preview-main{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) 320px;
  gap:14px;
  padding:14px;
}
.home-premium-map-panel{
  border:1px solid rgba(45,255,196,.20);
  border-radius:18px;
  background:rgba(3,12,28,.42);
  padding:14px;
}
.home-premium-map-panel h3{
  margin:0 0 6px;
  color:#fff;
  font-size:21px;
  line-height:1.08;
}
.home-premium-map-panel p{
  margin:0 0 12px;
  color:rgba(220,238,255,.72);
  font-size:13px;
  line-height:1.45;
}
.home-premium-leaflet-map{
  height:390px;
  min-height:390px;
  border-radius:14px;
  overflow:hidden;
  background:#07111f;
  border:1px solid rgba(255,255,255,.10);
}
.home-premium-map-note{
  margin-top:10px;
  color:rgba(220,238,255,.68);
  font-size:12px;
  line-height:1.4;
}

.home-premium-threats-panel{
  border:1px solid rgba(45,255,196,.20);
  border-radius:18px;
  background:rgba(3,12,28,.42);
  padding:14px;
  max-height:490px;
  overflow-y:auto;
}
.home-premium-threats-panel h4{
  margin:0 0 4px;
  color:#fff;
  font-size:16px;
  line-height:1.1;
}
.home-premium-threats-panel > p{
  margin:0 0 12px;
  color:rgba(220,238,255,.68);
  font-size:12px;
  line-height:1.45;
}
.home-threat-card{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:10px;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,99,99,.24);
  background:rgba(255,75,75,.08);
  margin-bottom:10px;
}
.home-threat-rank{
  width:28px;
  height:28px;
  border-radius:8px;
  background:rgba(255,75,75,.20);
  color:#ffb3b3;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:950;
}
.home-threat-body strong{
  display:block;
  color:#fff;
  font-size:13px;
  margin-bottom:3px;
}
.home-threat-body span{
  display:block;
  color:#ffd3d3;
  font-size:11px;
  font-weight:850;
  margin-bottom:5px;
}
.home-threat-body p{
  margin:0 0 7px;
  color:rgba(220,238,255,.66);
  font-size:11px;
  line-height:1.35;
}
.home-threat-body a{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  text-decoration:none;
  color:#dffcff;
  border:1px solid rgba(68,167,255,.32);
  background:rgba(68,167,255,.10);
  font-size:11px;
  font-weight:850;
}

.home-keyword-preview-card{
  margin:0 14px 14px;
  padding:16px;
  border:1px solid rgba(45,255,196,.20);
  border-radius:18px;
  background:rgba(3,12,28,.42);
}
.home-keyword-preview-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:14px;
}
.home-keyword-preview-kicker{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(45,255,196,.10);
  border:1px solid rgba(45,255,196,.30);
  color:#2dffc4;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.07em;
  margin-bottom:8px;
}
.home-keyword-preview-top h3{
  margin:0 0 5px;
  color:#fff;
  font-size:24px;
  line-height:1.06;
}
.home-keyword-preview-top p{
  margin:0;
  color:rgba(220,238,255,.72);
  font-size:13px;
  line-height:1.45;
  max-width:760px;
}
.home-keyword-preview-btn{
  border:0;
  border-radius:999px;
  padding:10px 16px;
  background:linear-gradient(135deg,#2dffc4,#44a7ff);
  color:#061422;
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}

.home-keyword-location-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(68,167,255,.20);
  background:rgba(7,17,31,.72);
  margin-bottom:14px;
}
.home-keyword-location-copy strong{
  display:block;
  color:#fff;
  font-size:12px;
  margin-bottom:3px;
}
.home-keyword-location-copy span{
  color:rgba(220,238,255,.66);
  font-size:11px;
  line-height:1.4;
}
.home-keyword-location-pills{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.home-keyword-location-pills span{
  color:#dffcff;
  font-size:11px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}
.home-keyword-location-pills button{
  border:0;
  border-radius:999px;
  padding:9px 14px;
  background:#7CFF5B;
  color:#07221b;
  font-size:12px;
  font-weight:950;
}

.home-keyword-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.home-keyword-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(68,167,255,.24);
  background:rgba(7,17,31,.76);
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.home-keyword-chip small{
  display:inline-flex;
  padding:3px 7px;
  border-radius:999px;
  font-size:9px;
  font-weight:950;
  letter-spacing:.06em;
}
.home-keyword-chip.preset small{
  background:rgba(68,167,255,.14);
  border:1px solid rgba(68,167,255,.34);
  color:#7dd3fc;
}
.home-keyword-chip.saved small{
  background:rgba(255,176,32,.14);
  border:1px solid rgba(255,176,32,.34);
  color:#ffd166;
}
.home-keyword-foot{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(68,167,255,.18);
  background:rgba(7,17,31,.60);
  color:rgba(220,238,255,.70);
  font-size:11px;
  line-height:1.4;
}

.home-map-label{
  font-size:11px;
  font-weight:950;
  padding:5px 9px;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(0,0,0,.24);
  white-space:nowrap;
}
.home-map-label.you{
  background:#2dffc4;
  color:#061422;
}
.home-map-label.danger{
  background:#ff5b5b;
  color:#fff;
}
.home-map-label.warn{
  background:#ffb020;
  color:#061422;
}
.home-map-label.safe{
  background:#2dffc4;
  color:#061422;
}

.home-map-cta-row{
  display:flex;
  justify-content:center;
  margin-top:16px;
}
.home-map-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:13px 20px;
  background:linear-gradient(135deg,#2dffc4,#44a7ff);
  color:#04111d;
  font-weight:950;
  text-decoration:none;
  box-shadow:0 18px 42px rgba(45,255,196,.20);
}

.home-dashboard-map-loading{
  color:#dffcff;
  font-size:14px;
  font-weight:850;
  padding:20px;
}

@media (max-width: 980px){
  .home-premium-preview-main{
    grid-template-columns:1fr;
  }
  .home-keyword-preview-top,
  .home-keyword-location-bar,
  .home-premium-preview-top{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* HOME KEYWORD INPUT BOXES FIX */
.home-keyword-preview-top-with-input {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px) !important;
  align-items: start !important;
  gap: 24px !important;
}

.home-keyword-search-box {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 180px !important;
  gap: 10px !important;
  align-items: center !important;
}

.home-keyword-search-box input,
.home-keyword-location-inputs input {
  width: 100% !important;
  min-height: 54px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(93, 156, 255, .52) !important;
  background: rgba(6, 18, 42, .88) !important;
  color: #ffffff !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.home-keyword-search-box input:focus,
.home-keyword-location-inputs input:focus {
  border-color: rgba(45, 255, 196, .70) !important;
  box-shadow: 0 0 0 3px rgba(45, 255, 196, .10) !important;
}

.home-keyword-location-inputs {
  display: grid !important;
  grid-template-columns: 250px minmax(260px, 1fr) 170px !important;
  gap: 12px !important;
  align-items: center !important;
  width: 100% !important;
}

.home-client-address-btn,
.home-keyword-location-inputs button {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 18px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  cursor: default !important;
}

.home-client-address-btn {
  background: linear-gradient(135deg, #18b6a7, #22cfc4) !important;
  color: #ffffff !important;
}

.home-client-address-btn small {
  margin-left: 6px !important;
  color: #eaffff !important;
  font-size: 11px !important;
  font-weight: 950 !important;
}

.home-keyword-location-inputs button:last-child,
.home-keyword-preview-btn {
  background: linear-gradient(135deg, #2dffc4, #44a7ff) !important;
  color: #04111d !important;
  border-radius: 18px !important;
  font-weight: 950 !important;
}

@media (max-width: 980px) {
  .home-keyword-preview-top-with-input,
  .home-keyword-search-box,
  .home-keyword-location-inputs {
    grid-template-columns: 1fr !important;
  }
}

/* HOME BLACK LOCK PREMIUM WRAPPER */
.home-blacklock-premium-wrapper {
  max-width: 1180px !important;
  margin: 34px auto 54px !important;
  padding: 0 18px !important;
}

.home-blacklock-frame-shell {
  width: 100% !important;
  height: 1180px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(45,255,196,.42) !important;
  background: #06111f !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.42) !important;
}

.home-blacklock-preview-frame {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
  background: #06111f !important;
  opacity: 0;
  transition: opacity .25s ease;
}

.home-blacklock-preview-frame.is-loaded {
  opacity: 1;
}

@media (max-width: 900px) {
  .home-blacklock-frame-shell {
    height: 1040px !important;
  }
}

@media (max-width: 640px) {
  .home-blacklock-frame-shell {
    height: 900px !important;
    border-radius: 18px !important;
  }
}

/* HOME WRAPPER KEYWORD VISIBILITY HEIGHT FIX */
.home-blacklock-frame-shell {
  height: 1450px !important;
}

@media (max-width: 900px) {
  .home-blacklock-frame-shell {
    height: 1280px !important;
  }
}

@media (max-width: 640px) {
  .home-blacklock-frame-shell {
    height: 1120px !important;
  }
}

/* HOME BLACKLOCK NATIVE KEYWORD SCANNER */
.home-blacklock-native-keywords {
  margin: 18px auto 0 !important;
  padding: 22px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(45,255,196,.46) !important;
  background: rgba(6, 18, 42, .92) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.28) !important;
}

.home-blacklock-keyword-head {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 14px !important;
  align-items: start !important;
  margin-bottom: 16px !important;
}

.home-blacklock-keyword-head span {
  display: inline-flex !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  color: #2dffc4 !important;
  background: rgba(45,255,196,.10) !important;
  border: 1px solid rgba(45,255,196,.38) !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

.home-blacklock-keyword-head h3 {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.05 !important;
}

.home-blacklock-keyword-head p {
  margin: 0 !important;
  color: rgba(205,230,255,.84) !important;
  font-size: 14px !important;
}

.home-blacklock-keyword-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 190px !important;
  gap: 12px !important;
  margin: 14px 0 18px !important;
}

.home-blacklock-keyword-search input {
  min-height: 58px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(93,156,255,.52) !important;
  background: rgba(4, 14, 34, .95) !important;
  color: #fff !important;
  padding: 0 18px !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.home-blacklock-keyword-search button {
  border: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #2dffc4, #44a7ff) !important;
  color: #04111d !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

.home-blacklock-keyword-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.home-blacklock-keyword-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(93,156,255,.45) !important;
  background: rgba(20, 56, 122, .82) !important;
  color: #fff !important;
  padding: 10px 14px !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

.home-blacklock-keyword-chip small {
  color: rgba(210,225,255,.72) !important;
  font-size: 10px !important;
  font-weight: 950 !important;
}

.home-blacklock-rank-summary {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 14px !important;
  border-radius: 18px !important;
  background: rgba(45,255,196,.08) !important;
  border: 1px solid rgba(45,255,196,.35) !important;
  color: #fff !important;
  margin-bottom: 12px !important;
}

.home-blacklock-rank-summary strong {
  width: 100% !important;
  font-size: 18px !important;
}

.home-blacklock-rank-summary span {
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: rgba(110,130,170,.28) !important;
  font-weight: 850 !important;
}

.home-blacklock-rank-list {
  display: grid !important;
  gap: 10px !important;
}

.home-blacklock-rank-row {
  display: grid !important;
  grid-template-columns: 80px 1fr !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 14px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(93,156,255,.28) !important;
  background: rgba(11, 23, 50, .88) !important;
  color: #fff !important;
}

.home-blacklock-rank-row.is-you {
  border-color: rgba(45,255,196,.75) !important;
  background: rgba(13, 70, 75, .72) !important;
}

.home-blacklock-rank-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  border-radius: 15px !important;
  background: rgba(45,255,196,.34) !important;
  font-weight: 950 !important;
  font-size: 20px !important;
}

.home-blacklock-rank-row strong {
  display: block !important;
  font-size: 18px !important;
  margin-bottom: 5px !important;
}

.home-blacklock-rank-row em {
  display: inline-flex !important;
  margin-left: 8px !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(45,255,196,.35) !important;
  font-style: normal !important;
  font-size: 11px !important;
}

.home-blacklock-rank-row p {
  margin: 0 !important;
  color: rgba(210,235,255,.88) !important;
}

.home-blacklock-rank-row a {
  color: #8ec7ff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.home-blacklock-rank-loading,
.home-blacklock-rank-error,
.home-blacklock-keyword-results {
  color: rgba(220,235,255,.9) !important;
  font-weight: 800 !important;
}

@media (max-width: 760px) {
  .home-blacklock-keyword-head,
  .home-blacklock-keyword-search,
  .home-blacklock-rank-row {
    grid-template-columns: 1fr !important;
  }
}

/* HOME BLACKLOCK PREVIEW FINAL SPACE + FLASH FIX */
.home-blacklock-frame-shell {
  height: 820px !important;
  max-height: 820px !important;
  margin-bottom: 12px !important;
}

.home-blacklock-native-keywords {
  margin-top: 12px !important;
}

/* Hide iframe internal scrollbars as much as possible; the visible preview is controlled by shell height. */
.home-blacklock-preview-frame {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .home-blacklock-frame-shell {
    height: 760px !important;
    max-height: 760px !important;
  }
}

@media (max-width: 640px) {
  .home-blacklock-frame-shell {
    height: 700px !important;
    max-height: 700px !important;
  }
}

/* HOME BLACKLOCK MAP HEIGHT + COMPETITOR SCROLL FINAL */
.home-blacklock-frame-shell {
  height: 1040px !important;
  max-height: 1040px !important;
  margin-bottom: 10px !important;
  overflow: hidden !important;
}

.home-blacklock-preview-frame {
  height: 1040px !important;
  overflow: hidden !important;
}

.home-blacklock-native-keywords {
  margin-top: 10px !important;
}

@media (max-width: 900px) {
  .home-blacklock-frame-shell,
  .home-blacklock-preview-frame {
    height: 960px !important;
    max-height: 960px !important;
  }
}

@media (max-width: 640px) {
  .home-blacklock-frame-shell,
  .home-blacklock-preview-frame {
    height: 900px !important;
    max-height: 900px !important;
  }
}

/* HOME PREVIEW - HIDE AI LOCAL RECOVERY SECTION INSIDE WRAPPER SPACE */
.home-blacklock-frame-shell {
  height: 820px !important;
  max-height: 820px !important;
  margin-bottom: 10px !important;
}

/* Native keyword section stays close under the map */
.home-blacklock-native-keywords {
  margin-top: 10px !important;
}

/* HOME MAP +20PX BOTTOM ROOM */
.home-blacklock-frame-shell {
  height: 840px !important;
  max-height: 840px !important;
}

.home-blacklock-preview-frame {
  height: 840px !important;
  max-height: 840px !important;
}

@media (max-width: 900px) {
  .home-blacklock-frame-shell,
  .home-blacklock-preview-frame {
    height: 780px !important;
    max-height: 780px !important;
  }
}

@media (max-width: 640px) {
  .home-blacklock-frame-shell,
  .home-blacklock-preview-frame {
    height: 720px !important;
    max-height: 720px !important;
  }
}

/* HOME PREVIEW - HIDE OUTER RIGHT SCROLLBAR */
.home-blacklock-frame-shell {
  overflow: hidden !important;
  scrollbar-width: none !important;
}

.home-blacklock-frame-shell::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.home-blacklock-preview-frame {
  overflow: hidden !important;
  scrollbar-width: none !important;
}

.home-blacklock-preview-frame::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Keep the page clean: no visible scrollbar strip on the wrapper edge */
.home-blacklock-premium-wrapper iframe {
  border: 0 !important;
}

/* HOME BLACKLOCK WRAPPER - HIDE ONLY OUTER SCROLLBAR */
.home-blacklock-frame-shell {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.home-blacklock-frame-shell::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Hide iframe viewport scrollbar edge */
.home-blacklock-preview-frame {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.home-blacklock-preview-frame::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Keep internal competitor list scroll working inside iframe */
.home-blacklock-frame-shell iframe {
  border: 0 !important;
}

/* WORLD FIRST / 30 DAY SALES COPY UPGRADE */
.hero-copy h1 {
  max-width: 920px !important;
}

.hero-copy h1::after {
  content: " Daily AI actions for Google Business Profile, keywords, posts, reviews and competitor pressure.";
  display: block;
  margin-top: 14px;
  color: #2dffc4;
  font-size: clamp(18px, 2.1vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ai-autopilot-copy h2::after {
  content: " Built to create measurable local movement in 30 days.";
  display: block;
  margin-top: 10px;
  color: #2dffc4;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ai-genius-30day-strip {
  max-width: 1180px;
  margin: 18px auto 34px;
  padding: 0 18px;
}

.ai-genius-30day-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 16px;
  align-items: stretch;
}

.ai-genius-30day-main,
.ai-genius-30day-points {
  border-radius: 26px;
  border: 1px solid rgba(45,255,196,.38);
  background:
    radial-gradient(circle at top left, rgba(45,255,196,.16), transparent 34%),
    linear-gradient(180deg, rgba(8, 30, 58, .94), rgba(4, 15, 34, .96));
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.ai-genius-30day-main {
  padding: 24px;
}

.ai-genius-30day-main span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: #06111f;
  background: linear-gradient(135deg, #2dffc4, #72ff55);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ai-genius-30day-main h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(28px, 3.7vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.ai-genius-30day-main p {
  margin: 0;
  color: rgba(220,238,255,.84);
  font-size: 15px;
  line-height: 1.65;
}

.ai-genius-30day-points {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.ai-genius-30day-points article {
  padding: 15px;
  border-radius: 18px;
  border: 1px solid rgba(93,156,255,.28);
  background: rgba(5, 18, 42, .74);
}

.ai-genius-30day-points strong {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(45,255,196,.12);
  border: 1px solid rgba(45,255,196,.35);
  color: #2dffc4;
  font-size: 12px;
  font-weight: 950;
}

.ai-genius-30day-points p {
  margin: 0;
  color: rgba(218,238,255,.82);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .ai-genius-30day-strip {
    grid-template-columns: 1fr;
  }
}

/* HERO GEO BACKGROUND - REPLACES OLD BADGES */
.hero-page,
.hero {
  position: relative !important;
  overflow: hidden !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto -80px;
  height: 520px;
  pointer-events: none;
  opacity: .34;
  background:
    radial-gradient(circle at 18% 28%, rgba(45,255,196,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 18%, rgba(68,167,255,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 55%, rgba(45,255,196,.13) 0 2px, transparent 3px),
    linear-gradient(28deg, transparent 0 17%, rgba(68,167,255,.09) 17.2% 17.8%, transparent 18% 100%),
    linear-gradient(142deg, transparent 0 22%, rgba(45,255,196,.08) 22.2% 22.8%, transparent 23% 100%),
    linear-gradient(88deg, transparent 0 34%, rgba(68,167,255,.07) 34.2% 34.8%, transparent 35% 100%),
    linear-gradient(8deg, transparent 0 52%, rgba(45,255,196,.055) 52.2% 52.8%, transparent 53% 100%);
  filter: blur(.1px);
  z-index: 0;
}

.hero::after {
  content: "⌖";
  position: absolute;
  top: 120px;
  right: 9%;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(45,255,196,.16);
  color: rgba(45,255,196,.14);
  font-size: 42px;
  font-weight: 900;
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Remove spacing left by old badges */
.hero-copy .hero-badges {
  display: none !important;
}

.hero-copy {
  padding-bottom: 8px !important;
}

@media (max-width: 760px) {
  .hero::before {
    height: 420px;
    opacity: .25;
  }

  .hero::after {
    display: none;
  }
}

/* TRUSTPILOT HERO PROOF */
.hero-trustpilot-proof{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 6px 0 18px 0;
  position: relative;
  z-index: 2;
}

.hero-trustpilot-label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#8fdcff;
  opacity:.92;
}

.hero-trustpilot-brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(0,255,170,.34);
  box-shadow:0 0 0 1px rgba(0,255,170,.05) inset;
}

.hero-trustpilot-brand:hover{
  transform:translateY(-1px);
}

.hero-trustpilot-star{
  width:22px;
  height:22px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#00b67a;
  color:#ffffff;
  font-size:14px;
  line-height:1;
  font-weight:900;
}

.hero-trustpilot-text{
  color:#ffffff;
  font-weight:900;
  font-size:15px;
  letter-spacing:.01em;
}

/* if you want it even more visible */
.hero-copy .hero-trustpilot-proof{
  margin-top: 2px;
  margin-bottom: 16px;
}

@media (max-width: 760px){
  .hero-trustpilot-proof{
    margin-bottom:14px;
  }
  .hero-trustpilot-text{
    font-size:14px;
  }
}

/* TRUSTPILOT HERO PROOF */
.hero-trustpilot-proof{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 6px 0 18px 0;
  position: relative;
  z-index: 2;
}

.hero-trustpilot-label{
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#8fdcff;
  opacity:.92;
}

.hero-trustpilot-brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(0,255,170,.34);
  box-shadow:0 0 0 1px rgba(0,255,170,.05) inset;
}

.hero-trustpilot-brand:hover{
  transform:translateY(-1px);
}

.hero-trustpilot-star{
  width:22px;
  height:22px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#00b67a;
  color:#ffffff;
  font-size:14px;
  line-height:1;
  font-weight:900;
}

.hero-trustpilot-text{
  color:#ffffff;
  font-weight:900;
  font-size:15px;
  letter-spacing:.01em;
}

/* if you want it even more visible */
.hero-copy .hero-trustpilot-proof{
  margin-top: 2px;
  margin-bottom: 16px;
}

@media (max-width: 760px){
  .hero-trustpilot-proof{
    margin-bottom:14px;
  }
  .hero-trustpilot-text{
    font-size:14px;
  }
}

/* TRUSTPILOT HERO BADGE - MARS 1982 LINK */
.hero-trustpilot-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 14px 0;
  position: relative;
  z-index: 2;
}

.hero-trustpilot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(0, 182, 122, .12);
  border: 1px solid rgba(0, 182, 122, .46);
  box-shadow: 0 14px 32px rgba(0, 182, 122, .10);
}

.hero-trustpilot-brand:hover {
  transform: translateY(-1px);
  border-color: rgba(45,255,196,.70);
}

.hero-trustpilot-star {
  width: 23px;
  height: 23px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00b67a;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
}

.hero-trustpilot-text {
  color: #ffffff;
  font-weight: 950;
  font-size: 14px;
  letter-spacing: .01em;
}

.hero-trustpilot-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(210,235,255,.72);
}

@media (max-width: 760px) {
  .hero-trustpilot-proof {
    margin-bottom: 12px;
  }

  .hero-trustpilot-text {
    font-size: 13px;
  }
}

/* SUBTLE GOOGLE-MAPS STYLE BACKGROUND - NO IMAGE */
body,
.hero-page {
  position: relative !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(45,255,196,.075), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(68,167,255,.06), transparent 30%),
    #06111f !important;
}

.hero-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .22;
  background:
    /* thin street lines */
    linear-gradient(18deg, transparent 0 13%, rgba(115,180,255,.11) 13.12% 13.42%, transparent 13.55% 100%),
    linear-gradient(148deg, transparent 0 21%, rgba(45,255,196,.09) 21.10% 21.42%, transparent 21.55% 100%),
    linear-gradient(72deg, transparent 0 32%, rgba(115,180,255,.08) 32.10% 32.38%, transparent 32.52% 100%),
    linear-gradient(118deg, transparent 0 44%, rgba(45,255,196,.075) 44.10% 44.38%, transparent 44.52% 100%),
    linear-gradient(5deg, transparent 0 58%, rgba(115,180,255,.08) 58.10% 58.36%, transparent 58.50% 100%),
    linear-gradient(155deg, transparent 0 69%, rgba(45,255,196,.07) 69.10% 69.38%, transparent 69.52% 100%),
    /* faint grid */
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255,255,255,.025) 89px, transparent 90px),
    repeating-linear-gradient(0deg, transparent 0 92px, rgba(255,255,255,.018) 93px, transparent 94px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.55) 42%, rgba(0,0,0,.18) 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.55) 42%, rgba(0,0,0,.18) 75%, transparent 100%);
}

/* faint geo pins */
.hero-page::after {
  content: "⌖   ◉   ⌖";
  position: fixed;
  top: 92px;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 0;
  color: rgba(45,255,196,.13);
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: .35em;
  opacity: .55;
  filter: blur(.2px);
}

/* keep all real content above the subtle background */
.hero-page > *,
.hero,
.ai-autopilot-landing-block,
.ai-genius-30day-strip,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  position: relative !important;
  z-index: 1 !important;
}

/* extra subtle map texture behind the hero only */
.hero {
  position: relative !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -70px -50px -40px -50px;
  pointer-events: none;
  z-index: 0;
  opacity: .30;
  border-radius: 32px;
  background:
    radial-gradient(circle at 26% 30%, rgba(45,255,196,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 22%, rgba(68,167,255,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 70%, rgba(45,255,196,.12) 0 2px, transparent 3px),
    linear-gradient(28deg, transparent 0 17%, rgba(45,255,196,.10) 17.1% 17.5%, transparent 17.7% 100%),
    linear-gradient(132deg, transparent 0 36%, rgba(68,167,255,.09) 36.1% 36.5%, transparent 36.7% 100%),
    linear-gradient(82deg, transparent 0 63%, rgba(45,255,196,.07) 63.1% 63.5%, transparent 63.7% 100%);
  mask-image: radial-gradient(circle at center, rgba(0,0,0,.85), transparent 74%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,.85), transparent 74%);
}

.hero > * {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 760px) {
  .hero-page::before {
    opacity: .15;
  }

  .hero-page::after {
    display: none !important;
  }

  .hero::before {
    opacity: .18;
  }
}

/* REAL STREET MAP BACKGROUND - SUPER LIGHT WITH BLUE MASK */
html,
body {
  min-height: 100% !important;
  background: #06111f !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* Real street-map tile texture + blue masks */
  background-image:
    linear-gradient(180deg, rgba(6,17,31,.90), rgba(6,17,31,.82) 35%, rgba(6,17,31,.92) 100%),
    radial-gradient(circle at 30% 12%, rgba(45,255,196,.14), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(68,167,255,.13), transparent 32%),
    url("https://a.basemaps.cartocdn.com/light_all/13/4093/2724.png");

  background-size:
    cover,
    cover,
    cover,
    520px 520px;

  background-position:
    center,
    center,
    center,
    center top;

  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    repeat;

  opacity: .42;
  filter: saturate(.45) contrast(1.15) brightness(.72);
}

/* Extra faint road layer, slightly shifted, to avoid looking like one static tile */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    linear-gradient(120deg, rgba(6,17,31,.94), rgba(6,17,31,.74), rgba(6,17,31,.95)),
    url("https://b.basemaps.cartocdn.com/light_all/13/4094/2724.png");

  background-size:
    cover,
    560px 560px;

  background-position:
    center,
    42% 18%;

  background-repeat:
    no-repeat,
    repeat;

  opacity: .18;
  filter: saturate(.35) contrast(1.1) brightness(.66);
  mix-blend-mode: screen;
}

/* Keep real content above the map background */
body > *,
main,
.page,
.hero-page,
.hero,
.scan-card,
.ai-autopilot-landing-block,
.ai-genius-30day-strip,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  position: relative !important;
  z-index: 1 !important;
}

/* Make cards keep the premium blue-mask look */
.hero,
.ai-autopilot-hero-card,
.ai-genius-30day-main,
.ai-genius-30day-points,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  backdrop-filter: blur(1px) !important;
}

/* Remove previous symbolic geo overlay if present */
.hero-page::after {
  display: none !important;
}

/* Stronger subtle map visibility in top hero only */
.hero::before {
  content: "";
  position: absolute;
  inset: -60px -80px -80px -80px;
  z-index: 0;
  pointer-events: none;
  opacity: .24;
  border-radius: 36px;
  background-image:
    linear-gradient(180deg, rgba(6,17,31,.76), rgba(6,17,31,.94)),
    url("https://c.basemaps.cartocdn.com/light_all/13/4093/2725.png");
  background-size: cover, 620px 620px;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
  filter: saturate(.42) contrast(1.18) brightness(.72);
  mask-image: radial-gradient(circle at center, rgba(0,0,0,.88), rgba(0,0,0,.42) 58%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,.88), rgba(0,0,0,.42) 58%, transparent 88%);
}

.hero > * {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 760px) {
  body::before {
    opacity: .28;
    background-size: cover, cover, cover, 430px 430px;
  }

  body::after {
    opacity: .12;
    background-size: cover, 460px 460px;
  }

  .hero::before {
    opacity: .16;
  }
}

/* VISIBLE REAL MAP BACKGROUND - BLUE MASK */
html,
body {
  min-height: 100% !important;
  background: #06111f !important;
}

/* Make page containers transparent enough to show the map behind */
.page,
.hero-page,
main.hero-page {
  background: transparent !important;
}

/* Real map layer */
body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;

  background-image:
    url("https://a.tile.openstreetmap.org/13/4093/2724.png"),
    url("https://b.tile.openstreetmap.org/13/4094/2724.png"),
    url("https://c.tile.openstreetmap.org/13/4093/2725.png") !important;

  background-size:
    620px 620px,
    620px 620px,
    620px 620px !important;

  background-position:
    left top,
    right 120px top 80px,
    center 520px !important;

  background-repeat:
    repeat,
    repeat,
    repeat !important;

  opacity: .28 !important;
  filter: grayscale(1) saturate(.28) contrast(1.35) brightness(.95) !important;
  mix-blend-mode: screen !important;
}

/* Blue mask above the map */
body::after {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;

  background:
    linear-gradient(180deg, rgba(6,17,31,.72), rgba(6,17,31,.86) 48%, rgba(6,17,31,.94) 100%),
    radial-gradient(circle at 26% 14%, rgba(45,255,196,.16), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(68,167,255,.13), transparent 34%) !important;

  opacity: 1 !important;
}

/* Keep all content above background */
body > *,
main,
.page,
.hero-page,
.hero,
.scan-card,
.ai-autopilot-landing-block,
.ai-genius-30day-strip,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  position: relative !important;
  z-index: 1 !important;
}

/* Cards stay dark/readable */
.hero,
.scan-card,
.ai-autopilot-hero-card,
.ai-genius-30day-main,
.ai-genius-30day-points,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  backdrop-filter: blur(1.5px) !important;
}

/* Remove old fake line-map overlays if they are still active */
.hero-page::before,
.hero-page::after {
  display: none !important;
}

/* Hero gets slightly clearer local map texture */
.hero::before {
  content: "" !important;
  position: absolute !important;
  inset: -80px -80px -80px -80px !important;
  pointer-events: none !important;
  z-index: 0 !important;

  background-image:
    linear-gradient(180deg, rgba(6,17,31,.62), rgba(6,17,31,.88)),
    url("https://a.tile.openstreetmap.org/13/4093/2724.png") !important;

  background-size:
    cover,
    700px 700px !important;

  background-position:
    center,
    center !important;

  background-repeat:
    no-repeat,
    repeat !important;

  opacity: .34 !important;
  filter: grayscale(1) saturate(.25) contrast(1.35) brightness(.95) !important;

  mask-image: radial-gradient(circle at center, rgba(0,0,0,.95), rgba(0,0,0,.56) 58%, transparent 88%) !important;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,.95), rgba(0,0,0,.56) 58%, transparent 88%) !important;
}

.hero > * {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 760px) {
  body::before {
    opacity: .20 !important;
    background-size: 460px 460px, 460px 460px, 460px 460px !important;
  }

  .hero::before {
    opacity: .22 !important;
  }
}

/* =========================================================
   FINAL SINGLE MAP BACKGROUND
   - dark blue brand mask preserved
   - one large map image
   - no repeated tile squares
   - content stays readable
   ========================================================= */

html,
body {
  min-height: 100% !important;
  background: #06111f !important;
  overflow-x: hidden !important;
}

/* Make main wrappers transparent so bg is visible */
.page,
.hero-page,
main.hero-page {
  background: transparent !important;
}

/* ONE single map layer, no repeat */
body::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background-image: url("/static/img/london-map-soft-bg.png") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;

  opacity: .34 !important;
  filter: grayscale(1) saturate(.34) contrast(1.18) brightness(.92) !important;
}

/* Blue mask above the map */
body::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 30, .78) 0%,
      rgba(4, 16, 34, .72) 22%,
      rgba(3, 17, 36, .78) 54%,
      rgba(3, 16, 33, .88) 100%
    ),
    radial-gradient(circle at 23% 13%, rgba(45,255,196,.12), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(68,167,255,.10), transparent 32%) !important;
}

/* Remove old fake map overlays from page/hero */
.hero-page::before,
.hero-page::after {
  display: none !important;
  content: none !important;
}

/* Keep all content above background */
body > *,
main,
.page,
.hero-page,
.hero,
section,
.scan-card,
.ai-autopilot-landing-block,
.ai-genius-30day-strip,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  position: relative !important;
  z-index: 1 !important;
}

/* Hero transparent but readable */
.hero {
  background: transparent !important;
  position: relative !important;
  overflow: visible !important;
}

/* Soft local map glow behind hero, still using same single map image */
.hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: -70px -90px -70px -90px !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background-image:
    linear-gradient(180deg, rgba(6,17,31,.52), rgba(6,17,31,.86)),
    url("/static/img/london-map-soft-bg.png") !important;

  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: cover, cover !important;

  opacity: .46 !important;
  filter: grayscale(1) saturate(.32) contrast(1.15) brightness(.95) !important;

  mask-image: radial-gradient(circle at center, rgba(0,0,0,.92), rgba(0,0,0,.55) 58%, transparent 88%) !important;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,.92), rgba(0,0,0,.55) 58%, transparent 88%) !important;
}

.hero > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Cards stay blue/dark and readable */
.scan-card,
.ai-autopilot-hero-card,
.ai-genius-30day-main,
.ai-genius-30day-points,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords,
.card,
.panel {
  background-color: rgba(7, 18, 36, .82) !important;
  backdrop-filter: blur(2px) !important;
}

/* Mobile: keep it subtle */
@media (max-width: 768px) {
  body::before {
    opacity: .22 !important;
    background-position: center top !important;
  }

  body::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 14, 30, .84) 0%,
        rgba(4, 16, 34, .88) 100%
      ) !important;
  }

  .hero::before {
    opacity: .28 !important;
  }
}

/* FINAL SINGLE REAL MAP BACKGROUND - NO REPEAT */
html,
body {
  min-height: 100% !important;
  background: #06111f !important;
  overflow-x: hidden !important;
}

.page,
.hero-page,
main.hero-page {
  background: transparent !important;
}

body::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image: url("/static/img/london-map-soft-bg.png") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;
  opacity: .36 !important;
  filter: grayscale(1) saturate(.35) contrast(1.15) brightness(.92) !important;
}

body::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 30, .78) 0%,
      rgba(4, 16, 34, .72) 22%,
      rgba(3, 17, 36, .80) 54%,
      rgba(3, 16, 33, .90) 100%
    ),
    radial-gradient(circle at 23% 13%, rgba(45,255,196,.12), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(68,167,255,.10), transparent 32%) !important;
}

.hero-page::before,
.hero-page::after {
  display: none !important;
  content: none !important;
}

body > *,
main,
.page,
.hero-page,
.hero,
section,
.scan-card,
.ai-autopilot-landing-block,
.ai-genius-30day-strip,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  position: relative !important;
  z-index: 1 !important;
}

.hero {
  background: transparent !important;
  position: relative !important;
}

.hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: -70px -90px -70px -90px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-image:
    linear-gradient(180deg, rgba(6,17,31,.52), rgba(6,17,31,.86)),
    url("/static/img/london-map-soft-bg.png") !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: cover, cover !important;
  opacity: .46 !important;
  filter: grayscale(1) saturate(.32) contrast(1.15) brightness(.95) !important;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,.92), rgba(0,0,0,.55) 58%, transparent 88%) !important;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,.92), rgba(0,0,0,.55) 58%, transparent 88%) !important;
}

.hero > * {
  position: relative !important;
  z-index: 1 !important;
}

.scan-card,
.ai-autopilot-hero-card,
.ai-genius-30day-main,
.ai-genius-30day-points,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords,
.card,
.panel {
  background-color: rgba(7, 18, 36, .82) !important;
  backdrop-filter: blur(2px) !important;
}

@media (max-width: 768px) {
  body::before {
    opacity: .24 !important;
  }

  body::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 14, 30, .84) 0%,
        rgba(4, 16, 34, .88) 100%
      ) !important;
  }

  .hero::before {
    opacity: .28 !important;
  }
}


/* =========================================================
   FINAL AI GENIUS BACKGROUND PATCH
   Single real map image + dark blue brand mask
   No repeated square tiles
   Does not touch real map widget or keyword tool
   ========================================================= */

html,
body {
  min-height: 100% !important;
  background: #06111f !important;
  overflow-x: hidden !important;
}

/* Main wrappers must not cover the background */
.page,
.hero-page,
main.hero-page {
  background: transparent !important;
}

/* Disable old fake/page geo overlays */
.hero-page::before,
.hero-page::after {
  content: none !important;
  display: none !important;
}

/* SINGLE large real map layer */
body::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background-image: url("/static/img/london-map-soft-bg.png") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: cover !important;

  opacity: .34 !important;
  filter: grayscale(1) saturate(.30) contrast(1.20) brightness(.92) !important;
}

/* Dark blue mask above the map */
body::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      180deg,
      rgba(4, 14, 30, .80) 0%,
      rgba(4, 16, 34, .74) 24%,
      rgba(3, 17, 36, .80) 58%,
      rgba(3, 16, 33, .91) 100%
    ),
    radial-gradient(circle at 22% 12%, rgba(45,255,196,.12), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(68,167,255,.10), transparent 32%) !important;
}

/* Everything real stays above background */
body > *,
main,
.page,
.hero-page,
.hero,
section,
.scan-card,
.ai-autopilot-landing-block,
.ai-genius-30day-strip,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  position: relative !important;
  z-index: 1 !important;
}

/* Hero remains transparent but readable */
.hero {
  background: transparent !important;
  position: relative !important;
  overflow: visible !important;
}

/* Local hero map glow: same single image, no repeat */
.hero::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: -70px -90px -70px -90px !important;
  z-index: 0 !important;
  pointer-events: none !important;

  background-image:
    linear-gradient(180deg, rgba(6,17,31,.54), rgba(6,17,31,.88)),
    url("/static/img/london-map-soft-bg.png") !important;

  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: cover, cover !important;

  opacity: .44 !important;
  filter: grayscale(1) saturate(.30) contrast(1.16) brightness(.94) !important;

  mask-image: radial-gradient(circle at center, rgba(0,0,0,.92), rgba(0,0,0,.54) 58%, transparent 88%) !important;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,.92), rgba(0,0,0,.54) 58%, transparent 88%) !important;
}

.hero > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Cards stay dark blue and readable */
.scan-card,
.ai-autopilot-hero-card,
.ai-genius-30day-main,
.ai-genius-30day-points,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords,
.card,
.panel {
  background-color: rgba(7, 18, 36, .84) !important;
  backdrop-filter: blur(2px) !important;
}

/* Do not affect Leaflet / real dashboard maps */
.leaflet-container,
.home-dashboard-real-map-mount,
#homeDashboardMapMount,
#ltsHomeDemoMap,
#realStreetMapPremium,
.real-street-map-premium {
  z-index: auto !important;
}

/* Mobile softer */
@media (max-width: 768px) {
  body::before {
    opacity: .23 !important;
    background-position: center top !important;
  }

  body::after {
    background:
      linear-gradient(
        180deg,
        rgba(4, 14, 30, .86) 0%,
        rgba(4, 16, 34, .90) 100%
      ) !important;
  }

  .hero::before {
    opacity: .28 !important;
  }
}

/* Optional final tuning:
   If map too invisible: increase body::before opacity to .45
   If map too strong: reduce body::before opacity to .22
*/


/* GOOGLE MAPS HERO CLARITY UPGRADE */
.hero-copy .eyebrow,
.eyebrow {
  color: #7dd3fc !important;
}

.hero-copy .eyebrow::before {
  content: "📍 Google Maps Rank Autopilot · ";
  color: #2dffc4;
}

.hero-copy h1 {
  max-width: 880px !important;
  letter-spacing: -0.065em !important;
}

.hero-copy h1::after {
  content: " Built for Google Business Profile, Maps keywords, reviews, posts and local competitor pressure.";
  display: block;
  margin-top: 14px;
  color: #2dffc4;
  font-size: clamp(18px, 2.15vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-copy p {
  max-width: 820px !important;
  color: rgba(222, 240, 255, .92) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

.google-maps-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
  max-width: 850px;
}

.google-maps-hero-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(68,167,255,.30);
  background: rgba(12, 35, 70, .66);
  color: rgba(235, 248, 255, .92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
}

.google-maps-hero-strip .gm-strip-main {
  color: #06111f;
  background: linear-gradient(135deg, #2dffc4, #44a7ff);
  border-color: rgba(45,255,196,.70);
  box-shadow: 0 12px 34px rgba(45,255,196,.18);
}

.scan-card h2 {
  color: #ffffff !important;
}

.scan-card h2::before {
  content: "📍 ";
}

.scan-card h2::after {
  content: "Find your Google Maps gaps before your competitors take more customers.";
  display: block;
  margin-top: 7px;
  color: rgba(210,235,255,.76);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.home-real-dashboard-head h2::before {
  content: "Google Maps competitor radar";
  display: inline-flex;
  margin: 0 auto 8px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #06111f;
  background: linear-gradient(135deg, #2dffc4, #44a7ff);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .google-maps-hero-strip {
    gap: 7px;
  }

  .google-maps-hero-strip span {
    min-height: 32px;
    font-size: 11px;
    padding: 0 10px;
  }
}

/* =========================================================
   FORCE REAL MAP BACKGROUND VISIBLE UNDER BLUE MASK
   ========================================================= */

/* Reset old pseudo map layers that were not visible correctly */
body::before,
body::after,
.hero-page::before,
.hero-page::after,
.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

/* Base */
html,
body {
  background: #06111f !important;
  overflow-x: hidden !important;
}

/* FULL PAGE: real map underneath + blue mask on top */
body,
.page,
.hero-page,
main.hero-page {
  background-image:
    linear-gradient(
      180deg,
      rgba(4, 14, 30, .72) 0%,
      rgba(4, 16, 34, .76) 38%,
      rgba(3, 17, 36, .86) 100%
    ),
    url("/static/img/london-map-soft-bg.png") !important;

  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: cover, cover !important;
  background-attachment: fixed, fixed !important;
}

/* HERO: make the map clearly visible behind the main headline */
.hero {
  background-image:
    radial-gradient(circle at 25% 20%, rgba(45,255,196,.14), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(68,167,255,.12), transparent 34%),
    linear-gradient(
      180deg,
      rgba(4, 14, 30, .58) 0%,
      rgba(4, 16, 34, .64) 42%,
      rgba(3, 17, 36, .78) 100%
    ),
    url("/static/img/london-map-soft-bg.png") !important;

  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-position: center, center, center, center top !important;
  background-size: cover, cover, cover, cover !important;

  border-radius: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Add blue glass layer but keep map visible */
.hero .hero-copy,
.hero .scan-card {
  position: relative !important;
  z-index: 2 !important;
}

/* Make left area not become flat black */
.hero-copy {
  background: linear-gradient(
    90deg,
    rgba(6, 17, 31, .38),
    rgba(6, 17, 31, .12)
  ) !important;
  border-radius: 28px !important;
}

/* Form remains readable */
.scan-card {
  background:
    linear-gradient(180deg, rgba(12, 25, 48, .90), rgba(7, 18, 36, .92)) !important;
  backdrop-filter: blur(3px) !important;
}

/* Cards lower in page stay readable but not fully opaque */
.ai-autopilot-hero-card,
.ai-genius-30day-main,
.ai-genius-30day-points,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords,
.card,
.panel {
  background-color: rgba(7, 18, 36, .84) !important;
  backdrop-filter: blur(2px) !important;
}

/* Make sure no container paints a flat solid background over the map */
.hero-page,
.page,
main.hero-page {
  background-color: transparent !important;
}

/* Mobile: keep map softer */
@media (max-width: 768px) {
  body,
  .page,
  .hero-page,
  main.hero-page,
  .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(4, 14, 30, .78) 0%,
        rgba(4, 16, 34, .86) 100%
      ),
      url("/static/img/london-map-soft-bg.png") !important;
    background-size: cover, cover !important;
  }
}


/* =========================================================
   INLINE MAP BACKGROUND FALLBACK
   No external download needed
   One single SVG map texture + blue mask
   No repeated square tiles
   ========================================================= */

html,
body {
  min-height: 100% !important;
  background: #06111f !important;
  overflow-x: hidden !important;
}

/* remove old pseudo layers that created conflicts */
body::before,
body::after,
.hero-page::before,
.hero-page::after,
.hero::before,
.hero::after {
  content: none !important;
  display: none !important;
}

/* transparent wrappers */
.page,
.hero-page,
main.hero-page {
  background: transparent !important;
}

/* Main full-page map background */
body {
  background-image:
    linear-gradient(
      180deg,
      rgba(4, 14, 30, .70) 0%,
      rgba(4, 16, 34, .72) 35%,
      rgba(3, 17, 36, .82) 72%,
      rgba(3, 16, 33, .92) 100%
    ),
    radial-gradient(circle at 22% 12%, rgba(45,255,196,.12), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(68,167,255,.10), transparent 34%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 1200'%3E%3Crect width='1800' height='1200' fill='%230b1726'/%3E%3Cg opacity='.55' fill='none' stroke-linecap='round'%3E%3Cpath d='M-80 180 C220 120 310 250 530 210 S920 90 1120 170 1450 360 1880 260' stroke='%237f9db7' stroke-width='12'/%3E%3Cpath d='M-60 650 C260 560 430 690 720 610 S1100 430 1410 520 1640 760 1880 710' stroke='%236f8fa8' stroke-width='10'/%3E%3Cpath d='M80 -80 C180 220 260 380 420 540 S650 790 700 1280' stroke='%238aa7bd' stroke-width='9'/%3E%3Cpath d='M980 -80 C900 180 930 320 1040 470 S1240 730 1180 1280' stroke='%236c8ea6' stroke-width='9'/%3E%3Cpath d='M-80 940 C240 870 500 970 800 890 S1310 790 1880 900' stroke='%238aa7bd' stroke-width='8'/%3E%3Cpath d='M1520 -80 C1400 180 1430 410 1540 610 S1680 900 1600 1280' stroke='%237f9db7' stroke-width='8'/%3E%3Cpath d='M-80 390 L1880 390' stroke='%234d6479' stroke-width='3'/%3E%3Cpath d='M-80 780 L1880 780' stroke='%234d6479' stroke-width='3'/%3E%3Cpath d='M300 -80 L300 1280' stroke='%234d6479' stroke-width='3'/%3E%3Cpath d='M760 -80 L760 1280' stroke='%234d6479' stroke-width='3'/%3E%3Cpath d='M1230 -80 L1230 1280' stroke='%234d6479' stroke-width='3'/%3E%3C/g%3E%3Cg opacity='.35' fill='%2396a9ba' font-family='Arial' font-size='34' font-weight='700'%3E%3Ctext x='165' y='185'%3ELondon%3C/text%3E%3Ctext x='430' y='560'%3ESoho%3C/text%3E%3Ctext x='760' y='440'%3ECovent Garden%3C/text%3E%3Ctext x='1080' y='625'%3ECity of London%3C/text%3E%3Ctext x='1320' y='320'%3EShoreditch%3C/text%3E%3Ctext x='1050' y='890'%3EWaterloo%3C/text%3E%3C/g%3E%3Cg opacity='.72'%3E%3Ccircle cx='620' cy='570' r='13' fill='%232dffc4'/%3E%3Ccircle cx='720' cy='600' r='11' fill='%23ff4b4b'/%3E%3Ccircle cx='840' cy='525' r='10' fill='%23ff4b4b'/%3E%3Ccircle cx='1020' cy='700' r='12' fill='%23ff4b4b'/%3E%3Ccircle cx='1220' cy='480' r='10' fill='%23ff4b4b'/%3E%3C/g%3E%3C/svg%3E") !important;

  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat !important;
  background-position: center, center, center, center top !important;
  background-size: cover, cover, cover, cover !important;
  background-attachment: fixed, fixed, fixed, fixed !important;
}

/* Stronger hero-specific map background */
.hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 14, 30, .72) 0%,
      rgba(4, 16, 34, .56) 48%,
      rgba(4, 16, 34, .72) 100%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 900'%3E%3Crect width='1800' height='900' fill='%230b1726'/%3E%3Cg opacity='.64' fill='none' stroke-linecap='round'%3E%3Cpath d='M-80 130 C240 80 380 230 620 180 S980 60 1240 160 1530 300 1880 240' stroke='%2388a7be' stroke-width='11'/%3E%3Cpath d='M-80 520 C240 450 420 550 700 500 S1120 350 1420 430 1620 620 1880 590' stroke='%237a99b3' stroke-width='10'/%3E%3Cpath d='M240 -80 C270 130 330 270 470 390 S640 620 690 980' stroke='%238aa7bd' stroke-width='9'/%3E%3Cpath d='M1040 -80 C970 140 980 280 1090 410 S1280 650 1220 980' stroke='%236d8ca4' stroke-width='9'/%3E%3Cpath d='M-80 740 C250 680 520 760 820 700 S1310 620 1880 720' stroke='%238aa7bd' stroke-width='8'/%3E%3Cpath d='M-80 310 L1880 310' stroke='%234d6479' stroke-width='3'/%3E%3Cpath d='M300 -80 L300 980' stroke='%234d6479' stroke-width='3'/%3E%3Cpath d='M760 -80 L760 980' stroke='%234d6479' stroke-width='3'/%3E%3Cpath d='M1230 -80 L1230 980' stroke='%234d6479' stroke-width='3'/%3E%3C/g%3E%3Cg opacity='.34' fill='%2396a9ba' font-family='Arial' font-size='34' font-weight='700'%3E%3Ctext x='210' y='180'%3ELondon%3C/text%3E%3Ctext x='460' y='430'%3ESoho%3C/text%3E%3Ctext x='760' y='360'%3ECovent Garden%3C/text%3E%3Ctext x='1100' y='540'%3ECity of London%3C/text%3E%3Ctext x='1320' y='260'%3EShoreditch%3C/text%3E%3C/g%3E%3C/svg%3E") !important;

  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-size: cover, cover !important;
  background-attachment: scroll, scroll !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Content above background */
body > *,
main,
.page,
.hero-page,
.hero,
section,
.scan-card,
.ai-autopilot-landing-block,
.ai-genius-30day-strip,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords {
  position: relative !important;
  z-index: 1 !important;
}

/* Make hero text readable */
.hero-copy {
  background: linear-gradient(
    90deg,
    rgba(6,17,31,.44),
    rgba(6,17,31,.14)
  ) !important;
  border-radius: 28px !important;
}

/* Form/card readability */
.scan-card,
.ai-autopilot-hero-card,
.ai-genius-30day-main,
.ai-genius-30day-points,
.home-real-dashboard-map-showcase,
.home-blacklock-native-keywords,
.card,
.panel {
  background-color: rgba(7,18,36,.84) !important;
  backdrop-filter: blur(2px) !important;
}

/* Do not affect real Leaflet map widgets */
.leaflet-container,
.home-dashboard-real-map-mount,
#homeDashboardMapMount,
#ltsHomeDemoMap,
#realStreetMapPremium,
.real-street-map-premium {
  z-index: auto !important;
}

@media (max-width: 768px) {
  body {
    background-image:
      linear-gradient(180deg, rgba(4,14,30,.84), rgba(4,16,34,.92)),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900'%3E%3Crect width='1200' height='900' fill='%230b1726'/%3E%3Cg opacity='.45' fill='none' stroke='%238aa7bd' stroke-width='8'%3E%3Cpath d='M-60 150 C240 90 390 240 660 190 S950 90 1260 230'/%3E%3Cpath d='M-60 600 C260 510 430 650 760 570 S1010 480 1260 620'/%3E%3Cpath d='M250 -80 C260 220 390 420 460 980'/%3E%3Cpath d='M780 -80 C720 230 850 430 820 980'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: cover, cover !important;
  }
}


/* =========================================================
   FINAL UI CLEAN FIX
   - remove leftover empty badges/labels
   - keep map and keyword tool intact
   ========================================================= */
.badge:empty,
.pill:empty,
.tag:empty,
.label:empty,
.eyebrow:empty,
[class*="badge"]:empty,
[class*="pill"]:empty,
[class*="tag"]:empty,
[class*="label"]:empty {
  display: none !important;
}

button,
input[type="submit"],
a.btn,
a.button {
  font-weight: 900 !important;
}

/* Defensive hide for leftover MVP/help small text under CTA */
p, div, small, span {
  word-break: break-word;
}

/* =========================================================
   FINAL UI CLEAN FIX
   - remove leftover empty badges/labels
   - keep map and keyword tool intact
   ========================================================= */
.badge:empty,
.pill:empty,
.tag:empty,
.label:empty,
.eyebrow:empty,
[class*="badge"]:empty,
[class*="pill"]:empty,
[class*="tag"]:empty,
[class*="label"]:empty {
  display: none !important;
}

button,
input[type="submit"],
a.btn,
a.button {
  font-weight: 900 !important;
}

/* Defensive hide for leftover MVP/help small text under CTA */
p, div, small, span {
  word-break: break-word;
}

/* SURGICAL: remove only the two label pseudo-elements, not sections */
.hero-copy .eyebrow::before,
.eyebrow::before {
  content: none !important;
  display: none !important;
}

.home-real-dashboard-head h2::before {
  content: none !important;
  display: none !important;
}


/* =========================================================
   PREMIUM FINAL CTA TO FORM
   ========================================================= */

html {
  scroll-behavior: smooth;
}

#local-trust-scan-form {
  scroll-margin-top: 110px;
}

.home-premium-final-cta {
  max-width: 1180px;
  margin: 34px auto 54px;
  padding: 0 18px;
  position: relative;
  z-index: 2;
}

.home-premium-final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(45, 255, 196, .50);
  background:
    radial-gradient(circle at 12% 20%, rgba(45,255,196,.18), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(68,167,255,.16), transparent 34%),
    linear-gradient(135deg, rgba(7,18,36,.92), rgba(4,14,30,.88));
  box-shadow:
    0 24px 90px rgba(0,0,0,.38),
    0 0 0 1px rgba(45,255,196,.08) inset;
  overflow: hidden;
}

.home-premium-final-cta-inner::before {
  content: "";
  position: absolute;
  inset: auto 28px 0 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,255,196,.65), transparent);
  opacity: .9;
}

.home-premium-final-cta-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(45,255,196,.12);
  border: 1px solid rgba(45,255,196,.42);
  color: #2dffc4;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-premium-final-cta h2 {
  margin: 14px 0 10px;
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: .98;
  letter-spacing: -0.055em;
  max-width: 760px;
}

.home-premium-final-cta p {
  margin: 0;
  max-width: 780px;
  color: rgba(222,240,255,.82);
  font-size: 16px;
  line-height: 1.58;
}

.home-premium-final-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.home-premium-final-cta-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(93,156,255,.30);
  background: rgba(12,35,70,.55);
  color: rgba(235,248,255,.90);
  font-size: 12px;
  font-weight: 900;
}

.home-premium-final-cta-button {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  border-radius: 26px;
  background: linear-gradient(135deg, #2dffc4, #44a7ff);
  color: #04111d;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -.01em;
  box-shadow:
    0 18px 52px rgba(45,255,196,.24),
    0 0 0 1px rgba(255,255,255,.28) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-premium-final-cta-button small {
  display: block;
  margin-top: 5px;
  color: rgba(4,17,29,.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-premium-final-cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 70px rgba(45,255,196,.34),
    0 0 0 1px rgba(255,255,255,.34) inset;
}

@media (max-width: 820px) {
  .home-premium-final-cta-inner {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .home-premium-final-cta-button {
    min-height: 72px;
  }
}


/* HOME SERVER LANGUAGE SWITCHER CSS */
.home-server-lang-switcher {
  position: absolute !important;
  top: 22px !important;
  right: clamp(18px, 5vw, 74px) !important;
  z-index: 50 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 9px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(45,255,196,.20) !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 14px 35px rgba(0,0,0,.10) !important;
}

.home-server-lang-switcher a {
  width: 34px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-size: 17px !important;
  line-height: 1 !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  background: rgba(255,255,255,.72) !important;
}

.home-server-lang-switcher a.is-active {
  border-color: rgba(45,255,196,.78) !important;
  background: rgba(204,255,234,.95) !important;
  box-shadow: 0 0 0 3px rgba(45,255,196,.15) !important;
}

@media (max-width: 720px) {
  .home-server-lang-switcher {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 10px auto 0 !important;
    justify-content: center !important;
    width: fit-content !important;
  }
}
/* END HOME SERVER LANGUAGE SWITCHER CSS */

/* STEP 89-SEC-H2 PATCH 6B - Home header cleanup
   Scope: public landing page only.
   Goal: keep login visible below the white brand/language bar and hide duplicate floating flags.
   Do not change dashboard/security/API/map logic.
*/

/* Move the floating Login button away from the top white bar */
body .lts89-home-login-button {
  top: 148px !important;
  left: 22px !important;
  right: auto !important;
  z-index: 50 !important;
  min-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: rgba(2, 8, 23, 0.92) !important;
  border: 1px solid rgba(56, 189, 248, 0.55) !important;
  color: #eaf4ff !important;
}

/* The official language selector must stay in the white top bar.
   These rules hide only extra floating language pills that appear over the hero/map background. */
body > .language-switcher,
body > .lang-switcher,
body > .language-selector,
body > .lang-row,
body > .locale-switcher,
body > .lts-floating-language-switcher,
body > .lts-lang-floating,
body > .home-lang-floating,
body > div[class*="language"][style*="position: fixed"],
body > div[class*="lang"][style*="position: fixed"] {
  display: none !important;
}

/* Do not hide language controls inside the real top bar/header/nav */
header .language-switcher,
header .lang-switcher,
header .language-selector,
header .lang-row,
nav .language-switcher,
nav .lang-switcher,
nav .language-selector,
nav .lang-row,
.topbar .language-switcher,
.topbar .lang-switcher,
.topbar .language-selector,
.topbar .lang-row,
.site-header .language-switcher,
.site-header .lang-switcher,
.site-header .language-selector,
.site-header .lang-row,
.ai-genius-header .language-switcher,
.ai-genius-header .lang-switcher,
.ai-genius-header .language-selector,
.ai-genius-header .lang-row {
  display: flex !important;
}

/* Mobile: keep Login visible but not on top of the white header */
@media (max-width: 760px) {
  body .lts89-home-login-button {
    top: 136px !important;
    left: 14px !important;
    right: auto !important;
    font-size: 13px !important;
    min-height: 36px !important;
    padding: 0 13px !important;
  }
}


/* STEP 89-SEC-H3 PATCH 6C - topbar login position
   Login must live in the white top bar, between logo and language flags.
   Hide old floating login completely.
*/

body .lts89-home-login-button {
  display: none !important;
}

/* Topbar login button */
.lts89-topbar-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  margin: 0 14px !important;
  border-radius: 999px !important;
  background: #16c765 !important;
  color: #03110a !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  border: 1px solid rgba(3, 17, 10, .08) !important;
  box-shadow: 0 6px 16px rgba(22, 199, 101, .22) !important;
  white-space: nowrap !important;
}

.lts89-topbar-login:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

/* Make the white top bar arrange logo + login + flags cleanly */
header,
.site-header,
.ai-genius-header,
.topbar,
nav {
  overflow: visible !important;
}

@media (max-width: 760px) {
  .lts89-topbar-login {
    min-height: 28px !important;
    padding: 0 10px !important;
    margin: 0 8px !important;
    font-size: 12px !important;
  }
}


/* STEP 89-SEC-H5 PATCH 6E - Login inside real language switcher.
   Remove old broken standalone login and style only the switcher login.
*/

body > .lts89-topbar-login,
body > .lts89-home-login-button,
body > a[href="/login"] {
  display: none !important;
}

.lts-top-langbar .lts89-switcher-login,
.lts-top-langbar-inner .lts89-switcher-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 0 13px !important;
  margin: 0 9px 0 14px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #16c765, #63f000) !important;
  color: #03110a !important;
  border: 1px solid rgba(3,17,10,.10) !important;
  box-shadow: 0 6px 16px rgba(22,199,101,.20) !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.lts-top-langbar .lts89-switcher-login:hover,
.lts-top-langbar-inner .lts89-switcher-login:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 760px) {
  .lts-top-langbar .lts89-switcher-login,
  .lts-top-langbar-inner .lts89-switcher-login {
    min-height: 25px !important;
    padding: 0 9px !important;
    margin: 0 6px 0 8px !important;
    font-size: 12px !important;
  }
}


/* STEP 89-SEC-H6 PATCH 6F - Premium Login Button Style
   Scope: home top white language bar only.
   No logic/security/API/dashboard changes.
*/

.lts-top-langbar .lts89-switcher-login,
.lts-top-langbar-inner .lts89-switcher-login {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  min-height: 34px !important;
  padding: 0 18px !important;
  margin: 0 12px 0 16px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(10, 160, 90, .35) !important;

  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.75), rgba(255,255,255,0) 24%),
    linear-gradient(135deg, #12d66f 0%, #63f000 55%, #20d6ff 140%) !important;

  color: #02120a !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;

  box-shadow:
    0 10px 24px rgba(22, 199, 101, .28),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.10) !important;

  transform: translateZ(0) !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

.lts-top-langbar .lts89-switcher-login::before,
.lts-top-langbar-inner .lts89-switcher-login::before {
  content: "🔐" !important;
  font-size: 13px !important;
  line-height: 1 !important;
  transform: translateY(-.5px) !important;
}

.lts-top-langbar .lts89-switcher-login::after,
.lts-top-langbar-inner .lts89-switcher-login::after {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, rgba(255,255,255,.38), rgba(255,255,255,0) 42%, rgba(255,255,255,.24)) !important;
  pointer-events: none !important;
  opacity: .65 !important;
}

.lts-top-langbar .lts89-switcher-login:hover,
.lts-top-langbar-inner .lts89-switcher-login:hover {
  filter: brightness(1.06) saturate(1.05) !important;
  transform: translateY(-1px) scale(1.015) !important;
  box-shadow:
    0 14px 30px rgba(22, 199, 101, .35),
    0 0 0 4px rgba(22, 199, 101, .10),
    inset 0 1px 0 rgba(255,255,255,.60),
    inset 0 -1px 0 rgba(0,0,0,.10) !important;
}

.lts-top-langbar .lts89-switcher-login:active,
.lts-top-langbar-inner .lts89-switcher-login:active {
  transform: translateY(0) scale(.99) !important;
}

@media (max-width: 760px) {
  .lts-top-langbar .lts89-switcher-login,
  .lts-top-langbar-inner .lts89-switcher-login {
    min-height: 28px !important;
    padding: 0 11px !important;
    margin: 0 7px 0 8px !important;
    font-size: 12px !important;
    gap: 5px !important;
  }

  .lts-top-langbar .lts89-switcher-login::before,
  .lts-top-langbar-inner .lts89-switcher-login::before {
    font-size: 12px !important;
  }
}


/* STEP 89-SEC-H8 PATCH 6H
   Exact duplicate flags class found in DevTools:
   nav.home-server-lang-switcher
   Hide that duplicate bar only.
   Keep the real AI Genius logo bar: .lts-top-langbar.
*/

nav.home-server-lang-switcher,
.home-server-lang-switcher {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Remove broken standalone Login variants */
body > .lts89-topbar-login,
body > .lts89-home-login-button,
body > a[href="/login"] {
  display: none !important;
}

/* Keep real top language/logo bar visible */
.lts-top-langbar,
body > .lts-top-langbar {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 54px !important;
  max-height: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.lts-top-langbar-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
}

/* Premium Login button inside real AI Genius bar */
.lts-top-langbar .lts89-switcher-login,
.lts-top-langbar-inner .lts89-switcher-login {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  min-height: 34px !important;
  padding: 0 18px !important;
  margin: 0 12px 0 16px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(10, 160, 90, .35) !important;

  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,.85), rgba(255,255,255,0) 24%),
    linear-gradient(135deg, #16c765 0%, #63f000 60%, #2dd4bf 130%) !important;

  color: #03110a !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;

  box-shadow:
    0 10px 24px rgba(22, 199, 101, .24),
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -1px 0 rgba(0,0,0,.10) !important;

  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

.lts-top-langbar .lts89-switcher-login::before,
.lts-top-langbar-inner .lts89-switcher-login::before {
  content: "🔐" !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.lts-top-langbar .lts89-switcher-login:hover,
.lts-top-langbar-inner .lts89-switcher-login:hover {
  filter: brightness(1.06) saturate(1.06) !important;
  transform: translateY(-1px) scale(1.015) !important;
  box-shadow:
    0 14px 30px rgba(22, 199, 101, .34),
    0 0 0 4px rgba(22, 199, 101, .10),
    inset 0 1px 0 rgba(255,255,255,.68),
    inset 0 -1px 0 rgba(0,0,0,.10) !important;
}

.lts-top-langbar .lts89-switcher-login:active,
.lts-top-langbar-inner .lts89-switcher-login:active {
  transform: translateY(0) scale(.99) !important;
}

@media (max-width: 760px) {
  .lts-top-langbar .lts89-switcher-login,
  .lts-top-langbar-inner .lts89-switcher-login {
    min-height: 28px !important;
    padding: 0 11px !important;
    margin: 0 7px 0 8px !important;
    font-size: 12px !important;
    gap: 5px !important;
  }
}


/* STEP 89-SEC-H9 PATCH 6I - real topbar login final style.
   Duplicate nav.home-server-lang-switcher is removed from index.html.
   This styles Login inside the real AI Genius language bar.
*/

body > .lts89-topbar-login,
body > .lts89-home-login-button,
body > a[href="/login"] {
  display: none !important;
}

.lts-top-langbar .lts89-switcher-login,
.lts-top-langbar-inner .lts89-switcher-login {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 34px !important;
  padding: 0 18px !important;
  margin: 0 12px 0 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(10, 160, 90, .35) !important;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,.85), rgba(255,255,255,0) 24%),
    linear-gradient(135deg, #16c765 0%, #63f000 60%, #2dd4bf 130%) !important;
  color: #03110a !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow:
    0 10px 24px rgba(22, 199, 101, .24),
    inset 0 1px 0 rgba(255,255,255,.62),
    inset 0 -1px 0 rgba(0,0,0,.10) !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

.lts-top-langbar .lts89-switcher-login::before,
.lts-top-langbar-inner .lts89-switcher-login::before {
  content: "🔐" !important;
  font-size: 13px !important;
}

.lts-top-langbar .lts89-switcher-login:hover,
.lts-top-langbar-inner .lts89-switcher-login:hover {
  filter: brightness(1.06) saturate(1.06) !important;
  transform: translateY(-1px) scale(1.015) !important;
  box-shadow:
    0 14px 30px rgba(22, 199, 101, .34),
    0 0 0 4px rgba(22, 199, 101, .10),
    inset 0 1px 0 rgba(255,255,255,.68),
    inset 0 -1px 0 rgba(0,0,0,.10) !important;
}

@media (max-width: 760px) {
  .lts-top-langbar .lts89-switcher-login,
  .lts-top-langbar-inner .lts89-switcher-login {
    min-height: 28px !important;
    padding: 0 11px !important;
    margin: 0 7px 0 8px !important;
    font-size: 12px !important;
    gap: 5px !important;
  }
}


/* STEP 89-SEC-H10 PATCH 6J - FORCE REAL LOGIN BUTTON STYLE
   Exact target from DevTools: a.lts89-switcher-login
   No JS. No layout move. Just make the real link a premium button.
*/

html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login,
html body a.lts89-switcher-login {
  appearance: none !important;
  -webkit-appearance: none !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  width: auto !important;
  min-width: 92px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;

  padding: 0 18px !important;
  margin: 0 12px 0 0 !important;

  border-radius: 999px !important;
  border: 1px solid rgba(10, 160, 90, .42) !important;

  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.9), rgba(255,255,255,0) 26%),
    linear-gradient(135deg, #16c765 0%, #63f000 58%, #2dd4bf 130%) !important;

  color: #02120a !important;
  text-decoration: none !important;
  text-shadow: none !important;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;

  box-shadow:
    0 10px 24px rgba(22, 199, 101, .28),
    inset 0 1px 0 rgba(255,255,255,.68),
    inset 0 -1px 0 rgba(0,0,0,.12) !important;

  cursor: pointer !important;
  overflow: hidden !important;
  vertical-align: middle !important;

  transition:
    transform .16s ease,
    filter .16s ease,
    box-shadow .16s ease !important;
}

html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login:visited,
html body a.lts89-switcher-login:visited {
  color: #02120a !important;
  text-decoration: none !important;
}

html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login:hover,
html body a.lts89-switcher-login:hover {
  color: #02120a !important;
  text-decoration: none !important;
  filter: brightness(1.06) saturate(1.08) !important;
  transform: translateY(-1px) scale(1.015) !important;
  box-shadow:
    0 14px 30px rgba(22, 199, 101, .36),
    0 0 0 4px rgba(22, 199, 101, .10),
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -1px 0 rgba(0,0,0,.12) !important;
}

html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login:active,
html body a.lts89-switcher-login:active {
  transform: translateY(0) scale(.99) !important;
}

@media (max-width: 760px) {
  html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login,
  html body a.lts89-switcher-login {
    min-width: 76px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 0 11px !important;
    margin-right: 7px !important;
    font-size: 12px !important;
    gap: 5px !important;
  }
}


/* STEP 89-SEC-H11 PATCH 6K - SIMPLE DARK LOGIN BUTTON
   Exact user request:
   - dark grey button
   - white Login text
   - no lock icon
   - no green style
*/

html body a.lts89-switcher-login,
html body .lts-top-langbar a.lts89-switcher-login,
html body .lts-top-langbar-inner a.lts89-switcher-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  min-width: 76px !important;

  padding: 0 16px !important;
  margin: 0 10px 0 0 !important;

  border-radius: 10px !important;
  border: 1px solid #334155 !important;

  background: #1f2937 !important;
  background-image: none !important;

  color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: none !important;

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  box-shadow: 0 4px 10px rgba(15, 23, 42, .18) !important;
  transform: none !important;
  filter: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

html body a.lts89-switcher-login::before,
html body a.lts89-switcher-login::after,
html body .lts-top-langbar a.lts89-switcher-login::before,
html body .lts-top-langbar a.lts89-switcher-login::after,
html body .lts-top-langbar-inner a.lts89-switcher-login::before,
html body .lts-top-langbar-inner a.lts89-switcher-login::after {
  content: none !important;
  display: none !important;
}

html body a.lts89-switcher-login:visited,
html body .lts-top-langbar a.lts89-switcher-login:visited,
html body .lts-top-langbar-inner a.lts89-switcher-login:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}

html body a.lts89-switcher-login:hover,
html body .lts-top-langbar a.lts89-switcher-login:hover,
html body .lts-top-langbar-inner a.lts89-switcher-login:hover {
  background: #111827 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-color: #475569 !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .24) !important;
  transform: none !important;
  filter: none !important;
}

html body a.lts89-switcher-login:active,
html body .lts-top-langbar a.lts89-switcher-login:active,
html body .lts-top-langbar-inner a.lts89-switcher-login:active {
  background: #0f172a !important;
  transform: none !important;
}

@media (max-width: 760px) {
  html body a.lts89-switcher-login,
  html body .lts-top-langbar a.lts89-switcher-login,
  html body .lts-top-langbar-inner a.lts89-switcher-login {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    min-width: 64px !important;
    padding: 0 11px !important;
    margin-right: 7px !important;
    font-size: 12px !important;
    border-radius: 9px !important;
  }
}


/* STEP 89-SEC-H12 PATCH 6L - LOGIN TEXT TO DARK BUTTON ONLY
   Same position. Same anchor. Only force visual style.
   No icon. No green. No dashboard/API/map changes.
*/
html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login,
html body .lts-top-langbar a.lts89-switcher-login,
html body a.lts89-switcher-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  border: 1px solid #334155 !important;
  background: #1f2937 !important;
  background-image: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 4px 10px rgba(15,23,42,.18) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transform: none !important;
  filter: none !important;
}

html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login::before,
html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login::after,
html body a.lts89-switcher-login::before,
html body a.lts89-switcher-login::after {
  content: none !important;
  display: none !important;
}

html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login:visited,
html body a.lts89-switcher-login:visited {
  color: #ffffff !important;
  text-decoration: none !important;
}

html body .lts-top-langbar .lts-top-langbar-inner a.lts89-switcher-login:hover,
html body a.lts89-switcher-login:hover {
  background: #111827 !important;
  color: #ffffff !important;
  border-color: #475569 !important;
  text-decoration: none !important;
}


/* STEP 91G EXISTING PREMIUM MAP VISIBILITY FIX */
html.lts90b-premium-initial body #realStreetMapPremium,
html.lts17n-premium-dashboard-on body #realStreetMapPremium,
body.lts90b-premium-initial #realStreetMapPremium,
body.lts-premium-unlocked #realStreetMapPremium,
body.lts-premium-dashboard-unlocked #realStreetMapPremium {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 420px !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

/* The map renderer duplicated AI Local Recovery Actions above the keyword scanner.
   Keep the existing keyword scanner/actions section; hide only the duplicated map-internal copy. */
body.lts-premium-unlocked #realStreetMapPremium .lts15h-actions,
body.lts-premium-dashboard-unlocked #realStreetMapPremium .lts15h-actions,
body.lts90b-premium-initial #realStreetMapPremium .lts15h-actions {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* END STEP 91G EXISTING PREMIUM MAP VISIBILITY FIX */

/* STEP 91I REMOVE BOTTOM DUPLICATE MAPS GUARD */
#lts15iPremiumMapMount,
.lts15i-premium-map-mount {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* END STEP 91I REMOVE BOTTOM DUPLICATE MAPS GUARD */


/* STEP 91M FORCE EXISTING PREMIUM MAP VISIBLE */
html body #realStreetMapPremium[data-premium-unlocked="1"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 460px !important;
  max-height: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

html body #realStreetMapPremium[data-premium-unlocked="1"] .lts15h-premium-shell,
html body #realStreetMapPremium[data-premium-unlocked="1"] .lts15h-map-card,
html body #realStreetMapPremium[data-premium-unlocked="1"] .lts15h-leaflet-map,
html body #realStreetMapPremium[data-premium-unlocked="1"] #realLeafletMap15H {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html body #realStreetMapPremium[data-premium-unlocked="1"] .lts15h-leaflet-map,
html body #realStreetMapPremium[data-premium-unlocked="1"] #realLeafletMap15H {
  min-height: 420px !important;
  height: 420px !important;
  width: 100% !important;
}
/* END STEP 91M FORCE EXISTING PREMIUM MAP VISIBLE */


/* STEP 91L MAP PREMIUM VISIBILITY */
body.lts-premium-dashboard-unlocked #realStreetMapPremium,
body.lts-premium-unlocked #realStreetMapPremium,
body.lts90b-premium-initial #realStreetMapPremium,
html body #realStreetMapPremium[data-premium-unlocked="1"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 420px !important;
  height: auto !important;
  overflow: visible !important;
}
/* END STEP 91L MAP PREMIUM VISIBILITY */


/* Google OAuth exact app name footer subtitle */
.legal-footer-subtitle {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 12px auto 24px auto !important;
  color: #17345f;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* STEP footer_two_lines_fix - staging */
.legal-footer-app-name {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 12px auto 6px auto !important;
  color: #17345f;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.legal-footer-subtitle {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 0 auto 28px auto !important;
  color: #17345f;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* STEP recover_footer_html - clean two-line footer */
.legal-footer-app-name {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 12px auto 6px auto !important;
  color: #17345f;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.legal-footer-subtitle {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 0 auto 28px auto !important;
  color: #17345f;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* STEP fix_home_footer_clean */
.legal-footer-app-name {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 14px auto 4px auto !important;
  color: #17345f !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.legal-footer-subtitle {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0 auto 28px auto !important;
  color: #17345f !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

/* STEP fix_home_structure - clean footer and hero trustpilot */
.hero-trustpilot-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px 0;
}

.hero-trustpilot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(20, 184, 166, .55);
  background: rgba(16, 185, 129, .18);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.hero-trustpilot-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #10b981;
  color: #ffffff;
}

.hero-trustpilot-label {
  color: rgba(226, 232, 240, .72);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
}

.ai-genius-footer-title {
  text-align: center !important;
  color: #071026 !important;
  font-size: 34px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  margin: 18px auto 8px auto !important;
}

.ai-genius-footer-subtitle {
  text-align: center !important;
  color: #17345f !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  margin: 0 auto 28px auto !important;
}

.ai-genius-footer-copy {
  display: block !important;
  text-align: center !important;
}

/* STEP center_footer_subtitle_only */
.ai-genius-footer-subtitle{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}


/* STEP CENTER FOOTER SOFTWARE ONLY */
.legal-footer-subtitle{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  margin:12px auto 0 auto !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
