*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, monospace;
  margin: 0;
  padding: 0;
  background: #111827;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.6;
}
.frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.header {
  padding: 48px 48px 24px;
  border-bottom: 1px solid #374151;
}
.exception-title {
  font-size: 18px;
  font-weight: 600;
  color: #f87171;
  margin: 0 0 8px;
}
.exception-message {
  color: #9ca3af;
  margin: 0;
  word-break: break-word;
}
.content {
  flex: 1;
  padding: 0 48px 48px;
}
.details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.detail-block {
  background: #1f2937;
  border-radius: 8px;
  overflow: hidden;
}
.detail-header {
  padding: 12px 16px;
  background: #374151;
  font-weight: 500;
  font-size: 13px;
  color: #d1d5db;
}
.detail-content {
  padding: 16px;
}
.detail-row {
  display: flex;
  gap: 16px;
}
.detail-label {
  color: #6b7280;
  min-width: 80px;
}
.detail-value {
  color: #e5e7eb;
}
.trace {
  font-size: 13px;
  margin: 0;
  overflow-x: auto;
}
.location {
  font-size: 13px;
  color: #9ca3af;
  padding: 12px 16px;
  background: #111827;
  border-bottom: 1px solid #374151;
}
.location strong {
  color: #60a5fa;
}
@media (max-width: 768px) {
  .header { padding: 24px 24px 16px; }
  .content { padding: 0 24px 24px; }
  .detail-row { flex-direction: column; gap: 4px; }
}
