.video_bnr {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 200px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
  }
  @media screen and (max-width: 767px) {
    .video_bnr {
      bottom: 70px;
      right: 10px;
      max-width: 30vw;
    }
  }
  
  body.is-sp-menu-open .video_bnr:not(.is-fullscreen) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  
  .video_bnr.is-show {
    opacity: 1;
    visibility: visible;
  }
  
  .video_bnr.is-fullscreen {
    inset: 0;
    bottom: 0;
    right: 0;
    width: auto;
    max-width: none;
    min-height: 100vh;
    height: 100dvh;
    height: 100vh;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    border-radius: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    background: rgba(0, 0, 0, 0.92);
  }
  
  .video_bnr.is-fullscreen video {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100dvh;
    max-height: 100vh;
    -o-object-fit: contain;
       object-fit: contain;
    background: #000;
  }
  
  .video_bnr.is-fullscreen .video-controls {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 10002;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  
  .video_bnr.is-fullscreen .close-btn {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 2rem;
    z-index: 10003;
  }
  
  html.has-video_bnr-fullscreen,
  body.has-video_bnr-fullscreen {
    overflow: hidden;
  }
  
  .video_bnr video {
    width: 100%;
    display: block;
  }
  
  .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    text-align: center;
    padding: 0 0 1px 0
  }
  @media screen and (max-width: 767px) {
    .close-btn {
      width: 20px;
      height: 20px;
      font-size: 1.3rem;
    }
  }
  
  .video-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 5px;
  }
  
  .ctrl-btn {
    background: rgba(29, 29, 29, 0.8);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 2px 6px;
    font-size: 1rem;
    cursor: pointer;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  @media screen and (max-width: 767px) {
    .ctrl-btn {
      font-size: 1rem;
    }
  }
  
  .ctrl-btn:hover {
    background: rgba(29, 29, 29, 0.2);
  }