@font-face {
  font-family: "G2Hyper";
  src: url("fonts/g2hyper-visible.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Marauder";
  src: url("fonts/marauder-display-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/cabinet-grotesk-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Azeret Mono";
  src: url("fonts/azeret-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Basteleur Moonlight";
  src: url("fonts/basteleur-moonlight.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bluu Next";
  src: url("fonts/bluunext-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-deep: #0a0a0a;
  --bg-0: #171717;
  --bg-1: #202020;
  --bg-2: #2a2a2a;
  --bg-3: #323232;
  --bg-glass: rgba(18, 18, 18, 0.9);

  --shadow-light: rgba(255, 255, 255, 0.045);
  --shadow-light-strong: rgba(255, 255, 255, 0.065);
  --shadow-dark: rgba(0, 0, 0, 0.72);
  --shadow-dark-strong: rgba(0, 0, 0, 0.85);
  --shadow-subtle:
    5px 5px 12px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
  --shadow-inner:
    inset 3px 3px 7px var(--shadow-dark),
    inset -2px -2px 5px var(--shadow-light);
  --shadow-elevated:
    10px 10px 22px var(--shadow-dark-strong),
    -6px -6px 16px var(--shadow-light-strong);

  --ink-primary: #c8c8c8;
  --ink-secondary: #d1cfc0;
  --ink-muted: #9a9a9a;
  --ink-subtle: #6a6a6a;

  --accent-ok: #5c7a8a;
  --accent-ok-bright: #7fa3b3;
  --accent-warn: #a3a89a;
  --accent-neutral: #6e7276;

  --line: #2c2c2c;
  --line-hover: #3a3a3a;
  --line-strong: #4a4a4a;

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-xl: 40px;

  --font-logo: "Basteleur Moonlight", Georgia, serif;
  --font-display: "Bluu Next", Georgia, serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  background: var(--bg-deep);
  color: var(--ink-secondary);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.015) 0%,
      transparent 2px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(255, 255, 255, 0.015) 0%,
      transparent 2px
    );
  background-size: 200px 200px;
  opacity: 0.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms var(--ease);
}

a:hover {
  color: var(--ink-primary);
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  transition: all 200ms var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent-ok);
  color: #ffffff;
}

*:focus-visible {
  outline: 2px solid var(--accent-ok-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 420px) {
  .wrap {
    padding: 0 1.15rem;
  }

  .guide-meta-cell {
    padding-right: 0.5rem;
  }

  .gmc-num {
    font-size: 1.15rem;
  }
}

.btn {
  appearance: none;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-s);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 180ms var(--ease-out-expo);
  position: relative;
  background: var(--bg-1);
  color: var(--ink-secondary);
  cursor: pointer;
  text-decoration: none;
  min-height: 46px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow:
    4px 4px 10px var(--shadow-dark-strong),
    -3px -3px 8px var(--shadow-light);
  white-space: nowrap;
}

.btn:hover {
  color: var(--ink-primary);
  background: var(--bg-2);
  border-color: var(--line-hover);
  box-shadow:
    5px 5px 12px var(--shadow-dark-strong),
    -3px -3px 9px var(--shadow-light-strong);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px var(--shadow-dark-strong),
    inset -2px -2px 4px var(--shadow-light);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(145deg, #333333, #3d3d3d);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    5px 5px 12px var(--shadow-dark-strong),
    -3px -3px 8px var(--shadow-light);
}

.btn-primary:hover {
  background: linear-gradient(145deg, #3d3d3d, #464646);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    7px 7px 16px var(--shadow-dark-strong),
    -4px -4px 10px var(--shadow-light-strong);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.55),
    inset -2px -2px 4px rgba(255, 255, 255, 0.03);
}

.btn-primary:disabled:hover {
  box-shadow: none;
  transform: none;
}

.btn-account {
  background: linear-gradient(
    145deg,
    var(--accent-ok),
    var(--accent-ok-bright)
  );
  color: #0a0a0a;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    5px 5px 12px var(--shadow-dark-strong),
    -3px -3px 8px var(--shadow-light);
}

.btn-account:hover {
  background: linear-gradient(
    145deg,
    var(--accent-ok-bright),
    var(--accent-ok)
  );
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    7px 7px 16px var(--shadow-dark-strong),
    -4px -4px 10px var(--shadow-light-strong);
  transform: translateY(-1px);
}

.btn-account:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.4),
    inset -2px -2px 4px rgba(255, 255, 255, 0.05);
}

.btn-account:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.styled-button {
  position: relative;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(145deg, #2a2a2a, #323232);
  border-radius: 9999px;
  cursor: pointer;
  box-shadow:
    3px 3px 8px var(--shadow-dark),
    -3px -3px 8px rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.styled-button::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  left: -1px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  z-index: -1;
  border-radius: 9999px;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.styled-button:hover {
  transform: translateY(-2px);
  box-shadow:
    5px 5px 12px var(--shadow-dark),
    -5px -5px 12px rgba(255, 255, 255, 0.03);
}

.styled-button:active {
  transform: translateY(0);
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.styled-button .inner-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a1a, #252525);
  width: 40px;
  height: 40px;
  margin-left: 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.styled-button .inner-button .icon {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  transition: all 0.4s ease-in-out;
}

.styled-button .inner-button .icon:hover {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
  transform: rotate(-35deg);
}

.neu-card {
  background: linear-gradient(155deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  padding: 1.5rem;
  transition: all 300ms var(--ease-out-expo);
  box-shadow:
    7px 7px 16px var(--shadow-dark-strong),
    -4px -4px 12px var(--shadow-light);
}

.neu-card:hover {
  border-color: var(--line-hover);
  box-shadow:
    9px 9px 20px var(--shadow-dark-strong),
    -5px -5px 14px var(--shadow-light-strong);
  transform: translateY(-2px);
}

.neu-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-primary);
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: all 200ms var(--ease);
  box-shadow:
    inset 3px 3px 7px var(--shadow-dark-strong),
    inset -2px -2px 5px var(--shadow-light);
}

.neu-input:focus {
  outline: none;
  border-color: var(--accent-ok-bright);
  box-shadow:
    inset 4px 4px 9px var(--shadow-dark-strong),
    inset -2px -2px 6px var(--shadow-light-strong),
    0 0 0 1px rgba(125, 181, 125, 0.15);
}

.neu-input::placeholder {
  color: var(--ink-subtle);
}

.neu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  height: 30px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  background: var(--bg-1);
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.5),
    -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.neu-badge.active {
  color: var(--accent-ok-bright);
  border-color: var(--accent-ok);
  background: rgba(74, 158, 74, 0.1);
}

.neu-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-ok-bright);
  box-shadow: 0 0 4px var(--accent-ok);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  --webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-family: var(--font-logo);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1;
  color: var(--ink-subtle);
  margin-left: 0.4rem;
  padding: 3px 8px;
  background: var(--bg-1);
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-action {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  padding: 0 14px;
  height: 38px;
  border-radius: var(--radius-s);
  background: var(--bg-0);
  border: 1px solid var(--line);
  transition: all 200ms var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.5),
    -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.nav-action:hover {
  color: var(--ink-primary);
  background: var(--bg-1);
  border-color: var(--line-hover);
  transform: translateY(-1px);
}

.nav-action:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  background: var(--bg-0);
  color: var(--ink-secondary);
  flex-shrink: 0;
  transition: all 200ms var(--ease);
  border: 1px solid var(--line);
}

