/* ============================================================
   extensoes-test.css
   Estilos do novo card 3D flip — prefixo tc- (test card)
   Completamente isolado do sistema de cards existente
   ============================================================ */

/* ── Seção ───────────────────────────────────────────────── */
#extensoes-test-section {
    padding: 40px 20px 60px;
}

#extensoes-test-section .tc-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#extensoes-test-section .tc-section-subtitle {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 32px;
}

/* ── Grid ────────────────────────────────────────────────── */
#extensoes-test-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

/* ── Card raiz ───────────────────────────────────────────── */
.tc-card {
    --tc-radius: 4.55% / 3.5%;
    --tc-mx: 50%;
    --tc-my: 50%;
    --tc-s: 1;
    --tc-o: 0;
    --tc-tx: 0px;
    --tc-ty: 0px;
    --tc-rx: 0deg;
    --tc-ry: 0deg;
    --tc-posx: 50%;
    --tc-posy: 50%;
    --tc-hyp: 0;
    --tc-glow: #a855f7;

    width: 280px;
    height: 400px;
    position: relative;
    z-index: calc(var(--tc-s) * 100);
    transform: translate3d(0, 0, 0.1px);
    will-change: transform, visibility;
    transform-style: preserve-3d;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.tc-card.tc-interacting {
    z-index: calc(var(--tc-s) * 120);
}

/* ── Translater ──────────────────────────────────────────── */
.tc-translater {
    display: grid;
    perspective: 600px;
    transform-origin: center;
    will-change: transform;
    width: 100%;
    height: 100%;
    position: relative;
    transform: translate3d(var(--tc-tx), var(--tc-ty), 0) scale(var(--tc-s));
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.tc-card.tc-flipped .tc-translater {
    transform: translate3d(var(--tc-tx), var(--tc-ty), 0) scale(var(--tc-s)) rotateY(180deg);
}

/* ── Rotator ─────────────────────────────────────────────── */
.tc-rotator {
    display: grid;
    perspective: 600px;
    transform-origin: center;
    will-change: transform;
    width: 100%;
    height: 100%;
    transform: rotateY(var(--tc-rx)) rotateX(var(--tc-ry));
    transform-style: preserve-3d;
    box-shadow: 0px 10px 20px -5px black;
    border-radius: var(--tc-radius);
    outline: none;
    transition: box-shadow 0.4s ease;
}

/* Quando virado, inverte o RY para corrigir o espelhamento do verso */
.tc-card.tc-flipped .tc-rotator {
    transform: rotateY(calc(var(--tc-rx) * -1)) rotateX(var(--tc-ry));
}

.tc-card.tc-active .tc-rotator {
    box-shadow:
        0 0 10px 0px var(--tc-glow),
        0 0 20px 0px var(--tc-glow),
        0 0 40px 0px var(--tc-glow);
}

.tc-rotator>* {
    width: 100%;
    height: 100%;
    display: grid;
    grid-area: 1/1;
    border-radius: var(--tc-radius);
    transform-style: preserve-3d;
}

/* ── Faces ───────────────────────────────────────────────── */
.tc-front {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* backface-visibility apenas nos elementos visuais, NUNCA no face-content */
.tc-front .tc-face-bg,
.tc-front .tc-shine,
.tc-front .tc-glare {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* tc-face-content NÃO tem backface-visibility — isso bloquearia cliques nos filhos */
.tc-face-content {
    position: relative;
}

.tc-back {
    transform: rotateY(180deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Quando não virado, o verso está atrás — não deve receber eventos */
    pointer-events: none;
}

/* Quando virado, o verso está na frente — deve receber eventos */
.tc-card.tc-flipped .tc-back {
    pointer-events: auto;
}

/* Quando virado, a frente está atrás — não deve receber eventos */
.tc-card.tc-flipped .tc-front {
    pointer-events: none;
}

/* Shine e glare do verso também precisam de backface-visibility */
.tc-back .tc-shine,
.tc-back .tc-glare {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none;
}

/* ── Background metálico por cor ─────────────────────────── */
.tc-face-bg {
    position: absolute;
    inset: 0;
    border-radius: var(--tc-radius);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.tc-bg-purple {
    background-image:
        url("https://www.transparenttextures.com/patterns/dark-matter.png"),
        linear-gradient(135deg, #2e1065 0%, #4c1d95 30%, #7c3aed 60%, #4c1d95 80%, #2e1065 100%);
}

.tc-bg-yellow {
    background-image:
        url("https://www.transparenttextures.com/patterns/dark-matter.png"),
        linear-gradient(135deg, #92400e 0%, #b45309 30%, #fbbf24 60%, #b45309 80%, #92400e 100%);
}

.tc-bg-red {
    background-image:
        url("https://www.transparenttextures.com/patterns/dark-matter.png"),
        linear-gradient(135deg, #450a0a 0%, #7f1d1d 30%, #dc2626 60%, #7f1d1d 80%, #450a0a 100%);
}

.tc-bg-blue {
    background-image:
        url("https://www.transparenttextures.com/patterns/dark-matter.png"),
        linear-gradient(135deg, #0c1a4a 0%, #1e3a8a 30%, #2563eb 60%, #1e3a8a 80%, #0c1a4a 100%);
}

.tc-bg-green {
    background-image:
        url("https://www.transparenttextures.com/patterns/dark-matter.png"),
        linear-gradient(135deg, #052e16 0%, #14532d 30%, #16a34a 60%, #14532d 80%, #052e16 100%);
}

.tc-bg-gray {
    background-image:
        url("https://www.transparenttextures.com/patterns/dark-matter.png"),
        linear-gradient(135deg, #111827 0%, #1f2937 30%, #374151 60%, #1f2937 80%, #111827 100%);
}

/* ── Conteúdo das faces ──────────────────────────────────── */
.tc-face-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 16px 14px;
    gap: 7px;
}

/* ── Ícone ───────────────────────────────────────────────── */
.tc-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

/* ── Textos ──────────────────────────────────────────────── */
.tc-name {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 1),
        0 2px 4px rgba(0, 0, 0, 1),
        0 0 30px rgba(0, 0, 0, 0.9);
}

.tc-nota {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fde68a;
    font-size: 15px;
    font-weight: 700;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 1);
}

.tc-nota span {
    color: #fff;
}

.tc-stars {
    display: flex;
    gap: 2px;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 1)) drop-shadow(0 0 3px rgba(0, 0, 0, 1));
}

.tc-star {
    color: #fbbf24;
    font-size: 15px;
}

.tc-star-empty {
    color: #374151;
}

.tc-avaliacoes {
    font-size: 12px;
    color: #e2e8f0;
    text-align: center;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 1),
        0 1px 2px rgba(0, 0, 0, 1);
}

/* ── Botão comentários — dentro do tc-face-content, igual ao tc-btn-info ── */
.tc-btn-comments {
    margin-top: 4px;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 2px solid;
    white-space: nowrap;
    transition: filter 0.15s ease, box-shadow 0.2s ease;
}

/* Ícone não recebe eventos */
.tc-btn-comments i {
    pointer-events: none;
}

.tc-btn-comments:hover {
    filter: brightness(1.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Cores por tema — replicando o sistema do card antigo */
.tc-color-purple .tc-btn-comments {
    background: linear-gradient(45deg, #8B5CF6, #7C3AED);
    color: #ffffff;
    border-color: #a855f7;
}

.tc-color-purple .tc-btn-comments:hover {
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
    border-color: #7c3aed;
}

.tc-color-yellow .tc-btn-comments {
    background: linear-gradient(45deg, #F59E0B, #D97706);
    color: #1a1a1a;
    border-color: #f59e0b;
}

.tc-color-yellow .tc-btn-comments:hover {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
    border-color: #d97706;
}

.tc-color-red .tc-btn-comments {
    background: linear-gradient(45deg, #EF4444, #DC2626);
    color: #ffffff;
    border-color: #f87171;
}

.tc-color-red .tc-btn-comments:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
    border-color: #dc2626;
}

.tc-color-blue .tc-btn-comments {
    background: linear-gradient(45deg, #3B82F6, #2563EB);
    color: #ffffff;
    border-color: #60a5fa;
}

.tc-color-blue .tc-btn-comments:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
    border-color: #2563eb;
}

.tc-color-green .tc-btn-comments {
    background: linear-gradient(45deg, #22C55E, #16A34A);
    color: #ffffff;
    border-color: #4ade80;
}

.tc-color-green .tc-btn-comments:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.5);
    border-color: #16a34a;
}

.tc-color-gray .tc-btn-comments {
    background: linear-gradient(45deg, #6B7280, #4B5563);
    color: #ffffff;
    border-color: #9ca3af;
}

.tc-color-gray .tc-btn-comments:hover {
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.5);
    border-color: #4b5563;
}

/* ── Verso — detalhes ────────────────────────────────────── */
.tc-back-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 1),
        0 1px 3px rgba(0, 0, 0, 1);
}

.tc-detail-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
    gap: 8px;
}

.tc-label {
    color: #fde68a;
    font-weight: 700;
    flex-shrink: 0;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 1);
}

.tc-value {
    color: #f1f5f9;
    font-weight: 600;
    text-align: right;
    max-width: 55%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 1);
}

/* Link com área clicável generosa */
/* Link — linha inteira clicável */
.tc-value a {
    color: #93c5fd;
    text-decoration: none;
    font-size: 12px;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* Padding generoso para área de toque maior */
    padding: 8px 6px;
    margin: -8px -6px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 1);
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.tc-value a:hover {
    color: #bfdbfe;
    background: rgba(147, 197, 253, 0.15);
    text-decoration: underline;
}

/* Linha do site — overflow visible para o padding do link não ser cortado */
.tc-detail-row:has(a) {
    overflow: visible;
}

.tc-detail-row:has(a) .tc-value {
    overflow: visible;
}

/* ── Botão info ──────────────────────────────────────────── */
.tc-btn-info {
    margin-top: 10px;
    padding: 8px 22px;
    background: rgba(0, 0, 0, 0.5);
    color: #fde68a;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: background 0.2s;
}

.tc-btn-info:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* ── Shine & Glare ───────────────────────────────────────── */
.tc-shine,
.tc-glare {
    grid-area: 1/1;
    position: absolute;
    inset: 0;
    border-radius: var(--tc-radius);
    pointer-events: none;
    opacity: 0;
    /* Fica ABAIXO do conteúdo para não bloquear leitura */
    z-index: 1;
}

.tc-card.tc-active .tc-shine,
.tc-card.tc-active .tc-glare {
    opacity: 1;
}

/* ── Modal de observações — estilo igual ao sinopse do slider ── */
.tc-obs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    backdrop-filter: blur(5px);
}

.tc-obs-modal.tc-obs-open {
    opacity: 1;
    visibility: visible;
}

.tc-obs-box {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.90) 50%,
            rgba(15, 23, 42, 0.95) 100%);
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 85%;
    min-width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 20px;
}

.tc-obs-modal.tc-obs-open .tc-obs-box {
    transform: scale(1);
}

.tc-obs-box h3 {
    color: #f8fafc;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    margin: 0 0 18px 0;
    padding-right: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tc-obs-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tc-obs-close:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

.tc-obs-item {
    background: rgba(168, 85, 247, 0.08);
    border-left: 3px solid #a855f7;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    hyphens: auto;
}

.tc-aviso-item {
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fcd34d;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    hyphens: auto;
}

.tc-atencao-item {
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid #ef4444;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #fca5a5;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    hyphens: auto;
}

.tc-obs-empty {
    color: #64748b;
    font-size: 14px;
    text-align: center;
    padding: 24px 0;
}

/* ── Estado frozen — bloqueia interações quando modal está aberto ── */
.tc-card.tc-frozen .tc-translater {
    pointer-events: none;
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .tc-card {
        /* +30% em relação ao desktop (280x400) */
        width: 340px;
        height: 490px;
    }

    /* Ajusta o face-content para o card maior */
    .tc-face-content {
        padding: 22px 18px 18px;
        gap: 9px;
    }

    .tc-icon {
        width: 96px;
        height: 96px;
    }

    .tc-name {
        font-size: 19px;
    }

    .tc-nota {
        font-size: 16px;
    }

    .tc-star {
        font-size: 17px;
    }

    #extensoes-test-grid {
        gap: 20px;
    }

    /* Garante texto preto nos cards amarelos no mobile */
    .tc-color-yellow .tc-name,
    .tc-color-yellow .tc-nota,
    .tc-color-yellow .tc-nota span,
    .tc-color-yellow .tc-avaliacoes,
    .tc-color-yellow .tc-back-title,
    .tc-color-yellow .tc-label,
    .tc-color-yellow .tc-value,
    .tc-color-yellow .tc-value a {
        color: #000 !important;
        text-shadow: none !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   FILTROS — seção extensoes-test
   ══════════════════════════════════════════════════════════════ */

.tcf-container {
    background: linear-gradient(135deg, #1e1b2e 0%, #2d1b3d 50%, #1e1b2e 100%);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Linha brilhante no topo */
.tcf-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.7), transparent);
    animation: tcf-shimmer 3s ease-in-out infinite;
}

@keyframes tcf-shimmer {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.tcf-container:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(168, 85, 247, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tcf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.tcf-grupo {
    display: flex;
    flex-direction: column;
}

/* Selects e input */
.tcf-select,
.tcf-input {
    background: linear-gradient(135deg, rgba(30, 27, 46, 0.95), rgba(45, 27, 61, 0.95));
    border: 1.5px solid rgba(168, 85, 247, 0.25);
    border-radius: 10px;
    padding: 8px 14px;
    color: #e2e8f0;
    font-size: 13px;
    min-width: 130px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a855f7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.tcf-input {
    background-image: none;
    padding-right: 14px;
    min-width: 180px;
}

.tcf-select:hover,
.tcf-input:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tcf-select:focus,
.tcf-input:focus {
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15), 0 4px 14px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.tcf-select option {
    background: #1e1b2e;
    color: #e2e8f0;
}

.tcf-input::placeholder {
    color: rgba(226, 232, 240, 0.4);
}

/* Botão limpar */
.tcf-btn-limpar {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.tcf-btn-limpar:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

.tcf-btn-limpar:active {
    transform: translateY(0);
}

/* Sem resultados */
.tcf-sem-resultados {
    margin-top: 14px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #fca5a5;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    animation: tcf-fadein 0.3s ease;
}

@keyframes tcf-fadein {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .tcf-row {
        flex-direction: column;
        align-items: stretch;
    }

    .tcf-select,
    .tcf-input,
    .tcf-btn-limpar {
        width: 100%;
        min-width: unset;
    }
}

/* ══════════════════════════════════════════════════════════════
   CORES DE TEXTO CONTRASTANTES POR COR DO CARD
   Fundo claro → texto escuro | Fundo escuro → texto claro
   ══════════════════════════════════════════════════════════════ */

/* Amarelo — texto preto chapado sobre fundo dourado claro */
.tc-color-yellow .tc-name,
.tc-color-yellow .tc-nota,
.tc-color-yellow .tc-nota span,
.tc-color-yellow .tc-avaliacoes {
    color: #000;
    text-shadow: none;
}

.tc-color-yellow .tc-stars {
    filter: none;
}

.tc-color-yellow .tc-star {
    color: #78350f;
}

.tc-color-yellow .tc-star-empty {
    color: rgba(0, 0, 0, 0.2);
}

/* Verde — texto claro com sombra escura */
.tc-color-green .tc-name,
.tc-color-green .tc-nota,
.tc-color-green .tc-nota span,
.tc-color-green .tc-avaliacoes {
    color: #f0fdf4;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 1),
        0 0 16px rgba(0, 0, 0, 0.9),
        0 2px 4px rgba(0, 0, 0, 1);
}

/* Verso amarelo — tudo preto chapado exceto botão observações */
.tc-color-yellow .tc-back-title {
    color: #000;
    text-shadow: none;
}

.tc-color-yellow .tc-label {
    color: #000;
    text-shadow: none;
}

.tc-color-yellow .tc-value,
.tc-color-yellow .tc-value a {
    color: #000;
    text-shadow: none;
}

.tc-color-yellow .tc-detail-row {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   MODAL DE COMENTÁRIOS — redesign com estilo dos cards flip
   Sobrescreve o visual padrão do comentarios.css
   ══════════════════════════════════════════════════════════════ */

/* Backdrop */
#comentarios-modal.comments-modal {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

/* Container principal */
#comentarios-modal .comments-modal-content {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.98) 0%,
            rgba(30, 27, 61, 0.97) 50%,
            rgba(15, 23, 42, 0.98) 100%);
    border: 2px solid rgba(168, 85, 247, 0.35);
    border-radius: 20px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(168, 85, 247, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    animation: tc-modal-in 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

/* Linha brilhante no topo — igual ao filtro */
#comentarios-modal .comments-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.8), transparent);
    z-index: 1;
}

@keyframes tc-modal-in {
    from {
        opacity: 0;
        transform: scale(0.93) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Header — substitui o amarelo por roxo/gradiente escuro */
#comentarios-modal .comments-modal-header {
    background: linear-gradient(135deg,
            rgba(124, 58, 237, 0.9) 0%,
            rgba(109, 40, 217, 0.85) 50%,
            rgba(91, 33, 182, 0.9) 100%);
    color: #f3e8ff;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
    padding: 1rem 1.5rem;
    position: relative;
}

#comentarios-modal .comments-modal-header h3 {
    color: #f3e8ff;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Botão fechar */
#comentarios-modal .comments-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e9d5ff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

#comentarios-modal .comments-modal-close:hover {
    background: rgba(239, 68, 68, 0.7);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fff;
    transform: scale(1.1);
}

/* Seção de comentários */
#comentarios-modal .comments-modal-section {
    background: transparent;
}

/* Botão escrever comentário */
#comentarios-modal .comments-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;
    color: #f3e8ff !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

#comentarios-modal .comments-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* Lista de comentários — scrollbar roxa */
#comentarios-modal .comments-list::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
}

#comentarios-modal .comments-list::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.8);
}

/* Item de comentário */
#comentarios-modal .comment-item {
    background: rgba(30, 27, 61, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-left: 3px solid rgba(168, 85, 247, 0.6);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#comentarios-modal .comment-item:hover {
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.1);
}

/* Formulário de comentário */
#comentarios-modal .comment-form {
    background: rgba(30, 27, 61, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
}

#comentarios-modal .comment-form label {
    color: #c4b5fd;
}

#comentarios-modal .comment-form textarea,
#comentarios-modal .comment-form input {
    background: rgba(15, 23, 42, 0.8);
    border: 1.5px solid rgba(168, 85, 247, 0.25);
    border-radius: 8px;
    color: #e2e8f0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#comentarios-modal .comment-form textarea:focus,
#comentarios-modal .comment-form input:focus {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
    outline: none;
}

