:root {
  --background: #1b1b1b;
  --foreground: #f5f5f5;
  --card: #242424;
  --muted: #a3a3a3;
  --muted-foreground: #a3a3a3;
  --border: #2e2e2e;
  --border-soft: #1f1f1f;
  --accent: #ffa500;
  --accent-2: #ff9900;
  --accent-hover: #ffb347;
  --accent-foreground: #0f0f0f;
  --nav: #0a0a0a;
  --footer: #141414;
  --input: #2b2b2b;
  --ring: rgba(255, 153, 0, 0.4);
  --radius: 0.75rem;
  --maxw: 72rem;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #ffa500;
  color: #0f0f0f;
}

.gh-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ffa500;
  color: #0f0f0f;
  font-weight: 700;
  text-decoration: none;
}

.gh-skip-link:focus {
  left: 16px;
  top: 16px;
}

.gh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gh-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 16px;
}

@media (min-width: 640px) {
  .gh-container {
    padding-inline: 24px;
  }
}

.gh-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #000;
  background: var(--nav);
}

.gh-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
}

@media (min-width: 640px) {
  .gh-topbar {
    height: 56px;
    gap: 12px;
  }
}

.gh-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #fff;
  transition: background 160ms ease, color 160ms ease;
}

.gh-icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.gh-icon {
  width: 22px;
  height: 22px;
}

.gh-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}

@media (min-width: 640px) {
  .gh-logo-link {
    font-size: 20px;
  }
}

.gh-logo-text {
  line-height: 1;
}

.gh-logo-accent {
  color: #ffa500;
}

.gh-nav-search-spacer {
  flex: 1;
  min-width: 0;
}

.gh-nav-search-slot {
  flex: 1;
  min-width: 0;
  margin-left: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .gh-nav-search-slot {
    margin-left: 8px;
  }
}

.gh-nav-proxy-form {
  width: 100%;
  min-width: 0;
}

.gh-nav-proxy-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 48rem;
  margin: 0 auto;
}

.gh-nav-proxy-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.55);
}

.gh-nav-proxy-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #000;
  background: var(--input);
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gh-nav-proxy-input::placeholder {
  color: #737373;
}

.gh-nav-proxy-input:focus {
  border-color: rgba(255, 153, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.4);
}

.gh-nav-engine {
  flex-shrink: 0;
  max-width: 7.5rem;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #000;
  background: var(--input);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  outline: none;
}

.gh-nav-proxy-submit {
  flex-shrink: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  min-width: 76px;
}

.gh-site-header.gh-has-proxy-bar .gh-topbar {
  flex-wrap: wrap;
  row-gap: 8px;
  height: auto;
  min-height: 52px;
  padding: 4px 0;
}

@media (min-width: 900px) {
  .gh-site-header.gh-has-proxy-bar .gh-topbar {
    flex-wrap: nowrap;
    height: 56px;
    padding: 0;
  }
}