.nav-toggle:hover {
  color: var(--ink-primary);
  background: var(--bg-1);
  border-color: var(--line-hover);
}

.nav-toggle-icon {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    max-height 240ms var(--ease-out-expo),
    opacity 160ms var(--ease-out-expo),
    transform 200ms var(--ease-out-expo);
}

.mobile-nav.open {
  max-height: 260px;
  opacity: 1;
  padding: 0 max(1.15rem, min(1.5rem, 4vw)) 1.1rem;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    max-height 240ms var(--ease-out-expo),
    opacity 200ms var(--ease-out-expo) 20ms,
    transform 240ms var(--ease-out-expo);
}

.mobile-nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-muted);
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--bg-0);
  border: 1px solid var(--line);
  transition:
    color 200ms var(--ease),
    background 200ms var(--ease);
}

.mobile-nav.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open .mobile-nav-link:nth-child(1) {
  transition-delay: 40ms;
}

.mobile-nav.open .mobile-nav-link:nth-child(2) {
  transition-delay: 80ms;
}

.mobile-nav.open .mobile-nav-link:nth-child(3) {
  transition-delay: 120ms;
}

.mobile-nav.open .mobile-nav-link:nth-child(4) {
  transition-delay: 160ms;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--ink-primary);
  background: var(--bg-1);
  border-color: var(--line-hover);
}

@media (max-width: 600px) {
  .header-nav-links {
    display: none;
  }

  .header-nav-links--persist {
    display: flex;
  }

  .header-nav-links--persist .nav-action--back {
    padding: 0;
    width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: var(--radius-s);
    gap: 0;
    justify-content: center;
  }

  .header-nav-links--persist .nav-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.hero {
  padding: 5rem 0 2.5rem;
  position: relative;
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 7rem;
  right: 0;
  width: 480px;
  height: 480px;
  max-width: 42%;
  transform: translateY(-45%);
  background: radial-gradient(
    circle,
    rgba(74, 158, 74, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero::before {
    display: none;
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-subtle);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: 1.5rem;
  padding: 6px 12px;
  min-height: 28px;
  max-width: 100%;
  overflow: hidden;
  background: var(--bg-0);
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.5),
    -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ok-bright);
  flex-shrink: 0;
}

.eyebrow .updated {
  color: var(--ink-subtle);
  opacity: 0.75;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding-left: 0.6rem;
  border-left: 1px solid var(--line);
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 56ch;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-badge {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding: 0 13px;
  height: 35px;
  line-height: 28px;
  border-radius: 999px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  transition: all 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.5),
    -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.meta-badge:hover {
  color: var(--ink-primary);
  background: var(--bg-2);
  border-color: var(--line-hover);
}

.meta-badge.primary {
  color: var(--ink-primary);
  background: var(--bg-2);
  border-color: var(--line-strong);
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.55),
    -1px -1px 3px rgba(255, 255, 255, 0.025);
}

.install-container {
  margin: 0.01rem 0 1.75rem;
  border-radius: var(--radius-m);
  background: var(--bg-0);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 320ms var(--ease-out-expo);
  width: 100%;
  box-shadow:
    5px 5px 14px rgba(0, 0, 0, 0.6),
    -2px -2px 8px rgba(255, 255, 255, 0.025);
}

.install-container:hover {
  border-color: var(--line-hover);
  box-shadow:
    6px 6px 16px rgba(0, 0, 0, 0.65),
    -2px -2px 8px rgba(255, 255, 255, 0.03);
}

.install-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  box-shadow: 0 2px 6px var(--shadow-dark);
}

.install-titlebar-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-subtle);
}

.install-titlebar-label .path-sep {
  color: var(--ink-subtle);
  opacity: 0.5;
  margin: 0 0.15em;
}

.install-titlebar-label .path-current {
  color: var(--accent-ok-bright);
}

.install-body {
  padding: 2rem 1.75rem 2.25rem;
}

.warning-banner {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-0);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  margin: 0.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  box-shadow:
    1px 1px 3px var(--shadow-dark),
    -1px -1px 3px var(--shadow-light);
}

.warning-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-warn);
  border-radius: 2px;
}

.warning-banner .mark {
  font-family: var(--font-mono);
  color: var(--accent-warn);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow:
    inset 1px 1px 2px var(--shadow-dark),
    inset -1px -1px 2px var(--shadow-light);
}

.warning-banner .mark svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.warning-banner.banner-neutral {
  border-color: var(--line);
}

.warning-banner.banner-neutral::before {
  background: var(--accent-ok);
}

.warning-banner.banner-neutral .mark {
  color: var(--accent-ok);
}

