/* 首屏视频左下角待办小窗。条目按 video.currentTime 划掉。宽度小于 900px 挪到视频下方。 */
.page-abb .abb-hero-stage { position: relative; }

.page-abb .abb-todos {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  width: 26%;
  min-width: 11.5rem;
  max-width: 18rem;
  margin: 0;
  padding: 10px 12px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--beige-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.08);
  color: var(--fg);
  transition: opacity 300ms ease;
}

.page-abb .abb-todos-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.page-abb .abb-todos-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
.page-abb .abb-todos-badge {
  flex: 0 0 auto;
  margin: 0;
  background: var(--beige-surface);
  border: 1px solid var(--beige-border);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--beige-strong);
}
.page-abb .abb-todos-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-abb .abb-todos-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}
.page-abb .abb-todos-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.page-abb .abb-todos-mark {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  border: 1px solid var(--beige-strong);
  border-radius: 3px;
  background: var(--bg-card);
  transition: background-color 300ms ease, border-color 300ms ease;
}
.page-abb .abb-todos-list li.is-done .abb-todos-mark {
  background: var(--fg);
  border-color: var(--fg);
}
.page-abb .abb-todos-list li.is-done .abb-todos-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.page-abb .abb-todos-text {
  min-width: 0;
  transition: color 300ms ease;
}
.page-abb .abb-todos-list li.is-done .abb-todos-text {
  color: var(--fg-muted);
  text-decoration: line-through;
  text-decoration-color: currentColor;
}
.page-abb .abb-todos-live {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  max-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, max-width 300ms ease, padding 300ms ease, visibility 0s linear 300ms;
}
.page-abb .abb-todos-list li.is-live .abb-todos-live {
  padding: 1px 6px;
  max-width: 6em;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.page-abb .abb-todos.is-resetting { opacity: 0; }

@media (max-width: 899px) {
  .page-abb .abb-todos {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    margin-top: 12px;
    box-shadow: none;
    background: var(--bg-card);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-abb .abb-todos,
  .page-abb .abb-todos-mark,
  .page-abb .abb-todos-text,
  .page-abb .abb-todos-live { transition: none; }
}
