.fc-video-intro {
  margin: 0 0 0.35rem 0;
  font-size: 0.96rem;
  color: var(--pst-color-text-muted);
}

.fc-video-card {
  position: relative;
  margin: 0 0 1rem 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.fc-video-card[open] {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.bd-article-container h1 + .fc-video-card,
.bd-article-container h2 + .fc-video-card {
  margin-top: 1rem;
}

.fc-video-summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.55rem 0.5rem 3.25rem;
  cursor: pointer;
  list-style: none;
}

.fc-video-summary::-webkit-details-marker {
  display: none;
}

.fc-video-checkbox-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: -2.15rem;
}

.fc-video-checkbox {
  position: absolute;
  top: calc(1rem - 0.16rem);
  left: calc(1.1rem - 0.16rem);
  width: 1.82rem;
  height: 1.82rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 4;
  border-radius: 999px;
  transform: none;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.fc-video-checkbox-ui {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid #0f766e;
  background: #ffffff;
  transition: all 160ms ease;
}

.fc-video-checkbox-ui::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.15rem;
  width: 0.42rem;
  height: 0.75rem;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(45deg);
}

.fc-video-checkbox-ui::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: all 160ms ease;
}

.fc-video-card.is-watched .fc-video-checkbox-wrap .fc-video-checkbox-ui {
  background: #0f766e;
  border-color: #0f766e;
}

.fc-video-card.is-watched .fc-video-checkbox-wrap .fc-video-checkbox-ui::after {
  border-right-color: #ffffff;
  border-bottom-color: #ffffff;
}

.fc-video-card.is-watching .fc-video-checkbox-wrap .fc-video-checkbox-ui {
  border-color: #d97706;
  background: #fff7ed;
}

.fc-video-card.is-watching .fc-video-checkbox-wrap .fc-video-checkbox-ui::before {
  background: #d97706;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.fc-video-card.is-watching .fc-video-checkbox-wrap .fc-video-checkbox-ui::after {
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.fc-video-checkbox:focus-visible {
  outline: 3px solid rgba(14, 116, 144, 0.28);
  outline-offset: 4px;
}

.fc-video-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.fc-video-title {
  font-weight: 700;
  color: var(--pst-color-text-base);
}

.fc-video-state {
  font-size: 0.9rem;
  color: var(--pst-color-text-muted);
}

.fc-video-card.is-watched .fc-video-title,
.fc-video-card.is-watched .fc-video-state {
  color: #0f766e;
}

.fc-video-card.is-watching .fc-video-title,
.fc-video-card.is-watching .fc-video-state {
  color: #b45309;
}

.fc-video-body {
  padding: 0 1.1rem 1.1rem 1.1rem;
}

.fc-video-description {
  margin: 0 0 0.9rem 0;
  color: var(--pst-color-text-base);
  line-height: 1.6;
}

.fc-video-frame-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
}

.fc-youtube-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fc-youtube-player iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fc-video-fallback,
.fc-video-unavailable {
  margin: 0.85rem 0 0 0;
  color: var(--pst-color-text-muted);
}

[data-theme="dark"] .fc-video-card {
  border-color: rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.34);
}

[data-theme="dark"] .fc-video-checkbox-ui {
  background: rgba(15, 23, 42, 0.85);
}

[data-theme="dark"] .fc-video-card.is-watching .fc-video-checkbox-wrap .fc-video-checkbox-ui {
  background: rgba(120, 53, 15, 0.22);
  border-color: #f59e0b;
}

[data-theme="dark"] .fc-video-card.is-watching .fc-video-checkbox-wrap .fc-video-checkbox-ui::before {
  background: #f59e0b;
}