.warning-banner p {
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.warning-banner strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

.warning-banner .banner-body {
  flex: 1;
  min-width: 0;
}

.warning-banner .banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-warn);
  padding: 0;
  border-bottom: 1px dashed var(--line-hover);
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.warning-banner .banner-cta:hover {
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.warning-banner .banner-cta svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 280ms var(--ease-spring);
}

.warning-banner .banner-cta[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.manual-toggle {
  border-radius: var(--radius-s);
  background: var(--bg-0);
  border: 1px solid var(--line);
  margin-top: 0.75rem;
  overflow: hidden;
  box-shadow:
    1px 1px 3px var(--shadow-dark),
    -1px -1px 3px var(--shadow-light);
}

.manual-toggle + .manual-toggle {
  margin-top: 0.65rem;
}

.manual-toggle summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
  transition: all 180ms var(--ease);
  min-height: 44px;
  background: transparent;
}

.manual-toggle summary::-webkit-details-marker {
  display: none;
}

.manual-toggle summary:hover {
  color: var(--ink-primary);
  background: var(--bg-1);
}

.manual-toggle summary .summary-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.manual-toggle summary .summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.manual-toggle summary .summary-sub {
  font-size: 0.68rem;
  color: var(--ink-subtle);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.manual-toggle.is-fallback summary .summary-icon {
  color: var(--ink-muted);
}

.manual-toggle summary .summary-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ink-subtle);
}

.manual-toggle summary .chev {
  transition: transform 280ms var(--ease-spring);
  flex-shrink: 0;
}

.manual-toggle[open] summary .chev {
  transform: rotate(180deg);
}

.manual-toggle[open] summary {
  border-bottom: 1px solid var(--line);
}

.manual-toggle-body {
  padding: 1.5rem 1.25rem 1.25rem;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.guide-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.guide-step .num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.guide-step .txt {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  padding-top: 2px;
}

.guide-step .txt code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-primary);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 4px;
}

.guide-step .txt a {
  color: var(--accent-warn);
  border-bottom: 1px dashed var(--line-hover);
}

.guide-step .txt a:hover {
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.guide-note {
  font-size: 0.78rem;
  color: var(--ink-subtle);
  line-height: 1.6;
  padding: 0.75rem 0.9rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.platform-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-s);
  background: var(--bg-0);
  color: var(--ink-secondary);
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  transition: all 220ms var(--ease-out-expo);
  box-shadow:
    3px 3px 7px rgba(0, 0, 0, 0.55),
    -1px -1px 4px rgba(255, 255, 255, 0.02);
}

.platform-btn:hover {
  background: var(--bg-1);
  color: var(--ink-primary);
  border-color: var(--line-hover);
  transform: translateY(-1px);
  box-shadow:
    4px 4px 10px rgba(0, 0, 0, 0.65),
    -2px -2px 5px rgba(255, 255, 255, 0.025);
}

.platform-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    inset 2px 2px 4px rgba(0, 0, 0, 0.45),
    inset -1px -1px 2px rgba(255, 255, 255, 0.02);
}

.platform-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: color 200ms var(--ease);
}

.platform-btn:hover svg {
  color: var(--accent-ok);
}

.platform-btn .label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
  text-align: left;
}

.platform-btn .label .small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.platform-btn .label .big {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
}

.platform-btn.platform-btn-primary {
  background: linear-gradient(145deg, #2a2a2a, #323232);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.platform-btn.platform-btn-primary:hover {
  background: linear-gradient(145deg, #323232, #3a3a3a);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.platform-btn.platform-btn-primary svg {
  color: #ffffff;
}

.platform-btn.platform-btn-primary .label .small {
  color: rgba(255, 255, 255, 0.85);
}

.platform-btn.platform-btn-primary .label .big {
  color: #ffffff;
}

@media (max-width: 600px) {
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 380px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .platform-btn {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
  }

  .platform-btn .label .big {
    font-size: 0.78rem;
  }

  .platform-btn .label .small {
    font-size: 0.55rem;
  }
}

.providers-toggle-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-muted);
  min-height: 44px;
  margin: 0 0 1rem;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: all 180ms var(--ease);
}

.providers-toggle-btn:hover {
  color: var(--ink-primary);
  background: var(--bg-1);
  border-color: var(--line-hover);
}

.providers-toggle-btn .chev {
  transition: transform 280ms var(--ease-spring);
  flex-shrink: 0;
}

.providers-toggle-btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

@media (max-width: 600px) {
  .providers-toggle-btn {
    display: flex;
  }

  .providers-body {
    display: none;
  }

  .providers-body.expanded {
    display: block;
  }
}

.step-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-subtle);
}

.path-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink-secondary);
  padding: 1.25rem 1.5rem;
  background: var(--bg-0);
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
  transition: all 200ms var(--ease);
}

.path-row:hover {
  background: var(--bg-1);
  border-color: var(--line-hover);
}

.path-row .seg {
  color: var(--ink-primary);
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
}

.path-row .sep {
  color: var(--ink-subtle);
  font-weight: 300;
}

.repo-url-box {
  margin-bottom: 1.5rem;
}

.repo-url-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
}

.repo-url-field {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  min-height: 52px;
  box-shadow:
    inset 2px 2px 6px rgba(0, 0, 0, 0.5),
    inset -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.repo-url-field:focus-within {
  border-color: var(--accent-ok-bright);
}

.repo-url-value {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--ink-secondary);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  word-break: break-all;
  background: transparent;
}

.repo-copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-primary);
  padding: 0 1.5rem;
  background: var(--bg-1);
  border-left: 1px solid var(--line);
  transition: all 180ms var(--ease);
  min-width: 120px;
  min-height: 56px;
  touch-action: manipulation;
}

.repo-copy-btn:hover {
  background: var(--bg-2);
}

.repo-copy-btn:active {
  transform: translateY(1px);
}

.repo-copy-btn.copied {
  color: #ffffff;
  background: var(--accent-ok);
}

.action-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  margin: 0.5rem 0 1.5rem;
  align-items: stretch;
}

