.suggestion-box {
    position: absolute;
    z-index: 10001; /* 提高z-index以覆盖编辑对话框遮罩层 */
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 2px;
    padding: 8px 0;
    display: none;
    max-height: 260px;
    overflow-y: auto;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 8px;
}

.suggestion-item {
    background: #f5f5f5;
    border-radius: 6px;
    padding: 14px 0;
    text-align: center;
    font-size: 1.1em;
    color: #333;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    touch-action: manipulation;
}
.suggestion-item:active,
.suggestion-item:hover {
    background: #e0eaff;
    color: #1976d2;
}

@media (max-width: 600px) {
    .suggestion-box {
        max-height: 180px;
        font-size: 1.1em;
    }
    .suggestion-grid {
        gap: 6px;
    }
    .suggestion-item {
        padding: 12px 0;
        font-size: 1em;
    }
}
