/* Mikufans 自制播放器 - 2009 绿色复古风格 */

/* 播放器外框 */
.mkf-player {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 12px 0;
}
.mkf-pl-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border: 2px solid #5c8a3e;
  box-sizing: border-box;
  overflow: hidden;
}
.mkf-pl-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  background: #000;
  cursor: pointer;
}

/* 封面大播放按钮 */
.mkf-pl-cover {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.12);
}
.mkf-pl-wrap.is-playing .mkf-pl-cover { display: none; }
.mkf-pl-big {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #a5d06a;
  background: rgba(45, 74, 30, 0.8);
  color: #eaf5df;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  padding-left: 5px;
  cursor: pointer;
}
.mkf-pl-big:hover { background: rgba(92, 138, 62, 0.95); }

/* 控制栏 */
.mkf-pl-bar {
  height: 34px;
  display: flex;
  align-items: center;
  background: #2d4a1e;
  border-top: 1px solid #5c8a3e;
  padding: 0 8px;
  font: 12px Verdana, Arial, Tahoma;
  color: #d8ecc5;
  box-sizing: border-box;
}
.mkf-pl-btn {
  width: 26px;
  height: 22px;
  border: 1px solid #5c8a3e;
  background: #3d5f28;
  color: #eaf5df;
  cursor: pointer;
  font: 12px Verdana, Arial, Tahoma;
  line-height: 1;
  padding: 0;
  margin-right: 6px;
}
.mkf-pl-btn:hover { background: #5c8a3e; }
.mkf-pl-btn:active { background: #2d4a1e; }
.mkf-pl-vol,
.mkf-pl-fs { margin-right: 0; margin-left: 6px; }

/* 进度条 */
.mkf-pl-prog {
  flex: 1;
  height: 10px;
  margin: 0 8px;
  background: #12210a;
  border: 1px solid #5c8a3e;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}
.mkf-pl-prog-buf {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #6a8f4a;
  opacity: 0.55;
}
.mkf-pl-prog-cur {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #a5d06a;
}
.mkf-pl-time {
  white-space: nowrap;
  margin-right: 8px;
  color: #cfe6b8;
  font-size: 11px;
}

/* 无视频源：仅显示封面 */
.mkf-player-poster {
  position: relative;
  background: #000;
  border: 2px solid #5c8a3e;
  text-align: center;
  overflow: hidden;
}
.mkf-player-poster img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
.mkf-player-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 74, 30, 0.82);
  color: #eaf5df;
  font-size: 12px;
  padding: 4px 8px;
  text-align: left;
}

/* 提示文字 */
.mkf-tip {
  font-size: 12px;
  color: #777;
  margin: 6px 0 14px;
  line-height: 1.7;
}
.mkf-tip a { color: #3366CC; }

/* 元信息 */
.mkf-meta {
  font-size: 13px;
  color: #666;
  font-weight: normal;
  margin: 4px 0 10px;
}
.mkf-meta a { color: #3366CC; }

/* 分类页列表 */
.mkf-catlist { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.mkf-catlist li { float: left; width: 23%; margin: 0 1% 16px 1%; }
.mkf-catlist li a { display: block; text-decoration: none; color: #333; }
.mkf-catlist li img { display: block; width: 100%; height: auto; border: 1px solid #ddd; }
.mkf-catlist li span { display: block; font-size: 12px; padding: 5px 0 0; line-height: 1.45; }

/* 移动端适配 */
@media (max-width: 768px) {
  .mkf-pl-video { max-height: 240px; }
  .mkf-pl-bar { height: 30px; padding: 0 5px; }
  .mkf-pl-btn { width: 24px; height: 20px; margin-right: 4px; }
  .mkf-pl-prog { margin: 0 5px; height: 9px; }
  .mkf-pl-time { font-size: 10px; margin-right: 4px; }
  .mkf-pl-big { width: 44px; height: 44px; font-size: 16px; }
  .mkf-pl-cover { bottom: 30px; }
}
