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

body {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  color: #232323;
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.loading {
  padding: 48px 16px;
  text-align: center;
  color: #999;
}

article {
  padding: 28px 12px 8px;
}

h1 {
  font-size: 23px;
  line-height: 30px;
  font-weight: 700;
  text-align: left;
}

.time {
  margin-top: 8px;
  margin-bottom: 10px;
  color: #888;
  font-size: 14px;
  line-height: 22px;
}

.text-block {
  margin: 12px 0 16px;
  color: #454545;
  font-size: 18px;
  line-height: 28px;
  white-space: pre-wrap;
  word-break: break-word;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}

.caption {
  margin: 0 0 16px;
  color: #888;
  font-size: 16px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.cta {
  display: block;
  margin: 20px 0;
  padding: 12px;
  border-radius: 8px;
  background: #df60d9;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  animation: twinkle 0.6s infinite alternate;
}

a.cta { cursor: pointer; }

@keyframes twinkle {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.disclaimer {
  padding: 0 16px;
  color: #d1d1d1;
  font-size: 12px;
  font-style: italic;
  line-height: 16px;
  text-align: center;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 18px 12px 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 118px;
  padding: 6px 14px;
  border: 2px solid #ccc;
  border-radius: 25px;
  color: #808080;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}

.comments-head {
  margin: 28px 16px 6px;
  border-top: 1.2px solid #767373;
  text-align: center;
}

.comments-head span {
  position: relative;
  top: -12px;
  display: inline-block;
  padding: 0 12px;
  background: #fff;
  color: #454545;
  font-size: 18px;
  font-weight: 700;
}

.comments {
  list-style: none;
  padding: 0 0 28px;
}

.comment {
  display: flex;
  gap: 12px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid #ececec;
}

.comment img,
.fallback {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0d8cc;
  color: #6a4a3a;
  font-size: 18px;
  font-weight: 700;
}

.main { flex: 1; min-width: 0; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.name {
  color: #a7a7a7;
  font-size: 16px;
}

.likes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a7a7a7;
  font-size: 14px;
  white-space: nowrap;
}

.text {
  margin-top: 4px;
  color: #454545;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.when {
  margin-top: 4px;
  color: #a7a7a7;
  font-size: 14px;
  line-height: 22px;
}

.wa-float {
  position: fixed;
  z-index: 30;
  top: 108px;
  left: calc(50% + 392px);
  width: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.wa-icon {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(18, 140, 70, 0.28);
}

.wa-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff2d2d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.wa-label {
  color: #ff2a2a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

@media (max-width: 980px) {
  .wa-float {
    left: auto;
    right: 8px;
    top: 72px;
  }
}