.action-buttons .btn {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 480px) {
  .action-buttons {
    flex-wrap: wrap;
  }

  .action-buttons .btn:first-child {
    flex: 1 1 100%;
  }

  .action-buttons .btn:not(:first-child) {
    flex: 1 1 calc(50% - 0.325rem);
  }
}

.quick-add-select {
  width: auto;
  flex: 1 1 200px;
  min-width: 160px;
}

.btn-add-top {
  display: none;
}

.fallback-link-mobile {
  display: none;
}

@media (max-width: 600px) {
  .btn-add-top {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .fallback-link-mobile {
    display: block;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-muted);
    padding: 0;
    margin: 0.5rem auto 1.25rem;
    border-bottom: 1px dashed var(--line-hover);
    width: fit-content;
    transition:
      color 180ms var(--ease),
      border-color 180ms var(--ease);
  }

  .fallback-link-mobile:hover,
  .fallback-link-mobile:active {
    color: var(--ink-primary);
    border-color: var(--ink-primary);
  }
}

.fab-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2a2a2a, #323232);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: all 220ms var(--ease);
  pointer-events: none;
  cursor: pointer;
}

.fab-top svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.fab-top:hover,
.fab-top:active {
  background: linear-gradient(145deg, #323232, #3a3a3a);
}

.fab-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (min-width: 601px) {
  .fab-top {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .fab-top {
    display: inline-flex;
  }
}

.account-section {
  padding: 1rem 0 2rem;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-form > button[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 0.4rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-primary);
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0.95rem 1.1rem;
  min-height: 52px;
  transition: all 200ms var(--ease);
  appearance: none;
  box-shadow:
    inset 3px 3px 7px var(--shadow-dark-strong),
    inset -2px -2px 5px var(--shadow-light);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-ok-bright);
  box-shadow:
    inset 4px 4px 9px var(--shadow-dark-strong),
    inset -2px -2px 6px var(--shadow-light-strong),
    0 0 0 1px rgba(125, 181, 125, 0.15);
}

.form-input::placeholder {
  color: var(--ink-subtle);
}

select.form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23707070' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.75rem;
}

select.form-input option {
  background: var(--bg-1);
  color: var(--ink-primary);
}

.auth-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
  align-items: stretch;
}

.auth-tabs .filter-chip {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-s);
  height: auto;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.3;
  white-space: normal;
  word-break: normal;
}

@media (max-width: 480px) {
  .auth-tabs {
    flex-direction: column;
  }

  .auth-tabs .filter-chip {
    width: 100%;
  }
}

.sync-status.pending {
  color: var(--ink-muted);
}

.sync-status.pending::before {
  background: var(--ink-muted);
}

.account-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  background: var(--bg-1);
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -3px -3px 8px var(--shadow-light);
}

.account-user-row .who {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  word-break: break-all;
}

.account-user-row .who::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ok-bright);
  flex-shrink: 0;
}

.link-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  padding: 4px 0;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--ink-primary);
}

#signOutBtn {
  padding: 6px 14px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg-0);
  border: 1px solid var(--line);
  transition: all 200ms var(--ease);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  box-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.5),
    -1px -1px 3px rgba(255, 255, 255, 0.02);
}

#signOutBtn:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
  color: var(--ink-primary);
  box-shadow:
    3px 3px 7px rgba(0, 0, 0, 0.55),
    -1px -1px 3px rgba(255, 255, 255, 0.025);
}

@media (max-width: 420px) {
  .form-input {
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }
}

.providers-section {
  padding: 2rem 0 2rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  padding-left: 1rem;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 2px;
  background: var(--accent-neutral);
}

.section-head h2 svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent-ok);
}

.section-stats {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-subtle);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-stats b {
  color: var(--ink-primary);
  font-weight: 600;
}

.sync-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0.85rem 0 1rem;
}

.sync-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-subtle);
}

.sync-status.ok::before {
  background: var(--accent-ok-bright);
}

.sync-status.error {
  color: #ff6b6b;
}

.sync-status.error::before {
  background: #ff6b6b;
}

.providers-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
  flex-wrap: wrap;
}

.provider-sort {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0 2rem 0 0.85rem;
  height: 38px;
  cursor: pointer;
  appearance: none;
  box-shadow:
    inset 2px 2px 4px rgba(0, 0, 0, 0.45),
    inset -1px -1px 2px rgba(255, 255, 255, 0.02);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a6a6a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px;
  transition:
    border-color 180ms var(--ease),
    color 180ms var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}

.provider-sort:focus {
  outline: none;
  border-color: var(--accent-ok-bright);
}

.provider-sort:hover {
  color: var(--ink-primary);
  border-color: var(--line-hover);
}

.provider-sort option {
  background: var(--bg-1);
  color: var(--ink-primary);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0.75rem;
  align-items: center;
}

.filter-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 0 1rem;
  height: 32px;
  line-height: 32px;
  border-radius: 999px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  transition: all 180ms var(--ease-out-expo);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    2px 2px 5px var(--shadow-dark),
    -1px -1px 3px rgba(255, 255, 255, 0.025);
}

.filter-chip:hover {
  color: var(--ink-primary);
  background: var(--bg-2);
  border-color: var(--line-hover);
}

.filter-chip:active {
  box-shadow:
    inset 2px 2px 4px var(--shadow-dark),
    inset -1px -1px 3px rgba(255, 255, 255, 0.02);
  transform: scale(0.97);
}

.filter-chip.active {
  color: var(--accent-ok-bright);
  background: rgba(90, 138, 90, 0.1);
  border-color: var(--accent-ok);
  box-shadow:
    inset 2px 2px 4px rgba(0, 0, 0, 0.35),
    inset -1px -1px 3px rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(90, 138, 90, 0.15);
}

.provider-row.filtered-out {
  display: none;
}

