/* Native media previews, limited to the board2 listing. */
.tc-gallery-board2 .pin-card .pin-thumb {
    position: relative;
}

.tc-gallery-board2 .tc-gallery-media-link,
.tc-gallery-board2 .tc-gallery-detail-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tc-gallery-board2 .tc-gallery-media-link:focus-visible,
.tc-gallery-board2 .tc-gallery-detail-link:focus-visible,
.tc-gallery-board2 .tc-gallery-video:focus-visible {
    outline: 3px solid var(--tc-focus, #94e8cd);
    outline-offset: -3px;
}

.tc-gallery-board2 .pin-card .tc-gallery-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #080e15;
}

.tc-gallery-board2 .tc-gallery-media-label {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 1;
    padding: 4px 7px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 7px;
    background: rgba(8, 14, 21, .78);
    color: #edf5f1;
    font: 600 10px/1.3 "Segoe UI", "Malgun Gothic", sans-serif;
    letter-spacing: .025em;
    pointer-events: none;
}

.tc-gallery-board2 .tc-gallery-video-wrap:focus-within .tc-gallery-media-label {
    opacity: 0;
}

.tc-gallery-board2 .tc-gallery-media-error {
    margin: 0;
    padding: 10px 13px;
    background: var(--tc-surface, #1b303c);
    color: var(--tc-muted, #b1c5bd);
    font-size: 12px;
    line-height: 1.6;
}
