body { margin: 0; font-family: Roboto, Arial, sans-serif; background: #0f0f0f; color: #f1f1f1; }
a { color: inherit; }
.yt-top {
  display: flex; align-items: center; gap: 16px; padding: 10px 16px;
  background: #0f0f0f; border-bottom: 1px solid #272727; position: sticky; top: 0; z-index: 5;
}
.yt-logo { display: flex; align-items: center; text-decoration: none; }
.yt-logo svg g, .yt-logo svg path[fill="#0f0f0f"] { fill: #fff; }
.yt-search { flex: 1; display: flex; max-width: 640px; margin: 0 auto; }
.yt-search input {
  flex: 1; height: 40px; border: 1px solid #303030; border-right: 0;
  border-radius: 40px 0 0 40px; background: #121212; color: #fff;
  padding: 0 16px; font-size: 16px; outline: none;
}
.yt-search button {
  height: 40px; padding: 0 20px; border: 1px solid #303030; border-radius: 0 40px 40px 0;
  background: #222; color: #f1f1f1; cursor: pointer;
}
.yt-home { color: #aaa; text-decoration: none; font-size: 14px; white-space: nowrap; }
.yt-home:hover { color: #fff; }
.yt-main {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px;
  padding: 24px; max-width: 1400px; margin: 0 auto;
}
.yt-frame-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden;
}
.yt-frame-wrap video { width: 100%; height: 100%; display: block; background: #000; }
.yt-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #aaa; padding: 1rem; text-align: center;
}
.yt-title { font-size: 1.25rem; margin: 14px 0 6px; font-weight: 600; }
.yt-meta { color: #aaa; font-size: .95rem; }
.yt-note { color: #717171; font-size: .8rem; margin-top: 10px; }
.yt-side h2 { font-size: 1rem; margin: 0 0 12px; }
.yt-related { display: flex; flex-direction: column; gap: 10px; }
.yt-card {
  display: grid; grid-template-columns: 168px 1fr; gap: 10px;
  text-decoration: none; color: inherit; border-radius: 8px; padding: 4px;
}
.yt-card:hover { background: #272727; }
.yt-card img { width: 168px; height: 94px; object-fit: cover; border-radius: 8px; background: #222; }
.yt-card-title { font-size: .9rem; font-weight: 500; line-height: 1.3; }
.yt-card-sub { color: #aaa; font-size: .8rem; margin-top: 4px; }
.yt-empty { color: #aaa; font-size: .9rem; }
@media (max-width: 960px) {
  .yt-main { grid-template-columns: 1fr; }
  .yt-card { grid-template-columns: 140px 1fr; }
  .yt-card img { width: 140px; height: 78px; }
}
