.detail {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.titleRow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.className {
  font-size: 18px;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}

.tag {
  font-size: 10px;
  font-family: 'Cinzel', serif;
  padding: 2px 6px;
  border: 1px solid #445;
  color: #8888ff;
  background: #1a1a2e;
  border-radius: 2px;
}

.tagMobile {
  border-color: #344;
  color: #88cc88;
  background: #1a2e1a;
}

.tagItem {
  border-color: #443;
  color: var(--accent-gold);
  background: #1e1a10;
}

.filePath {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.sectionTitle {
  font-size: 10px;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.chain {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}

.chainItem {
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.arrow {
  color: var(--text-muted);
}

.interfaces {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
  font-style: italic;
}

.loading {
  padding: 16px;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
}

.methodRow {
  display: flex;
  width: 100%;
  padding: 6px 8px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: background 0.1s;
}

.methodRow:hover {
  background: var(--bg-hover);
}

.hookRow {
  border-left: 2px solid var(--accent-gold);
  padding-left: 6px;
}

.methodSig {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.returnType {
  color: var(--text-muted);
}

.methodName {
  color: var(--text-primary);
  font-weight: 500;
}

.params {
  color: var(--text-secondary);
  font-size: 11px;
}

.modBadge {
  font-size: 10px;
  font-family: 'Cinzel', serif;
  padding: 1px 5px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 2px;
}

.gumpBadge {
  border-color: #445;
  color: #8888ff;
  background: #1a1a2e;
}
