/* timeline.css - タイムラインスタイル（元に戻し＋コメント改良のみ残す） */
.timeline-container {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.timeline-section {
    margin-bottom: 40px;
}
.timeline-section h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.sport-link {
    font-size: 0.85em;
    color: #016fcd;
    text-decoration: none;
    margin-left: 10px;
}
.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 3px solid #016fcd;
    padding-left: 20px;
}
.timeline-item {
    position: relative;
    padding-left: 20px;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: #016fcd;
    border-radius: 50%;
}
.timeline-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 4px;
}
.timeline-content {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.timeline-content h3 {
    margin: 0 0 6px;
    font-size: 1.1em;
}
.timeline-link {
    font-size: 0.9em;
    color: #016fcd;
    text-decoration: underline;
}
.timeline-comment {
    background-color: #f1f5f9;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9em;
    color: #333;
    position: relative;
}
.timeline-comment::before {
    content: "\201C";
    font-size: 1.2em;
    color: #999;
    margin-right: 4px;
}
.timeline-item.sponsored .timeline-content {
    background: #fff0e5;
    border-left: 4px solid #f80;
}
.timeline-title {
    font-weight: bold;
    font-size: 0.95em;
    margin-bottom: 4px;
    color: #222;
}
.timeline-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.timeline-meta img.avatar {
border-radius: 50%;
}
/* タイムライン（コンパクト表示） */
.compact-timeline {
    margin: 20px 0;
    font-family: monospace;
    font-size: 0.9em;
    line-height: 1.6;
    border-left: 2px solid #016fcd;
    padding-left: 12px;
}

.compact-timeline-item {
    padding: 2px 0 2px 8px;
    border-bottom: 1px solid #eee;
}

.compact-timeline-item::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
}

.compact-time {
    color: #666;
    margin-right: 8px;
    white-space: nowrap;
}

.compact-headline {
    color: #333;
    text-decoration: none;
    display: inline-block;
    max-width: calc(100% - 100px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    font-weight: 500;
}

.compact-headline:hover {
    text-decoration: underline;
}
  
.compact-timeline-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
  }
  
  .compact-timeline-time {
    font-size: 0.85em;
    color: #666;
    white-space: nowrap;
    width: 60px;
    flex-shrink: 0;
    font-feature-settings: 'tnum'; /* 等幅数字 */
  }
  
  .compact-timeline-content {
    flex: 1;
  }
  
  .compact-timeline-headline {
    font-size: 0.95em;
    margin-bottom: 2px;
  }
  
  .compact-line-2 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8em;
    color: #555;
  }
  
  .compact-line-2 img.avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }
  
  