.no-results {
  display: none;
  padding: 2rem 0.5rem;
  text-align: center;
  color: var(--ink-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.no-results.visible {
  display: block;
}

.manifest-list {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.provider-row {
  display: grid;
  grid-template-columns: 2.4fr 2.6fr 1.3fr 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 1.5rem;
  background: var(--bg-0);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  transition: all 220ms var(--ease-out-expo);
  box-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.45),
    -1px -1px 3px rgba(255, 255, 255, 0.015);
}

.provider-row:hover {
  background: var(--bg-1);
  border-color: var(--line-hover);
  transform: translateY(-1px);
  box-shadow:
    3px 3px 10px rgba(0, 0, 0, 0.6),
    -1px -1px 4px rgba(255, 255, 255, 0.02);
}

.provider-row.disabled {
  opacity: 0.6;
}

.provider-row.disabled .provider-name {
  color: var(--ink-muted);
}

.disabled-reason {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-warn);
  background: rgba(184, 148, 90, 0.1);
  border: 1px solid rgba(184, 148, 90, 0.3);
  border-radius: var(--radius-s);
  padding: 2px 8px;
  margin-top: 3px;
  width: fit-content;
}

.provider-row.skeleton-row {
  pointer-events: none;
}

.provider-row.skeleton-row:hover {
  background: none;
  transform: none;
}

.skeleton-block {
  display: block;
  border-radius: 4px;
  background: var(--bg-1);
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.provider-row.skeleton-row .provider-id,
.provider-row.skeleton-row .provider-meta {
  gap: 8px;
}

@keyframes skeletonPulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-block {
    animation: none;
    background: var(--bg-2);
  }
}

.provider-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.provider-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.provider-provider {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 10px;
  border-radius: var(--radius-s);
  background: var(--bg-1);
  border: 1px solid var(--line);
}

.provider-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.provider-meta .row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.provider-meta .k {
  color: var(--ink-subtle);
  min-width: 4.5rem;
  flex-shrink: 0;
}

.provider-meta .v {
  color: var(--ink-secondary);
}

.provider-notes {
  font-size: 0.85rem;
  color: var(--ink-subtle);
  line-height: 1.6;
  align-self: center;
}

.status-cell {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: var(--bg-1);
  border: 1px solid var(--line);
}

.status-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.status-pill.on {
  color: #c9c7c1;
  background: linear-gradient(145deg, #2a2a2a, #323232);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-pill.on::before {
  background: var(--accent-ok-bright);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(125, 181, 125, 0.5);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(125, 181, 125, 0);
  }
}

.status-pill.off {
  color: var(--ink-muted);
  background: var(--bg-1);
}

.status-pill.off::before {
  background: var(--ink-muted);
}

.provider-provider.focus-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 10px;
  border-radius: var(--radius-s);
  background: var(--accent-ok-bright);
  color: #ffffff;
  border: none;
}

.col-head {
  display: grid;
  grid-template-columns: 2.4fr 2.6fr 1.3fr 1fr;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0 0.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.col-head .end {
  text-align: right;
}

.section-head.legal-head {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 2rem;
}

.legal-section {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}

.legal-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 2rem 2.25rem;
  background: var(--bg-0);
  margin: 0 0 1.5rem;
  transition: all 220ms var(--ease-out-expo);
  width: 100%;
  overflow-wrap: break-word;
  box-shadow:
    3px 3px 9px rgba(0, 0, 0, 0.5),
    -1px -1px 5px rgba(255, 255, 255, 0.02);
}

.legal-block:hover {
  border-color: var(--line-hover);
  transform: translateY(-1px);
  box-shadow:
    5px 5px 12px rgba(0, 0, 0, 0.6),
    -2px -2px 6px rgba(255, 255, 255, 0.025);
}

.legal-block h3 {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.legal-block h3 svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ink-muted);
}

.legal-block p {
  color: var(--ink-subtle);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  text-align: left;
  hyphens: auto;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.license-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  padding: 10px 18px;
  border-radius: var(--radius-s);
  transition: all 220ms var(--ease-out-expo);
  background: var(--bg-1);
  border: 1px solid var(--line);
  text-decoration: none;
  min-height: 44px;
}

.license-link:hover {
  color: var(--ink-primary);
  background: var(--bg-2);
  border-color: var(--line-hover);
  transform: translateY(-2px);
}

.license-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  color: var(--ink-subtle);
  font-size: 0.74rem;
}

.footer-link {
  color: var(--ink-muted);
  transition: color 150ms var(--ease);
}

.footer-link:hover {
  color: var(--ink-primary);
}

