/* leakshield — Free Leak Scan, öffentliches Frontend. Handgeschrieben, kein Tailwind-Build.
   Brand-Tokens & Layout 1:1 aus .superpowers/sdd/2026-08-13-leakcheck/design-draft.html übernommen. */

:root {
  --ls-bg: #0a0a0a;
  --ls-card: #171717;
  --ls-line: #2f2f2f;
  --ls-muted: #9f9f9f;
  --ls-green: #42b197;
  --sig-gradient: linear-gradient(103deg, #dec880, #fff 29%, #ff347d 58%, #827ded);
  --green-gradient: linear-gradient(104deg, #42b197, #70cab5 23%, #3b9f88 50%, #1a473c);
}

* { box-sizing: border-box; }

/* Generischer [hidden]-Override: mehrere Views/Karten setzen unconditional `display: flex`
   (Klassen-Selektor, Autoren-Origin) auf Elemente, die per State-Machine ueber das native
   `hidden`-Attribut ein-/ausgeblendet werden. Autoren-Styles schlagen das UA-Default-Stylesheet
   (`[hidden]{display:none}`) IMMER, unabhaengig von Spezifitaet (Cascade-Origin, nicht nur
   Spezifitaet) -- das hat schon einmal #view-report betroffen (Task-4-Selbstreview-Fund,
   dortiger gezielter #view-report[hidden]-Fix bleibt bestehen) und beim Task-5-E2E-Livetest
   erneut #report-positive (.lc-positive-card { display:flex }) getroffen: das Element hatte im
   DOM korrekt `hidden`, blieb aber sichtbar. Statt jede betroffene Klasse einzeln nachzuruesten,
   hier EIN allgemeiner, garantiert gewinnender Override fuer alle `hidden`-Elemente im Tool. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--ls-bg);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-bottom: 6rem;
}

h1, h2, h3, .lc-hero-number, .lc-report-total, .lc-cta-title, .lc-card-title, .lc-gate-sub {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

::selection { background: rgba(66, 177, 151, 0.3); color: #fff; }

a { color: inherit; }

button, input, a.lc-btn-primary, a.lc-btn-gradient-green { font-family: inherit; }

/* ---------- Layout ---------- */

.lc-header {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lc-brand { display: flex; align-items: center; gap: 0.5rem; }
.lc-logo { display: block; height: 22px; width: auto; }
.lc-wordmark { font-weight: 600; font-size: 1.125rem; letter-spacing: 0.01em; color: #fff; }

.lc-lang-toggle {
  display: flex;
  align-items: center;
  background: var(--ls-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ls-muted);
}

.lc-lang-btn {
  padding: 0.375rem 0.75rem;
  border: none;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.lc-lang-btn:hover { color: #fff; }
.lc-lang-btn:active { transform: scale(0.98) translateY(1px); }
.lc-lang-btn.is-active { background: rgba(255, 255, 255, 0.1); color: #fff; }

.lc-main {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .lc-main { padding: 0 1.5rem; }
}

.lc-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lc-fadeIn 0.5s ease-out;
}
.lc-view[hidden] { display: none; }

@keyframes lc-fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lc-br-mobile { display: none; }
@media (max-width: 639px) { .lc-br-mobile { display: inline; } }

/* ---------- Typography ---------- */

.lc-gradient-text {
  background-image: var(--sig-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lc-h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .lc-h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .lc-h1 { font-size: 3.75rem; } }

.lc-h2 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.25rem; color: #fff; }

.lc-lead {
  color: var(--ls-muted);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.625;
  margin: 0 0 2.5rem;
  text-align: center;
}
@media (min-width: 768px) { .lc-lead { font-size: 1.125rem; } }

/* ---------- Form primitives ---------- */

.lc-form-narrow, .lc-form-wide {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lc-input-premium {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  padding: 0.25rem 1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lc-input-premium:focus-within {
  border-color: var(--ls-green);
  box-shadow: 0 0 0 1px var(--ls-green), 0 4px 20px -5px rgba(66, 177, 151, 0.2);
  background-color: var(--ls-bg);
}

.lc-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.75rem;
  color: #fff;
  font-size: 1.125rem;
}
.lc-input:focus { outline: none; }
.lc-input::placeholder { color: var(--ls-muted); }

.lc-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.lc-icon-muted { color: var(--ls-muted); }

.lc-turnstile-wrap { display: flex; justify-content: center; }

.lc-btn-primary {
  width: 100%;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem;
  border: none;
  border-radius: 0.75rem;
  margin-top: 0.5rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.3s ease;
}
.lc-btn-primary:hover { filter: brightness(1.1); }
.lc-btn-primary:active { transform: scale(0.98) translateY(1px); }
.lc-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
.lc-btn-inline { width: auto; padding: 0.75rem 1.5rem; margin-top: 1rem; }

.lc-error-banner {
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: #ff9a9a;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  text-align: center;
}

.lc-privacy-line { margin-top: 1rem; text-align: center; }
.lc-privacy-line a {
  font-size: 0.75rem;
  color: var(--ls-muted);
  text-decoration: underline;
  text-decoration-color: var(--ls-line);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.lc-privacy-line a:hover { color: #fff; }

.lc-hint { font-size: 0.75rem; color: var(--ls-muted); text-align: center; margin: 0.5rem 0 0; }

/* ---------- Loading / Radar ---------- */

.lc-radar {
  position: relative;
  width: 8rem;
  height: 8rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-radar-ring { position: absolute; border-radius: 999px; }
.lc-radar-ring-1 { inset: 0; border: 1px solid var(--ls-line); }
.lc-radar-ring-2 { inset: 1rem; border: 1px solid rgba(255, 255, 255, 0.05); }
.lc-radar-ring-3 { inset: 2rem; border: 1px solid rgba(255, 255, 255, 0.05); }

.lc-radar-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(66, 177, 151, 0.3);
  animation: lc-ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes lc-ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(1.9); opacity: 0; }
}

.lc-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: conic-gradient(from 0deg, transparent 70%, rgba(66, 177, 151, 0.3) 100%);
  animation: lc-radar-sweep 2s infinite linear;
}
@keyframes lc-radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.lc-radar-dot {
  position: relative;
  z-index: 1;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: var(--ls-green);
  box-shadow: 0 0 15px #42b197;
}

.lc-steps {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.lc-step { display: flex; align-items: center; gap: 1rem; color: var(--ls-muted); opacity: 0.5; transition: color 0.2s ease, opacity 0.2s ease; }
.lc-step.is-active, .lc-step.is-done { color: #fff; opacity: 1; }

.lc-step-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--ls-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lc-step.is-active .lc-step-icon { border-color: transparent; }
.lc-step.is-active .lc-step-icon::after {
  content: '';
  width: 1.125rem;
  height: 1.125rem;
  border: 2.5px solid rgba(159, 159, 159, 0.3);
  border-top-color: var(--ls-muted);
  border-radius: 999px;
  animation: lc-spin 0.8s linear infinite;
}
.lc-step.is-done .lc-step-icon {
  background: rgba(66, 177, 151, 0.2);
  border-color: var(--ls-green);
}
.lc-step.is-done .lc-step-icon::after {
  content: '';
  width: 0.5rem;
  height: 0.75rem;
  border-right: 2.5px solid var(--ls-green);
  border-bottom: 2.5px solid var(--ls-green);
  transform: rotate(45deg) translate(-1px, -2px);
}
@keyframes lc-spin { to { transform: rotate(360deg); } }

.lc-step-label { font-size: 0.875rem; font-weight: 500; }

.lc-skeleton-card {
  width: 100%;
  max-width: 420px;
  background-color: var(--ls-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  padding: 1rem;
  height: 6rem;
}
.lc-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: lc-shimmer 2s infinite linear;
}
@keyframes lc-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.lc-skeleton-line { height: 0.75rem; border-radius: 0.25rem; background: rgba(255, 255, 255, 0.05); }
.lc-skeleton-line-1 { width: 75%; height: 1rem; margin: 0.25rem 0 0.75rem; }
.lc-skeleton-line-2 { width: 50%; margin-bottom: 0.5rem; }
.lc-skeleton-line-3 { width: 100%; }

/* ---------- Cards / pills (shared) ---------- */

.lc-card {
  background-color: var(--ls-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.lc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
}
.lc-pill-green {
  color: var(--ls-green);
  background: rgba(66, 177, 151, 0.1);
  border: 1px solid rgba(66, 177, 151, 0.2);
}
.lc-pill-lg { font-size: 1rem; padding: 0.625rem 1.25rem; }

/* ---------- Gate view ---------- */

.lc-gate-hero { margin-bottom: 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; }

.lc-hero-number {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  filter: drop-shadow(0 0 30px rgba(255, 52, 125, 0.2));
}
@media (min-width: 768px) { .lc-hero-number { font-size: 8rem; } }

.lc-gate-sub { font-size: 1.25rem; font-weight: 500; color: #fff; margin: 0; }
@media (min-width: 768px) { .lc-gate-sub { font-size: 1.5rem; } }

#gate-removable-pill { margin-top: 1rem; }

.lc-email-card { width: 100%; max-width: 420px; padding: 1.5rem; text-align: left; }
@media (min-width: 768px) { .lc-email-card { padding: 2rem; } }

.lc-card-title { font-size: 1.25rem; font-weight: 600; margin: 0 0 1rem; }

#unlock-form { display: flex; flex-direction: column; gap: 0.75rem; }
#unlock-submit { padding: 0.875rem; }

/* ---------- Report view ---------- */

#view-report { align-items: stretch; gap: 2rem; display: flex; flex-direction: column; }
/* #view-report's own ID rule above (specificity 1,0,0) would otherwise beat .lc-view[hidden]
   (0,2,0) and keep the report visible even while [hidden] is set — this ID-scoped override
   restores the hide. */
#view-report[hidden] { display: none; }

.lc-report-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  border-bottom: 1px solid var(--ls-line);
  padding-bottom: 1.5rem;
}
@media (min-width: 640px) { .lc-report-header { flex-direction: row; align-items: flex-end; } }

.lc-report-date { color: var(--ls-muted); font-size: 0.875rem; margin: 0; }
.lc-report-total { font-size: 1.5rem; font-weight: 700; }

.lc-positive-card { padding: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.lc-positive-text { color: var(--ls-muted); margin: 0; max-width: 480px; line-height: 1.625; }

.lc-list-card { padding: 0.5rem; }

.lc-rows { display: flex; flex-direction: column; }
.lc-rows > .lc-row + .lc-row { border-top: 1px solid rgba(255, 255, 255, 0.05); }

.lc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.75rem;
  gap: 1rem;
  transition: background-color 0.2s ease;
}
.lc-row:hover { background: rgba(255, 255, 255, 0.05); }

.lc-row-main { display: flex; align-items: center; gap: 0.75rem; overflow: hidden; min-width: 0; }
.lc-row-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ls-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lc-row-url {
  font-size: 0.875rem;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.lc-row-url:hover { text-decoration: underline; }

.lc-row-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ls-green);
  background: rgba(66, 177, 151, 0.1);
  border: 1px solid rgba(66, 177, 151, 0.2);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.lc-row-badge-prefix { display: none; }
@media (min-width: 480px) { .lc-row-badge-prefix { display: inline; } }

/* Fallback-Treffer (0 removable): neutrales "Gefunden" statt gruener Entfernbar-Kachel. */
.lc-row-badge--muted {
  color: var(--ls-muted);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.lc-blur-section { position: relative; margin-top: 0.5rem; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 0.5rem; }

.lc-blur-layer { filter: blur(5px); opacity: 0.4; user-select: none; pointer-events: none; }
.lc-blur-row-text { font-size: 0.875rem; color: #fff; }
.lc-blur-row-badge { width: 6rem; height: 1.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.2); }

.lc-blur-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lc-blur-pill {
  background: var(--ls-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border-radius: 999px;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 90%;
  text-align: center;
}
.lc-blur-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ls-green);
  flex-shrink: 0;
  animation: lc-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes lc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.lc-blur-pill span:last-child { font-size: 0.875rem; font-weight: 500; color: #fff; }
.lc-blur-pill strong { font-weight: 700; }

.lc-blur-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  z-index: 1;
  pointer-events: none;
  border-radius: 0 0 0.75rem 0.75rem;
  background: linear-gradient(to top, var(--ls-card), transparent);
}

/* Die alte Ein-Karten-CTA (.lc-cta-card) wurde durch das Zwei-Welten-Banner (.lc-worlds,
   weiter unten) ersetzt; Glow/Titel/Sub-Klassen leben dort weiter. */

.lc-cta-glow {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  background: rgba(66, 177, 151, 0.1);
  filter: blur(80px);
  border-radius: 999px;
  pointer-events: none;
}

.lc-cta-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; }
@media (min-width: 768px) { .lc-cta-title { font-size: 1.875rem; } }
.lc-cta-sub { color: var(--ls-muted); margin: 0; }

.lc-btn-gradient-green {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 100%;
  background-image: var(--green-gradient);
  color: #fff;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(66, 177, 151, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.3s ease;
}
.lc-btn-gradient-green:hover { filter: brightness(1.1); }
.lc-btn-gradient-green:active { transform: scale(0.98) translateY(1px); }
@media (min-width: 640px) { .lc-btn-gradient-green { width: auto; } }

/* ---------- Zwei-Welten-CTA (Report): links Trial hervorgehoben, rechts Erstgespräch ---------- */

.lc-worlds {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (min-width: 640px) { .lc-worlds { grid-template-columns: 1.15fr 1fr; } }

.lc-world {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1.75rem;
  margin: 0;
  text-align: left;
}
.lc-world .lc-cta-title { font-size: 1.25rem; margin: 0; position: relative; z-index: 1; }
@media (min-width: 768px) { .lc-world .lc-cta-title { font-size: 1.5rem; } }
.lc-world-sub { position: relative; z-index: 1; font-size: 0.9375rem; }
.lc-world-btn { margin-top: auto; padding-top: 0.875rem; padding-bottom: 0.875rem; }

.lc-world-trial {
  border-color: rgba(66, 177, 151, 0.45);
  box-shadow: 0 0 32px rgba(66, 177, 151, 0.12);
}

.lc-world-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(66, 177, 151, 0.15);
  border: 1px solid rgba(66, 177, 151, 0.4);
  color: var(--ls-green);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lc-btn-outline {
  position: relative;
  z-index: 1;
  width: 100%;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.lc-btn-outline:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.35); }
.lc-btn-outline:active { transform: scale(0.98) translateY(1px); }

/* ---------- Calendly-Modal ---------- */

.lc-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: lc-fadeIn 0.25s ease-out;
}

.lc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Modal-Card bewusst WEISS: Calendly (schwarzes Logo, helle Widgets) sieht auf Weiß
   deutlich sauberer aus als dunkel eingefärbt; das Embed bekommt passende helle Farben. */
.lc-modal-card {
  position: relative;
  width: min(1040px, 100%);
  height: min(760px, calc(100dvh - 2rem));
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.lc-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.05);
  color: #333;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.lc-modal-close:hover { background: rgba(0, 0, 0, 0.12); }
.lc-modal-close:active { transform: scale(0.95); }

.lc-modal-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  pointer-events: none;
}
.lc-modal-loading[hidden] { display: none; }

.lc-modal-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--ls-green);
  animation: lc-spin 0.8s linear infinite;
}

.lc-modal-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.lc-footer {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--ls-muted);
  padding-bottom: 2rem;
}
@media (min-width: 640px) { .lc-footer { flex-direction: row; } }
.lc-footer-links { display: flex; gap: 1rem; }
.lc-footer-links a { color: var(--ls-muted); text-decoration: none; transition: color 0.2s ease; }
.lc-footer-links a:hover { color: #fff; }

.lc-notfound-card { max-width: 480px; padding: 2rem; text-align: center; }
