.rb_bbs_gallery .gallery-list {display:grid;grid-template-columns:repeat(var(--rb-list-cols), minmax(0, 1fr));gap:var(--rb-list-gap-pc);}
.rb_bbs_gallery .gallery-item {position:relative;min-width:0;box-sizing:border-box;}
.rb_bbs_gallery .gallery-item-img {position:relative;overflow:hidden;}
.rb_bbs_gallery .gallery-item-img > video.thumb-video,
.rb_bbs_gallery .gallery-item-img > a {position:absolute;inset:0;width:100%;height:100%;display:block;}
.rb_bbs_gallery .gallery-item-img video.thumb-video {object-fit:contain;background:#000;pointer-events:none;z-index:4;}
.rb_bbs_gallery .gallery-item-img > a {z-index:5;}
.rb_bbs_gallery .gallery-item-img video.thumb-video::-webkit-media-controls-picture-in-picture-button,
.rb_bbs_gallery .gallery-item-img video.thumb-video::-webkit-media-controls-overlay-play-button {display:none!important;}
.rb_bbs_gallery .gallery-item-badges {position:absolute;right:10px;bottom:10px;z-index:6;display:inline-flex;align-items:center;overflow:hidden;border-radius:5px;background:rgba(51,24,45,.5);pointer-events:auto;}
.rb_bbs_gallery .gallery-item-duration,
.rb_bbs_gallery .gallery-item-point {position:static;right:auto;bottom:auto;padding:0 5px;background:transparent;color:rgba(255,255,255,.92);font-size:14px;font-weight:400;line-height:1.5;border-radius:0;z-index:1;}
.rb_bbs_gallery .gallery-item-caption {display:flex;align-items:flex-start;gap:10px;margin-top:20px;}
.rb_bbs_gallery .gallery-item-caption .gallery-item-tit {flex:1;min-width:0;margin-top:0 !important;}
.rb_bbs_gallery .gallery-item-caption-body {flex:1;min-width:0;}
.rb_bbs_gallery .gallery-item-genre {display:block;flex:0 0 36px;width:36px;height:36px;border-radius:9999px;overflow:hidden;}
.rb_bbs_gallery .gallery-item-genre img {display:block;width:100%;height:100%;object-fit:cover;}
.rb_bbs_gallery .gallery-item-info-sub {display:flex;align-items:center;gap:8px;margin-top:5px !important;color:#8f8f8f;font-weight:400;}
.rb_bbs_gallery .gallery-item-info-sub .prof_tiny_name {display:flex;gap:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.rb_bbs_gallery .name-link {color:var(--rb-main-color)!important;font-weight:400;text-decoration:none;}
.rb_bbs_gallery .name-link:hover {opacity:.85;text-decoration:none;}
.rb_bbs_gallery .gallery-meta,
.rb_bbs_gallery .gallery-meta-good {display:inline-flex;align-items:center;}
.rb_bbs_gallery .gallery-meta-good,
.rb_bbs_gallery .gallery-meta-good-text {color:#8f8f8f;}
.rb_bbs_gallery .gallery-meta-good svg {display:block;width:18px;height:18px;margin-right:3px;}

@media all and (max-width:1280px) {
    .rb_bbs_gallery .gallery-list {grid-template-columns:repeat(4, minmax(0, 1fr));}
}

@media all and (max-width:1024px) {
    .rb_bbs_gallery .gallery-list {grid-template-columns:repeat(3, minmax(0, 1fr));gap:var(--rb-list-gap-mo);}
}

@media all and (max-width:768px) {
    .rb_bbs_gallery.myfix-video-list .gallery-list {grid-template-columns:repeat(2, minmax(0, 1fr));}
}
