/* LaunchLens North — Set-13 layout, DataFast (datafa.st) color + DM Sans. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  /* Self-hosted: from a CDN this was discovered only after this stylesheet parsed, and cost a second connection.
     Preloaded in the layout — keep that href and this one identical or the browser fetches the file twice. */
  src: url("/fonts/dm-sans-latin-variable.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root, html[data-theme="light"] {
  --ll-bg: #fbfaf9;
  --ll-panel: #ffffff;
  --ll-fg: #262626;
  --ll-fg-rgb: 38, 38, 38;
  --ll-muted: #6b6968;
  --ll-muted-rgb: 107, 105, 104;
  --ll-line: #eceae8;
  --ll-accent: #e16540;
  --ll-accent-rgb: 225, 101, 64;
  --ll-accent-soft: #fde8e0;
  --ll-pin: #fff4f0;
  --ll-gold: #8a6400;
  --ll-gold-soft: #fbf1d8;
  --ll-gold-line: #e3c169;
  --ll-ok: #00a96e;
  --ll-soft: #fcfbfa;
  --ll-glow: rgba(225, 101, 64, 0.18);
  --ll-nav: rgba(251, 250, 249, 0.86);
  --ll-shadow: 0 18px 50px rgba(40, 28, 12, 0.08);
  --ll-radius: 0.5rem;
}

html[data-theme="dark"] {
  --ll-bg: #1f1f1f;
  --ll-panel: #262626;
  --ll-fg: #dedddc;
  --ll-fg-rgb: 222, 221, 220;
  --ll-muted: #aba8a7;
  --ll-muted-rgb: 171, 168, 167;
  --ll-line: #333333;
  --ll-accent: #e16540;
  --ll-accent-rgb: 225, 101, 64;
  --ll-accent-soft: #3a2418;
  --ll-pin: #2a201c;
  --ll-gold: #e8c877;
  --ll-gold-soft: #33290f;
  --ll-gold-line: #6f5a22;
  --ll-ok: #00a96e;
  --ll-soft: #212121;
  --ll-glow: rgba(225, 101, 64, 0.22);
  --ll-nav: rgba(31, 31, 31, 0.8);
  --ll-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* Light is the default, for everyone. Dark is only ever a choice: the Light/Dark switch sets data-theme="dark" and the
   choice is remembered in a cookie. There is deliberately no prefers-color-scheme rule here: following the operating system
   put a first-time visitor whose device is set to dark into a theme they never picked. */

html {
  --bs-body-bg: var(--ll-bg);
  --bs-body-color: var(--ll-fg);
  --bs-primary: var(--ll-accent);
  --bs-primary-rgb: var(--ll-accent-rgb);
  --bs-secondary: var(--ll-muted);
  --bs-secondary-rgb: var(--ll-muted-rgb);
  --bs-border-color: var(--ll-line);
  --bs-tertiary-bg: var(--ll-soft);
  --bs-link-color: var(--ll-fg);
  --bs-link-color-rgb: var(--ll-fg-rgb);
  --bs-link-hover-color: var(--ll-accent);
  --bs-link-hover-color-rgb: var(--ll-accent-rgb);
  --bs-link-decoration: none;
  --bs-border-radius: var(--ll-radius);
}

html, body { height: 100%; }
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--ll-bg);
  color: var(--ll-fg);
  font-family: "DM Sans", system-ui, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

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

.breadcrumb a:hover,
.ll-foot a:hover,
.ll-main p a:hover,
.ll-main .alert a:hover,
.link-secondary:hover { text-decoration: underline; }

.link-secondary { color: var(--ll-muted) !important; }
.link-secondary:hover { color: var(--ll-fg) !important; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1080; }
.skip-link:focus { left: 1rem; top: 1rem; }

.ll-wrap { width: min(1080px, calc(100% - 2.4rem)); margin: 0 auto; }

.ll-top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: var(--ll-nav);
  border-bottom: 1px solid var(--ll-line);
}

.ll-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 68px;
}

.ll-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.12rem;
}

.ll-mark { width: 28px; height: 28px; display: block; }

.ll-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ll-panel);
  border: 1px solid var(--ll-line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  max-width: 520px;
}

.ll-search:focus-within {
  border-color: var(--ll-accent);
  box-shadow: 0 0 0 4px var(--ll-accent-soft);
}

.ll-search input {
  flex: 1;
  border: 0;
  background: none;
  outline: 0;
  min-width: 0;
  color: inherit;
}