@media (max-width: 899px) {
  .gh-site-header.gh-has-proxy-bar .gh-logo-link {
    order: 1;
  }

  .gh-site-header.gh-has-proxy-bar .gh-topbar-actions {
    order: 2;
    margin-left: auto;
  }

  .gh-site-header.gh-has-proxy-bar .gh-nav-search-slot {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .gh-nav-proxy-inner {
    flex-wrap: wrap;
  }

  .gh-nav-proxy-input {
    flex: 1 1 100%;
    min-width: 0;
  }

  .gh-nav-engine {
    flex: 1;
    max-width: none;
    min-width: 0;
  }

  .gh-nav-proxy-submit {
    flex: 1;
  }
}

.gh-topbar-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.gh-nav-proxy-link {
  flex-shrink: 0;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff9900;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 160ms ease, color 160ms ease;
}

@media (min-width: 640px) {
  .gh-nav-proxy-link {
    font-size: 12px;
    margin-left: 8px;
  }
}

.gh-nav-proxy-link:hover {
  background: rgba(255, 153, 0, 0.12);
  color: #ffb347;
}

.gh-topbar-proxy {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  margin-right: 4px;
}

@media (min-width: 768px) {
  .gh-topbar-proxy {
    margin-left: 10px;
    margin-right: 8px;
  }
}

.gh-address-nav {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 8px 10px;
  font-size: 12px;
}

.gh-btn-nav-sm {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .gh-btn-nav-sm {
    font-size: 12px;
  }
}

.gh-nav-progress {
  padding: 0 0 10px;
}

.gh-nav-progress .gh-progress {
  margin-top: 0;
}

.gh-site-header.gh-has-viewer-chrome .gh-topbar {
  flex-wrap: wrap;
  row-gap: 8px;
  height: auto;
  min-height: 52px;
  padding: 4px 0;
}

@media (min-width: 641px) {
  .gh-site-header.gh-has-viewer-chrome .gh-topbar {
    flex-wrap: nowrap;
    height: 56px;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .gh-site-header.gh-has-viewer-chrome .gh-logo-link {
    order: 1;
  }

  .gh-site-header.gh-has-viewer-chrome .gh-topbar-actions {
    order: 2;
    margin-left: auto;
  }

  .gh-site-header.gh-has-viewer-chrome .gh-topbar-proxy {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.gh-main {
  position: relative;
  padding-bottom: 48px;
}

.gh-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(46, 46, 46, 0.5);
  background: radial-gradient(ellipse at top, rgba(255, 165, 0, 0.08), transparent 55%);
}

.gh-hero .gh-wrap {
  position: relative;
  padding: 56px 0 64px;
}

@media (min-width: 640px) {
  .gh-hero .gh-wrap {
    padding: 64px 0 72px;
  }
}

.gh-wrap {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

@media (min-width: 640px) {
  .gh-wrap {
    width: min(var(--maxw), calc(100% - 48px));
  }
}

.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46, 46, 46, 0.9);
  background: rgba(10, 10, 10, 0.55);
  color: var(--muted-foreground);
  font-size: 13px;
  font-family: var(--font-mono);
}

.gh-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffa500;
  box-shadow: 0 0 0 6px rgba(255, 165, 0, 0.12);
}

.gh-hero-title {
  margin: 18px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}

.gh-hero-lead {
  max-width: 56ch;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.gh-hero-hint {
  margin: 0;
  max-width: 56ch;
}

.gh-glass,
.gh-search,
.gh-panel {
  border-radius: 16px;
  border: 1px solid rgba(46, 46, 46, 0.85);
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.08);
}

.gh-search {
  padding: 16px;
}

.gh-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 720px) {
  .gh-search-row {
    grid-template-columns: 1fr;
  }
}

.gh-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(36, 36, 36, 0.85);
  color: var(--foreground);
  padding: 14px;
  outline: none;
  font-size: 14px;
  font-family: var(--font-mono);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gh-input:focus {
  border-color: rgba(255, 153, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.4);
}

.gh-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 140ms ease, filter 140ms ease, opacity 140ms ease;
  position: relative;
}

.gh-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.gh-btn-primary {
  background: #ffa500;
  color: #0f0f0f;
  box-shadow: 0 12px 28px rgba(255, 165, 0, 0.16);
}

.gh-btn-primary:hover {
  background: #ffb347;
}

.gh-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gh-btn.busy .gh-btn-label {
  opacity: 0;
}

.gh-btn.busy .gh-loader {
  opacity: 1;
}

.gh-loader {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(15, 15, 15, 0.25);
  border-top-color: rgba(15, 15, 15, 0.85);
  animation: ghspin 700ms linear infinite;
  opacity: 0;
}

.gh-search-meta {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.gh-select-label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted-foreground);
  font-size: 13px;
}

.gh-select {
  background: var(--input);
  color: #fff;
  border-radius: 10px;
  border: 1px solid #000;
  padding: 9px 10px;
  outline: none;
  font-weight: 600;
}

.gh-muted {
  color: var(--muted-foreground);
}

.gh-small {
  font-size: 13px;
}

.gh-section {
  padding: 28px 0;
}

.gh-section-tight {
  padding-top: 8px;
}

.gh-section-head h2 {
  margin: 0 0 6px;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
}

