/* ========================================
   阅后即焚 - 样式
   ======================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.container {
  max-width: 600px;
  width: 100%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.1);
}

h1 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 4px;
  color: #fff;
}

.subtitle {
  text-align: center;
  color: #999;
  margin-bottom: 28px;
  font-size: 14px;
}

/* ---- 表单 ---- */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 6px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

textarea, input[type="text"], input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 15px;
  transition: border-color 0.2s;
}

textarea:focus, input:focus {
  outline: none;
  border-color: #7c5cbf;
}

textarea {
  resize: vertical;
  font-family: inherit;
}

.char-count {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.hint {
  display: block;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.9;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---- 结果 ---- */
.hidden { display: none !important; }

.success, .error {
  margin-top: 24px;
  padding: 20px;
  border-radius: 10px;
}

.success {
  background: rgba(72, 187, 120, 0.12);
  border: 1px solid rgba(72, 187, 120, 0.25);
}

.error {
  background: rgba(245, 101, 101, 0.12);
  border: 1px solid rgba(245, 101, 101, 0.25);
  text-align: center;
}

.burn-notice {
  text-align: center;
  font-weight: bold;
  color: #f6ad55;
  margin-bottom: 16px;
  font-size: 18px;
}

.message-content {
  background: rgba(0,0,0,0.3);
  padding: 16px;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  margin-bottom: 12px;
  font-size: 15px;
}

.meta {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

.warning {
  text-align: center;
  font-size: 13px;
  color: #f6ad55;
  margin-top: 10px;
}

.url-box {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.url-box input {
  flex: 1;
  font-size: 13px;
  padding: 10px;
}

.url-box button {
  width: auto;
  padding: 10px 18px;
  font-size: 13px;
}