/* OBJ2Desmos 追加スタイル */
.container {
  max-width: 800px;
  margin: 2em auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 2em 2em 1em 2em;
}
.drop-area {
  border: 2px dashed #888;
  border-radius: 6px;
  padding: 1.5em;
  text-align: center;
  margin-bottom: 1em;
  background: #f8f8f8;
  transition: border-color 0.2s, background 0.2s;
}
.drop-area.dragover {
  border-color: #0078d7;
  background: #e6f0fa;
}
.preview-section {
  margin-bottom: 1em;
}
#objText {
  width: 100%;
  min-height: 120px;
  font-family: monospace;
  font-size: 1em;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 0.5em;
  box-sizing: border-box;
  resize: vertical;
}
.copy-btn {
  background: none;
  border: none;
  padding: 0.1em;
  margin-left: 0.5em;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.copy-btn:hover svg rect:first-child {
  stroke: #0078d7;
}
.copy-btn.copied svg rect:first-child {
  stroke: #2ecc40;
}
.realtime-section {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0;
}
.output-section {
  margin-top: 1em;
}
.output-row {
  display: flex;
  gap: 1em;
  justify-content: space-between;
}
.output-block {
  flex: 1 1 0;
  background: #f4f4f4;
  border-radius: 4px;
  padding: 0.5em 1em 1em 1em;
  min-width: 0;
  position: relative;
}
pre {
  font-size: 0.95em;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
  max-height: 260px;
  overflow: auto;
}
.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2em;
}
.output-block h3 {
  font-size: 1.1em;
  margin: 0.5em 0 0.2em 0;
}
.copy-btn {
  background: none;
  border: none;
  padding: 0.1em;
  margin-left: 0.5em;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.copy-btn:hover svg rect:first-child {
  stroke: #0078d7;
}
.copy-btn.copied svg rect:first-child {
  stroke: #2ecc40;
}
pre {
  font-size: 0.95em;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
}
@media (max-width: 700px) {
  .output-row {
    flex-direction: column;
    gap: 0.5em;
  }
}
