/* Lightweight entry feedback — top bar + hint pill (non-blocking). */
#htfl-entry-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10050;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#htfl-entry-progress.is-active {
    opacity: 1;
}

#htfl-entry-progress-bar {
    height: 3px;
    width: 34%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 55%, #667eea 100%);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.45);
    animation: htfl-entry-slide 1.15s ease-in-out infinite;
}

#htfl-entry-hint {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(92vw, 420px);
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(102, 126, 234, 0.22);
    color: #495057;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    font-family: 'Microsoft JhengHei', 'Segoe UI', Arial, sans-serif;
}

@keyframes htfl-entry-slide {
    0% {
        transform: translateX(-110%);
    }
    100% {
        transform: translateX(320%);
    }
}

@media (prefers-reduced-motion: reduce) {
    #htfl-entry-progress-bar {
        animation: none;
        width: 100%;
        opacity: 0.75;
    }
}