@media (min-width: 601px) and (max-width: 900px) {
  .col-head {
    grid-template-columns: 2fr 2fr 1fr;
  }

  .col-head .end {
    display: none;
  }

  .provider-row {
    grid-template-columns: 2fr 2fr 1fr;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
  }

  .status-cell {
    display: none;
  }

  .provider-notes {
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .col-head {
    display: none;
  }

  .provider-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.1rem 1.1rem;
  }

  .provider-row:hover {
    transform: none;
  }

  .status-cell {
    justify-content: flex-start;
  }

  .action-buttons {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .action-buttons .btn {
    width: 100%;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
  }

  .quick-add-select {
    width: 100%;
    flex-basis: 100%;
  }

  .repo-url-field {
    flex-direction: column;
  }

  .repo-copy-btn {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 1rem;
    justify-content: center;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .legal-block {
    padding: 1.75rem;
  }

  .section-stats {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .providers-section {
    padding: 1.75rem 0 1.75rem;
  }

  .account-section {
    padding: 0.75rem 0 1.75rem;
  }

  .legal-section {
    margin-top: 0.75rem;
    padding: 2rem 0 2.5rem;
  }
}

@media (max-width: 600px) {
  .header-inner {
    min-height: 66px;
    gap: 0.75rem;
    align-items: center;
  }

  .header-nav-links {
    gap: 0.35rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .nav-action {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .hero-description {
    max-width: none;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-meta {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .btn-add-top {
    display: flex;
    width: 100%;
    margin-bottom: 0.25rem;
    justify-content: center;
    white-space: nowrap;
    overflow: visible;
    font-size: 0.9rem;
  }

  .btn-add-desktop {
    display: none;
  }

  .meta-badge {
    font-size: 0.68rem;
    padding: 5px 10px;
  }

  .install-container {
    margin: 1.5rem 0 1.5rem;
    border-radius: 0;
  }

  .install-body {
    padding: 1.5rem 1.25rem;
  }

  .install-titlebar {
    padding: 0.75rem 1.25rem;
  }

  .warning-banner {
    flex-direction: row;
    padding: 1rem;
    font-size: 0.85rem;
  }

  .path-row {
    font-size: 0.85rem;
    padding: 1rem;
    margin-bottom: 1.25rem;
  }

  .path-row .seg {
    font-size: 0.82rem;
    padding: 3px 8px;
  }

  .repo-url-value {
    font-size: 0.8rem;
    padding: 1rem;
  }

  .repo-url-box {
    margin-bottom: 1.25rem;
  }

  .section-head {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    padding-bottom: 1rem;
  }

  .section-head h2 {
    font-size: 1.5rem;
  }

  .providers-section .section-stats {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: var(--bg-1);
  }

  .provider-row {
    padding: 1rem;
    margin: 0.25rem 0;
  }

  .provider-meta .row {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    --webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-bottom: 0.65rem;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex-shrink: 0;
  }

  .providers-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .provider-search,
  .provider-sort {
    width: 100%;
    min-width: unset;
  }

  .providers-section {
    padding: 1.5rem 0 1.5rem;
  }

  .account-section {
    padding: 0.75rem 0 1.75rem;
  }

  .legal-section {
    margin-top: 0.5rem;
    padding: 2rem 0 2.5rem;
  }

  .legal-block {
    padding: 1.5rem;
    margin: 0 0 1rem;
  }

  .legal-block h3 {
    font-size: 0.82rem;
  }

  .legal-block p {
    font-size: 0.82rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .site-footer {
    padding: 0.75rem 0;
  }

  .account-user-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding: 0 1rem;
  }

  h1.hero-title {
    font-size: xx-large;
  }

  .eyebrow {
    font-size: 0.65rem;
    padding: 5px 10px;
    margin-bottom: 1.25rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-meta {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .meta-badge {
    font-size: 0.68rem;
    padding: 5px 10px;
  }

  .install-container {
    margin: 1.25rem 0 1rem;
    border-radius: 0;
    border-radius: var(--radius-s);
  }

  .install-body {
    padding: 1.25rem 1rem;
  }

  .warning-banner {
    padding: 0.85rem;
  }

  .step-label {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }

  .path-row {
    font-size: 0.75rem;
    padding: 0.85rem;
    margin-bottom: 1rem;
  }

  .repo-url-value {
    font-size: 0.75rem;
    padding: 0.85rem 1rem;
    word-break: break-all;
    line-height: 1.4;
  }

  .repo-url-box {
    margin-bottom: 1rem;
  }

  .repo-copy-btn {
    font-size: 0.72rem;
    padding: 0.85rem;
    min-width: 100px;
  }

  .btn {
    font-size: 0.82rem;
    padding: 0.75rem 1.25rem;
    min-height: 48px;
  }

  .providers-section {
    padding: 1.25rem 0 1.25rem;
  }

  .legal-section {
    padding: 1.25rem 0 1.5rem;
    margin-top: 0.5rem;
  }

  .legal-block {
    padding: 1.25rem;
  }

  .legal-block h3 {
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
  }

  .legal-block p {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .provider-row {
    padding: 1rem 0.75rem;
  }

  .provider-name {
    font-size: 0.9rem;
  }

  .status-pill {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .section-head h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 360px) {
  h1.hero-title {
    font-size: 1.5rem;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .install-body {
    padding: 1rem;
  }

  .repo-copy-btn svg {
    width: 14px;
    height: 14px;
  }

  .btn svg {
    width: 14px;
    height: 14px;
  }
}

@supports (padding: max(0px)) {
  .wrap {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .site-footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  @media (max-width: 600px) {
    .wrap {
      padding-left: max(1rem, env(safe-area-inset-left));
      padding-right: max(1rem, env(safe-area-inset-right));
    }

    .site-footer {
      padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
  }
}

@media (prefers-contrast: high) {
  :root {
    --line: rgba(255, 255, 255, 0.2);
    --line-hover: rgba(255, 255, 255, 0.3);
    --line-strong: rgba(255, 255, 255, 0.4);
    --ink-muted: #a0a0a0;
  }

  .btn {
    border-width: 2px;
  }
}

.privacy-note-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.5rem 1.75rem;
  background: var(--bg-1);
  margin: 0 0 1.5rem;
}

.privacy-note-block h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.privacy-note-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.privacy-note-block li {
  font-size: 0.82rem;
  color: var(--ink-subtle);
  line-height: 1.65;
  padding-left: 1.1rem;
  position: relative;
}

.privacy-note-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-ok);
}

.privacy-note-block strong {
  color: var(--ink-secondary);
  font-weight: 600;
}

.guide-hero {
  padding-bottom: 0.001rem;
}

.guide-meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.guide-meta-cell {
  padding: 0.85rem 1rem 0.85rem 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.guide-meta-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.gmc-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
}

.gmc-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.install-titlebar-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-ok-bright);
  box-shadow: 0 0 0 0 rgba(127, 163, 179, 0.5);
  animation: liveDotPulse 2.2s var(--ease) infinite;
}

@keyframes liveDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(127, 163, 179, 0.45);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(127, 163, 179, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(127, 163, 179, 0);
  }
}

.guide-footnote-box {
  margin: 1.75rem 0 3rem;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  background: var(--bg-1);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent-ok);
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.gfb-mark {
  font-family: var(--font-mono);
  color: var(--accent-ok-bright);
  font-size: 1rem;
  flex-shrink: 0;
}

.guide-footnote-box a {
  color: var(--accent-ok-bright);
  border-bottom: 1px dashed var(--line-hover);
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.guide-footnote-box a:hover {
  border-color: var(--ink-primary);
}

.wizard-card-body p {
  margin: 0 0 0.96rem;
}

.wizard-card-body p:last-child {
  margin-bottom: 0;
}

.wizard-card-body .account-form,
.wizard-card-body .auth-tabs,
.wizard-card-body .sync-status,
.wizard-card-body .guide-note {
  margin-top: 0.25rem;
}

.wizard-stage {
  animation: wizardFadeIn 320ms var(--ease-out-expo);
}

@keyframes wizardFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.1rem;
  transition: color 180ms var(--ease);
}

.wizard-back:hover {
  color: var(--accent-ok-bright);
}

.wizard-back svg {
  width: 14px;
  height: 14px;
}

.platform-pick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.platform-pick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-0);
  color: var(--ink-secondary);
  text-align: center;
  transition: all 220ms var(--ease-out-expo);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.55),
    -1px -1px 4px rgba(255, 255, 255, 0.02);
}

.platform-pick-card:hover {
  border-color: var(--accent-ok);
  background: var(--bg-1);
  color: var(--ink-primary);
  transform: translateY(-2px);
  box-shadow:
    5px 5px 12px rgba(0, 0, 0, 0.65),
    -2px -2px 6px rgba(255, 255, 255, 0.03);
}

.platform-pick-card:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    inset 2px 2px 5px rgba(0, 0, 0, 0.45),
    inset -1px -1px 3px rgba(255, 255, 255, 0.02);
}

.ppc-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition:
    color 200ms var(--ease),
    border-color 200ms var(--ease),
    background 200ms var(--ease);
}

.platform-pick-card:hover .ppc-icon {
  color: var(--accent-ok-bright);
  border-color: var(--accent-ok);
  background: rgba(90, 138, 90, 0.08);
}

.ppc-icon svg {
  width: 60%;
  height: 60%;
}

.ppc-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
}

.ppc-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 760px) {
  .platform-pick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }
}

