.waybig-video-page .content-sec > .wrapper {
  overflow: visible;
}

.video-page-masthead {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 22px;
  padding: 15px 18px 18px;
  border: 1px solid #3d3d3d;
  border-bottom: 3px solid #ffbd0a;
  border-radius: 8px;
  background: #1b1b1b;
  overflow: hidden;
}

.video-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  align-items: center;
  margin-bottom: 13px;
  color: #8f8f8f;
  font-size: 13px;
  line-height: 1.35;
}

.video-page-breadcrumb a { color: #cfcfcf; font-weight: 700; }
.video-page-breadcrumb a:hover { color: #ffbd0a; }
.video-page-breadcrumb > span:not(.current) { color: #ffbd0a; font-size: 18px; }
.video-page-breadcrumb .current { overflow: hidden; max-width: 38ch; text-overflow: ellipsis; white-space: nowrap; }

.video-page-title-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.video-page-title-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #4a4a4a;
  border-radius: 7px;
  background: #101010;
  color: #ffbd0a;
  font-size: 21px;
}

.video-page-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #ffbd0a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.video-page-masthead h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: none;
}

.waybig-video-page .content-col { min-width: 0; }

.waybig-video-page .stage {
  overflow: hidden;
  border: 1px solid #333;
  border-radius: 8px 8px 0 0;
  background: #000;
}

.waybig-video-page .content-vtt {
  border: 1px solid #333;
  border-top: 0;
  background: #111;
}

.waybig-video-page .content-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 22px;
  padding: 0 20px 20px;
  border: 1px solid #3b3b3b;
  border-radius: 8px;
  background: linear-gradient(145deg, #1d1d1d 0%, #171717 55%, #121212 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .035);
  overflow: hidden;
}

.waybig-video-page .content-controls {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  min-width: 0;
  margin: 0;
  border-bottom-color: #3c3c3c;
}

.waybig-video-page .content-info > .tabs-container {
  grid-column: 1 / -1;
  width: 100%;
}

.waybig-video-page .content-base-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #303030;
  border-radius: 7px;
  background: rgba(8, 8, 8, .48);
}

.waybig-video-page .content-base-info .content-submitter { margin-right: auto; }

.waybig-video-page .content-base-info .info-elem {
  padding: 7px 10px;
  border-radius: 5px;
  background: #202020;
}

.waybig-video-page .content-desc {
  margin-top: 16px;
  padding: 17px 18px;
  border: 1px solid #303030;
  border-radius: 7px;
  background: rgba(10, 10, 10, .42);
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.65;
}

.waybig-video-page .content-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #333;
}

.waybig-video-page .content-links > .label {
  margin-bottom: 9px;
  color: #aaa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.waybig-video-page .content-links.-niches a,
.waybig-video-page .content-links.-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 6px 7px 0;
  padding: 4px 10px;
  border: 1px solid #444;
  border-radius: 999px;
  background: #222;
  color: #ddd;
  text-transform: none;
}

.waybig-video-page .content-links.-niches,
.waybig-video-page .content-links.-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 12px 0 0;
}

.waybig-video-page .content-links.-niches + .content-links.-tags { margin-top: 10px; }

.waybig-video-page .content-links.-niches > .label,
.waybig-video-page .content-links.-tags > .label {
  flex: 0 0 88px;
  margin: 0;
}

