* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff8fb;
  color: #4a3b42;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
.wrap { width: min(680px, 100%); margin: 0 auto; padding: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.site-header h1 { margin: 0; font-size: 20px; letter-spacing: .03em; }
.admin-link, button, .pager a { display: inline-block; border: 0; border-radius: 999px; background: #ff8eb7; color: #fff; padding: 8px 14px; font: inherit; text-decoration: none; cursor: pointer; }
.timeline { display: grid; gap: 12px; }
.post { background: #fff; border: 1px solid #f4d5e1; border-radius: 18px; padding: 14px; box-shadow: 0 4px 14px rgba(120, 70, 90, .08); }
.post-meta { color: #9c7b89; font-size: 12px; margin-bottom: 6px; }
.post-text { white-space: normal; overflow-wrap: anywhere; font-size: 15px; }
.post-images { display: grid; gap: 6px; margin-top: 10px; }
.post-images.count-1 { grid-template-columns: 1fr; }
.post-images.count-2, .post-images.count-3, .post-images.count-4 { grid-template-columns: repeat(2, 1fr); }
.post-images img { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; border-radius: 12px; background: #f8edf2; }
.post-images.count-1 img { aspect-ratio: auto; max-height: 620px; object-fit: contain; }
.panel { background: #fff; border: 1px solid #f4d5e1; border-radius: 18px; padding: 14px; box-shadow: 0 4px 14px rgba(120, 70, 90, .08); display: grid; gap: 10px; margin-bottom: 16px; }
input[type="password"], textarea { width: 100%; border: 1px solid #efc8d8; border-radius: 12px; padding: 10px; font: inherit; background: #fffafd; }
textarea { resize: vertical; }
.notice { background: #fff; border: 1px solid #f4d5e1; border-radius: 12px; padding: 10px; }
.hint { margin: 0; font-size: 12px; color: #9c7b89; }
.admin-actions { margin: 0 0 16px; text-align: right; font-size: 13px; }
.delete-form { margin-top: 10px; text-align: right; }
.delete-form button { background: #999; font-size: 13px; padding: 5px 10px; }
.pager { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0; }
.empty { background: #fff; border: 1px solid #f4d5e1; border-radius: 18px; padding: 14px; color: #9c7b89; text-align: center; }
.embed-body { background: transparent; }
.embed-timeline { padding: 0; display: grid; gap: 10px; }
.embed-post { box-shadow: none; }
.sensitive-check { display: block; font-size: 14px; color: #9c4d6b; }
.sensitive-check input { margin-right: 6px; }
.sensitive-label { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #ffe3ef; color: #c03f72; }
.sensitive-box { margin-top: 8px; }
.sensitive-box summary { cursor: pointer; list-style: none; display: inline-block; padding: 8px 14px; border-radius: 999px; background: #ffe3ef; color: #c03f72; font-weight: bold; border: 1px solid #f4b8cf; }
.sensitive-box summary::-webkit-details-marker { display: none; }
.sensitive-box[open] summary { margin-bottom: 10px; }
.sensitive-inner { margin-top: 10px; }
