/* TP Hint — Modern Pill (same HUD overlay style as apanel/toast) */

:root {
    --tp-accent-blue: #4361ee;
    --tp-accent-gold: #f7b731;
    --tp-bg: rgba(15, 17, 21, 0.75);
}

.tp_hint {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    z-index: 2147483000;
    --accent: var(--tp-accent-blue);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: "Proxima Nova", "Montserrat", "Segoe UI", sans-serif;
}

.tp_hint.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.tp_hint.tp_hint--exit {
    --accent: var(--tp-accent-gold);
}

.tp_hint__pill {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 24px 8px 8px;
    background: var(--tp-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tp_hint__key {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    background: var(--accent);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tp_hint__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.tp_hint__place {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.2px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(46vw, 280px);
}

.tp_hint__action {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.tp_hint__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.tp_hint__arrow svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    animation: tpArrowPulse 1.5s infinite;
}

.tp_hint.tp_hint--exit .tp_hint__arrow {
    transform: rotate(180deg);
}

@keyframes tpArrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(4px); opacity: 1; }
}
