.album-container { max-width: 640px; margin: 50px auto; padding: 30px; background: white; border-radius: 15px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.album-header { margin-bottom: 18px; text-align: center; }
.album-header h1 { margin-bottom: 10px; color: #f00; font-size: 2rem; }
.album-count { margin-left: 6px; color: #666; font-size: 1rem; font-weight: 400; }
.album-header p { color: #666; font-size: 0.95rem; line-height: 1.6; }
.page-status { margin-bottom: 14px; padding: 12px; border-radius: 8px; background: #f8d7da; color: #721c24; font-size: 14px; }
.album-loading, .album-empty { padding: 32px 0; color: #666; text-align: center; }
.album-empty p { margin: 0 0 8px; }
.album-hint { font-size: 0.9rem; }
.ticket-list { display: grid; gap: 14px; }
/* 半券: 左に切り取り線の丸、右に本体。 */
.ticket { position: relative; display: flex; gap: 14px; padding: 14px 16px 14px 20px; border: 1px solid #eee; border-left: 6px solid #f00; border-radius: 12px; background: #fffaf7; }
.ticket::before, .ticket::after { content: ''; position: absolute; left: -9px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 1px solid #eee; }
.ticket::before { top: -8px; }
.ticket::after { bottom: -8px; }
.ticket-image { width: 120px; height: 68px; object-fit: cover; border-radius: 6px; flex: none; }
/* 画像のない半券の絵柄: 暗い地にサービスの色をにじませ、サービス名と作品名（docs/design/album-ticket/ のA）。 */
.ticket-art { --svc: #f00; --svc-deep: #222; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; width: 120px; height: 68px; flex: none; overflow: hidden; padding: 8px 9px; border-radius: 6px; background: linear-gradient(135deg, var(--svc-deep) 0%, var(--svc-deep) 55%, var(--svc) 140%); color: #fff; }
.ticket-art[hidden] { display: none; }
.ticket-art--netflix { --svc: #e50914; --svc-deep: #141414; }
.ticket-art--amazon_prime { --svc: #1399ff; --svc-deep: #0f1a2b; }
.ticket-art--disney_plus { --svc: #3b6cf6; --svc-deep: #0b1846; }
.ticket-art--youtube { --svc: #ff0033; --svc-deep: #282828; }
.ticket-art-service { font-size: 10px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; color: var(--svc); }
.ticket-art-title { display: -webkit-box; overflow: hidden; font-size: 11px; font-weight: 700; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ticket-body { display: grid; gap: 4px; min-width: 0; flex: 1; }
.ticket-meta { margin: 0; color: #666; font-size: 0.8rem; }
.ticket-title { margin: 0; font-size: 1.05rem; color: #333; overflow-wrap: anywhere; }
.ticket-host { margin: 0; color: #666; font-size: 0.85rem; }
.ticket-everyone, .ticket-own { margin: 0; font-size: 0.9rem; color: #333; }
.ticket-everyone { color: #c00; }
.ticket-comment { margin: 4px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff; color: #333; font-size: 0.9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.ticket-screening { color: #c00; font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.ticket-screening:hover { text-decoration: underline; }
.album-more { display: block; margin: 16px auto 0; padding: 10px 20px; border: 1px solid #f00; border-radius: 999px; background: #fff; color: #c00; font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.album-more:hover { background: #fff3f3; }
.album-more[hidden] { display: none; }
.ticket-remove { margin-left: auto; padding: 4px 10px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #666; font: inherit; font-size: 12px; cursor: pointer; }
.ticket-remove:hover { color: #c00; border-color: #c00; }
.ticket-remove:disabled { color: #aaa; cursor: not-allowed; }
.back-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; }
.back-links a { color: #666; text-decoration: none; font-size: 14px; }
.back-links a:hover { color: #f00; }

@media (max-width: 680px) {
  .album-container { margin: 20px 12px; padding: 22px 18px; }
  .album-header h1 { font-size: 1.6rem; }
  .ticket { flex-direction: column; }
  .ticket-image { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .ticket-art { width: 100%; height: auto; aspect-ratio: 16 / 9; padding: 16px 18px; }
  .ticket-art-service { font-size: 14px; }
  .ticket-art-title { font-size: 20px; -webkit-line-clamp: 3; }
  .back-links { flex-direction: column; align-items: center; }
}
