body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #eef2f7;
  margin: 0;
  padding: 0;
  color: #222;
}

#app {
  width: min(1100px, 94vw);
  margin: 28px auto;
  background: #f7f9fc;
  min-height: 92vh;
  border-radius: 24px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  border: 1px solid #d9e1ea;
}

.screen {
  padding: 30px 34px 40px 34px;
  box-sizing: border-box;
}

h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.45;
  color: #111827;
}

h1 {
  font-size: 32px;
  font-weight: 700;
}

h2 {
  font-size: 26px;
  font-weight: 700;
}

h3 {
  font-size: 22px;
  font-weight: 650;
}

p, label {
  line-height: 1.85;
  margin: 12px 0;
  font-size: 17px;
}

button {
  background: #2d6cdf;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  margin-top: 18px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s ease, transform 0.05s ease;
}

button:hover {
  background: #1f57b7;
}

button:active {
  transform: translateY(1px);
}

.secondary-btn {
  background: #e8eef8;
  color: #26415f;
}

.secondary-btn:hover {
  background: #dce7f5;
}

.danger-btn {
  background: #d9534f;
}

.danger-btn:hover {
  background: #c9413d;
}

.topbar {
  background: white;
  border-bottom: 1px solid #e5eaf0;
  padding: 18px 26px;
  font-weight: 700;
  font-size: 19px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-sizing: border-box;
}

.feed-meta,
.progress-box,
.resume-hint {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.7;
}

.post-card {
  background: white;
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: none;
  box-sizing: border-box;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e9eef5;
  color: #7b8794;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.user-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.username {
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  line-height: 1.4;
}

.post-text {
  font-size: 21px;
  line-height: 2;
  white-space: pre-wrap;
  color: #1f2937;
  word-break: break-word;
}

/* 底部三项视觉展示栏 */
.post-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #edf1f5;
}

.post-action-btn,
.post-action-item {
  background: transparent;
  border: none;
  width: auto;
  margin: 0;
  padding: 6px 10px;
  color: #6b7280;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  border-radius: 8px;
  pointer-events: none;
  box-shadow: none;
}

.post-action-btn:hover,
.post-action-item:hover {
  background: transparent;
}

.post-action-btn:active,
.post-action-item:active {
  transform: none;
}

.post-action-icon {
  font-size: 16px;
  line-height: 1;
}

.post-action-label {
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.question-panel {
  background: white;
  border: 1px solid #e6ebf2;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: none;
  box-sizing: border-box;
  margin-top: 20px;
}

.question-block {
  margin: 30px 0;
}

.question-block p {
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.8;
  font-size: 19px;
  color: #111827;
}

.note-box {
  background: #f3f7ff;
  border: 1px solid #d9e7ff;
  border-radius: 14px;
  padding: 16px 18px;
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  box-sizing: border-box;
}

input[type="text"],
textarea,
select {
  width: 100%;
  padding: 13px 15px;
  font-size: 17px;
  border: 1px solid #d5deea;
  border-radius: 12px;
  box-sizing: border-box;
  margin-top: 10px;
  background: #fff;
}

.scale-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.scale-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d8e0ea;
  background: #f9fbfd;
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  margin: 0;
}

.scale-option-card:hover {
  background: #f2f6fb;
  border-color: #bcc9d8;
}

.scale-option-card input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
  transform: scale(1.15);
}

.scale-option-text {
  font-size: 17px;
  line-height: 1.7;
  color: #1f2937;
}

.scale-option-card:has(input[type="radio"]:checked) {
  background: #eaf2ff;
  border-color: #7ea6ea;
  box-shadow: 0 0 0 2px rgba(126, 166, 234, 0.12);
}

@media (max-width: 900px) {
  #app {
    width: min(96vw, 860px);
    margin: 16px auto;
  }

  .screen {
    padding: 24px 22px 32px 22px;
  }

  .post-card,
  .question-panel {
    padding: 20px 22px;
  }

  .post-text {
    font-size: 18px;
    line-height: 1.9;
  }

  .question-block p {
    font-size: 17px;
  }

  .scale-option-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #app {
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .screen {
    padding: 18px 14px 24px 14px;
  }

  .topbar {
    padding: 14px 16px;
    font-size: 16px;
  }

  .post-card,
  .question-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .avatar {
    width: 40px;
    height: 40px;
  }

  .avatar-icon {
    width: 20px;
    height: 20px;
  }

  .username {
    font-size: 14px;
  }

  .post-text {
    font-size: 15px;
    line-height: 1.85;
  }

  .post-actions {
    margin-top: 12px;
    padding-top: 10px;
  }

  .post-action-btn,
  .post-action-item {
    padding: 4px 6px;
    gap: 4px;
  }

  .post-action-icon {
    font-size: 14px;
  }

  .post-action-label {
    font-size: 12px;
  }

  .question-block p {
    font-size: 15px;
  }

  .scale-option-card {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .scale-option-text {
    font-size: 14px;
  }

  p, label {
    font-size: 15px;
  }

  button {
    font-size: 15px;
    padding: 12px 16px;
  }
}