.ll-search kbd {
  color: var(--ll-muted);
  font-size: 0.75rem;
  border: 1px solid var(--ll-line);
  border-radius: 6px;
  padding: 0.05rem 0.35rem;
}

.ll-tools { display: flex; gap: 0.4rem; align-items: center; }

.ll-theme {
  display: flex;
  background: var(--ll-panel);
  border: 1px solid var(--ll-line);
  border-radius: 999px;
  padding: 3px;
}

.ll-theme button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  color: var(--ll-muted);
  font-size: 0.8rem;
}

html[data-theme="light"] [data-ll-theme="light"],
html[data-theme="dark"] [data-ll-theme="dark"] {
  background: var(--ll-fg);
  color: var(--ll-bg);
}

.ll-signin {
  font-size: 0.9rem;
  font-weight: 500;
  color: inherit;
  padding: 0.35rem 0.55rem;
}

.ll-cta {
  background: var(--ll-accent);
  color: #fff;
  border: 0;
  border-radius: var(--ll-radius);
  padding: 0.5rem 0.95rem;
  font-weight: 500;
}

.ll-cta:hover { color: #fff; filter: brightness(1.05); }

.ll-menu { position: relative; }
.ll-menu summary {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  padding: 0.35rem 0.55rem;
  border-radius: var(--ll-radius);
}
.ll-menu summary::-webkit-details-marker { display: none; }
.ll-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 12rem;
  background: var(--ll-panel);
  border: 1px solid var(--ll-line);
  border-radius: 12px;
  box-shadow: var(--ll-shadow);
  padding: 0.35rem;
  z-index: 30;
  display: grid;
}
.ll-menu-panel a,
.ll-menu-panel button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  border-radius: 8px;
  padding: 0.42rem 0.55rem;
  color: var(--ll-muted);
  font: inherit;
  cursor: pointer;
}
.ll-menu-panel a:hover,
.ll-menu-panel button:hover { background: var(--ll-soft); color: var(--ll-fg); }

.ll-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 1rem 0 0;
}

.ll-chip {
  border: 1px solid var(--ll-line);
  background: var(--ll-panel);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  font-size: 0.84rem;
  color: var(--ll-muted);
}

.ll-chip:hover, a.ll-chip.on { color: var(--ll-fg); border-color: var(--ll-fg); }

.ll-main { flex: 1 0 auto; padding: 0 0 3rem; }
.ll-main > :not(.ll-home) { padding-top: 1.2rem; }
.ll-flash { padding-top: 1rem; }

.ll-kicker {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 1.6rem 0 0.7rem;
}
.ll-kicker h2 {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ll-muted);
  font-weight: 650;
}
.ll-kicker p { margin: 0; color: var(--ll-muted); font-size: 0.82rem; }

.ll-pins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

.ll-pin {
  position: relative;
  background: var(--ll-pin);
  border: 1px solid color-mix(in srgb, var(--ll-accent) 35%, var(--ll-line));
  border-radius: 20px;
  padding: 1rem;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: var(--ll-shadow);
  transition: transform 0.18s ease;
}
.ll-pin:hover { transform: translateY(-3px); }
.ll-pin .ll-row-name { font-size: 1.05rem; letter-spacing: -0.02em; }
.ll-pin .ll-row-tagline { color: var(--ll-muted); font-size: 0.88rem; flex: 1; margin: 0; }
.ll-pin .ll-row-visit { margin-top: auto; align-self: flex-start; }

.ll-list { display: grid; gap: 0.55rem; padding-bottom: 1rem; }

.ll-item, .ll-row {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  background: var(--ll-panel);
  border: 1px solid var(--ll-line);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  transition: border-color 0.15s, transform 0.15s;
}
.ll-item:hover, .ll-row:hover { border-color: var(--ll-fg); transform: translateY(-1px); }

.ll-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: var(--ll-soft);
  border-radius: 13px;
}
.ll-pin .ll-logo { width: 42px; height: 42px; }

.ll-logo-lg {
  width: 128px;
  height: 128px;
  object-fit: contain;
  background: var(--ll-soft);
}

.ll-row-name { font-weight: 700; letter-spacing: -0.02em; margin: 0; font-size: 1.02rem; }
.ll-row-tagline { color: var(--ll-muted); font-size: 0.86rem; margin: 0.15rem 0 0; }
.ll-row-meta, .ll-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.ll-pill, .ll-row-meta .badge {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ll-muted);
  background: var(--ll-bg);
  border: 0;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}
