/* GARANTE CURSOR VISÍVEL EM TODA A ESTRUTURA E ESPAÇOS VAZIOS DO MODAL */
    #tp-welcome-modal,
    #tp-welcome-modal * {
        cursor: auto !important;
    }

    #tp-welcome-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(2, 4, 3, 0.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        padding: 10px;
        box-sizing: border-box;
        overflow: hidden;
    }

    #tp-welcome-modal.tp-show {
        opacity: 1;
        visibility: visible;
    }

    /* CANVAS DO EFEITO A DESCER (FUNDO E LATERAIS) */
    #tp-particle-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }

    @keyframes greenRainbowMove {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    @keyframes pulseGlow {
        0%, 100% { opacity: 0.5; transform: scale(1); box-shadow: 0 0 5px currentColor; }
        50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 15px currentColor, 0 0 25px currentColor; }
    }

    @keyframes neonBorderPulse {
        0%, 100% { border-color: rgba(var(--tp-glow-rgb), 0.5); box-shadow: 0 0 15px rgba(var(--tp-glow-rgb), 0.2), inset 0 0 8px rgba(var(--tp-glow-rgb), 0.1); }
        50% { border-color: rgba(var(--tp-glow-rgb), 1); box-shadow: 0 0 30px rgba(var(--tp-glow-rgb), 0.5), inset 0 0 15px rgba(var(--tp-glow-rgb), 0.3); }
    }

    @keyframes floatIcon {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-3px) rotate(2deg); }
    }

    @keyframes buttonBlink {
        0%, 100% { box-shadow: 0 0 6px #00ff66, 0 0 12px rgba(0,255,102,0.4); filter: brightness(1); }
        50% { box-shadow: 0 0 18px #00ff66, 0 0 28px #00ff66; filter: brightness(1.25); }
    }

    /* CARD GERAL DO POPUP (ACIMA DO CANVAS) */
    .tp-modal-wrapper {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 540px;
        border-radius: 20px;
        padding: 2px;
        background: linear-gradient(60deg, #00ff66, #00b34a, #7affb2, #10b981, #00ff66);
        background-size: 300% 300%;
        animation: greenRainbowMove 4s ease infinite;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 102, 0.3);
        transform: translateY(15px) scale(0.97);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        max-height: 88vh;
        display: flex;
        flex-direction: column;
    }

    #tp-welcome-modal.tp-show .tp-modal-wrapper {
        transform: translateY(0) scale(1);
    }

    .tp-modal-box {
        background: #070a08;
        border-radius: 18px;
        padding: 14px 18px;
        box-sizing: border-box;
        text-align: left;
        color: #fff;
        overflow-y: auto;
        max-height: calc(88vh - 4px);
    }

    .tp-modal-box::-webkit-scrollbar { width: 5px; }
    .tp-modal-box::-webkit-scrollbar-thumb { background: rgba(0, 255, 102, 0.3); border-radius: 10px; }

    .tp-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 6px;
    }

    .tp-brand-info {
        display: flex;
        flex-direction: column;
    }

    .tp-brand-info h3 { color: #ffffff; font-size: 13px; margin: 0; font-weight: 800; }
    .tp-brand-info span { display: block; color: #aaa; font-size: 10px; font-weight: 700; }

    /* BOTÃO "X" COM PONTEIRO GARANTIDO */
    .tp-close-x {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer !important;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
        flex-shrink: 0;
        padding: 0;
        line-height: 1;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .tp-close-x:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
        cursor: pointer !important;
    }

    .tp-auto-close-bar {
        background: rgba(0, 255, 102, 0.04);
        border: 1px solid rgba(0, 255, 102, 0.2);
        border-radius: 6px;
        padding: 4px 8px;
        font-size: 10px;
        color: #b5c2bc;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .tp-auto-close-bar span { color: #00ff66; font-weight: 800; }

    .tp-section-title {
        color: #00ff66;
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin-bottom: 5px;
        margin-top: 8px;
        font-weight: 800;
        text-shadow: 0 0 6px rgba(0, 255, 102, 0.3);
    }

    /* BOTÕES DE DISPOSITIVO COM PONTEIRO GARANTIDO */
    .tp-device-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 8px;
    }

    .tp-device-option,
    .tp-device-option * {
        cursor: pointer !important;
    }

    .tp-device-option {
        border-radius: 12px;
        padding: 2px;
        background: linear-gradient(60deg, #00ff66, #00b34a, #7affb2, #10b981, #00ff66);
        background-size: 300% 300%;
        animation: greenRainbowMove 4s ease infinite;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
    }

    .tp-device-option:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 0 25px rgba(0, 255, 102, 0.5);
    }

    .tp-device-inner {
        background: #080e0a;
        border-radius: 10px;
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .tp-device-top {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .tp-device-option svg {
        width: 18px;
        height: 18px;
        stroke: #00ff66;
        fill: none;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
        animation: floatIcon 3s ease-in-out infinite;
        filter: drop-shadow(0 0 6px rgba(0, 255, 102, 0.8));
    }

    .tp-device-text strong {
        display: block;
        color: #ffffff;
        font-size: 11px;
        font-weight: 800;
    }

    .tp-device-text span {
        display: block;
        color: #a3b8ad;
        font-size: 9px;
        font-weight: 700;
    }

    .tp-device-badge {
        background: rgba(0, 255, 102, 0.12);
        border: 1px solid rgba(0, 255, 102, 0.4);
        color: #00ff66;
        font-size: 8px;
        font-weight: 800;
        text-transform: uppercase;
        padding: 2px 4px;
        border-radius: 15px;
        text-align: center;
    }

    /* REDES SOCIAIS COM EFEITO RAINBOW ANIMADO E PONTEIRO GARANTIDO */
    .tp-social-widgets {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-bottom: 8px;
    }

    .tp-social-option,
    .tp-social-option * {
        cursor: pointer !important;
    }

    .tp-social-option {
        border-radius: 10px;
        padding: 2px;
        text-decoration: none;
        display: block;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        background-size: 300% 300%;
        animation: greenRainbowMove 3.5s ease infinite;
    }

    .tp-social-option.whatsapp { 
        background-image: linear-gradient(60deg, #25d366, #00ff88, #128c7e, #25d366); 
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.2); 
    }
    .tp-social-option.instagram { 
        background-image: linear-gradient(60deg, #833ab4, #fd1d1d, #fcb045, #833ab4); 
        box-shadow: 0 0 10px rgba(225, 48, 108, 0.2); 
    }
    .tp-social-option.facebook { 
        background-image: linear-gradient(60deg, #1877f2, #00c6ff, #0d5bb9, #1877f2); 
        box-shadow: 0 0 10px rgba(24, 119, 242, 0.2); 
    }

    .tp-social-option:hover { transform: translateY(-2px) scale(1.02); }

    .tp-social-inner {
        background: #080e0a;
        border-radius: 8px;
        padding: 6px 4px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .tp-social-inner svg {
        width: 14px;
        height: 14px;
        animation: floatIcon 3.5s ease-in-out infinite;
    }

    .tp-social-option.whatsapp svg { fill: #25d366; }
    .tp-social-option.instagram svg { fill: #e1306c; }
    .tp-social-option.facebook svg { fill: #1877f2; }

    .tp-social-inner span {
        font-size: 9px;
        font-weight: 800;
    }
    .tp-social-option.whatsapp span { color: #25d366; }
    .tp-social-option.instagram span { color: #e1306c; }
    .tp-social-option.facebook span { color: #1877f2; }

    /* E-MAIL DE DESTAQUE */
    .tp-newsletter-banner {
        --tp-glow-rgb: 0, 255, 102;
        background: linear-gradient(145deg, rgba(0, 255, 102, 0.08), rgba(0, 0, 0, 0.7));
        border: 1.5px solid rgba(0, 255, 102, 0.6);
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 8px;
        animation: neonBorderPulse 3s infinite ease-in-out;
        box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
    }

    .tp-newsletter-header {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 4px;
    }

    .tp-newsletter-icon {
        width: 18px; height: 18px;
        background: rgba(0, 255, 102, 0.25);
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0; color: #00ff66;
        box-shadow: 0 0 8px #00ff66;
        animation: pulseGlow 2s infinite ease-in-out;
    }

    .tp-newsletter-icon svg { width: 11px; height: 11px; stroke: #00ff66; fill: none; stroke-width: 2.2; }
    .tp-newsletter-header h4 { color: #00ff66; font-size: 11px; margin: 0; text-transform: uppercase; font-weight: 800; letter-spacing: 0.5px; }
    .tp-newsletter-banner p { color: #d0ded7; font-size: 10px; font-weight: 700; margin: 0 0 8px 0; line-height: 1.3; }

    .tp-form-row { display: flex; gap: 6px; }
    .tp-form-row input {
        flex: 1;
        background: rgba(0, 0, 0, 0.85);
        border: 1px solid rgba(0, 255, 102, 0.6);
        border-radius: 6px;
        padding: 6px 8px;
        color: #ffffff;
        caret-color: #00ff66;
        font-size: 10px;
        font-weight: 700;
        outline: none;
        transition: all 0.3s;
        cursor: text !important;
    }
    .tp-form-row input::placeholder { color: #aaa; font-weight: 600; }
    .tp-form-row input:focus {
        border-color: #00ff66;
        box-shadow: 0 0 15px rgba(0, 255, 102, 0.6);
        background: rgba(0, 20, 8, 0.95);
        cursor: text !important;
    }

    .tp-form-row button {
        background: linear-gradient(135deg, #00ff66, #00b34a);
        color: #040605;
        border: none;
        border-radius: 6px;
        padding: 0 12px;
        font-weight: 900;
        font-size: 10px;
        cursor: pointer !important;
        transition: all 0.3s;
        white-space: nowrap;
        animation: buttonBlink 1.2s infinite ease-in-out;
    }
    .tp-form-row button:hover {
        filter: brightness(1.3);
        transform: scale(1.04);
        cursor: pointer !important;
    }

    /* HORÁRIOS E EXPEDIENTE */
    .tp-hours-wrapper {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        padding: 8px;
    }

    .tp-hours-title-row {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #ffffff;
        font-size: 10px;
        font-weight: 800;
        margin-bottom: 6px;
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .tp-hours-title-row svg { width: 12px; height: 12px; stroke: #00ff66; fill: none; stroke-width: 2; }

    /* BARRA DE EXPEDIENTE DINÂMICA */
    .tp-expediente-bar {
        --tp-glow-rgb: 0, 255, 102;
        background: linear-gradient(145deg, rgba(var(--tp-glow-rgb), 0.08), rgba(0, 0, 0, 0.7));
        border: 1.5px solid rgba(var(--tp-glow-rgb), 0.6);
        border-radius: 7px;
        padding: 6px 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 6px;
        animation: neonBorderPulse 3s infinite ease-in-out;
        box-shadow: 0 0 15px rgba(var(--tp-glow-rgb), 0.15);
        transition: all 0.4s ease;
    }

    .tp-expediente-left {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 9.5px;
        font-weight: 900;
        letter-spacing: 0.3px;
        transition: color 0.4s ease;
    }

    .tp-expediente-left .tp-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        box-shadow: 0 0 6px currentColor;
        animation: pulseGlow 1.8s infinite ease-in-out;
        flex-shrink: 0;
    }

    .tp-lock-icon {
        width: 12px;
        height: 12px;
        stroke: #aaa;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .tp-hour-card {
        background: rgba(255, 255, 255, 0.02);
        border-radius: 6px;
        padding: 6px 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 4px;
        border: 1px solid;
    }
    .tp-hour-card:last-child { margin-bottom: 0; }

    .tp-hour-card.status-green { border-color: rgba(0, 255, 102, 0.35); }
    .tp-hour-card.status-yellow { border-color: rgba(255, 193, 7, 0.35); }
    .tp-hour-card.status-red { border-color: rgba(255, 77, 77, 0.35); }

    .tp-hour-left-info { display: flex; align-items: center; gap: 6px; }

    .tp-hour-icon-circle {
        width: 20px; height: 20px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    .tp-hour-icon-circle.green { background: rgba(0, 255, 102, 0.15); color: #00ff66; }
    .tp-hour-icon-circle.yellow { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
    .tp-hour-icon-circle.red { background: rgba(255, 77, 77, 0.15); color: #ff4d4d; }
    .tp-hour-icon-circle svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }

    .tp-hour-texts .tp-day-lbl { display: block; font-size: 8px; font-weight: 900; letter-spacing: 0.5px; color: #bbb; }
    .tp-hour-texts .tp-time-lbl { display: block; font-size: 9.5px; color: #fff; font-weight: 800; }

    .tp-status-badge {
        display: flex; align-items: center; gap: 4px;
        padding: 3px 6px; border-radius: 12px;
        font-size: 8.5px; font-weight: 900; border: 1px solid;
    }
    .tp-status-badge .tp-dot { width: 4px; height: 4px; border-radius: 50%; animation: pulseGlow 1.8s infinite ease-in-out; }

    .tp-status-badge.green { background: rgba(0, 255, 102, 0.1); border-color: rgba(0, 255, 102, 0.5); color: #00ff66; }
    .tp-status-badge.green .tp-dot { background: #00ff66; }

    .tp-status-badge.yellow { background: rgba(255, 193, 7, 0.1); border-color: rgba(255, 193, 7, 0.5); color: #ffc107; }
    .tp-status-badge.yellow .tp-dot { background: #ffc107; }

    .tp-status-badge.red { background: rgba(255, 77, 77, 0.1); border-color: rgba(255, 77, 77, 0.5); color: #ff4d4d; }
    .tp-status-badge.red .tp-dot { background: #ff4d4d; }

    @media (max-width: 480px) {
        .tp-device-grid, .tp-social-widgets { grid-template-columns: 1fr; }
        .tp-form-row { flex-direction: column; }
        .tp-form-row button { padding: 8px; }
        .tp-hour-card { flex-direction: column; align-items: flex-start; gap: 5px; }
        .tp-status-badge { align-self: flex-end; }
        .tp-expediente-left { font-size: 8.5px; }
    }
