/* Risewatch Public Styles (v0.16.0 洗練リスト型) */
.risewatch-ranking {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", Arial, sans-serif;
  max-width: 720px;
  margin: 0 auto;
}
.risewatch-list { display: flex; flex-direction: column; gap: 10px; }
.risewatch-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e8e6df;
  border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
.risewatch-item:hover {
  border-color: #d6d4cc;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.risewatch-rank {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  color: #adaba3;
  line-height: 1;
}
.risewatch-thumb {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 120px;
  aspect-ratio: 16 / 9;
  background: #f0ede5;
  border-radius: 8px;
  overflow: hidden;
}
.risewatch-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.risewatch-duration {
  position: absolute;
  right: 4px;
  bottom: 4px;
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 3px;
}
.risewatch-body { flex: 1; min-width: 0; }
.risewatch-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 4px;
}
.risewatch-title a {
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.risewatch-title a:hover { text-decoration: underline; }
.risewatch-meta {
  font-size: 12px;
  color: #6b6b66;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.risewatch-channel { cursor: pointer; }
a.risewatch-channel { color: #6b6b66; text-decoration: none; }
a.risewatch-channel:hover { text-decoration: underline; color: #1a1a1a; }
.risewatch-score {
  flex-shrink: 0;
  text-align: center;
  min-width: 52px;
}
.risewatch-score-num {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1;
}
.risewatch-zone-rising .risewatch-score-num { color: #d8431e; }
.risewatch-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  border-radius: 6px;
  padding: 1px 6px;
  margin-top: 3px;
}
.risewatch-badge-rising { color: #a3301a; background: #fbe5df; }
.risewatch-badge-watch { color: #8a5a00; background: #fbf0d9; }
.risewatch-empty {
  padding: 40px; text-align: center; color: #999; background: #f7f6f2; border-radius: 12px;
}

@media (max-width: 600px) {
  .risewatch-rank { display: none; }
  .risewatch-thumb { width: 104px; }
  .risewatch-title { font-size: 14px; }
  .risewatch-score-num { font-size: 22px; }
}


/* ===== 動画モーダル (v0.14.0) ===== */
.risewatch-thumb { position: relative; display: block; }
.risewatch-play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; line-height: 44px; text-align: center;
    background: rgba(0,0,0,.6); color: #fff; border-radius: 50%;
    font-size: 18px; opacity: 0; transition: opacity .15s;
}
.risewatch-thumb:hover .risewatch-play-icon { opacity: 1; }

.risewatch-modal[hidden] { display: none; }
.risewatch-modal {
    position: fixed; inset: 0; z-index: 2147483647;
    display: flex; align-items: center; justify-content: center;
}
.risewatch-modal-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,.8);
}
.risewatch-modal-dialog {
    position: relative; z-index: 1; width: min(90vw, 880px);
    background: #000; border-radius: 8px; overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.risewatch-modal-player {
    position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
}
.risewatch-modal-player iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.risewatch-modal-close {
    position: absolute; top: -2px; right: 4px; z-index: 2;
    background: none; border: 0; color: #fff; font-size: 30px;
    line-height: 1; cursor: pointer; padding: 6px 10px;
}
.risewatch-modal-info {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px; background: #111; color: #eee; font-size: 14px;
}
.risewatch-modal-info a { color: #8ab4f8; white-space: nowrap; }
.risewatch-play { cursor: pointer; }
