/* /mypage and /girls/mypage (src/mypage.js, public/mypage.js). Plain lists,
   no badges: a sale is one line of text under the title. */
.mypage h1 { margin: 0 0 6px; }
.mypage-lead { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.mypage-section { margin-top: 28px; }
.mypage-section h2 { margin: 0 0 4px; font-size: 18px; }
.mypage-section h3 { margin: 16px 0 8px; font-size: 15px; }
.mypage-note { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.mypage-empty { margin: 8px 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.mypage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.mypage-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mypage-card > a { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.mypage-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--surface-soft, #f6f4f6); }
.mypage-title { display: -webkit-box; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mypage-author { overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.mypage-sale { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.5; }
.mypage-remove,
.mypage-text-button {
  align-self: flex-start;
  padding: 4px 0;
  color: var(--muted);
  background: none;
  border: 0;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.mypage-type { margin: 8px 0; font-size: 15px; }
.mypage-type b { margin-left: 4px; }
.mypage-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 14px 0 0; }
.mypage-link { color: var(--ink); font-size: 14px; font-weight: 700; }
.mypage-text-button { font-size: 13px; }
@media (max-width: 640px) {
  .mypage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