.waybig-video-page .content-links.-niches a,
.waybig-video-page .content-links.-tags a {
  margin: 0;
  background: linear-gradient(180deg, #262626, #1d1d1d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

/* The base MechBunny theme inserts comma separators using pseudo-elements. */
.waybig-video-page .content-links.-niches a::after,
.waybig-video-page .content-links.-tags a::after {
  content: none !important;
}

.waybig-video-page .content-links a:hover { border-color: #ffbd0a; color: #ffbd0a; }

.video-studio-card {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid #414141;
  border-left: 4px solid #ffbd0a;
  border-radius: 7px;
  background: #111;
}

.video-studio-card-media {
  display: grid;
  place-items: center;
  min-height: 120px;
  overflow: hidden;
  border: 1px solid #333;
  background: #050505;
  color: #777;
  font-size: 34px;
}

.video-studio-card-media img {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.video-studio-card-eyebrow {
  color: #ffbd0a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.video-studio-card h2 {
  margin: 3px 0 5px;
  color: #fff;
  font-size: clamp(23px, 2.6vw, 34px);
  text-transform: none;
}

.video-studio-card p { margin: 0; color: #999; }

.video-studio-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.video-studio-card-actions a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #505050;
  border-radius: 5px;
  color: #fff;
  font-weight: 800;
}

.video-studio-card-actions .video-studio-visit-link {
  border-color: #ffbd0a;
  background: #ffbd0a;
  color: #111;
}

.waybig-video-page .content-related,
.waybig-video-page .content-comments {
  margin-top: 30px;
  padding: 20px 13px;
  border: 1px solid #383838;
  border-radius: 8px;
  background: #161616;
}

.waybig-video-page .video-discovery-panel > .title-col,
.waybig-video-page .content-comments > .title-col {
  gap: 12px;
  margin: -20px -13px 20px;
  padding: 16px 18px;
  border-bottom: 2px solid #ffbd0a;
  background: #1e1e1e;
}

.waybig-video-page .video-discovery-panel > .title-col .title-icon,
.waybig-video-page .content-comments > .title-col .title-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid #454545;
  border-radius: 6px;
  background: #101010;
  color: #ffbd0a;
}

.waybig-video-page .video-discovery-panel > .title-col h2 {
  display: block;
  margin: 1px 0 0;
  color: #fff;
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.15;
  text-transform: none;
}

.video-section-eyebrow {
  display: block;
  color: #ffbd0a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .video-page-masthead { padding: 13px; }
  .video-page-title-row { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .video-page-title-icon { width: 40px; height: 40px; }
  .video-page-breadcrumb .current { display: none; }
  .video-studio-card { grid-template-columns: 1fr; }
  .video-studio-card-media { min-height: 100px; }
  .waybig-video-page .content-info { padding-right: 14px; padding-left: 14px; }
}

@media (max-width: 479px) {
  .video-studio-card-actions a { width: 100%; justify-content: center; }
}

/* Theatre mode is intentionally disabled; Fluid Player keeps its native play UI. */
.waybig-video-page .fluid_button_theatre {
  display: none !important;
}

.waybig-video-page .video-discovery-panel > .title-col {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: auto;
  min-height: 0;
  padding-top: 13px;
  padding-bottom: 13px;
  flex: none;
}

.waybig-video-page .video-discovery-panel > .title-col > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}

.waybig-video-page .video-discovery-panel > .title-col h2 {
  width: 100%;
  margin: 0 !important;
  padding: 0;
  font-size: clamp(21px, 2.5vw, 30px) !important;
  line-height: 1.08 !important;
  overflow-wrap: anywhere;
}

.waybig-video-page .video-discovery-panel .video-section-eyebrow {
  height: auto !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
  line-height: 1.05 !important;
}

.waybig-video-page .video-discovery-panel > .title-col .title-icon {
  grid-column: 1;
  grid-row: 1;
}

.waybig-video-page .content-info > .rating {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 12px 0 12px 18px;
  border-left: 1px solid #383838;
  border-bottom: 1px solid #383838;
}

@media (max-width: 1100px) {
  .waybig-video-page .content-info { grid-template-columns: minmax(0, 1fr); }

  .waybig-video-page .content-info > .content-controls {
    grid-column: 1;
    grid-row: 1;
  }

  .waybig-video-page .content-info > .rating {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
    padding: 11px 0;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .waybig-video-page .content-info {
    grid-template-columns: minmax(0, 1fr);
  }

  .waybig-video-page .content-info > .rating,
  .waybig-video-page .content-info > .content-controls {
    grid-column: 1;
  }

  .waybig-video-page .content-info > .rating {
    justify-content: center;
    padding: 12px 0;
    border-left: 0;
  }

  .waybig-video-page .content-links.-niches > .label,
  .waybig-video-page .content-links.-tags > .label {
    flex-basis: 100%;
    margin-bottom: 2px;
  }
}

@media (max-width: 599px) {
  .waybig-video-page .video-discovery-panel > .title-col { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
}
