/* Overlay */
.alb-col-overlay-55 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 15px;
}

/* Container do Modal */
.alb-col-wrapper-55 {
    background: #121212;
    width: 100%;
    max-width: 950px;
    max-height: 85vh;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #333;
}

/* Header */
.alb-col-header-55 {
    padding: 15px 20px;
    background: #1f1f1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.alb-col-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    margin-right: 15px;
}

.alb-col-title-55 {
    color: #fff;
    margin: 0;
    font-family: sans-serif;
    font-size: 1.2rem;
}

/* Barra de progresso */
.alb-col-progress-bar {
    position: relative;
    height: 20px;
    background: #2a2a2a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #3a3a3a;
}

.alb-col-progress-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, #f52323, #f04f4f);
    transition: width 0.6s ease;
    position: relative;
}



@keyframes alb-shine {
    0% {
        left: -60%;
    }

    100% {
        left: 130%;
    }
}

.alb-col-progress-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.85);
    font-family: sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.alb-col-close-55 {
    color: #888;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
}

.alb-col-close-55:hover {
    color: #fff;
}

/* Grid */
.alb-col-grid-55 {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    overflow-y: auto;
}

/* Frame da carta */
.alb-col-frame-55 {
    width: 100%;
    aspect-ratio: 3 / 4.2;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.alb-col-frame-55:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.alb-col-img-55 {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Número e Label */
.alb-col-num-comum {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    font-family: sans-serif;
}

.alb-col-num-incomum {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(5, 217, 255, 0.9);
    color: #000;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    font-family: sans-serif;
}

.alb-col-num-raro {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.9);
    color: #000;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    font-family: sans-serif;
}

.alb-col-label-55 {
    color: #aaa;
    font-size: 11px;
    text-align: center;
    margin-top: 8px;
    font-family: sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsividade */
@media (max-width: 500px) {
    .alb-col-grid-55 {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 12px;
        padding: 12px;
    }
}

/* Estado Ativo */
.alb-col-overlay-55.is-open {
    display: flex;
}

.alb-col-frame-locked {
    filter: grayscale(100%) brightness(0.4);
}









/* ===== TC3D OVERLAY ===== */
#tc3d-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#tc3d-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff00;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10000;
    font-weight: bold;
    font-size: 30px;
}

/* Canvas isolado */
.tc3d-canvas {
    display: block;
}

/* Botão demo (pode remover) */
.tc3d-open-btn {
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
}