body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #efefef;
  color: #000;
}


.topbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 6px 20px;
  gap: 20px;
}

.logo-img {
  flex-shrink: 0;
  margin-left: 50px;
}

.search-container {
  flex: 1;
  display: flex;
  gap: 0;
  max-width: 650px;
}
.search-label {
  width: 40px;
  padding: 8px 10px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #000;

}
.search {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  color: #000;
  font-size: 13px;
  margin-left: 30px;
}

.search::placeholder {
  color: #999;
}

.search-btn {
  padding: 8px 12px;
  background: #f0f0f0;
  color: #000;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 14px;
  display: none;
}

.search-btn:hover {
  background: #e0e0e0;
}

.top-links {
  margin-left: 10px;
  display: flex;
  gap: 12.5px;
  
}

.top-links a {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.top-links a:hover {
  text-decoration: none
}


.page {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  padding: 12px 20px;
}

.video-column {
  flex: 1;
  min-width: 0;
}

.player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  overflow: hidden;
  margin-bottom: 12px;
}

.player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-controls {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0px;
}

.progress-bar {
  flex: 0.9;
  height: 4px;
  background: #555;
  cursor: pointer;
  border-radius: 2px;
  margin: 0 auto;
}

.progress {
  height: 100%;
  background: #cc181e;
  border-radius: 2px;
  width: 0%;
}

.controls-bottom {
  display: none;
}

.play-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  display: flex;
  align-items: center;
  padding-left: 25px;
}



.volume-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 30px;
  order: 3;
}

.volume-container:hover .volume-slider {
  display: block;
}

.volume-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
  display: flex;
  align-items: center;
}

.volume-slider {
  width: 80px;
  height: 4px;
  cursor: pointer;
  display: none;
}

.time-display {
  white-space: nowrap;
  flex: 1;
  text-align: center;
}

.title-meta-box {
  background: #fff;
  padding: 12px;
  margin-bottom: 16px;
}

.title {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px 0;
  line-height: 1.3;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  padding: 0;
  margin-bottom: 0;
}

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.channel img {
  width: 55px;
  height: 55px;
}

.channel-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.channel-name {
  font-weight: 500;
  font-size: 16px;
}

.channel-subs {
  font-size: 14px;
  color: #666;
}

.sub {
  background: #cc181e;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 4px;
  margin-top: 20px;
  text-decoration: none;
  display: inline-block;
}
.sub:hover {
  color: #ffffff;
  text-decoration: none;
}
.stats {
  color: #4e4e4e;
  font-size: 20px;
}

.stats-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-top: -8px;
}

.likes-section {
  display: flex;
  align-items: center;
  gap: 100px;
}

.like-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #4e4e4e;
}

.dislike-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #4e4e4e;
}

.like-btn img,
.dislike-btn img {
  width: 14px;
  height: 14px;
}

.dividers-container {
  display: flex;
  gap: 0;
}

.divider-blue {
  width: 170px;
  height: 2px;
  background: #0066cc;
}

.divider-grey {
  width: 30px;
  height: 2px;
  background: #ccc;
}



.description {
  font-size: 14px;
  line-height: 1.6;
  color: #000000;
  padding: 12px;
  background: #ffffff;
  margin-bottom: 20px;
}

.description .published {
  color: #000;
  font-weight: 500;
  margin-bottom: 8px;
}

.description a {
  color: #3ea6ff;
  text-decoration: none;
}

.description a:hover {
  text-decoration: underline;
}


.comments-off {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  background: #ffffff;
  padding: 20px;
}


.sidebar {
  flex: 0 0 320px;
}

.sidebar h4 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 500;
}

.side-video {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  cursor: pointer;
}

.side-video img {
  width: 168px;
  height: 94px;
  object-fit: cover;
  background: #e0e0e0;
  flex-shrink: 0;
}

.side-video-info {
  flex: 1;
  min-width: 0;
}

a:link { text-decoration: none; }
a:hover { text-decoration: underline;color: #1585e7; }
.side-video-info b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  line-height: 1.25;
  color: #1585e7;
  
}

.side-video-info b:hover {
  text-decoration: none;
}

.side-video-info small {
  color: #666;
  font-size: 13px;
}

a:visited {
  text-decoration: none !important;
}

@media (max-width: 1200px) {
  .page {
    flex-direction: column;
  }
  
  .sidebar {
    flex: 1;
  }
}
.sub {
  text-decoration: none;
}