/* Estrelas de avaliação */
#comentarios-modal .estrela-avaliacao {
    color: rgba(168, 85, 247, 0.3);
    transition: color 0.15s;
}

#comentarios-modal .estrela-avaliacao.ativa,
#comentarios-modal .estrela-avaliacao:hover {
    color: #a855f7;
}

/* Botões do formulário */
#comentarios-modal .submit-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

#comentarios-modal .submit-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
}

#comentarios-modal .cancel-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #94a3b8;
    transition: background 0.2s, color 0.2s;
}

#comentarios-modal .cancel-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

/* Mensagem de loading / erro */
#comentarios-modal .loading {
    color: #a78bfa;
}

#comentarios-modal .alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #fca5a5;
}

/* ══════════════════════════════════════════════════════════════
   MODAL DE COMENTÁRIOS — temas por cor do card
   Ativados via data-tc-cor no #comentarios-modal
   ══════════════════════════════════════════════════════════════ */

/* ── Roxo (padrão) ── */
#comentarios-modal[data-tc-cor="purple"] .comments-modal-content {
    border-color: rgba(168, 85, 247, 0.45);
    background: linear-gradient(135deg, rgba(15, 10, 40, 0.98) 0%, rgba(46, 16, 101, 0.95) 50%, rgba(15, 10, 40, 0.98) 100%);
}

