@charset "UTF-8";
/* Tagbar */
.tagbar {
  background: #efefef;
  border-bottom: 1px solid #e3e3e3;
}

.tagbar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.tagbar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.tagbar-list {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tagbar-list::-webkit-scrollbar {
  display: none;
}

/* 項目と区切り線（参考画像風） */
.tagbar-item {
  position: relative;
  white-space: nowrap;
}

.tagbar-item + .tagbar-item {
  padding-left: 14px;
}

.tagbar-item + .tagbar-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #cfcfcf;
}

.tagbar-link {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  padding: 2px 0;
}

.tagbar-item.is-active .tagbar-link {
  font-weight: 700;
}

/* 小画面は横スクロールだけでOK。大画面で折り返したいなら @media でwrap許可に変更可 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background: #0b0b0b;
  color: #eee;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
}

.site-header, .site-footer {
  background: #111;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.card {
  display: block;
  background: #151515;
  border-radius: 12px;
  overflow: hidden;
}

.card img {
  width: 100%;
  display: block;
}

.card .t {
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #ddd;
}

.tabs {
  display: flex;
  gap: 12px;
  margin: 12px 0;
}

.tabs a {
  padding: 6px 10px;
  border-radius: 8px;
  background: #1f1f1f;
  color: #ddd;
  text-decoration: none;
}

.tabs a.is-active {
  background: #333;
}

.search {
  display: flex;
  gap: 8px;
  margin: 12px 0 24px;
}

.search input[type="search"] {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #0e0e0e;
  color: #eee;
}

.search button {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: #444;
  color: #fff;
  cursor: pointer;
}

.video-single .v-title {
  margin: 0 0 8px;
}

.video-single .v-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #aaa;
  font-size: 13px;
}

iframe {
  width: 100%;
}

a.v-tax__link {
  color: #ba1dc7;
}

.page-title {
  margin: 8px 0 16px;
  font-size: 22px;
}

/* カードは白基調 + うっすら枠（参考画像寄せ） */
.video-feed {
  display: grid;
  gap: 10px;
}

.feed-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  /* 左サムネ / 右テキスト */
  gap: 12px;
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.feed-thumb .thumb-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb--noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #888;
  font-size: 12px;
  background: #f3f3f3;
}

/* 再生時間バッジ（左下・半透明） */
.badge-duration {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 8px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
}

/* 右側 */
.feed-meta {
  display: grid;
  gap: 8px;
}

.feed-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: #222;
}

.feed-title a {
  color: inherit;
  text-decoration: none;
}

.feed-title a:hover {
  text-decoration: underline;
}

/* タグのピル */
.v-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v-tags--pills li a {
  display: inline-block;
  padding: 6px 10px;
  font-size: 12px;
  color: #444;
  text-decoration: none;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
}

.v-tags--pills li a:hover {
  background: #f6f6f6;
}

/* 日付 + ☆ */
.feed-sub {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-date {
  color: #777;
  font-size: 12px;
}

/* 星の見た目（枠のみ） */
.feed-fav {
  margin-left: auto;
  /* 右端に寄せる */
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #bbb;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.feed-fav:hover {
  background: #f6f6f6;
}

/* スマホ：縦積み */
@media (max-width: 640px) {
  .feed-row {
    grid-template-columns: 1fr;
  }
}

.pager {
  margin-top: 30px;
  text-align: center;
}

.pager span {
  color: gray;
}

.pager a {
  margin-left: 5px;
  color: #fff;
}

.pager a:link {
  color: #fff;
}