@media (max-width: 520px) {
  .platform-pick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .platform-pick-card {
    padding: 1.1rem 0.5rem;
    gap: 0.4rem;
  }

  .ppc-icon {
    width: 28px;
    height: 28px;
  }

  .ppc-label {
    font-size: 0.78rem;
  }

  .ppc-sub {
    font-size: 0.58rem;
  }
}

@media (max-width: 360px) {
  .platform-pick-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .platform-pick-card {
    padding: 0.9rem 0.4rem;
  }
}

.method-pick-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.method-pick-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-1);
  text-align: left;
  transition: all 220ms var(--ease-out-expo);
  box-shadow:
    3px 3px 8px rgba(0, 0, 0, 0.5),
    -1px -1px 4px rgba(255, 255, 255, 0.02);
}

.method-pick-card:hover {
  border-color: var(--accent-ok);
  background: var(--bg-2);
  transform: translateX(3px);
  box-shadow:
    4px 4px 10px rgba(0, 0, 0, 0.6),
    -1px -1px 4px rgba(255, 255, 255, 0.025);
}

.mpc-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mpc-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.mpc-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  background: var(--accent-ok);
  border-radius: 999px;
  padding: 2px 8px;
}

.mpc-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.wizard-dots {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.wizard-dots::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.wizard-dot {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  transition: all 200ms var(--ease);
}

.wizard-dot.done::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--accent-ok);
  transform: translateY(-50%);
}

.wizard-dot.done {
  background: var(--accent-ok-bright);
  border-color: var(--accent-ok);
}

.wizard-dot.active {
  background: var(--accent-ok-bright);
  transform: scale(1.35);
}

.wizard-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.wizard-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, var(--bg-1) 0%, var(--bg-0) 100%);
  padding: 1.5rem 1.5rem 1.6rem;
  margin-bottom: 1.5rem;
  box-shadow:
    7px 7px 16px var(--shadow-dark-strong),
    -4px -4px 12px var(--shadow-light);
  overflow: hidden;
}

.wizard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-ok) 0%,
    var(--accent-ok-bright) 50%,
    transparent 100%
  );
  opacity: 0.7;
}

.wizard-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.wizard-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.9rem;
}

.wizard-card-body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.wizard-card-body code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-primary);
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 4px;
}

.wizard-card-body a {
  color: var(--accent-ok);
  border-bottom: 1px dashed var(--line-hover);
}

.wizard-card-body a:hover {
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.wizard-card-body .path-row {
  margin: 0.75rem 0;
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wizard-nav .btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 520px) {
  .wizard-nav {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }

  .wizard-nav .btn {
    width: 100%;
    justify-content: center;
    flex: none;
  }
}

.panel-nav {
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.panel-nav-select {
  display: none;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .panel-nav {
    display: none;
  }

  .panel-nav-select {
    display: block;
  }
}

.panel {
  animation: panel-fade-in 0.2s var(--ease-out-expo);
}

@keyframes panel-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-group .reveal {
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
}

.panel-head {
  margin-bottom: 1rem;
}

.panel-desc {
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.resource-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-1);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  flex-wrap: wrap;
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -3px -3px 8px var(--shadow-light);
}

.resource-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.resource-name {
  color: var(--ink-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.resource-url {
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.resource-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.resource-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-secondary);
  font-size: 0.85rem;
  cursor: pointer;
}

.resource-toggle input[type="checkbox"] {
  accent-color: var(--accent-ok);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.link-btn.danger {
  color: #ff6b6b;
}

.link-btn.danger:hover {
  color: #ffa0a0;
}

.empty-hint {
  color: var(--ink-subtle);
  font-size: 0.9rem;
  font-style: italic;
  padding: 0.5rem 0;
}

.json-editor {
  width: 100%;
  min-height: 220px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  resize: vertical;
  white-space: pre;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 1rem;
  color: var(--ink-primary);
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.overview-table th,
.overview-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-secondary);
}

.overview-table th {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg-1);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  box-shadow:
    4px 4px 10px var(--shadow-dark),
    -3px -3px 8px var(--shadow-light);
}

.profile-row-index {
  font-family: var(--font-mono);
  color: var(--ink-subtle);
  font-size: 0.85rem;
  padding-top: 0.4rem;
  flex-shrink: 0;
}

.profile-row-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  flex: 1;
  min-width: 240px;
  align-items: end;
}

.profile-row-fields .resource-toggle {
  align-self: center;
}