#comentarios-modal[data-tc-cor="purple"] .comments-modal-content::before {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.9), transparent);
}

#comentarios-modal[data-tc-cor="purple"] .comments-modal-header {
    background: linear-gradient(135deg, #6d28d9, #7c3aed, #5b21b6);
}

#comentarios-modal[data-tc-cor="purple"] .comment-item {
    border-left-color: rgba(168, 85, 247, 0.7);
}

/* ── Amarelo ── */
#comentarios-modal[data-tc-cor="yellow"] .comments-modal-content {
    border-color: rgba(251, 191, 36, 0.5);
    background: linear-gradient(135deg, rgba(20, 14, 0, 0.98) 0%, rgba(69, 26, 3, 0.95) 50%, rgba(20, 14, 0, 0.98) 100%);
}

#comentarios-modal[data-tc-cor="yellow"] .comments-modal-content::before {
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.9), transparent);
}

#comentarios-modal[data-tc-cor="yellow"] .comments-modal-header {
    background: linear-gradient(135deg, #92400e, #b45309, #78350f);
    color: #fef3c7;
}

#comentarios-modal[data-tc-cor="yellow"] .comments-modal-header h3 {
    color: #fef3c7;
}

#comentarios-modal[data-tc-cor="yellow"] .comments-modal-close {
    color: #fef3c7;
}

