body {
  background: #f8f9fa;
  color: #212529;
}

.timeline {
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
}

.container {
  padding: 0 !important;
  margin: 0 !important;
}

.timeline-item {
  position: relative;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.timeline-badge {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e9ecef;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.timeline-badge .avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-content {
  background: #fff;
  border: 1.5px solid #e9ecef;
  border-radius: 6px;
  padding: 4px 8px 4px 8px;
  box-shadow: none !important;
  color: #212529;
  min-height: 40px;
  position: relative;
  margin: 0 !important;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.timeline-header .username {
  font-weight: bold;
  font-size: 1em;
}

.timeline-header .date {
  font-size: 0.9em;
  color: #6c757d;
}

.timeline-body .title {
  font-weight: bold;
  color: #3e2723;
}

.timeline-body .comment {
  background: #f8f9fa;
  border-radius: 4px;
  padding: 2px 6px;
  color: #495057;
  font-size: 0.95em;
}

/* ダークモード */
body.dark-mode, [data-bs-theme="dark"] {
  background: #23272b !important;
  color: #e9ecef !important;
}
body.dark-mode .timeline-content, [data-bs-theme="dark"] .timeline-content {
  background: #23272b !important;
  border-color: #495057 !important;
  color: #e9ecef !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  padding: 4px 8px 4px 8px !important;
  margin: 0 !important;
}
body.dark-mode .timeline-badge, [data-bs-theme="dark"] .timeline-badge {
  background: #495057 !important;
  border-color: #e9ecef !important;
}
body.dark-mode .timeline-header .date, [data-bs-theme="dark"] .timeline-header .date {
  color: #adb5bd !important;
}
body.dark-mode .timeline-body .title, [data-bs-theme="dark"] .timeline-body .title {
  color: #ffe066 !important;
}
body.dark-mode .timeline-body .comment, [data-bs-theme="dark"] .timeline-body .comment {
  background: #282828 !important;
  color: #e9ecef !important;
}
body.dark-mode .timeline-content .text-dark,
[data-bs-theme="dark"] .timeline-content .text-dark {
  color: #fff !important;
}

/* ブラウンモード */
body.brown-mode, [data-bs-theme="brown"] {
  background: #2d2212 !important;
  color: #fff !important;
}
body.brown-mode .timeline-content, [data-bs-theme="brown"] .timeline-content {
  background: #3e2a13 !important;
  border-color: #a67c52 !important;
  color: #fff !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  padding: 4px 8px 4px 8px !important;
  margin: 0 !important;
}
body.brown-mode .timeline-badge, [data-bs-theme="brown"] .timeline-badge {
  background: #a67c52 !important;
  border-color: #fff !important;
}
body.brown-mode .timeline-header .date, [data-bs-theme="brown"] .timeline-header .date {
  color: #ffe4b5 !important;
}
body.brown-mode .timeline-body .title, [data-bs-theme="brown"] .timeline-body .title {
  color: #ffe066 !important;
}
body.brown-mode .timeline-body .comment, [data-bs-theme="brown"] .timeline-body .comment {
  background: #5a3a13 !important;
  color: #ffe4b5 !important;
} 