

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.5;
}

header {
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-align: center;
  padding: 1rem;
}

header h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
}

header p.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: #9a9a9a;
}

.editor-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem;
}

.editor {
  flex: 1 1 300px;
  max-width: 400px;
  background: white;
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.editor h2 {
  margin-top: 0;
  font-size: 1rem;
  color: #333;
}

textarea {
  width: 100%;
  height: 150px;
  font-family: monospace;
  font-size: 14px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: vertical;
  background: #fafafa;
  transition: box-shadow 0.2s;
}

textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.4);
  border-color: #007aff;
  background: #fff;
}

button {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 2rem;
  font-size: 16px;
  font-weight: 500;
  background: #007aff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #005ecb;
}

h2 {
  text-align: center;
  font-size: 1.25rem;
  margin-top: 0;
}

iframe {
  width: 95%;
  height: 400px;
  margin: 1rem auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