#comentarios-modal[data-tc-cor="yellow"] .comment-item {
    border-left-color: rgba(251, 191, 36, 0.7);
}

#comentarios-modal[data-tc-cor="yellow"] .comments-btn {
    background: linear-gradient(135deg, #b45309, #d97706) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    color: #fff !important;
}

#comentarios-modal[data-tc-cor="yellow"] .submit-btn {
    background: linear-gradient(135deg, #b45309, #d97706);
}

#comentarios-modal[data-tc-cor="yellow"] .comment-form textarea:focus,
#comentarios-modal[data-tc-cor="yellow"] .comment-form input:focus {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12);
}

/* ── Vermelho ── */
#comentarios-modal[data-tc-cor="red"] .comments-modal-content {
    border-color: rgba(239, 68, 68, 0.45);
    background: linear-gradient(135deg, rgba(20, 0, 0, 0.98) 0%, rgba(69, 10, 10, 0.95) 50%, rgba(20, 0, 0, 0.98) 100%);
}

#comentarios-modal[data-tc-cor="red"] .comments-modal-content::before {
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.9), transparent);
}

#comentarios-modal[data-tc-cor="red"] .comments-modal-header {
    background: linear-gradient(135deg, #7f1d1d, #dc2626, #991b1b);
}

#comentarios-modal[data-tc-cor="red"] .comment-item {
    border-left-color: rgba(239, 68, 68, 0.7);
}

