.os-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  position: relative;
  z-index: 1;
}

.os-wrap h1 {
  color: var(--gold-light);
  font-size: clamp(0.75rem, 3vw, 1rem);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.os-lead {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.os-arch {
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid var(--green-border);
  background: rgba(0,0,0,0.25);
}

.os-arch h2 {
  color: var(--gold-mid);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.os-tree {
  font-size: 0.55rem;
  line-height: 1.9;
  color: var(--text-muted);
  overflow-x: auto;
  font-family: monospace;
}

.os-file-list {
  list-style: none;
}

.os-file-list li {
  margin-bottom: 0.5rem;
}

.os-file-list button {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(13, 107, 111, 0.4);
  border: 1px solid var(--green-border);
  color: var(--gold-light);
  font-family: monospace;
  font-size: 0.8rem;
  cursor: pointer;
}

.os-file-list button:hover {
  border-color: var(--gold-mid);
}

.os-file-list .desc {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  font-family: system-ui, sans-serif;
}

.os-viewer {
  margin-top: 1.5rem;
  border: 1px solid var(--gold-mid);
  background: rgba(0,0,0,0.5);
}

.os-viewer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(201,162,39,0.15);
  font-size: 0.55rem;
  color: var(--gold-light);
}

.os-viewer-head button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

#viewer-code {
  padding: 1rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-muted);
  overflow-x: auto;
  max-height: 60vh;
  font-family: monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

.logo a { color: var(--gold-light); text-decoration: none; }
