*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #f5f4ef;
  padding: 2rem 1rem;
}
body > * {
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #4d36c1;
  background-color: #000000;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #d3d1c7;
}
p {
  margin-bottom: 0.75rem;
  color: #7db4c3;
  background-color: #000000;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}
p:not(.code):not(.warning) {
  padding-left: 0.25rem;
}
p.code {
  font-family: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
  font-size: 0.88rem;
  background-color: #2c2c2a;
  color: #e8e4d9;
  border-left: 3px solid #534ab7;
  border-radius: 0 6px 6px 0;
  padding: 0.6rem 1rem;
  margin: 0.5rem 0 1rem;
  overflow-x: auto;
  white-space: pre;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}
p.code .code-text {
  flex: 1;
  white-space: pre;
  overflow-x: auto;
}
p.warning {
  background-color: #faeeda;
  border-left: 4px solid #ef9f27;
  border-radius: 0 8px 8px 0;
  color: #633806;
  padding: 0.85rem 1rem;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
}
p.warning::before {
  content: "⚠ ";
  font-size: 1rem;
}
p:not(.code):not(.warning) + p.code {
  margin-top: 0.25rem;
}
p.code .copy-btn {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid #534ab7;
  border-radius: 4px;
  color: #afa9ec;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  cursor: pointer;
  line-height: 1.5;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
p.code .copy-btn:hover {
  background: #534ab7;
  color: #fff;
}
p.code .copy-btn.copied {
  border-color: #1d9e75;
  color: #5dcaa5;
}