#comentarios-modal[data-tc-cor="red"] .comments-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

#comentarios-modal[data-tc-cor="red"] .submit-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

#comentarios-modal[data-tc-cor="red"] .comment-form textarea:focus,
#comentarios-modal[data-tc-cor="red"] .comment-form input:focus {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* ── Azul ── */
#comentarios-modal[data-tc-cor="blue"] .comments-modal-content {
    border-color: rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, rgba(0, 8, 20, 0.98) 0%, rgba(12, 26, 74, 0.95) 50%, rgba(0, 8, 20, 0.98) 100%);
}

#comentarios-modal[data-tc-cor="blue"] .comments-modal-content::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.9), transparent);
}

#comentarios-modal[data-tc-cor="blue"] .comments-modal-header {
    background: linear-gradient(135deg, #1e3a8a, #2563eb, #1d4ed8);
}

#comentarios-modal[data-tc-cor="blue"] .comment-item {
    border-left-color: rgba(59, 130, 246, 0.7);
}

#comentarios-modal[data-tc-cor="blue"] .comments-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-color: rgba(59, 130, 246, 0.5) !important;
}

#comentarios-modal[data-tc-cor="blue"] .submit-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

#comentarios-modal[data-tc-cor="blue"] .comment-form textarea:focus,
#comentarios-modal[data-tc-cor="blue"] .comment-form input:focus {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

