/* repocheck Checker, standalone: the page shell and design tokens the Checker
   view (checker.css) builds on. repocheck's own look; nothing from the
   Navigator template. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root { color-scheme: light dark; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { overflow: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

.nv {
  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: #ECECEF; --bg: #FFFFFF; --bg2: #F4F4F6;
  --ink: #17171A; --ink2: #55555D; --ink3: #8A8A93;
  --line: rgba(20, 20, 30, .07); --line2: rgba(20, 20, 30, .13); --hair: rgba(20, 20, 30, .09);
  --on: #17171A; --on-ink: #FFFFFF;
  position: fixed; inset: 0; display: grid; grid-template-rows: 56px minmax(0, 1fr);
  font-family: var(--f); color: var(--ink); background: var(--page);
}
.nv[data-theme="dark"] {
  --page: #0B0B0D; --bg: #131316; --bg2: #1B1B1F;
  --ink: #F3F3F5; --ink2: #A2A2AB; --ink3: #6C6C75;
  --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .13); --hair: rgba(255, 255, 255, .09);
  --on: #F3F3F5; --on-ink: #0B0B0D;
}

/* the top bar */
.nv .bar { display: flex; align-items: center; gap: 14px; padding: 0 22px; }
.nv .mark { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: -.02em; text-decoration: none; }
.nv .mark img { width: 24px; height: 24px; border-radius: 7px; }
.nv .tag { font-size: 13px; color: var(--ink3); }
.nv .sp { flex: 1; }
.nv .act { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--ink2); transition: background .15s ease, color .15s ease; }
.nv .act:hover { background: var(--bg); color: var(--ink); }
.nv .act svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nv[data-theme="dark"] .act .i-moon, .nv:not([data-theme="dark"]) .act .i-sun { display: none; }

/* the pane the Checker fills */
.nv .pane { position: relative; margin: 0 14px 14px; border-radius: 24px; background: var(--bg); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }

/* buttons the Checker uses */
.nv .touch {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  background: var(--on); color: var(--on-ink); font-weight: 600; letter-spacing: -.01em;
  transition: filter .15s ease, transform .18s cubic-bezier(.2, .8, .2, 1);
}
.nv .touch:hover { filter: brightness(1.12); }
.nv .ghost {
  display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2);
  transition: background .15s ease;
}
.nv .ghost:hover { background: var(--bg2); }

@media (max-width: 600px) {
  .nv { grid-template-rows: 52px minmax(0, 1fr); }
  .nv .bar { padding: 0 14px; }
  .nv .tag { display: none; }
  .nv .pane { margin: 0 8px 8px; border-radius: 20px; }
}
