.gh-app {
  --gh-ink: #1f2328;
  --gh-muted: #59636e;
  --gh-line: #d1d9e0;
  --gh-blue: #0969da;
  flex: 1 0 auto;
  min-width: 0;
  min-height: 100%;
  container-type: inline-size;
  background: #fff;
  color: var(--gh-ink);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.gh-app *, .gh-app { box-sizing: border-box; }
.gh-app svg { flex: none; }
.gh-app a { color: var(--gh-blue); text-decoration: none; }
.gh-app a:hover { text-decoration: underline; }
.gh-app a:focus-visible { outline: 2px solid var(--gh-blue); outline-offset: 3px; border-radius: 3px; }
.gh-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  padding: 9px 24px;
  border-bottom: 1px solid var(--gh-line);
  background: #f6f8fa;
}
.gh-top img { object-fit: contain; }
.gh-top strong { font-size: 16px; letter-spacing: -.03em; }
.gh-top > span { color: #818b98; }
.gh-app .gh-top a { color: var(--gh-ink); font-weight: 600; }
.gh-layout { display: grid; grid-template-columns: minmax(150px, 21%) minmax(0, 1fr); gap: 28px; padding: 24px; }
.gh-profile { min-width: 0; }
.gh-avatar { display: block; width: min(100%, 128px); height: auto; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gh-line); }
.gh-identity h2 { margin: 12px 0 0; font: 650 23px/1.2 inherit; font-family: inherit; font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.gh-handle { color: var(--gh-muted); font-size: 15px; }
.gh-app .gh-profile-details p { margin: 14px 0 10px; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.gh-location, .gh-profile-link { display: flex; gap: 5px; align-items: center; }
.gh-location { color: var(--gh-muted); font-size: 12px; }
.gh-app .gh-profile-link {
  display: inline-flex;
  margin-top: 15px;
  padding: 5px 10px;
  color: var(--gh-ink);
  border: 1px solid var(--gh-line);
  border-radius: 6px;
  background: #f6f8fa;
  font-size: 12px;
  font-weight: 600;
}
.gh-app .gh-profile-link:hover { background: #eff2f5; text-decoration: none; }
.gh-content { min-width: 0; }
.gh-content h3 { display: flex; align-items: center; gap: 7px; font: 600 16px/1.4 var(--os-font, system-ui); margin: 0; }
.gh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 11px; }
.gh-card { display: flex; flex-direction: column; min-width: 0; gap: 9px; padding: 13px; border: 1px solid var(--gh-line); border-radius: 7px; background: white; }
.gh-card-title, .gh-row-title { display: flex; align-items: baseline; gap: 6px; }
.gh-card-title svg { align-self: flex-start; margin-top: 2px; color: var(--gh-muted); }
.gh-card-title a, .gh-row-title a { min-width: 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.gh-app .gh-card p, .gh-app .gh-row p { margin: 0; color: var(--gh-muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.gh-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin-top: auto; padding-top: 4px; }
.gh-app .gh-case { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; }
.gh-language, .gh-meta, .gh-meta > span { display: inline-flex; align-items: center; gap: 5px; color: var(--gh-muted); font-size: 11px; }
.gh-dot { width: 9px; height: 9px; border-radius: 50%; background: #6e7781; box-shadow: inset 0 0 0 1px #0001; }
.gh-python { background: #3572a5; }
.gh-typescript { background: #3178c6; }
.gh-java { background: #b07219; }
.gh-javascript { background: #f1e05a; }
.gh-html { background: #e34c26; }
.gh-css { background: #663399; }
.gh-repositories { margin-top: 25px; }
.gh-list-head { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding-bottom: 10px; border-bottom: 1px solid var(--gh-line); }
.gh-list-head > span { color: var(--gh-muted); font-size: 11px; }
.gh-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; padding: 0 5px; border-radius: 12px; background: #eff1f3; font: 600 12px/19px var(--os-font, system-ui); }
.gh-list { list-style: none; margin: 0; padding: 0; }
.gh-row { display: grid; gap: 5px; padding: 13px 0; border-bottom: 1px solid var(--gh-line); }
.gh-row-title { align-items: center; }
.gh-public { flex: none; padding: 0 6px; border: 1px solid var(--gh-line); border-radius: 9px; color: var(--gh-muted); font-size: 10px; }
.gh-meta { flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; }
.gh-app .gh-status, .gh-empty { color: var(--gh-muted); margin: 14px 0 0; font-size: 11px; }

@container (max-width: 760px) {
  .gh-layout { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 20px; }
  .gh-cards { grid-template-columns: 1fr; gap: 7px; }
  .gh-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding: 10px 12px; }
  .gh-card-foot { grid-column: 2; grid-row: 1 / 3; flex-direction: column; align-items: flex-end; align-self: center; margin: 0; padding: 0; }
}
@container (max-width: 560px) {
  .gh-layout { display: block; padding: 16px; }
  .gh-top { min-height: 42px; padding: 6px 16px; }
  .gh-profile { display: grid; grid-template-columns: 57px 1fr; align-items: center; gap: 6px 12px; padding-bottom: 15px; margin-bottom: 16px; border-bottom: 1px solid var(--gh-line); }
  .gh-identity h2 { margin: 0; font-size: 21px; }
  .gh-profile-details { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 11px; grid-column: 1 / -1; }
  .gh-app .gh-profile-details p { flex-basis: 100%; margin: 3px 0; }
  .gh-app .gh-profile-link { margin: 0; }
}
@container (max-width: 330px) {
  .gh-card { display: flex; }
  .gh-card-foot { flex-direction: row; align-self: stretch; }
}
@media (max-width: 740px) {
  body[data-ios-screen="github"] #panel .ios-nav { background:#f6f8fa; color:#1f2328; }
  body[data-ios-screen="github"] #panel .ios-back { color:#0969da; }
  body[data-ios-screen="github"] .ios-status { color:#1f2328; }
  body[data-ios-screen="github"] #panelBody { padding: 0 0 var(--ios-bottom, 0px); background: #fff; }
}