/* ── Verde ── */
#comentarios-modal[data-tc-cor="green"] .comments-modal-content {
    border-color: rgba(34, 197, 94, 0.45);
    background: linear-gradient(135deg, rgba(0, 15, 5, 0.98) 0%, rgba(5, 46, 22, 0.95) 50%, rgba(0, 15, 5, 0.98) 100%);
}

#comentarios-modal[data-tc-cor="green"] .comments-modal-content::before {
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.9), transparent);
}

#comentarios-modal[data-tc-cor="green"] .comments-modal-header {
    background: linear-gradient(135deg, #14532d, #16a34a, #15803d);
}

#comentarios-modal[data-tc-cor="green"] .comment-item {
    border-left-color: rgba(34, 197, 94, 0.7);
}

#comentarios-modal[data-tc-cor="green"] .comments-btn {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
}

#comentarios-modal[data-tc-cor="green"] .submit-btn {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

#comentarios-modal[data-tc-cor="green"] .comment-form textarea:focus,
#comentarios-modal[data-tc-cor="green"] .comment-form input:focus {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

/* ── Cinza ── */
#comentarios-modal[data-tc-cor="gray"] .comments-modal-content {
    border-color: rgba(156, 163, 175, 0.4);
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.98) 0%, rgba(31, 41, 55, 0.95) 50%, rgba(10, 10, 12, 0.98) 100%);
}

