@charset "UTF-8";
.card {
  max-width: 800px; }

textarea {
  border: 2px solid #ddd;
  border-radius: 0.5em;
  box-sizing: border-box;
  font-family: 'Courier New', monospace;
  font-size: 90%;
  outline: none;
  padding: 1em;
  resize: vertical;
  width: 100%;
  height: 240px;
  transition: border-color 0.2s; }
  textarea:focus {
    border-color: var(--primary-color); }

.btn-group {
  display: flex;
  gap: 0.75em;
  margin-top: 1.5em; }

.btn {
  padding: 1em;
  border: none;
  border-radius: 0.5em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease; }

.btn-clear {
  flex: 1;
  background: #eee;
  color: #666; }

.btn-generate {
  flex: 2;
  background: var(--primary-color);
  color: #FFF; }
  .btn-generate:hover {
    opacity: 0.9; }

.result-area {
  margin-top: 2em;
  display: none; }

.status-msg {
  color: #666;
  font-size: 83%;
  margin-bottom: 1em; }

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em; }

.action-btns {
  display: flex;
  gap: 0.5em; }

.action-btn {
  background: #eef4ff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5em 1em;
  border-radius: 0.5em;
  font-size: 83%;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s; }
  .action-btn:hover {
    background: var(--primary-color);
    color: #FFF; }

pre {
  background: #2d2d2d;
  color: #ccc;
  padding: 1em;
  border-radius: 1em;
  overflow-x: auto;
  font-size: 83%;
  line-height: 1.5;
  margin: 0; }

@media screen and (max-width: 480px) {
  /* 480px以下 */
  textarea {
    height: 200px; } }
