.compressed-title {
    display: none;
}

@media (max-width: 900px) {
    .title {
        display: none;
    }
    .compressed-title {
        display: inline;
    }
}

.tooltip {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 200, 255, 0.2);
    color: #00ff9d;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 157, 0.3);
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    backdrop-filter: blur(6px);
    white-space: normal;
}

/* Authentication buttons in top left */
.auth-buttons {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 1000;
}

.auth-username {
    color: #00ff9d;
    font-size: 14px;
    padding: 6px 12px;
    background: rgba(0, 20, 40, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 157, 0.3);
    backdrop-filter: blur(6px);
}

.auth-username.editable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-username.editable:hover {
    background: rgba(0, 255, 157, 0.12);
    border-color: rgba(0, 255, 157, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.auth-btn {
    color: #00ff9d;
    font-size: 14px;
    padding: 6px 12px;
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(6px);
}

.auth-btn:hover {
    background: rgba(0, 255, 157, 0.1);
    border-color: #00ff9d;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Messages at top of page */
.messages-top {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    max-width: 600px;
    width: 90%;
}

.messages-top .message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.messages-top .message.success {
    background: rgba(0, 255, 157, 0.15);
    border: 1px solid rgba(0, 255, 157, 0.4);
    color: #00ff9d;
}

.messages-top .message.error {
    background: rgba(255, 85, 85, 0.15);
    border: 1px solid rgba(255, 85, 85, 0.4);
    color: #ff8888;
}

.messages-top .message.info {
    background: rgba(0, 200, 255, 0.15);
    border: 1px solid rgba(0, 200, 255, 0.4);
    color: #00c8ff;
}

.messages-top .message.warning {
    background: rgba(255, 200, 0, 0.15);
    border: 1px solid rgba(255, 200, 0, 0.4);
    color: #ffcc00;
}