.gh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 980px) {
  .gh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .gh-grid {
    grid-template-columns: 1fr;
  }
}

.gh-card {
  text-align: left;
  cursor: pointer;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(46, 46, 46, 0.95);
  background: rgba(36, 36, 36, 0.9);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
  color: inherit;
  font: inherit;
}

.gh-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 165, 0, 0.35);
  background: rgba(36, 36, 36, 0.98);
}

.gh-card-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.gh-card-meta {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.gh-callout {
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  border-radius: 16px;
  border: 1px solid rgba(46, 46, 46, 0.85);
  background: rgba(36, 36, 36, 0.65);
}

@media (max-width: 860px) {
  .gh-callout {
    grid-template-columns: 1fr;
  }
}

.gh-callout h3 {
  margin: 0 0 8px;
  color: #fff;
}

.gh-kpis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gh-kpi {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(46, 46, 46, 0.95);
  background: rgba(10, 10, 10, 0.55);
  min-width: 120px;
}

.gh-kpi-k {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #ffa500;
  font-weight: 600;
}

.gh-kpi-v {
  margin-top: 6px;
  color: var(--muted-foreground);
  font-weight: 650;
}

.gh-site-footer {
  margin-top: 96px;
  scroll-margin-top: 160px;
  border-top: 1px solid rgba(0, 0, 0, 0.6);
  background: var(--footer);
  padding: 64px 0 40px;
}

.gh-footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .gh-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gh-footer-brand {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.gh-footer-heading {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 650;
  color: var(--foreground);
}

.gh-footer-text,
.gh-footer-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.gh-footer-note {
  margin-top: 12px;
  font-size: 13px;
}

.gh-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.gh-footer-a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 14px;
  transition: color 160ms ease;
}

.gh-footer-a:hover {
  color: #ffa500;
}

.gh-footer-a-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gh-footer-icon {
  width: 16px;
  height: 16px;
}

.gh-footer-sep {
  margin: 32px 0 0;
  border: 0;
  border-top: 1px solid rgba(46, 46, 46, 0.8);
}

.gh-footer-bottom {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .gh-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.gh-footer-powered {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 165, 0, 0.8);
}

.gh-viewer-body .gh-main {
  padding-bottom: 0;
}

.gh-viewer {
  padding: 18px 0 40px;
}

.gh-viewer-shell {
  display: grid;
  gap: 0;
}

.gh-navbtns {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gh-iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease;
  font-size: 16px;
  line-height: 1;
}

.gh-iconbtn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 153, 0, 0.35);
}

.gh-address {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #000;
  background: var(--input);
  color: #fff;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
}

.gh-progress {
  margin-top: 10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gh-progress.is-on {
  opacity: 1;
}

.gh-progress-bar {
  height: 100%;
  width: 14%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 165, 0, 0.25), #ffa500, #ff9900);
  animation: ghbar 1.1s ease-in-out infinite;
}

.gh-frame-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(46, 46, 46, 0.85);
  background: rgba(10, 10, 10, 0.65);
  min-height: min(78vh, 880px);
}

.gh-frame {
  width: 100%;
  height: min(78vh, 880px);
  border: 0;
  background: #fff;
}

.gh-frame-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  background: rgba(10, 10, 10, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.gh-frame-loading.is-on {
  opacity: 1;
}

.gh-spinner {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 165, 0, 0.95);
  animation: ghspin 850ms linear infinite;
}

.gh-error {
  padding: 22px;
  max-width: 640px;
  margin: 40px auto;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(46, 46, 46, 0.85);
  background: rgba(36, 36, 36, 0.55);
}

.gh-error-code {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffa500, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gh-error-title {
  margin: 10px 0 0;
  letter-spacing: -0.03em;
  color: #fff;
}

.gh-error-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.gh-reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: ghin 650ms ease forwards;
}

.gh-reveal-2 {
  animation-delay: 80ms;
}

.gh-reveal-3 {
  animation-delay: 140ms;
}

.gh-reveal-4 {
  animation-delay: 200ms;
}

@keyframes ghin {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ghspin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ghbar {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(520%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
