/* Change log timeline */

.cl-hero {
  padding: 3.5rem 0 0;
  text-align: center;
}

.cl-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #94a3b8;
}

.cl-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #030712;
}

.cl-hero p {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: #6b7280;
}

.cl-timeline {
  position: relative;
  max-width: 920px;
  margin: 64px auto 0;
  padding-bottom: 40px;
}

.cl-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: #e5e7eb;
  transform: translateX(-50%);
}

.cl-entry {
  position: relative;
  box-sizing: border-box;
  width: 50%;
  padding: 0 44px 48px 0;
}

.cl-entry:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 48px 44px;
}

.cl-dot {
  position: absolute;
  top: 36px;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0f172a;
  box-shadow: 0 0 0 5px #ffffff;
}

.cl-entry:nth-child(even) .cl-dot {
  left: -5px;
  right: auto;
}

.cl-dot.is-optimize {
  background: #f97316;
}

.cl-dot.is-update {
  background: #22c55e;
}

.cl-dot.is-fix {
  background: #3b82f6;
}

.cl-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cl-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #94a3b8;
}

.cl-version {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
}

.cl-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cl-tag.is-optimize {
  background: #fff7ed;
  color: #c2410c;
}

.cl-tag.is-update {
  background: #ecfdf5;
  color: #047857;
}

.cl-tag.is-fix {
  background: #eff6ff;
  color: #1d4ed8;
}

.cl-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
}

.cl-title::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: #0f172a;
}

.cl-title.is-optimize::before {
  background: #f97316;
}

.cl-title.is-update::before {
  background: #22c55e;
}

.cl-title.is-fix::before {
  background: #3b82f6;
}

.cl-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
}

@media (max-width: 767px) {
  .cl-timeline {
    margin-top: 40px;
    padding: 0 4px;
  }

  .cl-timeline::before {
    left: 9px;
    transform: none;
  }

  .cl-entry,
  .cl-entry:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 28px 30px;
  }

  .cl-dot,
  .cl-entry:nth-child(even) .cl-dot {
    left: 5px;
    right: auto;
    top: 30px;
  }

  .cl-card {
    padding: 18px;
  }
}

html.dark .cl-hero h1 {
  color: #f8fafc;
}

html.dark .cl-hero p {
  color: #94a3b8;
}

html.dark .cl-timeline::before {
  background: #1e293b;
}

html.dark .cl-card {
  border-color: #1e293b;
  background: #0f172a;
  box-shadow: none;
}

html.dark .cl-version,
html.dark .cl-title {
  color: #f8fafc;
}

html.dark .cl-body,
html.dark .cl-meta {
  color: #94a3b8;
}

html.dark .cl-dot {
  box-shadow: 0 0 0 5px #030712;
}

html.dark .cl-tag.is-optimize {
  background: #431407;
  color: #fdba74;
}

html.dark .cl-tag.is-update {
  background: #052e1b;
  color: #86efac;
}

html.dark .cl-tag.is-fix {
  background: #172554;
  color: #93c5fd;
}
