*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: #0d1117;
  color: #e6edf3;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 740px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ── HEADER ── */
.gh-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.gh-logo svg { color: #e6edf3; flex-shrink: 0; }
.gh-title {
  font-size: 24px;
  font-weight: 600;
  color: #e6edf3;
  letter-spacing: -.3px;
}
.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid #3fb950;
  color: #3fb950;
  background: rgba(63,185,80,.08);
}

/* ── CARDS ── */
.gh-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
}

.gh-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 6px;
}
.gh-card-sub {
  font-size: 14px;
  color: #8b949e;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── COMMAND BOX ── */
.cmd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 10px 14px;
}
.cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e6edf3;
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
  font-size: 13px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.cmd-input::-webkit-scrollbar { display: none; }

.copy-btn {
  flex-shrink: 0;
  background: #238636;
  color: #fff;
  border: 1px solid rgba(240,246,252,.1);
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.copy-btn:hover  { background: #2ea043; }
.copy-btn.copied { background: #196c2e; }

/* ── GUIDE CARD ── */
.guide-section { margin-bottom: 20px; }
.guide-section h2 {
  font-size: 16px;
  font-weight: 600;
  color: #e6edf3;
  margin-bottom: 10px;
}
.guide-section ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guide-section li {
  font-size: 14px;
  color: #8b949e;
  line-height: 1.55;
}
.guide-section li strong { color: #e6edf3; }

/* ── VIDEO ── */
.gh-video {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #30363d;
  margin-top: 4px;
}
.gh-video video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  transform: scale(1.6);
  transform-origin: center;
  border: 0;
}

@media (max-width: 600px) {
  .page { padding: 24px 14px 40px; }
  .gh-title { font-size: 20px; }
  .cmd-row { flex-direction: column; align-items: stretch; }
  .copy-btn { width: 100%; text-align: center; padding: 9px; }
}
