body {
  margin: 0;
  font-family: 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #fff9fc 0%, #ffffff 100%);
  color: #3a3a3a;
}

.container {
  max-width: 620px;
  margin: 80px auto 0 auto;
  padding: 30px;
  text-align: center;
}

h1 {
  margin-bottom: 40px;
  font-size: 24px;
  font-weight: 600;
  color: #d85d9f;
  letter-spacing: 0.5px;
}

/* 입력창 */

textarea {
  width: 100%;
  box-sizing: border-box;
  height: 180px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #f1d4e3;
  background: #ffffff;
  font-size: 14px;
  resize: none;
  outline: none;
  transition: 0.2s ease;
}

textarea:focus {
  border-color: #e8a8c8;
  box-shadow: 0 0 0 3px rgba(232, 168, 200, 0.15);
}

/* 버튼 */

button {
  margin-top: 16px;
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, #e8a8c8, #d85d9f);
  color: white;
  transition: all 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(216, 93, 159, 0.25);
}

.main-btn {
  width: 100%;
}

/* 결과 영역 */

#output {
  margin-top: 40px;
  text-align: left;
}

.message {
  padding: 15px;
  border-radius: 16px;
  margin-bottom: 14px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #f3e2ea;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* 결과 버튼 영역 */

#resultActions {
  display: none;
  margin-top: 28px;
}

/* 업데이트 내역 */

.changelog {
  margin-top: 48px;
  text-align: left;
}

.changelog-toggle {
  background: none;
  border: 1px solid #f1d4e3;
  color: #c088aa;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-top: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.changelog-toggle:hover {
  background: #fff0f7;
  transform: none;
  box-shadow: none;
}

.changelog-body {
  display: none;
  margin-top: 12px;
  background: #fff6fb;
  border: 1px solid #f1d4e3;
  border-radius: 14px;
  padding: 16px 20px;
}

.changelog-body.open {
  display: block;
}

.changelog-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.changelog-body li {
  font-size: 12px;
  color: #7a6a75;
  padding: 5px 0;
  border-bottom: 1px solid #f3e2ea;
  line-height: 1.6;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.changelog-body li:last-child {
  border-bottom: none;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  color: #d85d9f;
  background: #ffe8f4;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 푸터 */

.footer {
  margin-top: 60px;
  padding: 32px 0;
  border-top: 1px solid #f2e4ec;
  font-size: 13px;
  color: #b57da0;
  text-align: center;
}

.footer a {
  color: #d85d9f;
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  opacity: 0.7;
}

.divider {
  margin: 0 8px;
  color: #e4bfd2;
}

/* 버전 */

.version {
  font-size: 12px;
  color: #c8a6b8;
  margin-top: -25px;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* 소개문 */

.intro {
  font-size: 14px;
  color: #7a6a75;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 보안 안내 */

.privacy-note {
  margin-top: 12px;
  font-size: 12px;
  color: #9b7f8f;
  background: #fff6fb;
  border: 1px solid #f1d4e3;
  padding: 12px 16px;
  border-radius: 14px;
  line-height: 1.6;
}

/* 푸터 버그 안내 */

.footer-bugnote {
  margin-top: 10px;
  font-size: 11px;
  color: #c8a6b8;
  line-height: 1.6;
}

/* 모달 */

.modal-backdrop {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2px);
  z-index: 100;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-backdrop.active {
  visibility: visible;
  opacity: 1;
}

.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(480px, calc(100vw - 40px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(216, 93, 159, 0.15);
  z-index: 101;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #f1d4e3;
  font-size: 15px;
  font-weight: 700;
  color: #d85d9f;
}

.modal-close {
  background: none;
  border: none;
  color: #c8a6b8;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  margin-top: 0;
  border-radius: 999px;
  font-weight: 400;
  transition: all 0.15s;
}

.modal-close:hover {
  background: #fff0f7;
  transform: none;
  box-shadow: none;
  color: #d85d9f;
}

.modal-body {
  padding: 20px 22px;
}

.modal-desc {
  font-size: 13px;
  color: #7a6a75;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.modal-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #5a4a55;
  line-height: 1.6;
}

.step-num {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #e8a8c8, #d85d9f);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.modal-note {
  font-size: 12px;
  color: #9b7f8f;
  background: #fff6fb;
  border: 1px solid #f1d4e3;
  border-radius: 12px;
  padding: 10px 14px;
  line-height: 1.7;
  margin: 0;
}

.modal-footer {
  display: flex;
  gap: 8px;
  padding: 16px 22px;
  border-top: 1px solid #f1d4e3;
  justify-content: flex-end;
}

.modal-cancel {
  background: none;
  border: 1px solid #f1d4e3;
  color: #c088aa;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  margin-top: 0;
}

.modal-cancel:hover {
  background: #fff0f7;
  transform: none;
  box-shadow: none;
}

.modal-send {
  background: linear-gradient(135deg, #e8a8c8, #d85d9f);
  color: white;
  font-size: 13px;
  padding: 9px 18px;
  margin-top: 0;
}