#comentarios-modal[data-tc-cor="gray"] .comments-modal-content::before {
    background: linear-gradient(90deg, transparent, rgba(156, 163, 175, 0.8), transparent);
}

#comentarios-modal[data-tc-cor="gray"] .comments-modal-header {
    background: linear-gradient(135deg, #1f2937, #374151, #111827);
}

#comentarios-modal[data-tc-cor="gray"] .comment-item {
    border-left-color: rgba(156, 163, 175, 0.6);
}

#comentarios-modal[data-tc-cor="gray"] .comments-btn {
    background: linear-gradient(135deg, #4b5563, #374151) !important;
    border-color: rgba(156, 163, 175, 0.4) !important;
}

#comentarios-modal[data-tc-cor="gray"] .submit-btn {
    background: linear-gradient(135deg, #4b5563, #374151);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.35);
}

#comentarios-modal[data-tc-cor="gray"] .comment-form textarea:focus,
#comentarios-modal[data-tc-cor="gray"] .comment-form input:focus {
    border-color: rgba(156, 163, 175, 0.5);
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.1);
}

/* ══════════════════════════════════════════════════════════════
   SOMBREAMENTO PRETO NAS LETRAS BRANCAS
   Todos os cards exceto roxo e amarelo
   ══════════════════════════════════════════════════════════════ */

.tc-color-red .tc-name,
.tc-color-red .tc-nota,
.tc-color-red .tc-nota span,
.tc-color-red .tc-avaliacoes,
.tc-color-red .tc-back-title,
.tc-color-red .tc-label,
.tc-color-red .tc-value,
.tc-color-red .tc-value a,
.tc-color-blue .tc-name,
.tc-color-blue .tc-nota,
.tc-color-blue .tc-nota span,
.tc-color-blue .tc-avaliacoes,
.tc-color-blue .tc-back-title,
.tc-color-blue .tc-label,
.tc-color-blue .tc-value,
.tc-color-blue .tc-value a,
.tc-color-green .tc-name,
.tc-color-green .tc-nota,
.tc-color-green .tc-nota span,
.tc-color-green .tc-avaliacoes,
.tc-color-green .tc-back-title,
.tc-color-green .tc-label,
.tc-color-green .tc-value,
.tc-color-green .tc-value a,
.tc-color-gray .tc-name,
.tc-color-gray .tc-nota,
.tc-color-gray .tc-nota span,
.tc-color-gray .tc-avaliacoes,
.tc-color-gray .tc-back-title,
.tc-color-gray .tc-label,
.tc-color-gray .tc-value,
.tc-color-gray .tc-value a {
    text-shadow:
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Roxo — mesmo sombreamento preto chapado */
.tc-color-purple .tc-name,
.tc-color-purple .tc-nota,
.tc-color-purple .tc-nota span,
.tc-color-purple .tc-avaliacoes,
.tc-color-purple .tc-back-title,
.tc-color-purple .tc-label,
.tc-color-purple .tc-value,
.tc-color-purple .tc-value a {
    text-shadow:
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        0 2px 6px rgba(0, 0, 0, 0.9);
}

/* ══════════════════════════════════════════════════════════════
   ESTRELAS AMARELAS BRILHANTES — cards e modal de comentários
   ══════════════════════════════════════════════════════════════ */

/* Estrelas dos cards flip */
.tc-star {
    color: #FFD700 !important;
    text-shadow:
        0 0 6px rgba(255, 215, 0, 0.9),
        0 0 12px rgba(255, 200, 0, 0.6),
        0 0 20px rgba(255, 180, 0, 0.3);
}

.tc-star-empty {
    color: rgba(255, 215, 0, 0.2) !important;
    text-shadow: none;
}

/* Estrelas do modal de comentários */
#comentarios-modal .estrela-avaliacao,
#comentarios-modal .fas.fa-star,
#comentarios-modal .star {
    color: #FFD700 !important;
    text-shadow:
        0 0 6px rgba(255, 215, 0, 0.9),
        0 0 12px rgba(255, 200, 0, 0.6);
}