.ll-pill-ok, .ll-row-meta .badge.text-bg-light { color: var(--ll-ok); }
.ll-pill-pin, .ll-row-meta .badge.text-bg-primary {
  color: var(--ll-accent);
  background: var(--ll-accent-soft);
}

.ll-pill-gold {
  color: var(--ll-gold);
  background: var(--ll-gold-soft);
}

/* Pro and SEO Engine: the priority placement they buy is also visible, not only in the ordering. */
.ll-gold { border-color: var(--ll-gold-line); }
.ll-gold:hover { border-color: var(--ll-gold); }

/* Clicks per day. One meter per bar: it reads out to a screen reader, and the CSP forbids inline styles. */
.ll-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  margin-top: 0.5rem;
}
.ll-bars-sm { height: 56px; }
.ll-bars li { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.ll-bars meter {
  width: 100%;
  height: 100%;
  writing-mode: vertical-lr;
  direction: rtl;
}

.ll-row-visit { position: relative; z-index: 2; }

/* Both controls share the card's last column. z-index lifts them above .stretched-link-title's overlay, which covers the
   whole card so that clicking anywhere opens the listing — without this the overlay takes the clicks. */
.ll-row-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 0.5rem; }
.ll-row-votes { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; color: var(--ll-muted); }
.ll-row-votes .btn { display: inline-flex; align-items: center; gap: 0.3rem; font-variant-numeric: tabular-nums; }

.stretched-link-title::after { content: ""; position: absolute; inset: 0; }

.ll-clock, .ll-hours {
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--ll-accent);
  margin: 0;
}

.ll-empty { color: var(--ll-muted); font-size: 0.9rem; }

.ll-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0 1.4rem;
  border-top: 1px solid var(--ll-line);
  font-size: 0.85rem;
  color: var(--ll-muted);
}
.ll-foot a { margin-right: 0.85rem; }

.ll-image-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ll-muted);
  background: var(--ll-soft);
}

.ll-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.min-w-0 { min-width: 0; }
.ll-description { white-space: pre-line; }

.ll-screenshot {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--ll-soft);
}

.ll-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.ll-stats-bar {
  display: inline-block;
  height: 0.75rem;
  min-width: 2px;
  background: var(--ll-accent);
  border-radius: 2px;
  vertical-align: middle;
}

.ll-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1070;
}

.ll-recovery-codes {
  font-family: var(--bs-font-monospace);
  columns: 2;
}

.btn:focus-visible,
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.ll-search:focus-within {
  box-shadow: 0 0 0 0.25rem var(--ll-glow);
}

.btn { border-radius: var(--ll-radius); font-weight: 500; }

.btn-primary {
  --bs-btn-bg: var(--ll-accent);
  --bs-btn-border-color: var(--ll-accent);
  --bs-btn-hover-bg: #c95636;
  --bs-btn-hover-border-color: #c95636;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

.btn-outline-primary {
  --bs-btn-color: var(--ll-accent);
  --bs-btn-border-color: var(--ll-accent);
  --bs-btn-hover-bg: var(--ll-accent);
  --bs-btn-hover-border-color: var(--ll-accent);
  --bs-btn-hover-color: #fff;
}

.btn-outline-secondary {
  --bs-btn-color: var(--ll-fg);
  --bs-btn-border-color: var(--ll-line);
  --bs-btn-hover-bg: var(--ll-soft);
  --bs-btn-hover-border-color: var(--ll-fg);
  --bs-btn-hover-color: var(--ll-fg);
}

.btn-link {
  --bs-btn-color: var(--ll-accent);
  --bs-btn-hover-color: var(--ll-fg);
  text-decoration: none;
}
.btn-link:hover { text-decoration: underline; }

.form-control, .form-select {
  background: var(--ll-panel);
  color: var(--ll-fg);
  border-color: var(--ll-line);
}

.ll-main a.border.rounded {
  background: var(--ll-panel);
  border-color: var(--ll-line) !important;
  border-radius: 18px !important;
  color: inherit;
}

.no-js .ll-search kbd { visibility: hidden; }

@media (max-width: 800px) {
  .ll-bar { grid-template-columns: 1fr auto; }
  .ll-search { grid-column: 1 / -1; max-width: none; order: 3; margin-bottom: 0.6rem; }
  .ll-pins { grid-template-columns: 1fr; }
  .ll-item, .ll-row { grid-template-columns: 42px 1fr auto; }
}
