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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #1a1a1a;
  background: #f7f6f3;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  background: #fff;
  min-height: 100vh;
}

header {
  border-bottom: 1px solid #e8e4dc;
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.app-name {
  font-size: 13px;
  color: #8b7355;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  color: #2c2416;
  margin-bottom: 8px;
}

.updated {
  font-size: 13px;
  color: #888;
}

nav.links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

nav.links a {
  color: #8b6914;
  text-decoration: none;
  font-size: 14px;
}

nav.links a:hover {
  text-decoration: underline;
}

h2 {
  font-size: 17px;
  font-weight: 600;
  color: #2c2416;
  margin: 28px 0 12px;
}

p {
  margin-bottom: 12px;
  color: #333;
}

ul, ol {
  margin: 0 0 12px 20px;
  color: #333;
}

li {
  margin-bottom: 6px;
}

.contact {
  margin-top: 32px;
  padding: 16px;
  background: #faf8f4;
  border-radius: 8px;
  border: 1px solid #e8e4dc;
  font-size: 14px;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e8e4dc;
  font-size: 13px;
  color: #999;
  text-align: center;
}

/* 反馈表单 */
.feedback-form {
  margin-top: 8px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c2416;
  margin-bottom: 6px;
}

.form-field .hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-top: 4px;
}

.form-field select,
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd4c6;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background: #fff;
  outline: none;
}

.form-field select:focus,
.form-field input:focus,
.form-field textarea:focus {
  border-color: #8b6914;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.btn-submit {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #8b6914;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-msg {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.ok {
  background: #f0f7eb;
  color: #3d6b1e;
  border: 1px solid #d4e8c2;
}

.form-msg.err {
  background: #fdf2f2;
  color: #a33;
  border: 1px solid #f0d0d0;
}

@media (min-width: 768px) {
  body {
    padding: 32px 16px;
  }

  .page {
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    min-height: auto;
  }
}