#comentarios-modal .estrela-avaliacao:not(.ativa) {
    color: rgba(255, 215, 0, 0.25) !important;
    text-shadow: none;
}

/* Estrelas nos itens de comentário já enviados */
#comentarios-modal .comment-stars .fas.fa-star,
#comentarios-modal .rating-stars .fas.fa-star,
#comentarios-modal [class*="star"] {
    color: #FFD700 !important;
    text-shadow:
        0 0 6px rgba(255, 215, 0, 0.9),
        0 0 12px rgba(255, 200, 0, 0.5);
}

/* Estrelas do card amarelo — sombreado preto chapado */
.tc-color-yellow .tc-star {
    color: #FFD700 !important;
    text-shadow:
        1px 1px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* ══════════════════════════════════════════════════════════════
   ESTRELAS DO FORMULÁRIO DE COMENTÁRIO — amarelas brilhantes
   ══════════════════════════════════════════════════════════════ */

/* Estado padrão — escuras */
#comentarios-modal .star-rating .fa-star,
#comentarios-modal .estrela-avaliacao {
    color: #374151 !important;
    text-shadow: none !important;
    cursor: pointer;
    transition: color 0.15s ease, text-shadow 0.15s ease, transform 0.15s ease;
    font-size: 1.6rem;
}

/* Hover e ativo — amarelo brilhante */
#comentarios-modal .star-rating .fa-star:hover,
#comentarios-modal .star-rating .fa-star.active,
#comentarios-modal .estrela-avaliacao:hover,
#comentarios-modal .estrela-avaliacao.active {
    color: #FFD700 !important;
    text-shadow:
        0 0 6px rgba(255, 215, 0, 1),
        0 0 14px rgba(255, 200, 0, 0.8),
        0 0 24px rgba(255, 180, 0, 0.5) !important;
    transform: scale(1.2) !important;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE — remover highlight azul de toque e corrigir flip
   ══════════════════════════════════════════════════════════════ */

.tc-card,
.tc-card * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Garante que o flip completo funcione no mobile */
.tc-card.tc-flipped .tc-translater {
    transform: translate3d(var(--tc-tx), var(--tc-ty), 0) scale(var(--tc-s)) rotateY(180deg) !important;
}

/* Perspectiva suficiente para o flip não ficar "de lado" */
.tc-translater {
    perspective: 1000px !important;
}

.tc-rotator {
    perspective: 1000px !important;
}

/* ══════════════════════════════════════════════════════════════
   CARDS ROXOS — só efeito galaxy (nota roxa / ≥9)
   Mobile = base igual ao JS. Desktop = zoom out só no shine para o
   arco-íris do gradiente ocupar melhor o card (mais cores visíveis).
   ══════════════════════════════════════════════════════════════ */

@keyframes tc-galaxy-bg {
    0% {
        background-position: center, 15% 25%, center;
    }

    20% {
        background-position: center, 85% 15%, center;
    }

    40% {
        background-position: center, 75% 85%, center;
    }

    60% {
        background-position: center, 25% 75%, center;
    }

    80% {
        background-position: center, 10% 40%, center;
    }

    100% {
        background-position: center, 15% 25%, center;
    }
}

.tc-color-purple .tc-shine {
    opacity: 0.65;
    animation: tc-galaxy-bg 12s ease-in-out infinite;
    transition: opacity 0.4s ease;
    background-size: cover, 600% 1200%, cover !important;
}

.tc-color-purple .tc-glare {
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.tc-color-purple.tc-active .tc-shine,
.tc-color-purple.tc-interacting .tc-shine {
    opacity: var(--tc-o);
    animation: none;
}

.tc-color-purple.tc-active .tc-glare,
.tc-color-purple.tc-interacting .tc-glare {
    opacity: calc(var(--tc-o) * 0.5);
}

/* Só desktop: % maiores no gradiente = faixas mais largas, espectro mais legível no card */
@media (min-width: 769px) {
    .tc-color-purple .tc-shine {
        background-size: 118% 118%, 720% 1380%, 118% 118% !important;
    }
}