.profile-row-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .resource-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-row {
    flex-direction: column;
  }

  .profile-row-actions {
    flex-direction: row;
    align-items: center;
  }
}

body {
  padding-top: env(safe-area-inset-top, 0);
  padding-bottom: env(safe-area-inset-bottom, 0);
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

@media (max-width: 760px) {
  html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior-y: none;
  }

  body {
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-header {
    padding-top: env(safe-area-inset-top, 0);
  }

  .header-inner {
    min-height: 60px;
  }

  .wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn,
  .nav-action,
  .nav-toggle,
  .mobile-nav-link,
  .link-btn,
  button,
  a.btn {
    min-height: 44px;
  }

  .site-header,
  .btn,
  .nav-action,
  .nav-toggle,
  .mobile-nav-link,
  .wizard-nav .btn,
  .neu-card,
  .resource-row,
  footer.site-footer {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .btn:active,
  .nav-action:active,
  .styled-button:active,
  .neu-card:active {
    transform: scale(0.97);
    transition: transform 90ms var(--ease-out-expo);
  }

  .neu-card,
  .resource-row,
  .wizard-card,
  .profile-row {
    border-radius: var(--radius-m);
  }

  .site-footer {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  }

  .mobile-nav.open {
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0));
  }

  input,
  select,
  textarea,
  .neu-input,
  .json-editor {
    font-size: max(16px, 0.95rem);
  }

  .wizard-dots,
  .panel-nav {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .wizard-dots::-webkit-scrollbar,
  .panel-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .header-inner {
    min-height: 52px;
  }
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 760px) {
  .mobile-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    --webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0));
    justify-content: space-around;
  }

  .tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--ink-subtle);
    font-size: 0.68rem;
    font-weight: 500;
    min-width: 60px;
    min-height: 44px;
    justify-content: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }

  .tabbar-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
  }

  .tabbar-item.active {
    color: var(--ink-primary);
  }

  body:has(.mobile-tabbar) {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
  }

  .fab-top {
    bottom: calc(70px + env(safe-area-inset-bottom, 0));
  }
}

.tap-bounce-active {
  transform: scale(0.93) !important;
  transition: transform 90ms var(--ease-out-expo) !important;
}

.ptr-indicator {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0) + 6px);
  left: 50%;
  transform: translate(-50%, -60px);
  width: 32px;
  height: 32px;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 120ms var(--ease-out-expo);
}

@media (max-width: 760px) {
  .ptr-indicator {
    display: flex;
  }
}

.ptr-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-hover);
  border-top-color: var(--ink-primary);
  transition: border-color 150ms var(--ease);
}

.ptr-indicator.ready .ptr-spinner {
  border-top-color: var(--accent-ok-bright);
}

.ptr-indicator.loading .ptr-spinner {
  animation: ptr-spin 0.6s linear infinite;
}

@keyframes ptr-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes panel-slide-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 760px) {
  .panel {
    animation: panel-slide-in 0.26s var(--ease-out-expo);
  }
}

@media (max-width: 760px) {
  .neu-card,
  .resource-row,
  .profile-row,
  .wizard-card,
  .btn,
  .btn-primary,
  .btn-account,
  .styled-button {
    box-shadow:
      2px 2px 5px var(--shadow-dark),
      -2px -2px 5px var(--shadow-light) !important;
  }

  .btn:active,
  .btn-primary:active,
  .btn-account:active,
  .styled-button:active {
    box-shadow: inset 2px 2px 4px var(--shadow-dark-strong) !important;
  }
}

@media (min-width: 761px) {
  .filter-chip,
  .tabbar-item,
  .provider-row,
  .resource-row,
  .neu-card,
  .profile-row {
    cursor: pointer;
  }
}

@media (min-width: 1400px) {
  .wrap {
    max-width: 1200px;
  }
}

@media (min-width: 761px) {
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--line-hover) var(--bg-0);
  }

  *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  *::-webkit-scrollbar-track {
    background: var(--bg-0);
  }

  *::-webkit-scrollbar-thumb {
    background: var(--line-hover);
    border-radius: var(--radius-s);
    border: 2px solid var(--bg-0);
  }

  *::-webkit-scrollbar-thumb:hover {
    background: var(--line-strong);
  }
}

@media (min-width: 761px) {
  .filter-bar {
    position: sticky;
    top: 72px;
    z-index: 40;
    backdrop-filter: blur(14px);
    --webkit-backdrop-filter: blur(14px);
    padding: 0.75rem 0;
    margin: 1.5rem 0 0.75rem;
    transition:
      box-shadow 200ms var(--ease),
      border-color 200ms var(--ease);
    border-bottom: 1px solid transparent;
  }

  .filter-bar.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
  }
}

@media (min-width: 761px) {
  .site-header {
    box-shadow: none;
    transition: box-shadow 220ms var(--ease);
  }

  .site-header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  }
}

@media (min-width: 1000px) {
  .col-head {
    display: none;
  }

  .manifest-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .provider-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "id     status"
      "meta   meta"
      "notes  notes";
    row-gap: 0.6rem;
  }

  .provider-row .provider-id {
    grid-area: id;
  }

  .provider-row .provider-meta {
    grid-area: meta;
  }

  .provider-row .provider-notes {
    grid-area: notes;
  }

  .provider-row .status-cell {
    grid-area: status;
    justify-self: end;
  }
}

@media (min-width: 1500px) {
  .manifest-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 761px) {
  .guide-hero {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .guide-hero .hero-title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
  }

  .guide-hero .hero-description {
    font-size: 1.05rem;
    max-width: 46ch;
  }

  .install-container {
    margin-top: 0.5rem;
  }

  .install-body {
    padding: 2.75rem 3rem 3rem;
  }

  .platform-pick-grid {
    gap: 1rem;
  }

  .platform-pick-card {
    padding: 1.75rem 1rem;
    gap: 0.75rem;
  }

  .ppc-icon {
    width: 58px;
    height: 58px;
  }

  .ppc-label {
    font-size: 0.92rem;
  }

  .guide-footnote-box {
    padding: 1.5rem 2rem;
    font-size: 0.95rem;
  }
}